Raised This Month: $ Target: $400
 0% 

Smoke grenade explosion delay + finding players in radius [SOLVED]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 12-26-2014 , 14:25   Smoke grenade explosion delay + finding players in radius [SOLVED]
Reply With Quote #1

Hello, guys! I'm trying to make some type of hallelujah nade (that's what I thought of). It will be in the slot of the smoke nade. So, the first questions are:
- How can I detect when the smoke (and future nade) stays still on the ground (when it stops bouncing and moving and is ready to explode)? I guess with FM_EmitSound would be good to check when the smoke explosion sound is being started, then destroy the ent and etc.?
- How to set a timer before the explosion, after the nade has stopped on the ground? I want to play some creepy "hallelujah" sound while the nade stays on the ground and then, like after 8 seconds, to explode.
- How to create a circle with a radius, where to put a fire ring explosion effect and the most important - to set some damage in this radius. This damage stuff is unfortunately pretty unclear for me and еspecially for the radius. This'd be the most helpful info.
I tried to search for similar functions in some other nades, bub didn't find the exact events/forwards I need. I haven't worked with nades so much before and am some kind of unexperienced with this type of coding. So if someone could be nice enough to explain me long and detailed, I'd be very thankful!
__________________

Last edited by Flick3rR; 12-28-2014 at 13:19.
Flick3rR is offline
Send a message via Skype™ to Flick3rR
 



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 15:21.


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