Grenade explosion ( TIME )
1 Attachment(s)
PLUGIN : Grenade explosion ( TIME ) : | Description | : With this plugin you can set the time of a grenade's explosion ( Flash - HE - SMOKE ) : | Cvars | : HE = He grenade FL = Flashbang SK = Smokegrenade Grenade_TIME_HE : The nade will explose X seconds after you thrown it. ( DEFAULT 3.0 ) Grenade_TIME_FL : The nade will explose X seconds after you thrown it. ( DEFAULT 2.0 ) Grenade_TIME_SK : The nade will explose X seconds after you thrown it. ( DEFAULT 4.0 ) ** IMPORTANT : IF THE TIME IS SET TO 0, THE PLUGIN DOESNT CHANGE THE TIME OF THE GRENADE. ** ( And don't forget to restart the round when you change a SK cvar ) : | Credits | : - Here come the idea : http://forums.alliedmods.net/showthread.php?t=155670 - VEN : http://forums.alliedmods.net/showpos...9&postcount=91 - ConnorMcLeod & Arkshine for improvements |
Re: Grenade explosion ( TIME ) v1.0
a good plugin to set the grenade's explosion time like in the reality (like in DOD) :up:.
|
Re: Grenade explosion ( TIME ) v1.0
Nice! Maybe you could add feature to release the trigger lever, while holding the grenade, to start timer, while you still holding it? Or it's already done somewhere?
|
Re: Grenade explosion ( TIME ) v1.0
Already exist ^^ : http://forums.alliedmods.net/showthr...hlight=explode
|
Re: Grenade explosion ( TIME ) v1.0
Quote:
|
Re: Grenade explosion ( TIME ) v1.0
Using a Trie to store model would prevent you from looping through the 3 models. (Detection by model is not really good though, search for VEN get_grenade_index stock).
About FM_Think, use Ham_Think with "grenade" class would be more efficient. Also the task system doesn't seem a good way for what you do (only timers), also, i'm not sure but should be tested, if you set Smoke to a high value (15-20 should be enough to test), smoke nade should explode as if your plugin was not installed. |
Re: Grenade explosion ( TIME ) v1.0
|
Re: Grenade explosion ( TIME ) v1.0
Update.
|
Re: Grenade explosion ( TIME ) v1.0
Why have you removed c4 check from VEN's stock ?
|
Re: Grenade explosion ( TIME ) v1.0
Oups, sorry, i add it ^^.
|
All times are GMT -4. The time now is 07:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.