Impact Effect Surfaces

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
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Impact Effect Surfaces

Post by trainmaster611 »

ImpactEffectSoft = "com_sfx_ord_exp"
ImpactEffectRigid = "com_sfx_ord_exp"
ImpactEffectStatic = "com_sfx_ord_exp"
ImpactEffectTerrain = "com_sfx_ord_exp"
ImpactEffectWater = "com_sfx_watersplash_ord"
ImpactEffectShield = "com_sfx_ord_exp"
ExpireEffect = "com_sfx_ord_exp"
I was wondering what the difference between each surface was, ie. what is the difference between static, rigid, and soft. Obviously, you can use those names to define what impact effect you want to play when you hit that surface.

But how do you know what each surface is so you would know what different effects you want to play when you hit lets say a vehicle versus a unit or maybe a building.

Obviously, I know what the water, shield, terrain, and expire are. I just need to know the first three.
RepSharpshooter
Gametoast Staff
Gametoast Staff
Posts: 1351
Joined: Tue Jul 10, 2007 4:10 pm

Re: Impact Effect Surfaces

Post by RepSharpshooter »

I don't have a definite answer, but you could assign different effects to the first three, then shoot different things in-game to see what is what.
PvtParts
Jedi
Jedi
Posts: 1001
Joined: Mon Apr 03, 2006 9:12 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: plundering yer booty

Re: Impact Effect Surfaces

Post by PvtParts »

I think, not 100 percent,

Soft is like AI units (clone troopers for instance)

Rigid is like vehicles

Static is like ZE placed models

Terrain is any terrain done through ZE (the ground - but not models)

Water is water

Shield should be shield, but when i worked with it, it had no effect on the effect displayed when the ord struck a shielded target. its either used elsewhere, or just a leftover of old code.

Expire effect is like when the ordinance dies. You know how you can give your ordinance a lifetime? If that time ends, the ord expires, and it displays this effect.

Again, I'm not 100 percent sure and havent really needed to test all of these. I am 100 percent on the Terrain, Water, and Shield.
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: Impact Effect Surfaces

Post by FragMe! »

PvtParts is correct, the following is from the docs
(art guide)

Code: Select all

s – Soldier (soft) collision
v – Vehicle (rigid) collision
b – Building (static) collision
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Re: Impact Effect Surfaces

Post by trainmaster611 »

Well that's highly convenient. I thought I might have to go in and modify everything so that soft = units, rigid = vehicles, and so on. That would have been a nightmare :roll:

Thanks :)
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: Impact Effect Surfaces

Post by Frisbeetarian »

The shield may be a shield such as the one for the hangers in space combat.
Post Reply