Jump to content
Sign in to follow this  
KnightDark03

how to fix faction building.ini in ZH

Recommended Posts

guys i copied the script of america alpha command center:

Object AmericaCommandCenter

; *** ART Parameters ***
;SelectPortrait	= SAPCmdCntr
Draw = W3DModelDraw
DrawData
OkToChangeModelColor = Yes
; day
ConditionState = NONE
 Model		 = ABBtCmdHQ
 Animation	 = ABBtCmdHQ.ABBtCmdHQ
 AnimationMode = LOOP
End
ConditionState = DAMAGED
 Model		 = ABBtCmdHQ_D
 Animation	 = ABBtCmdHQ_D.ABBtCmdHQ_D
 AnimationMode = LOOP
End
ConditionState = REALLYDAMAGED
 Model		 = ABBtCmdHQ_E
End
; night
ConditionState = NIGHT
 Model		 = ABBtCmdHQ_N
 Animation	 = ABBtCmdHQ_N.ABBtCmdHQ_N
 AnimationMode = LOOP
End
ConditionState = DAMAGED NIGHT
 Model		 = ABBtCmdHQ_DN
 Animation	 = ABBtCmdHQ_DN.ABBtCmdHQ_DN
 AnimationMode = LOOP
End
ConditionState = REALLYDAMAGED NIGHT
 Model		 = ABBtCmdHQ_EN
End
End

; ------------ Radar Extending -----------------
Draw = W3DModelDraw
DrawData
DefaultConditionState
 Model		 = None
End
ConditionState	= RADAR_EXTENDING
 Model		 = ABBtCmdHQ_AB
 Animation	 = ABBtCmdHQ_AB.ABBtCmdHQ_AB
 AnimationMode = ONCE
 Flags		 = START_FRAME_FIRST
End
ConditionState	= RADAR_EXTENDING DAMAGED
 Model		 = ABBtCmdHQ_AB
 Animation	 = ABBtCmdHQ_AB.ABBtCmdHQ_AB
 AnimationMode = ONCE
 Flags		 = START_FRAME_FIRST
End
ConditionState	= RADAR_EXTENDING REALLYDAMAGED RUBBLE
 Model		 = ABBtCmdHQ_AB
 Animation	 = ABBtCmdHQ_AB.ABBtCmdHQ_AB
 AnimationMode = ONCE
 Flags		 = START_FRAME_FIRST
End
ConditionState	= RADAR_UPGRADED
 Model		 = ABBtCmdHQ_AC
 Animation	 = ABBtCmdHQ_AC.ABBtCmdHQ_AC
 AnimationMode = LOOP
End
ConditionState	= RADAR_UPGRADED DAMAGED
 Model		 = ABBtCmdHQ_AC
 Animation	 = ABBtCmdHQ_AC.ABBtCmdHQ_AC
 AnimationMode = LOOP
End
ConditionState	= RADAR_UPGRADED REALLYDAMAGED RUBBLE
 Model		 = ABBtCmdHQ_AC
 Animation	 = ABBtCmdHQ_AC.ABBtCmdHQ_AC
 AnimationMode = LOOP
End
End
PlacementViewAngle = -45

; ***DESIGN parameters ***
DisplayName	 = OBJECT:CommandCenter
Side			 = America
EditorSorting	= STRUCTURE
MaxHealth		= 1000.0
InitialHealth	= 1000.0
PrerequisiteA	= TECH_LEVEL_0
PrerequisiteA	= SCIENCE_AMERICA
BuildCost		= 1000
BuildTime		= 20.0		 ; in seconds
EnergyProduction = 0 ;Command Center should be free
CommandSet	 = AmericaCommandCenterCommandSet
VisionRange	 = 150.0		 ; Shroud clearing distance
ArmorSet
Conditions	 = None
Armor		 = StructureArmor
DamageFX		= StructureDamageFX
End

; *** AUDIO Parameters ***
VoiceSelect= CommandCenterAmericaSelect

; *** ENGINEERING Parameters ***
RadarPriority	 = STRUCTURE
KindOf			 = STRUCTURE SELECTABLE IMMOBILE COMMANDCENTER
Body				= StructureBody
Update			 = ProductionUpdate
UpdateData
HasDoorAnimation = No
End
Update			 = CommandCenterUpdate
Update			 = RadarUpdate
UpdateData
RadarExtendTime = 4000	 ;in mSeconds
End
Update			 = DefaultProductionExitUpdate
UpdateData
UnitCreatePoint = X: 0.0 Y: 0.0 Z:0.0
NaturalRallyPoint = X: 60.0 Y: 0.0 Z:0.0
End
Die			 = DestroyDie
Die			 = CreateObjectDie
DieData
CreationList = OCL_LargeStructureDebris
End
Die			 = FXListDie
DieData
DeathFX	 = FX_CommandCenterDeath
End
 Upgrade = RadarUpgrade
 UpgradeData
 TriggeredBy = AmericaRadar
 End
 Geometry			= BOX
GeometryMajorRadius = 45.0
GeometryMinorRadius = 45.0
GeometryHeight	 = 60.0
GeometryIsSmall	 = No
Shadow		 = SHADOW_VOLUME
BuildCompletion = PLACED_BY_PLAYER

 

but after i save it and played it

there was a error anyone help me

 

and it said there ASSERTION FAILOUR: [LINE: 170 - FILE:

'Data\INI\Object\FactionBuilding.ini'] Module tag not found for module 'W3DModelDraw' on thing template

'AmericaCommandCenter'. Module tags are required and must be unique for all modules within an object definition

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×