Catching on fire when hit by an explosion

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
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Catching on fire when hit by an explosion

Post by Taivyx »

I'll keep this short and simple:
I'm trying to make the explosion cause the unit to catch on fire, so I tried importing the lines of code from the flamethrower ordnance odf that call for the fire.
Unfortunately, that doesn't work, so now I'm out of ideas.
Does anyone else know how to do this?
Hidden/Spoiler:
[ExplosionClass]
ClassLabel = "explosion"

[Properties]
Damage = "200.0"
DamageRadiusInner = "2.0"
DamageRadiusOuter = "5.5"

Push = "00.0"
PushRadiusInner = "6.5"
PushRadiusOuter = "6.5"

Shake = "0.25"
ShakeLength = "0.5"
ShakeRadiusInner = "2.0"
ShakeRadiusOuter = "5.5"

Effect = "com_sfx_weap_flame_exp_md"
WaterEffect = "com_sfx_watersplash_lg"
Decal = "decal_explosion"
LightColor = "255 220 100 255"
LightRadius = "7.0"
LightDuration = "1.0"

VehicleScale = "1.0"
PersonScale = "1.0"
DroidScale = "1.0"
BuildingScale = "1.0"
AnimalScale = "1.0"

SoundProperty = "com_weap_thermaldetonator_exp"
//WaterExplosion = "com_weap_obj_med_water_exp"

SmolderDamageRate = "50.0" // default is 0. the damage rate for smoldering targets

SmolderEffectTimer = "5.0"

SmolderEffect = "com_sfx_inf_damage_fire"
SmolderBone = "bone_ribcage"

SmolderEffect = "com_sfx_inf_damage_fire"
SmolderBone = "bone_head"

SmolderEffect = "com_sfx_inf_damage_fire"
SmolderBone = "bone_pelvis"

SmolderVanishDeath = "0"
Last edited by Taivyx on Wed Feb 18, 2009 10:07 pm, edited 1 time in total.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Catching on fire when hit by an explosion

Post by Maveritchell »

Other than "trying to make a unit catch on fire through an explosion," what specifically are you trying to do here? Smolder effects are only added with ordnance.
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Re: Catching on fire when hit by an explosion

Post by Taivyx »

Maveritchell wrote:Other than "trying to make a unit catch on fire through an explosion," what specifically are you trying to do here? Smolder effects are only added with ordnance.
I'm making an incendiary grenade, whose explosion would cause the unit to be, for lack of a better term, engulfed in flames.
I realize that those code lines came from an ordnance odf file, but I was trying it out to see if it worked since that was the only idea I had.
computergeek
General
General
Posts: 770
Joined: Thu Jun 07, 2007 6:26 pm
Projects :: Halo Warthog vehicle for SWBF2
Games I'm Playing :: Bioware RPGs - Halo
xbox live or psn: No gamertag set
Location: Far Far away....

Re: Catching on fire when hit by an explosion

Post by computergeek »

Wouldn't you want to look in the flamethrower files? Maybe take that effect and scale it up.
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Re: Catching on fire when hit by an explosion

Post by Taivyx »

Alright I guess I still haven't made myself clear enough :?
When a unit is hit by the explosion, it (meaning, the unit) begins burning in the same manner as if it was hit by a flamethrower.
computergeek
General
General
Posts: 770
Joined: Thu Jun 07, 2007 6:26 pm
Projects :: Halo Warthog vehicle for SWBF2
Games I'm Playing :: Bioware RPGs - Halo
xbox live or psn: No gamertag set
Location: Far Far away....

Re: Catching on fire when hit by an explosion

Post by computergeek »

Ah I think I know what you mean now. But still I would look into the flamethrower assets because thats pretty much what it is, you get hit with an effect and you catch on fire. I was saying you may want to scale up the fire that is on you
obiboba3po
2008 Most Technically Challenging Avatar
Posts: 2376
Joined: Tue Feb 12, 2008 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: NJ, USA

Re: Catching on fire when hit by an explosion

Post by obiboba3po »

this probably has something to do with it

Code: Select all

ClassLabel          = "emitterordnance"
from the flamethrower ord. i think if its just an explosion, it will only be an explosion. if its an emitter my guess is thats whatever makes it spread damage so-to-speak.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Catching on fire when hit by an explosion

Post by Maveritchell »

What you want is a grenade that dispenses an emitterordnance, then, because like I said, explosions can't make people "catch on fire." I'll PM you a few odfs I used to make a poison grenade - the principle is the same - it's essentially an orbital strike beacon grenade that detonates the orbital strike at zero height (and as a sphere emitter instead of a directional emitter).
User avatar
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Catching on fire when hit by an explosion

Post by Sky_216 »

Maveritchell wrote:What you want is a grenade that dispenses an emitterordnance, then, because like I said, explosions can't make people "catch on fire." I'll PM you a few odfs I used to make a poison grenade - the principle is the same - it's essentially an orbital strike beacon grenade that detonates the orbital strike at zero height (and as a sphere emitter instead of a directional emitter).
Would you mind PMing me those too?
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Re: Catching on fire when hit by an explosion

Post by Taivyx »

That's what I was thinking Mav, but didn't have a clue as to how to execute it, thanks! :)
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Catching on fire when hit by an explosion

Post by Maveritchell »

Skyhammer_216 wrote:Would you mind PMing me those too?
Sure thing, sent.
Grev
Hoth Battle Chief
Hoth Battle Chief
Posts: 3132
Joined: Sun Dec 09, 2007 11:45 pm
Projects :: No Mod project currently.
Games I'm Playing :: Minecraft
Location: A Certain Box Canyon

Re: Catching on fire when hit by an explosion

Post by Grev »

Skyhammer_216 wrote:
Maveritchell wrote:What you want is a grenade that dispenses an emitterordnance, then, because like I said, explosions can't make people "catch on fire." I'll PM you a few odfs I used to make a poison grenade - the principle is the same - it's essentially an orbital strike beacon grenade that detonates the orbital strike at zero height (and as a sphere emitter instead of a directional emitter).
Would you mind PMing me those too?
And to me too please!
User avatar
Super_Clone
High General
High General
Posts: 803
Joined: Sat Jul 12, 2008 7:58 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Florida

Re: Catching on fire when hit by an explosion

Post by Super_Clone »

Grev wrote:
Skyhammer_216 wrote:
Maveritchell wrote:What you want is a grenade that dispenses an emitterordnance, then, because like I said, explosions can't make people "catch on fire." I'll PM you a few odfs I used to make a poison grenade - the principle is the same - it's essentially an orbital strike beacon grenade that detonates the orbital strike at zero height (and as a sphere emitter instead of a directional emitter).
Would you mind PMing me those too?
And to me too please!
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: Catching on fire when hit by an explosion

Post by Aman/Pinguin »

Super_Clone wrote:
Grev wrote:
Skyhammer_216 wrote:
Maveritchell wrote:What you want is a grenade that dispenses an emitterordnance, then, because like I said, explosions can't make people "catch on fire." I'll PM you a few odfs I used to make a poison grenade - the principle is the same - it's essentially an orbital strike beacon grenade that detonates the orbital strike at zero height (and as a sphere emitter instead of a directional emitter).
Would you mind PMing me those too?
And to me too please!
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: Catching on fire when hit by an explosion

Post by MileHighGuy »

Aman/Pinguin wrote:
Super_Clone wrote:
Grev wrote:
Skyhammer_216 wrote:
Maveritchell wrote:What you want is a grenade that dispenses an emitterordnance, then, because like I said, explosions can't make people "catch on fire." I'll PM you a few odfs I used to make a poison grenade - the principle is the same - it's essentially an orbital strike beacon grenade that detonates the orbital strike at zero height (and as a sphere emitter instead of a directional emitter).
Would you mind PMing me those too?
And to me too please!
if this goes on it would be better if it was in the asset release forum (could i have it too please?)
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Re: Catching on fire when hit by an explosion

Post by Taivyx »

Is there any way to do this without a beacon?
The reason I ask is that I'd like for the molotov to explode right when it hits the ground, so I had been using a shell ordnance to do that before.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Catching on fire when hit by an explosion

Post by Fiodis »

Have the beacon have a short timer?
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Re: Catching on fire when hit by an explosion

Post by Taivyx »

Even if I have an extremely short timer and sticky values, it won't stick to objects so it'll still bounce.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Catching on fire when hit by an explosion

Post by Maveritchell »

No way to do this without a beacon (unless you want to "throw" a dispenser, which has assorted issues, not the least of which is you not receiving kills from it).
Grev
Hoth Battle Chief
Hoth Battle Chief
Posts: 3132
Joined: Sun Dec 09, 2007 11:45 pm
Projects :: No Mod project currently.
Games I'm Playing :: Minecraft
Location: A Certain Box Canyon

Re: Catching on fire when hit by an explosion

Post by Grev »

Isn't there an explode on contact line in the odf? Can't you simply make the explosion trigger a really fast beacon?
Post Reply