Which "Impacteffect" odf code is the right?!

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
CdtFox
2nd Lieutenant
2nd Lieutenant
Posts: 379
Joined: Wed Feb 17, 2016 8:51 am
Projects :: BUC and Designated Days
Games I'm Playing :: SWBF2+EAW+Subnautica
xbox live or psn: No gamertag set
Location: France
Contact:

Which "Impacteffect" odf code is the right?!

Post 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
User avatar
giftheck
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2218
Joined: Mon Jan 19, 2009 5:58 pm
Projects :: Star Wars Battlefront Anniversary

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

Post by giftheck »

I'm assuming the game uses "ImpactEffectSoft" for units.
CdtFox
2nd Lieutenant
2nd Lieutenant
Posts: 379
Joined: Wed Feb 17, 2016 8:51 am
Projects :: BUC and Designated Days
Games I'm Playing :: SWBF2+EAW+Subnautica
xbox live or psn: No gamertag set
Location: France
Contact:

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

Post 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:
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: Which "Impacteffect" odf code is the right?!

Post by Marth8880 »

ImpactEffectSoft = units
ImpactEffectRigid = vehicles/buildings
ImpactEffectStatic = props
ImpactEffectTerrain = terrain
ImpactEffectWater = water
ImpactEffectShield = shields
User avatar
giftheck
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2218
Joined: Mon Jan 19, 2009 5:58 pm
Projects :: Star Wars Battlefront Anniversary

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

Post by giftheck »

Check your ODF to make sure you don't have two "ImpactEffectSoft" settings.
User avatar
AnthonyBF2
Sith
Sith
Posts: 1255
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

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

Post by AnthonyBF2 »

When in doubt, I consult Mr. ODF Parameters https://sites.google.com/site/swbf2modt ... parameters
CdtFox
2nd Lieutenant
2nd Lieutenant
Posts: 379
Joined: Wed Feb 17, 2016 8:51 am
Projects :: BUC and Designated Days
Games I'm Playing :: SWBF2+EAW+Subnautica
xbox live or psn: No gamertag set
Location: France
Contact:

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

Post 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!!!
User avatar
giftheck
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2218
Joined: Mon Jan 19, 2009 5:58 pm
Projects :: Star Wars Battlefront Anniversary

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

Post 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?
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: Which "Impacteffect" odf code is the right?!

Post 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.
Post Reply