11-27-2016, 10:50 AM
#include <amxmodx>
#include <amxmisc>
#include <fun>
Description:
Gives adrenaline when you kill an opponent. (Takes away adrenaline when you kill a teammate). When you have max adrenaline (set by CVAR) you can spend it on different boosters: speed, invisibilty, or health. Made to some-what mimic Unreal Tournament.
Command:
say /booster
CVARs:
adrenaline_toggle
Toggle Plugin. 1=on 0=off (Default: 1)
adrenaline_amount
Amount of adrenaline per kill. (Default: 20)
adrenaline_max
Max amount of adrenaline you can collect as well the amount of adrenaline you need before you can spend your adrenaline. (Default: 100)
adrenaline_speed
Speed of speed booster. (Default: 650.0)
adrenaline_sound1
Play sound when you spend adrenaline points? (1=yes 0=no) (Default: 1)
adrenaline_sound2
Play sound when you get full adrenaline? (1=yes 0=no) (Default: 1)
Notes:
If you set the sound CVARs to 0, or do not install the sound files onto the server, the client will not have to download them.
If you change the CVARs ingame though it will take till mapchange to take effect.
How to Install?:
1: Add adrenaline_booster.wav and adrenaline_full.wav (Soundfiles) to Sounds
2: Add GHW_Adrenaline_Mod.txt to data\lang
3: Compile GHW_Adrenaline_Mod.sma
4: Add GHW_Adrenaline_Mod.amxx to Plugins
5: Add GHW_Adrenaline_Mod.amxx to Plugins.ini
#include <amxmisc>
#include <fun>
Description:
Gives adrenaline when you kill an opponent. (Takes away adrenaline when you kill a teammate). When you have max adrenaline (set by CVAR) you can spend it on different boosters: speed, invisibilty, or health. Made to some-what mimic Unreal Tournament.
Command:
say /booster
CVARs:
adrenaline_toggle
Toggle Plugin. 1=on 0=off (Default: 1)
adrenaline_amount
Amount of adrenaline per kill. (Default: 20)
adrenaline_max
Max amount of adrenaline you can collect as well the amount of adrenaline you need before you can spend your adrenaline. (Default: 100)
adrenaline_speed
Speed of speed booster. (Default: 650.0)
adrenaline_sound1
Play sound when you spend adrenaline points? (1=yes 0=no) (Default: 1)
adrenaline_sound2
Play sound when you get full adrenaline? (1=yes 0=no) (Default: 1)
Notes:
If you set the sound CVARs to 0, or do not install the sound files onto the server, the client will not have to download them.
If you change the CVARs ingame though it will take till mapchange to take effect.
How to Install?:
1: Add adrenaline_booster.wav and adrenaline_full.wav (Soundfiles) to Sounds
2: Add GHW_Adrenaline_Mod.txt to data\lang
3: Compile GHW_Adrenaline_Mod.sma
4: Add GHW_Adrenaline_Mod.amxx to Plugins
5: Add GHW_Adrenaline_Mod.amxx to Plugins.ini