Attaching burning effect to thermal detonator

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
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Attaching burning effect to thermal detonator

Post by YaNkFaN »

does anyone know if it's possible to attach the burning flamethrower effect to the thermal detonator explosion I looked at both .odfs and was not really sure what to do
User avatar
KnightsFan
Second Lance Corporal
Second Lance Corporal
Posts: 108
Joined: Fri Mar 06, 2009 9:34 pm

Re: attaching burning effect to thermal detonator

Post by KnightsFan »

Code: Select all

Effect 				= "com_sfx_inf_damage_fire"
Effect 				= "com_sfx_inf_damage_smoke"
Put that in com_weap_inf_thermaldetonator_exp and it burns. It's a little small and it doesn't stop, but it does burn...
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: attaching burning effect to thermal detonator

Post by Fiodis »

You mean make units appear to catch on fire, without any actual buring damage done? You'd have to edit the grenade's exp.odf and change the impact effect, maybe.
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: attaching burning effect to thermal detonator

Post by YaNkFaN »

i want like the explosion to cause a burn to people who are around when the nade goes off and then slowly remove their health is there a way to limit the the time that they burn for or is it until they die?
User avatar
bobfinkl
Rebel Colonel
Rebel Colonel
Posts: 593
Joined: Sun Jul 13, 2008 9:01 am
Projects :: Lots of unreleased stuff
Games I'm Playing :: Life
xbox live or psn: No gamertag set
Location: The quaint little city gametoast.

Re: attaching burning effect to thermal detonator

Post by bobfinkl »

Add this to your weapons ord odf to get it to do lasting fire damage:

Code: Select all

PlayEffectOnOwnerAimer = "com_sfx_weap_flamethrower_ord"
SmolderDamageRate = "50.0"

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"
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 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: Building a railway to Coruscant
Contact:

Re: attaching burning effect to thermal detonator

Post by trainmaster611 »

YaNkFaN wrote:i want like the explosion to cause a burn to people who are around when the nade goes off and then slowly remove their health is there a way to limit the the time that they burn for or is it until they die?
What you're looking for is the holy grail of odfs: explosions causing ordnances. I believe Mav has a tutorial somewhere on how to do that (he made a poison grenade). It's something along the lines of making an orbital strike set to a height of 0 and then making the ordnance whatever you want it (in mav's case, a poison buff). Just tweak it to suit your needs.

What bobfinkl posted will get you the 'unit on fire' effect but it doesn't actually do damage.
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: Attaching burning effect to thermal detonator

Post by Sky_216 »

Made a firebomb already (based on Mav's poison nade). Want it?
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: Attaching burning effect to thermal detonator

Post by YaNkFaN »

yes please
Post Reply