Page 1 of 1

Making an Explosion emit an Ordance?

Posted: Sat Nov 24, 2007 11:07 am
by EGG_GUTS
Ok so, I'm trying to make the thermal detonator explode but the explosion will be the debuff poison ord. How would I do this so the explosion still makes the opponent poisoned? I've tried multiple things with no luck.

Thanks

Re: Making an Explosion emit an Ordance?

Posted: Sat Nov 24, 2007 12:57 pm
by trainmaster611
Without trying it, here's an idea: edit the com_weap_inf_thermaldetonator_ord.odf contents so that the contents read as the same thing as cis_weap_inf_debuff_poison_ord ODF.

The parent of that ord is an emitterordnance.

Re: Making an Explosion emit an Ordance?

Posted: Sat Nov 24, 2007 3:59 pm
by Syth
Nah tried that before... but there is one way that works, if not perfectly.

Pretty much your editing an auto turret. Make the turrets geometry a grenades geometry, and take away all code referring to the "turretnodes". Make the turrets weapon the poison debuff attack. Lastly make give the turret a small lifespan. Ive actually done this all ready, it works pretty well.

Re: Making an Explosion emit an Ordance?

Posted: Sat Nov 24, 2007 7:03 pm
by trainmaster611
Wow...that's pretty clever :o