ok well, first you also have to make a renx model, just import the chain link fence, skin it, and link 5 of them together... but here is the code for it...
Object EMCWall
; *** ART Parameters ***
SelectPortrait = SAFence_L
ButtonImage = SAFence_L
Draw = W3DModelDraw ModuleTag_01
DefaultConditionState
Model = EMCUberWall
End
ConditionState = DAMAGED
Model = EMCUberWall
End
AliasConditionState = REALLYDAMAGED
ConditionState = RUBBLE
Model = EMCUberWall
End
End
PlacementViewAngle = -135
DisplayName = OBJECT:FenceWall
Side = EMC
EditorSorting = STRUCTURE
Prerequisites
Object = EMCPowerPlant
End
BuildCost = 500
BuildTime = 5.0
CommandSet = ChinaSupplyTruckCommandSet
VisionRange = 20.0
ShroudClearingRange = 20
ArmorSet
Conditions = None
Armor = StructureArmor
DamageFX = StructureDamageFXNoShake
End
ExperienceValue = 200 200 200 200
VoiceSelect = WarFactoryUSASelect
SoundDie = BuildingDie
SoundOnDamaged = BuildingDamagedStateLight
SoundOnReallyDamaged = BuildingDestroy
UnitSpecificSounds
UnderConstruction = UnderConstructionLoop
End
RadarPriority = STRUCTURE
KindOf = PRELOAD STRUCTURE SELECTABLE IMMOBILE
Body = StructureBody ModuleTag_09
MaxHealth = 50.0
InitialHealth = 50.0
End
Behavior = SlowDeathBehavior ModuleTag_04
SinkRate = 0.005 ; in Dist/Sec
SinkDelay = 100000
DestructionDelay = 10000
End
Geometry = BOX
GeometryMajorRadius = 10
GeometryMinorRadius = 2
GeometryHeight = 7.0
GeometryIsSmall = No
Shadow = SHADOW_VOLUME
End
I can give you the model if ya ask nicely...cause if you just plug this in, it wont do nothing, you need the model i made also, not unless you make your own...
|