Forum

> > CS2D > Scripts > HE grenade livetime needed.
Forums overviewCS2D overview Scripts overviewLog in to reply

English HE grenade livetime needed.

15 replies
To the start Previous 1 Next To the start

old HE grenade livetime needed.

Mora
User Off Offline

Quote
Hello uss.
This question is more to DC, but if you know:
What is exact time, when reach, triggers HE explosion?

old Re: HE grenade livetime needed.

DC
Admin Off Offline

Quote
• When flying all the time: Explosion after 1500 ms (1.5 secs)
• When hitting the ground before these 1500 ms elapsed: Explosion after 1800 ms (1.8 secs)

So when grenades hit the ground they take 0.3 secs longer to explode. Not sure why I did it like this but I guess there is some weird reason I can't remember right now.

The described behavior is the same for HE and Flash grenades.

All other grenades "explode" as soon as they hit the ground. Flight duration defined by crosshair distance to the player when throwing. If that is enabled in the settings (it is by default). Otherwise a fixed distance.

old Re: HE grenade livetime needed.

Mora
User Off Offline

Quote
i think i know why, is like when you threw grenade and it's timer is started, so when it fell on the ground near you - you'll have more time to run, if it flied more - it's time when it would be exploded(obviously) decreased.

Thank you for answer and others for help(i reach all changelogs but found nothing)

Quote
All other grenades "explode" as soon as they hit the ground. Flight duration defined by crosshair distance to the player when throwing. If that is enabled in the settings (it is by default). Otherwise a fixed distance.


Yes i know.

old Re: HE grenade livetime needed.

DC
Admin Off Offline

Quote
Oh maybe that's the reason. That's possible.
(even though real grenades don't work like that. But who cares? )

old Re: HE grenade livetime needed.

Mora
User Off Offline

Quote
No, it looks more realistic. Is like when you threw a grenade and timer started, the closer you threw - the longer time to explode will be.
/Another question @user DC, i could not find Gut Bomb(86) sound when it exploded. I used to get fresh cs2d and to listen each sound. Might be it's included in exe? i need this sound but didnt thought the game does not have it in folders.
edited 1×, last 26.08.17 03:25:36 pm

old Re: HE grenade livetime needed.

VADemon
User Off Offline

Quote
ProTip: Do not manipulate/remove grenade projectiles shortly before their explosion! The clients with high ping may not receive the "Remove" command before it explodes on their end. (Server removes a flashbang projectile, but the client still gets flashed)

old Re: HE grenade livetime needed.

DC
Admin Off Offline

Quote
Regarding the gut bomb sounds: Maybe the sfx/materials/flesh sounds? No sounds are included in the exe. All are exposed as external files.

old Re: HE grenade livetime needed.

Mora
User Off Offline

Quote
I think no, they playing when i hit env_breakable. Dont have path of this sound in your project?
/it's not much needed, because i found zm_hit which sounds similar(but still different). I'll just add "flesh" near "zm_hit" and it'd be like gut bomb.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview