my latest and largest mod problem

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
shade...

my latest and largest mod problem

Post by shade... »

GRR i cant get anything to work

if only i can get the object to work.

im trying to get a charred door to work in my world. it wont explode when i shoot it.
i want to make it similar to a grate or an object that must be destroyed to pass.

if i can get the information i would be extremely grate-ful. lol. grate - ful.
Koolaid7g
Rebel Sergeant
Rebel Sergeant
Posts: 218
Joined: Wed Mar 01, 2006 4:14 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

RE: my latest and largest mod problem

Post by Koolaid7g »

You need to change your object's .odf to look like this:

[GameObjectClass]

ClassLabel = "destructablebuilding"
GeometryName = "(your .msh's name).msh"

[Properties]
GeometryName = "(your .msh's name)"
FoleyFXGroup = "stone_foley"

ExplosionName = "com_inf_rechargedroid_exp"
MaxHealth = 500
shade...

Post by shade... »

thanks- this will be much useful now.
-_-
Gametoast Staff
Gametoast Staff
Posts: 2678
Joined: Sat May 07, 2005 1:22 pm

Post by -_- »

Look at other shipped objects as reference next time.
Elmo
Field Commander
Field Commander
Posts: 962
Joined: Wed Nov 08, 2006 5:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Elmo »

Well hang on there....

If i add the line:
ClassLabel = "destructablebuilding"


to an object's odf, will that make the object destroyable? And If so, how could i edit it's health? :)
shade...

Post by shade... »

gooood question. i dunno but i think its AddHealth = 10 if u want it to regenerate, never tried it but ODFs are basically configured the same as the side ODFs. thats how people built the falcon :D

im not sure it works go ahead though
Post Reply