Page 1 of 1

Single grenade with multiple explosions

Posted: Wed Dec 19, 2018 4:35 pm
by Benoz
Is it possible to give a grenade odf multiple timed explosions?
I'm thinking about a shock grenade that does low damage but lasts about 5 seconds and I want to achieve that whit timed explosion.odf's.
Is it possible to make something out of this command:

Code: Select all

OrdnanceName        = "rep_weap_inf_shockgrenade_ord1"

NEXTCHARGE = 1.50
OrdnanceName        = "rep_weap_inf_shockgrenade_ord2"

NEXTCHARGE = 3.0
OrdnanceName        = "rep_weap_inf_shockgrenade_ord3"

NEXTCHARGE = 4.50
OrdnanceName        = "rep_weap_inf_shockgrenade_ord4"
and convert it to something like this:

Code: Select all

ExplosionExpire        = "rep_weap_inf_shockgrenade_exp1"

NEXTCHARGE = 1.50
ExplosionExpire        = "rep_weap_inf_shockgrenade_exp2"

NEXTCHARGE = 3.0
ExplosionExpire        = "rep_weap_inf_shockgrenade_exp3"

NEXTCHARGE = 4.50
ExplosionExpire        = "rep_weap_inf_shockgrenade_exp4"
Thanks in advance

Re: Single grenade with multiple explosions

Posted: Thu Dec 20, 2018 1:12 pm
by Maveritchell
What you're suggesting isn't what you're looking for; you're suggesting using something that would just give you different ordnances based off of the timing between fire press and fire release. What you want is a weapon that launches multiple ordnances, and the best way to do more than two ordnances is to use an orbital strike beacon as your base.