Small 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
DrDrSheldonLeeCooper
Chief Warrant Officer
Chief Warrant Officer
Posts: 353
Joined: Sat Apr 26, 2014 1:50 pm
Projects :: Times before Empire
Games I'm Playing :: SWBF2-BF-Skyrim
xbox live or psn: No gamertag set
Location: Coruscant City [Germany]

Small explosion

Post by DrDrSheldonLeeCooper »

How does I can make that the laser (if it hits something) have a small explosion?
thx
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Small explosion

Post by Marth8880 »

Easy. You put an ExplosionName parameter in the ordnance ODF like this:

Code: Select all

ExplosionName			= "col_weap_inf_shouldercannon_exp"
You'll probably also want to comment out or remove the ImpactEffect lines like this:

Code: Select all

//ImpactEffectSoft    	= "com_sfx_weap_redbolt_exp_xs"
//ImpactEffectRigid   	= "com_sfx_weap_redbolt_exp_xs"
//ImpactEffectStatic  	= "com_sfx_weap_redbolt_exp_xs"
//ImpactEffectTerrain 	= "com_sfx_weap_redbolt_exp_xs"
//ImpactEffectWater   	= "com_sfx_watersplash_ord"
//ImpactEffectShield 	= "com_sfx_weap_redbolt_exp_xs"
DrDrSheldonLeeCooper
Chief Warrant Officer
Chief Warrant Officer
Posts: 353
Joined: Sat Apr 26, 2014 1:50 pm
Projects :: Times before Empire
Games I'm Playing :: SWBF2-BF-Skyrim
xbox live or psn: No gamertag set
Location: Coruscant City [Germany]

Re: Small explosion

Post by DrDrSheldonLeeCooper »

Marth8880 wrote:Easy. You put an ExplosionName parameter in the ordnance ODF like this:

Code: Select all

ExplosionName			= "col_weap_inf_shouldercannon_exp"
You'll probably also want to comment out or remove the ImpactEffect lines like this:

Code: Select all

//ImpactEffectSoft    	= "com_sfx_weap_redbolt_exp_xs"
//ImpactEffectRigid   	= "com_sfx_weap_redbolt_exp_xs"
//ImpactEffectStatic  	= "com_sfx_weap_redbolt_exp_xs"
//ImpactEffectTerrain 	= "com_sfx_weap_redbolt_exp_xs"
//ImpactEffectWater   	= "com_sfx_watersplash_ord"
//ImpactEffectShield 	= "com_sfx_weap_redbolt_exp_xs"
Where I have to put this :

//ImpactEffectSoft = "com_sfx_weap_redbolt_exp_xs"
//ImpactEffectRigid = "com_sfx_weap_redbolt_exp_xs"
//ImpactEffectStatic = "com_sfx_weap_redbolt_exp_xs"
//ImpactEffectTerrain = "com_sfx_weap_redbolt_exp_xs"
//ImpactEffectWater = "com_sfx_watersplash_ord"
//ImpactEffectShield = "com_sfx_weap_redbolt_exp_xs" ? and where I can find the explosions?
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Small explosion

Post by Marth8880 »

Could you please post your ordnance's ODF? Also, explosion ODFs are almost always named with "_exp" appended to the end of the file name. (e.g., com_weap_inf_rocket_launcher_exp.odf)
Post Reply