Forum

> > CS2D > Scripts > HE grenade livetime needed.
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch HE grenade livetime needed.

15 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt HE grenade livetime needed.

Mora
User Off Offline

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

alt Re: HE grenade livetime needed.

DC
Admin Off Offline

Zitieren
• 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.

alt Re: HE grenade livetime needed.

Mora
User Off Offline

Zitieren
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)

Zitat
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.

alt Re: HE grenade livetime needed.

DC
Admin Off Offline

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

alt Re: HE grenade livetime needed.

Mora
User Off Offline

Zitieren
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.
1× editiert, zuletzt 26.08.17 15:25:36

alt Re: HE grenade livetime needed.

VADemon
User Off Offline

Zitieren
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)

alt Re: HE grenade livetime needed.

DC
Admin Off Offline

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

alt Re: HE grenade livetime needed.

Mora
User Off Offline

Zitieren
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.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht