Page 1 of 1

Small explosion

Posted: Fri Jun 06, 2014 2:47 pm
by DrDrSheldonLeeCooper
How does I can make that the laser (if it hits something) have a small explosion?
thx

Re: Small explosion

Posted: Fri Jun 06, 2014 4:06 pm
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"

Re: Small explosion

Posted: Fri Jun 06, 2014 4:09 pm
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?

Re: Small explosion

Posted: Sat Jun 07, 2014 5:56 pm
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)