Raised This Month: $66 Target: $400
 16% 

Grenade Realism v2.0 [HL alike and MOAR!]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   Hawk552 (427)
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 09-22-2009 , 10:21   Grenade Realism v2.0 [HL alike and MOAR!]
Reply With Quote #1

Description:
This makes the grenade explode in hand if kept too long after the pin is pulled.
It supports even weapon change and all the grenades!

Modules:

HamSandWich
Engine
Fakemeta


Cvars:
Code:
// Put this in amxx.cfg

hdex_cutexplotime 1 // If set to 1 the time after the nade would normally explode will be reduced by the time it was helled in the hand

hdex_affected_nades 7 // 1 - He grenade, 2 - Flashbang, 4 Smoke, add them to use multiple nades. Ex: 5 means he grenade and smokegrenade!

hdex_smoke_compatibility 1 // Set this to 1 when you use the normal smoke grenade and the nade is affected by the plugin!

hdex_secatt_gren_candetonate 1 // If set to 1 this plugin will use a different gameplay read after the cvars

hdex_he_limit 2 // Ammo limit of he grenades
hdex_he_limit 4 // Ammo limit of flash grenades
hdex_he_limit 2 // Ammo limit of smoke grenades
    
hdex_removeafter 0.0 // below and equal to 0.0 means removal of dumb grenades on round end, more than 0.0 means removal after the cvar value in seconds

hdex_message_pin "Carefull! If you hold it too much it will blow!" // Warning if the nade will explode in his hands!

hdex_message_mustpull "You must pull the safety lever to arm the grenade! [Right Click] // Message send to client if he needs to activate the grenade
Special gameplay:
This will work only if hdex_secatt_gren_candetonate isn't set to 0.
In this situation the player must arm the grenade with right click before throwing it!
If the grenade isn't armed it can be picked up!
If armed then the grenade will explode, if it is too much held in the hand it will explode!

Useful Links:
Servers using this

Changelog:
PHP Code:
-  2.0 Hawk suggestion implemented, new name
-  1.5 smoke grenade compatibility improvementsadded one cvar that controls the affected nadesremoved the FIRE IN THE HOLE sounds/texts when the nade is forced to detonate
-  1.0 initial release 
Credits:
Grenade Realism made by P3Anut

Note to plugin approvers:
Unapprove the old plugin since this works better. (if you want)

Note to Approvers from Exolent:
This plugin was moved from unapproved back to submissions after it had been readded to the first post.
If your verdict is to unapprove this plugin, you will have to manually move the thread rather than pushing the "unapprove" button.
Attached Files
File Type: sma Get Plugin or Get Source (grenade_realism.sma - 5140 views - 15.9 KB)
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.

Last edited by Exolent[jNr]; 10-13-2009 at 00:56. Reason: Added note at the bottom.
ot_207 is offline
durkeeez
BANNED
Join Date: Jun 2009
Old 09-22-2009 , 10:50   Re: Grenade Hand Explosion
Reply With Quote #2

lol.... looks cool , and how much seconds I have to throw it???
durkeeez is offline
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 09-22-2009 , 10:54   Re: Grenade Hand Explosion
Reply With Quote #3

Quote:
Originally Posted by durkeeez View Post
lol.... looks cool , and how much seconds I have to throw it???
The normal grenade explosion time. The grenades explode in approx 2 seconds so holding them above 2 seconds makes them explode in your hand!
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 09-22-2009 , 10:56   Re: Grenade Hand Explosion
Reply With Quote #4

Quote:
Originally Posted by ot_207 View Post
The normal grenade explosion time. The grenades explode in approx 2 seconds so holding them above 2 seconds makes them explode in your hand!
Uhm i think thats too fast
__________________
xPaw is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 09-22-2009 , 10:57   Re: Grenade Hand Explosion
Reply With Quote #5

Seems stupid to me, tbh. Most grenades (including the ones in CS) have a lever that has to be released even after you pull the pin. Until you release the lever, you can put the pin back in.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 09-22-2009 , 11:06   Re: Grenade Hand Explosion
Reply With Quote #6

Quote:
Originally Posted by Hawk552 View Post
Seems stupid to me, tbh. Most grenades (including the ones in CS) have a lever that has to be released even after you pull the pin. Until you release the lever, you can put the pin back in.
Well it depends, this plugin also offers advantages because of the explision time cut.
And yes you are right but there are servers that would like to use this, it always depends on what people want.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
`666
AlliedModders Donor
Join Date: Jan 2006
Location: UK
Old 09-22-2009 , 11:09   Re: Grenade Hand Explosion
Reply With Quote #7

This plugin can be good on knife server for suicides, just run at enemy with nade lol
`666 is offline
durkeeez
BANNED
Join Date: Jun 2009
Old 09-22-2009 , 12:15   Re: Grenade Hand Explosion
Reply With Quote #8

2 seconds?..... can u make a default time 10 seconds???
durkeeez is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 09-22-2009 , 12:16   Re: Grenade Hand Explosion
Reply With Quote #9

Quote:
Originally Posted by durkeeez View Post
2 seconds?..... can u make a default time 10 seconds???
A cvar for that should be cool
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 09-22-2009 , 14:24   Re: Grenade Hand Explosion
Reply With Quote #10

HL like, cool.
__________________
"There is no knowledge, that is not power"
fezh 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 07:17.


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