This plugin allow every survivor and every special infected to vomit like bommer by using !vomitme command
Installation:
Put the l4d2_survomit.smx to plugins folder
and l4d2vomit.txt to gamedata folder
Command :
!vomitme
Cvars :
cfg/sourcemod/l4d2_vomit.cfg
Code:
l4d2_vomit_allow 1 0= L4D2 Everyone Vomit Plugin off, 1=Plugin on. 2 root admin only
l4d2_vomit_type 7 the vomit can only hit 1=sur 2=SI 4 =commoninfected (add the number to it if you want it)
l4d2_vomit_range 100 vomit hit detection range
l4d2_vomit_team 1 the team that can use !vomitme 1 =sur 2=infected 3=both
l4d2_vomit_cool 60.0 cool down time after vomit
l4d2_vomit_sound "player/boomer/vomit/attack/bv1.wav" sound file used leave blank to disable sound
Known Bugs :
the particle does not attach well on the special infected
the hit detection may not accurate
1.0.1 quick bug fix
Credits :
Silvers used a lot his code and he teaches me
honorcode23 the gamedata from his plugin
Thanks !!!