In fact do I class the the object as a door and add the door controllers, sounds,etc... to this object? I would really like to get this to work guys because the doors going up/down and sideways is cool but this door opens like a normal door which by the way is awesome ahy Thxs for any help on this
--- Code Error ---
=== Software Failure ===
[string "Animation.lua"]:0: Invalid file version (expected v2, got v1): mod_assets/sx_towntileset/animations/swingdoor_close.animation
stack traceback:
[C]: in function 'load'
[string "Animation.lua"]: in function 'loadProperties'
[string "GameObject.lua"]: in function 'initComponents'
[string "Arch.lua"]: in function 'spawn'
[string "DungeonEditor.lua"]: in function 'addObjectTool'
[string "DungeonEditor.lua"]: in function 'mapView'
[string "DungeonEditor.lua"]: in function 'update'
[string "Grimrock.lua"]: in main chunk
Code: Select all
---Testing Swing Door ---
defineObject{
name = "sx_town_door_opens",
components = {
{
class = "Model",
model = "mod_assets/sx_towntileset/models/sx_town_door2.fbx",
staticShadow = true,
},
{
class = "Animation",
animations = {
open = "mod_assets/sx_towntileset/animations/swingdoor_open.fbx",
close = "mod_assets/sx_towntileset/animations/swingdoor_close.fbx",
},
},
},
placement = "wall",
editorIcon = 160,
automapIcon = 88,
minimalSaveState = true,
}