I have added in a new Structure, and its actually just a quick remake of the existing crane already found inside of the CivilianStructure.ini file. The problem is that after adding the structure to the China Side... world builder no longer loads... any ideas as to why would be great. heres the code sippet.
Strange thing is , the game itself has no problems with this structure.
--------------------------------------------------------------------
;------------------------------------------------------------------------------ Object ChinaCrane ; *** ART Parameters *** SelectPortrait = IMG_GLACrane ButtonImage = IMG_GLACrane Draw = W3DModelDraw ModuleTag_01 OkToChangeModelColor = Yes ConditionState = NONE Model = CVCSTCRN End ConditionState = DAMAGED Model = CVCSTCRN End ConditionState = REALLYDAMAGED Model = CVCSTCRN_D End End PlacementViewAngle = -145 ; ***DESIGN parameters *** DisplayName = OBJECT:Crane Side = China EditorSorting = STRUCTURE Prerequisites Object = ChinaPropagandaCenter End BuildCost = 5000 BuildTime = 1.0 EnergyProduction = 0 VisionRange = 200.0; Shroud clearing distance ShroudClearingRange = 200 ArmorSet Conditions = None Armor = StructureArmor DamageFX = StructureDamageFXNoShake End MaxSimultaneousOfType = 1 ExperienceValue = 100 100 100 100; Experience point value at each level ; ***AUDIO parameters *** SoundAmbient = CraneAmbience ; *** ENGINEERING Parameters *** KindOf = PRELOAD STRUCTURE SELECTABLE IMMOBILE SCORE CAPTURABLE MP_COUNT_FOR_VICTORY Body = StructureBody ModuleTag_02 MaxHealth = 2000.0 InitialHealth = 2000.0 End Behavior = DestroyDie ModuleTag_03 ;nothing End Behavior = CreateObjectDie ModuleTag_04 CreationList = OCL_SmallStructureDebris End ;Behavior = GrantUpgradeCreate ModuleTag_05 ; UpgradeToGrant = Upgrade_CostReduction ;End ;Behavior = CostModifierUpgrade ModuleTag_CostReducer ; TriggeredBy = Upgrade_CostReduction ; EffectKindOf = STRUCTURE; [KindOf] ; Percentage = -75%; [percentage] ;End Behavior = FlammableUpdate ModuleTag_06 FlameDamageLimit = 20;Catch fire if I take this much fire damage... FlameDamageExpiration = 2000;in a span of this long AflameDuration = 5000; If I catch fire, I'll burn for this long... AflameDamageAmount = 25; taking this much damage... AflameDamageDelay = 500; this often. End Geometry = BOX GeometryMajorRadius = 25.0 GeometryMinorRadius = 16.0 GeometryHeight = 50.0 GeometryIsSmall = No Shadow = SHADOW_VOLUME BuildCompletion = PLACED_BY_PLAYER End
Edited by Nighthawk, 11 April 2010 - 10:41 AM.
Put in code box to make it a little easier for people to read...