Description
This is a Zombie Class Zombie Plague. It can vomits by binding the command "
boomer_vomit". It can also affect nearby humans when boomer dies.
Effects: Blind(Screen covered in green).
CVars(Numbers in "" are the default)
Code:
zp_boomer_vomit_dist "300" - Radius of vomit
zp_boomer_explode_dist "300" - Radius of explode
zp_boomer_blind_time "4" - Blind time
zp_boomer_vomit_cooldown "10.0" - Vomit cooldown
zp_boomer_victim_render "1" - If victim should get glow after being hit by vomit.
zp_boomer_in_use_bind "1" - 1: Plugin will use client's defuse/plant button | 0: Clients will need to bind [key] boomer_vomit MANUALLY
zp_boomer_ap_reward "2" - How many Ammo Packs does boomer get for every human who get affected.
Changelog:
Code:
1.0 - Intial Release
1.0a - No more register_concmd. Thanks NiHiLaNTh.
1.1 - Bug fix - Distance of vomit stays 0 even CVar is change.
1.2 BETA - Two new CVar
- Fixed emit_sound. Mistyped 2 as 3 :x
1.3 - Just a little change in code
Suggestions/Bug Reports/Optimzation request:
Post here, it will be welcomed!
Known Bugs:
- Explosion effect doesn't work for some people. If anybody finds out what's the problem. Please PM or post here.
Credits:
LARP for creating a sprite(Flame Zombie)
Tirant/frk_14 - Boomer model
NiHiLaNTh - Small fix(No need for register_concmd)
If I miss anybody here, please post and I'll apologize for that.
Extra Info:
[
Pictures]
1. Blinded after killing boomer at 300 radius.
[IMG]http://img12.**************/img12/3737/proof001.png[/IMG]
2. Human get hit by vomit with green glow IF zp_boomer_victim_render is 1.
[IMG]http://img814.**************/img814/835/proof002.png[/IMG]
Note: Explosion effect may not work with bots, I am not sure with that.