Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin

Tank's Melee Bonus

by Tank · 2008-12-30 · 4 replies · 7074 views · 59 downloads

Read the thread (5 posts)

From the first post

This is a plugin which combines two plugins. Melee bonus created originally by FireStorm and updated by Diamon Optic AND a melee score adjustment plugin.
n
nAll I need to do is make the messages dynamic, I've done it once and I'll update this one shortly. Let me know where I can improve stuff and which could be done else.
n
nI've got some crazy idea's for this one but it will be a (slow) process till completion.
n
n
=========================================================nTank's Melee Bonus (version 0.1 01-12-2008)n===========================================================nMelee Bonus - information:nn Author : |B.A.M| The Tank #AoS.nln Original: FireStorm (updated: diamond-optic)n Version : 0.1n Date : 01-12-2008n n This is a combination of a plugin I wrote from memory ofn an old plugin and Diamond-Optics dod_melee_bonus. I basiclyn just added the plugin, so I'm only taking credit for my part.n n This plugin will give clients bonuses upon a melee kill. An standard HP bonus from dod_melee_bonus and a score adjustmentn from my plugin.n n -------------n n To do: Add a cvar message for both kills and deaths.n n===========================================================nMelee Bonus - CVARS:n===========================================================n activate_plugin | x n - Enables the plugin on or off.n 0 = offn 1 = onnn meleebonus_hp | xn - Amount of health given upon a melee killn n melee_deaths | xn - Amount of deaths which should be changedn n melee_kills | xn - Amount of kills which should be changedn n melee_amount | xn - How many times does one must make a melee kill in order to get the bonusnn===========================================================nMelee Bonus - Installation:n===========================================================n - Compile the tanks_melee_bonus.sma | An online compiler can be found here:n http:[url]www.amxmodx.org/webcompiler.cgi[/url]n - Copy tanks_melee_bonus.amxx into your addonsamxmodxplugins foldern - Add tanks_melee_bonus.amxx to the bottom of your addonsamxmodxconfigsplugins.inin - Change the map or restart your server to start using the plugin!n n===========================================================nMelee Bonus - Notes & Credits:n===========================================================n - Synthetic(dodplugins.net) for always helping me out.n - Feuersturm for the original pluginn - Diamond-Optic for updating the melee_bonus.n - dodplugins.net for always having the information ready when needed, much appriciated.n =========================================================

Files

tanks_melee_bonus.sma Plugin Source 5 KB 59 dl Download Compile

The thread

All 5 posts from 3 people on Tank's Melee Bonus, kept as they were written.

Tank
started this thread
Posts: 581
Threads: 59
Joined: Jan 2007
12-30-2008, 02:05 PM #1

This is a plugin which combines two plugins. Melee bonus created originally by FireStorm and updated by Diamon Optic AND a melee score adjustment plugin.nnAll I need to do is make the messages dynamic, I've done it once and I'll update this one shortly. Let me know where I can improve stuff and which could be done else.nnI've got some crazy idea's for this one but it will be a (slow) process till completion.nn

=========================================================nTank's Melee Bonus (version 0.1 01-12-2008)n===========================================================nMelee Bonus - information:nn Author : |B.A.M| The Tank #AoS.nln Original: FireStorm (updated: diamond-optic)n Version : 0.1n Date : 01-12-2008n n This is a combination of a plugin I wrote from memory ofn an old plugin and Diamond-Optics dod_melee_bonus. I basiclyn just added the plugin, so I'm only taking credit for my part.n n This plugin will give clients bonuses upon a melee kill. An standard HP bonus from dod_melee_bonus and a score adjustmentn from my plugin.n n -------------n n To do: Add a cvar message for both kills and deaths.n n===========================================================nMelee Bonus - CVARS:n===========================================================n activate_plugin | x n - Enables the plugin on or off.n 0 = offn 1 = onnn meleebonus_hp | xn - Amount of health given upon a melee killn n melee_deaths | xn - Amount of deaths which should be changedn n melee_kills | xn - Amount of kills which should be changedn n melee_amount | xn - How many times does one must make a melee kill in order to get the bonusnn===========================================================nMelee Bonus - Installation:n===========================================================n - Compile the tanks_melee_bonus.sma | An online compiler can be found here:n http:www.amxmodx.org/webcompiler.cgin - Copy tanks_melee_bonus.amxx into your addonsamxmodxplugins foldern - Add tanks_melee_bonus.amxx to the bottom of your addonsamxmodxconfigsplugins.inin - Change the map or restart your server to start using the plugin!n n===========================================================nMelee Bonus - Notes & Credits:n===========================================================n - Synthetic(dodplugins.net) for always helping me out.n - Feuersturm for the original pluginn - Diamond-Optic for updating the melee_bonus.n - dodplugins.net for always having the information ready when needed, much appriciated.n =========================================================
Dr.G
posted here
Posts: 776
Threads: 75
Joined: Nov 2007
12-30-2008, 02:45 PM #2
================================================== =========rnMelee Bonus - CVARS:rn================================================== =========rnp_enable | xrn- Enables the plugin on or off.rn0 = offrn1 = onrnrnp_givehealth | xrn- Amount of health given upon a melee killrnrnp_changedeaths | xrn- Amount of deaths which should be changedrnrnp_changekills | xrn- Amount of kills which should be changedrnrnp_amountmelee | xrn- How many times does one must make a melee kill in order to get the bonus
rnrnYou cant adjust a pointer!rnrnThe cvars is:rnrn
rnactivate_plugin "1" | - Enables the plugin on or off.rnmeleebonus_hp "25" | - Amount of health given upon a melee killrnmelee_deaths "2" | - Amount of deaths which should be changedrnmelee_kills "1" | - Amount of kills which should be changedrnmelee_amount "4" | - How many times does one must make a melee kill in order to get the bonusrn
Dr.G
posted here
Posts: 776
Threads: 75
Joined: Nov 2007
12-30-2008, 02:52 PM #3

Oh and a suggestion it would be cool if the client_prints follow the cvar values... When we talked about this before in scripting help i set one of them to follow the cvar value, u can look there again if.....

Tank
started this thread
Posts: 581
Threads: 59
Joined: Jan 2007
12-30-2008, 04:42 PM #4
You cant adjust a pointer!
nnI just saw that, I normally don't any information on plugins I write myself since I am the author and know what it does and all. You are completely right and that was a sloppy mistake.nnAs far as your message:nn
To do: Add a cvar message for both kills and deaths.
nnI already planning on doing this but wanted to post to see whats else would come up, for example that pretty sloppy mistake of info on the cvars.nnEdit:nchanged the vars in the information, thanks for pointing that out.

Zor
posted here
Posts: 688
Threads: 75
Joined: Jun 2006
12-31-2008, 01:24 PM #5

Hence its in Test Plugins! Heheheh...rnrnGood one Tank! Keep at it!rnrnCheers!

DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC