Page 1 of 1

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

Posted: Mon Nov 22, 2021 4:59 pm
by greenie
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:
// 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!
// 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!

plugin
source