Flaming units [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
BountyHunterV

Flaming units [Solved]

Post 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)?
User avatar
SBF_Dann_Boeing
Groove Walrus
Groove Walrus
Posts: 1529
Joined: Wed Aug 31, 2005 11:33 pm
xbox live or psn: No gamertag set
Location: An Igloo High Upon a Mountain Top

Re: flaming units

Post 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.
BountyHunterV

Re: flaming units

Post 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?
EGG_GUTS
Master Bounty Hunter
Master Bounty Hunter
Posts: 1626
Joined: Thu Dec 07, 2006 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: CANADA!

Re: flaming units

Post by EGG_GUTS »

I was wondering this too I wanted to make JabbaLovesLava on fire in my GT Map V1.2 (FINAL)
User avatar
authraw
1st Lieutenant
1st Lieutenant
Posts: 445
Joined: Mon Jun 26, 2006 3:45 pm

Re: flaming units

Post 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.) ;)
BountyHunterV

Re: flaming units

Post by BountyHunterV »

lol thats pretty funny...so the DamageStopPercent at 0.0 means it won't stop smoking till it dies?
User avatar
authraw
1st Lieutenant
1st Lieutenant
Posts: 445
Joined: Mon Jun 26, 2006 3:45 pm

Re: flaming units

Post 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.
BountyHunterV

Re: flaming units

Post 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?
User avatar
authraw
1st Lieutenant
1st Lieutenant
Posts: 445
Joined: Mon Jun 26, 2006 3:45 pm

Re: flaming units

Post 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. :)
Post Reply