Page 1 of 1

Destructable object [Solved]

Posted: Fri Dec 05, 2008 5:46 pm
by Yodakid
My new destructable mos eisley wall doensn't work. It doesn't work do destroy it. What's the problem?

Here is the new odf:
Hidden/Spoiler:
[GameObjectClass]

ClassLabel = "prop"
GeometryName = "tat2_bldg_wall_4M.msh"


[Properties]

GeometryName = "tat2_bldg_wall_4M"

ExplosionName = "Pol_gate_exp"

FoleyFXGroup = "stone_foley"

MaxHealth = 1050.0
And the exp:
Hidden/Spoiler:
[ExplosionClass]
ClassLabel = "explosion"

[Properties]
LifeSpan = "0.3"
Damage = "50.0"

DamageRadiusInner = "4.5"
DamageRadiusOuter = "6.5"

Push = "10.0"
PushRadiusInner = "4.5"
PushRadiusOuter = "4.5"

Shake = "0.5"
ShakeLength = "0.75"
ShakeRadiusInner = "8.0"
ShakeRadiusOuter = "15.0"

Effect = "com_sfx_explosion_lg"
VehicleScale = "0.0"
PersonScale = "1.0"
DroidScale = "1.0"
BuildingScale = "0.0"
AnimalScale = "1.0"

//SoundProperty = "com_weap_obj_med_exp"

NumChunks = "22"
ChunkGeometryName = "com_smallchunk1"
ChunkTerrainCollisions = "10"
ChunkTrailEffect = "com_sfx_chunktrail_xs"
ChunkPhysics = "FULL"
ChunkOmega = "4.0 4.0 4.0"
ChunkSpeed = "8.0 14.0"
ChunkStartDistance = "1.5"

Re: Destructable object doesn't work

Posted: Fri Dec 05, 2008 5:56 pm
by AceMastermind
Change the classlabel to this:
ClassLabel = "destructablebuilding"

For reference have a look at:
\BF2_ModTools\assets\worlds\KAS\odf\kas2_prop_door_mech.odf

Re: Destructable object doesn't work

Posted: Fri Dec 05, 2008 5:59 pm
by Yodakid
Thanks!

EDIT: I got another problem: The custom clonetrooper skin doesn't work. All other skins works fine. The skin works on other maps but not on this. I have tryed to clean but nothing...

Re: Destructable object doesn't work

Posted: Fri Dec 05, 2008 8:31 pm
by AceMastermind
Yodakid wrote:I got another problem: The custom clonetrooper skin doesn't work. All other skins works fine. The skin works on other maps but not on this. I have tryed to clean but nothing...
If you still need help with this later feel free to start a new topic and provide as much information as possible, we'll consider this topic solved.