Code:
Worms Like deaths
by Drekes
Description:
There are a lot of people that know the worms games.
This plugin tryes to reinact that style of death, by making an explosion and
putting a grave like the dead worms do.
Cvars:
amx_wormsdeaths_on 1 Turns worms deaths on/off
amx_wormsdeath_sound 1 Turns the sound on/off
amx_wormsdeath_hidecorpse 1 Turns hiding dead body's on/off
amx_wormsdeath_gravetime 10.0 Time until the grave dissapears.
Changelog:
v1.0: Initial release
v1.1: Added cvar to hide corpse
v1.2: Optimized a lot of code
Changed the way to hide the corpse
v1.3: Added cvar for grave time.
Credits:
Wrecked: Helping to solve annoying tag mismatch and other stuff
Anakin_cstrike: the grave models
Arkshine: Alot of improvement info
Note:
I made the corpse invisible, because blocking the msg wasn't working like i expected
To do:
Make 1 model with 2 skins.
Here is a video. The sound sucks and my aim aswell, you can beter try it yourself.
http://www.xfire.com/video/2be18f/