Page 1 of 1
Flaming units [Solved]
Posted: Sun Sep 23, 2007 6:56 pm
by BountyHunterV
When you shoot someone with a flamethrower an animation plays where they are burning, and they lose health.
Is there any way to make it so a unit permanently "burns" (i.e. has the fire animation, but doesn't lose health)?
Re: flaming units
Posted: Sun Sep 23, 2007 7:00 pm
by SBF_Dann_Boeing
having hte animation attached to him from the start i dont think is possible. However, when i made a gun that had the com_sfx_inf_damage_fire as its impact effect, the fire sticks to the person but doesnt do any continuous damage.
Re: flaming units
Posted: Sun Sep 23, 2007 7:55 pm
by BountyHunterV
so theres no way to, like, take the fiery-trooper animation that is used with the flamethrower, and make it part of the odf?
Re: flaming units
Posted: Sun Sep 23, 2007 7:59 pm
by EGG_GUTS
I was wondering this too I wanted to make JabbaLovesLava on fire in my GT Map V1.2 (FINAL)
Re: flaming units
Posted: Sun Sep 23, 2007 8:02 pm
by authraw
Actually, I think that there might be.
Try adding this to your unit's odf:
Code: Select all
DamageStartPercent = 100.0
DamageStopPercent = 0.0
DamageEffect = "com_sfx_vehiclesmoke"
DamageAttachPoint = "bone_pelvis"
You'll probably want to find a fire effect from somewhere instead of com_sfx_vehiclesmoke and attach it to a different bone--I just copy/pasted from another odf that I have lying around here. But theoretically that should make your unit start smoking as soon as it reaches 100% health (as soon as it spawns.)

Re: flaming units
Posted: Sun Sep 23, 2007 8:47 pm
by BountyHunterV
lol thats pretty funny...so the DamageStopPercent at 0.0 means it won't stop smoking till it dies?
Re: flaming units
Posted: Sun Sep 23, 2007 9:27 pm
by authraw
BountyHunterV wrote:lol thats pretty funny...so the DamageStopPercent at 0.0 means it won't stop smoking till it dies?
I believe so.
Re: flaming units
Posted: Wed Sep 26, 2007 10:12 pm
by BountyHunterV
SBF_Dann_Boeing wrote:having hte animation attached to him from the start i dont think is possible.
lol. to the contrary...it works! thanks very much, authraw.
it looks a little weird though, fire coming out of his stomach...do you know any other bone names or where to find bone names?
Re: flaming units
Posted: Wed Sep 26, 2007 10:33 pm
by authraw
BountyHunterV wrote:SBF_Dann_Boeing wrote:having hte animation attached to him from the start i dont think is possible.
lol. to the contrary...it works! thanks very much, authraw.
it looks a little weird though, fire coming out of his stomach...do you know any other bone names or where to find bone names?
bone_ribcage is one, I think... Ask a modeller--they'll know more than me.
