AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Health and Speed Adder by kill ***UPDATED 3.1 03/21/2014*** (https://forums.alliedmods.net/showthread.php?t=225251)

AbNeR_CSS 09-02-2013 12:23

[ANY] Health and Speed Adder by kill ***UPDATED 3.1 03/21/2014***
 
5 Attachment(s)
This is a simple plugin that adds a quantity of life and speed for each kill, is very useful in deathmatch servers, i donīt found any plugin like this so i made my own.


Cvars

A config file will be automatically created after the first run in cfg/sourcemod/health_speed_adder.cfg

health_speed_adder_ffa <1/0> - Enable to the plugin works with ffa mod
health_add_enable <1/0> - Enable or Disable the health bonus by kill
health_add <10> - Amount of life added by kill.
speed_default <260> - Start speed of a player in the spawn, default value is 260.
speed_add_enable <1/0> - Active speed bonus when kill.
speed_add <100> - Amount of speed added by kill. (The normal speed of a player is 260).
health_limit <100> - Limit of health. 0 to disable.
health_speed_msg <1/0> - Enable the menssages when kill a player.
health_headshot_add <20> - Extra health added by HeadShot Kill.
health_knife_add <50> - Extra health added by Knife Kill.
speed_headshot_add <50> - Extra Speed added by HeadShot Kill.
speed_knife_add <100> - Extra Speed added by Knife Kill.

Code:

Update 3.1 03/21/2014

-Added translation file "health_speed_adder.phrases"

Update 3.0 03/20/2014

-Messages simplified to avoid spam.
-Added cvar health_headshot_add "20" - Extra health added by HeadShot Kill
-Added cvar health_knife_add "50" - Extra health added by Knife Kill
-Added cvar speed_headshot_add "50" - Extra Speed added by HeadShot Kill
-Added cvar speed_knife_add "100" - Extra Speed added by Knife Kill

Update 2.2 10/05/2013

-Added cvar "health_speed_adder_ffa" to works with ffa mod.
-Added cvar "speed_default" to set a custom speed at spawn.

Update 2.1 10/02/2013

-Removed the line "#include <sdkhooks>" which is totally unnecessary for the plugin.
-Fixed some bugs.

Update 2.0 10/01/2013

-Added the Speed Bonus by kill function, special thanks to Arkarr.
-Now you can disable the limit of health added letting the cvar health_limit in 0.
-Removed the line "#include <cstrike>", (I forgot about that, thanks for the feedback).
-Added messages when kill a player that show amount of life and speed gained.

This new version may contain bugs, please test and leave a feedback, you can leave your suggestions to implement the plugin, thanks to everyone who helped me with ideas :up:

Visit: http://www.tecnohardclan.com/forum/

jeezz 09-17-2013 03:17

Re: [ANY] Health Adder by kill
 
thx a lot for share this plugin, i like it a lot...

can u make also a plugin that gives a little more speed after people kill someone?

thx bro, nice plugin!:up:

AbNeR_CSS 09-20-2013 13:29

Re: [ANY] Health Adder by kill
 
thx for the feedback, yeah i can do this plugin, are you thinking in a plugin that gives speed for a short period of time that extends every kill or a plugin that gives more and more permanent speed every kill?

Arkarr 09-21-2013 07:19

Re: [ANY] Health Adder by kill
 
Quote:

Originally Posted by AbNeR_CSS (Post 2038022)
thx for the feedback, yeah i can do this plugin, are you thinking in a plugin that gives speed for a short period of time that extends every kill or a plugin that gives more and more permanent speed every kill?

I think you should do this two version and add a Cvar to choose wich mode the plugin will use.

jeezz 09-21-2013 07:36

Re: [ANY] Health Adder by kill
 
Thx for ur feedback too...

Umhh, would be nice if it gives speed up when he kill somebody...

He keep the speed, untill he die, then the speed needs to go back to default...

So it will be like this, it only gives speed up by the first kill, so if he kill again somebody, the speed must not go higher again...

this plugin u made is not working by the game i run, its a half life 2 dm, but i was like ur idea...

Would real cool if u could make it work for half life 2 dm...

i know there is power up plugin thats gives a random, speed up, healt 150, armor, but i like when its only gives a speed up...

thx bro!, srry my bad english...

m22b 09-24-2013 07:12

Re: [ANY] Health Adder by kill
 
cs go work ? :)

Arkarr 09-25-2013 12:07

Re: [ANY] Health Adder by kill
 
Just noticed, THIS NOT FOR ALL GAMES!
line 3, found this :
#include <cstrike>
>>>FIXED<<<

RedSword 09-25-2013 12:08

Re: [ANY] Health Adder by kill
 
cstrike isn't needed to compile the plugin. You should remove it.

Arkarr 09-25-2013 12:11

Re: [ANY] Health Adder by kill
 
Quote:

Originally Posted by RedSword (Post 2040439)
cstrike isn't needed to compile the plugin. You should remove it.

Yep, you are right.

jeezz 09-27-2013 04:38

Re: [ANY] Health Adder by kill
 
so?


All times are GMT -4. The time now is 04:08.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.