Page 1 of 1

Which "Impacteffect" odf code is the right?!

Posted: Sun Mar 13, 2016 2:27 pm
by CdtFox
Hey GT,

So I'm adding some impacts-effects and I run into some problem...Here you can see my code:

Code: Select all

ImpactEffectSoft    	= "com_sfx_ord_exp"
ImpactEffectRigid   	= "com_sfx_weap_redbolt_exp_sm"
ImpactEffectStatic  	= "com_sfx_weap_redbolt_exp_sm"
ImpactEffectTerrain 	= "com_sfx_weap_redbolt_exp_sm"
ImpactEffectWater   	= "com_sfx_watersplash_ord"
ImpactEffectShield 	= "com_sfx_ord_exp"
It's work fine! But when the laser hit a clone or a whatever the units are...I can't see my effect!

On the terrain/ground it's work:
Image

Here you can see it...it dosen't work anymore!!! (same weapons or ord files... :runaway: )
Image

Re: Which "Impacteffect" odf code is the right?!

Posted: Sun Mar 13, 2016 2:45 pm
by giftheck
I'm assuming the game uses "ImpactEffectSoft" for units.

Re: Which "Impacteffect" odf code is the right?!

Posted: Wed Mar 16, 2016 7:02 am
by CdtFox
ggctuk wrote:I'm assuming the game uses "ImpactEffectSoft" for units.
Don't know why it's don't work anymore... :o Thanks anyways! :thumbs:

Re: Which "Impacteffect" odf code is the right?!

Posted: Wed Mar 16, 2016 6:19 pm
by Marth8880
ImpactEffectSoft = units
ImpactEffectRigid = vehicles/buildings
ImpactEffectStatic = props
ImpactEffectTerrain = terrain
ImpactEffectWater = water
ImpactEffectShield = shields

Re: Which "Impacteffect" odf code is the right?!

Posted: Wed Mar 16, 2016 6:22 pm
by giftheck
Check your ODF to make sure you don't have two "ImpactEffectSoft" settings.

Re: Which "Impacteffect" odf code is the right?!

Posted: Wed Mar 16, 2016 6:24 pm
by AnthonyBF2
When in doubt, I consult Mr. ODF Parameters https://sites.google.com/site/swbf2modt ... parameters

Re: Which "Impacteffect" odf code is the right?!

Posted: Thu Mar 17, 2016 3:16 pm
by CdtFox
Marth8880 wrote: ImpactEffectStatic = props
Thanks! I wasn't able to find what "static" mean...always useful :wink:
ggctuk wrote:Check your ODF to make sure you don't have two "ImpactEffectSoft" settings.
I checked before posting this topic...and re-checked now, but my odf is perfect... :o
anthonybf2 wrote:When in doubt, I consult Mr. ODF Parameters https://sites.google.com/site/swbf2modt ... parameters
Checked that too...just in case...thanks anthony!
I'm still Trying to find the problem....The munge work fine...what it could be?! :cpu:

Anyways, thanks guys!!!

Re: Which "Impacteffect" odf code is the right?!

Posted: Thu Mar 17, 2016 5:16 pm
by giftheck
Shouldn't you change

Code: Select all

ImpactEffectSoft       = "com_sfx_ord_exp"
to

Code: Select all

ImpactEffectSoft       = "com_sfx_weap_redbolt_exp_sm"
if you want the same explosion to hit your units as it is with your buildings?

Re: Which "Impacteffect" odf code is the right?!

Posted: Thu Mar 17, 2016 5:48 pm
by Marth8880
CdtFox wrote:Thanks! I wasn't able to find what "static" mean...always useful :wink:
Yep. "Static" as in static mesh, "rigid" as in rigid body, and "soft" as in soft body.