Raised This Month: $94 Target: $400
 23% 

Headshot Grave


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff        Approver:   Exolent[jNr] (178)
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 10-20-2008 , 11:15   Headshot Grave
Reply With Quote #1

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]
Attached Files
File Type: rar resources.rar (121.9 KB, 3936 views)
File Type: sma Get Plugin or Get Source (grave.sma - 5403 views - 9.7 KB)
__________________


Last edited by anakin_cstrike; 02-19-2009 at 20:15.
anakin_cstrike is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-20-2008 , 11:55   Re: Headshot Grave
Reply With Quote #2

It seems that you don't block victim's body creation on death ? ( Since it should be exploded )
__________________
Arkshine is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 10-20-2008 , 12:00   Re: Headshot Grave
Reply With Quote #3

I know...I left it intentionally...anyway, i will make that in vs 2.
Thanks for reminding me.
__________________

anakin_cstrike is offline
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 10-20-2008 , 15:33   Re: Headshot Grave
Reply With Quote #4

Did not looked at the code , but all your plugins look so funny
__________________
I am out of order!
grimvh2 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-20-2008 , 15:57   Re: Headshot Grave
Reply With Quote #5

I would change :

screenfade / statusicon -> MSG_ONE_UNRELIABLE.
both beam/spark -> MSG_PVS ( No need to show effects to players which don't look to this origin )
__________________

Last edited by Arkshine; 10-20-2008 at 16:03.
Arkshine is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 10-20-2008 , 16:01   Re: Headshot Grave
Reply With Quote #6

At screenfade i agree...but can you explain a bit why ?

Edit: i knew that...i was saying about unreliable vs msg one in my case.
__________________


Last edited by anakin_cstrike; 10-20-2008 at 16:13.
anakin_cstrike is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 10-20-2008 , 16:16   Re: Headshot Grave
Reply With Quote #7

lol, this plugin is so funny.
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-20-2008 , 16:20   Re: Headshot Grave
Reply With Quote #8

MSG_ONE : Message put into a reliable stream. If for some reasons the message can't be sent, the server will crash.

MSG_ONE_UNRELIABLE : Message put into an unreliable stream. Even if the message is not sent, your server will not crash.


So, use preferably MSG_ONE_UNRELIABLE.
__________________
Arkshine is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 10-20-2008 , 16:26   Re: Headshot Grave
Reply With Quote #9

Ah, thanks for that information. But, is bad to use often unreliable ?
Changed.
__________________

anakin_cstrike is offline
FisH n' ChIpS
Junior Member
Join Date: Jul 2008
Location: de_dust2
Old 10-22-2008 , 11:13   Re: Headshot Grave
Reply With Quote #10

Good great awesome plugin
__________________
=======> <=== ====
Find the odd ones out
FisH n' ChIpS is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:10.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode