Small explosion
Posted: Fri Jun 06, 2014 2:47 pm
How does I can make that the laser (if it hits something) have a small explosion?
thx
thx
Code: Select all
ExplosionName = "col_weap_inf_shouldercannon_exp"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 :Marth8880 wrote:Easy. You put an ExplosionName parameter in the ordnance ODF like this:
You'll probably also want to comment out or remove the ImpactEffect lines like this:Code: Select all
ExplosionName = "col_weap_inf_shouldercannon_exp"
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"