Headshot Grave
v1.0
Yet another fun plugin from me
This plugin is an extension of the original 'Graves' made by Freecode.
Description:
If you kill a player on head from a distance higher or equal to x (defined), he will explode and at the victim's death place a grave will be formed depending on victim's team.
If somebody approaches the grave, his hp will start to decrease and the screen will fade in black for a moment.
If somebody touches the grave, a thunder will kill him and you'll hear a random sound (there ar two). Also the lightning of the map is set to dark.
Cvars
hsgrave_plugin 1/0 - enable/disable plugin (default 1)
hsgrave_explode 1/0 - enable/disable explode effects on kill (default 1)
hsgrave_touchkill 1/0 - enable disable killing player at touch (default 1)
hsgrave_thunder 1/0 - enable/disable thunder kill (default 1)
hsgrave_light 1/0 - enable/disable changing lights (default 1)
hsgrave_lightduration - duration in seconds before the lights are set back to normal (default 2)
hsgrave_radius 1/0 - enable/disable decreasing hp while aproaching to the grave (default 1)
hsgrave_interval - interval in seconds for hp decreasing (default 3)
hsgrave_damage - damge done at decrease (default 5)
Modules: Fakemeta
Info:
Code:
#define hsdistance 1000.0 -- min distante between killer and victim to form the grave
#define radius 400.0 -- min distance between a player and the grave to start hp decreasing
#define sounds 2 -- num of sounds
new g_sounds[sounds][] =
{
"misc/grave_sound1.wav",
"misc/grave_sound2.wav"
}; -- sounds name and dir
new const tmodel[] = "models/gravet.mdl"; -- model name for team T
new const ctmodel[] = "models/gravect.mdl"; -- model name for team CT
Credit:
Freecode -- original Graves plugin
SAMURAI16 -- model min and max size
Screenshots:
[IMG]http://img300.**************/img300/865/34554493fd6.th.jpg[/IMG][IMG]http://img300.**************/images/thpix.gif[/IMG] [IMG]http://img503.**************/img503/6437/77279689wy0.th.jpg[/IMG][IMG]http://img503.**************/images/thpix.gif[/IMG] [IMG]http://img216.**************/img216/5831/ss2kw1.th.jpg[/IMG][IMG]http://img216.**************/images/thpix.gif[/IMG] [IMG]http://img216.**************/img216/4286/93101609xn3.th.jpg[/IMG][IMG]http://img216.**************/images/thpix.gif[/IMG] [IMG]http://img356.**************/img356/9679/16371365tu6.th.jpg[/IMG][IMG]http://img356.**************/images/thpix.gif[/IMG]