Well here goes... seems barely anyone here anymore .. but i will hope someone reads this anyways ....
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
Posted by: CommieDog - Saturday, April 10, 2010 10:59:59 PM
It's not unusual for WouldBuilder to reject something that the game accepts. What is the error message that WB generates?
The error was actually much to vauge to assist , it was one of those generic **GameEngine Update failures... however, funny thing is, I removed my mod and started generals , and it crashed again pointing to a file that is only in my mod. Rememeber , i removed it ... so i than cleaned up the autosaves and tmpchunk files and loadede again , ran fine .. than i installed my mod again , works fine O.O
I really dun know what to say , the engine must a had a breakdown for a few moments :P