Page 1 of 1
my latest and largest mod problem
Posted: Sun Feb 04, 2007 10:56 am
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.
RE: my latest and largest mod problem
Posted: Sun Feb 04, 2007 12:27 pm
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
Posted: Sun Feb 04, 2007 2:06 pm
by shade...
thanks- this will be much useful now.
Posted: Sun Feb 04, 2007 2:55 pm
by -_-
Look at other shipped objects as reference next time.
Posted: Sun Feb 04, 2007 3:43 pm
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?

Posted: Sun Feb 04, 2007 4:14 pm
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
im not sure it works go ahead though