Features:
Code:
- Give health
- Set max speed
- Glow, aura & trail
- Damage multiplier
- Simple cooldown/duration system with color/colour chat
CVars:
Code:
zp_rage_duration "8.0" - How long it will last
zp_rage_cooldown "25.0" - Cooldown time before using it again
zp_rage_rgb "255 0 0 16" - Glow, aura and trail when raged
zp_rage_radius "20" - Radius of aura
zp_rage_maxspeed "300.0" - Sets the maxspeed when raged
zp_rage_addhealth "300" - Amount of health will be added when raged
zp_rage_dmgmultiplier "2.0" - Damage multiplier when raged
zp_rage_painshockfree "1" - Enable/disables pain shock free when raged
zp_rage_trailbrightness "255" - Trail brightness
zp_rage_trailsize "5" - Trail width
zp_rage_traillife "2" - Trail life (The higher it is, the longer the trail)
Let's explain the zp_rage_rgb format.
The format is:
Code:
zp_rage_rgb "RRR GGG BBB AAA"
Which is also, RED GREEN BLUE ALPHA
Changing the prefix of color/colour print
PHP Code:
#define CHAT_PREFIX "[ZP]"
It's on top of the codes.
Changelogs:
Code:
1.0 - Initial release
1.1 - Fixed print colour bug
- Fix the spam
1.2 - Damage multiplier not working
- Added CVar to enable/disable pain shock free during raged
1.3 - Fix glow not working
- Added a loop for setting glow just incase his rendering gets reset
1.4 - Woops, something useless spotted
1.5 - Optimizations
- Bug fix, if the zombie turns into human, glow, etc is still taking effect
Credits:
louistds - Lollerskaters rush to me and report the bugs (Fixed in 1.1)
abdul_rehman - Optimizations
Questions:
Why not +use?
http://forums.alliedmods.net/showpos...73&postcount=9
File removed. Checking bugs. Doesn't seem to works
[IMG]http://img291.**************/img291/9931/dedust20000qi.jpg[/IMG]
[IMG]http://img819.**************/img819/1999/dedust20001k.jpg[/IMG]