11-16-2007, 02:43 PM
If a player kills enough enemies in a row he can enable bloodthirst - get in rage => bloodrage.
That means he can run faster, has more health and armor, his screen becomes red and his model glows red.
It's handled by points:
he gets...
1 point for a kill
1 point for a headshot
1 point for a knifekill
=> 1 to 3 points per kill
The bloodrage lasts as long as the amount of points (in seconds).
clientcommands:
cmd description
startrage start rage if enough points
cvars:
cvar default description
rage 0 enables/disables bloodrage
rage_hp 200 health
rage_ap 200 armor
rage_speed 350 speed you get when in rage
rage_minpoints 8 points needed to reach rage
rage_time_multiplier 1 time in rage = rage_min_time * points
IMPORTANT: you will need to set sv_maxspeed to your rage_speed or higher
fun module is required for the glowing
Download link: <!-- m --><a class="postlink" href="http://cs.u-s.ro/download/cs/bloodrage.sma">http://cs.u-s.ro/download/cs/bloodrage.sma</a><!-- m --> Sursa
Download link: <!-- m --><a class="postlink" href="http://cs.u-s.ro/download/cs/bloodrage.amxx">http://cs.u-s.ro/download/cs/bloodrage.amxx</a><!-- m --> Compilat
That means he can run faster, has more health and armor, his screen becomes red and his model glows red.
It's handled by points:
he gets...
1 point for a kill
1 point for a headshot
1 point for a knifekill
=> 1 to 3 points per kill
The bloodrage lasts as long as the amount of points (in seconds).
clientcommands:
cmd description
startrage start rage if enough points
cvars:
cvar default description
rage 0 enables/disables bloodrage
rage_hp 200 health
rage_ap 200 armor
rage_speed 350 speed you get when in rage
rage_minpoints 8 points needed to reach rage
rage_time_multiplier 1 time in rage = rage_min_time * points
IMPORTANT: you will need to set sv_maxspeed to your rage_speed or higher
fun module is required for the glowing
Download link: <!-- m --><a class="postlink" href="http://cs.u-s.ro/download/cs/bloodrage.sma">http://cs.u-s.ro/download/cs/bloodrage.sma</a><!-- m --> Sursa
Download link: <!-- m --><a class="postlink" href="http://cs.u-s.ro/download/cs/bloodrage.amxx">http://cs.u-s.ro/download/cs/bloodrage.amxx</a><!-- m --> Compilat
Daca o freci aiurea, intra-ti in mana!