Editing help request...two story high walls CTD on placement
Posted: Fri Apr 12, 2013 3:51 pm
Ok, so I took the day off just to mess around with GMT and Komag's scripting for two story high walls. It would appear that I have an asset definition problem as on placement of the 2nd floor wall I receive a very rude editor CTD. The error string is a follows.
[string "Decoration.lua"]:0: File not found: mod_assets/models/env/temple_wall_01_2nd_floor.model
stack traceback:
C]: in function 'load'
[string "Decoration.lua"]: in function 'entityAddedToMap'
[string "Map.lua"]: in function 'addEntity'
[string "BaseEntity.lua"]: in function 'spawn'
[string "Arch.lua"]: in function 'spawn'
[string "DungeonEditor.lua"]: in function 'addObjectTool'
[string "DungeonEditor.lua"]: in function 'mapView'
[string
"DungeonEditor.lua"]: in function 'update'
Doing some investigating, I found that I didn't have a "Decoration.lua" file in the scripts directory. Not sure why, but it appears that one is being looked for. Didn't see one in the assets download file structure either, which has me scratching my head. So, I created one in my mod assets - scripts folder, added the model definitions and call it from init.lua and... same issue. Tried a couple other things, and still CTD. Note that I followed the instructions noted on the Scripting Superthread, located here... viewtopic.php?p=51525#p51525 and not sure what going on at this point.
Any guidance to help me in the error of my ways would be very much appreciated!
-Paul
[string "Decoration.lua"]:0: File not found: mod_assets/models/env/temple_wall_01_2nd_floor.model
stack traceback:
C]: in function 'load'
[string "Decoration.lua"]: in function 'entityAddedToMap'
[string "Map.lua"]: in function 'addEntity'
[string "BaseEntity.lua"]: in function 'spawn'
[string "Arch.lua"]: in function 'spawn'
[string "DungeonEditor.lua"]: in function 'addObjectTool'
[string "DungeonEditor.lua"]: in function 'mapView'
[string
"DungeonEditor.lua"]: in function 'update'
Doing some investigating, I found that I didn't have a "Decoration.lua" file in the scripts directory. Not sure why, but it appears that one is being looked for. Didn't see one in the assets download file structure either, which has me scratching my head. So, I created one in my mod assets - scripts folder, added the model definitions and call it from init.lua and... same issue. Tried a couple other things, and still CTD. Note that I followed the instructions noted on the Scripting Superthread, located here... viewtopic.php?p=51525#p51525 and not sure what going on at this point.
Any guidance to help me in the error of my ways would be very much appreciated!
-Paul