Guten Abend!
Ich würde gerne wissen, ob man das BaleAddon grundsätzlich auch auf anderen maps nutzen kann oder ob es speziell nur für die Hof BErgmann gemacht wurde?
Ich finde die Idee nämlich absolut hammermäßig, sowas hat wirklich noch gefehlt im LS. Deshalb würde ich es halt auch gerne bei anderen maps nutzen und wollte mal kurz nachhören ob das möglich ist.
Vielen Dank für die kurze Rückmeldung und ein schönes WE allerseits!
Edit:
Habe es gerade mal getestet, es funktioniert grundsätzlich auch auf anderen maps. Allerdings gibt es ein Problem beim Entladen von Heu-Rundballen. Es wird kein Ballen ausgegeben wenn man dies im Menü auswählt und gleichzeitig wird folgendes in der log geschrieben:
Spoiler anzeigen
Error: i3d 'C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/objects/roundbales/roundbaleHay_w112_d130.i3d' could not be found.
Error: failed to load i3d file 'C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/objects/roundbales/roundbaleHay_w112_d130.i3d'
Warning (Script): Unknown entity id 0 in method 'getChildAt'.
LUA call stack:
dataS/scripts/objects/Bale.lua (206) : getChildAt
dataS/scripts/objects/Bale.lua (226) : createNode
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouse.lua (906) : load
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouse.lua (736) : spawnItem
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouseGui.lua (264) : callback
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouseGui.lua (224) : doCallback
dataS/scripts/gui/elements/ButtonElement.lua (191) : raiseCallback
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/Gui.lua (270) : mouseEvent
dataS/scripts/main.lua (1857) : mouseEvent
Warning (LUA): 'link': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (640): expectedType == Value::VoidType
LUA call stack:
dataS/scripts/objects/Bale.lua (207) : link
dataS/scripts/objects/Bale.lua (226) : createNode
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouse.lua (906) : load
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouse.lua (736) : spawnItem
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouseGui.lua (264) : callback
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouseGui.lua (224) : doCallback
dataS/scripts/gui/elements/ButtonElement.lua (191) : raiseCallback
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/Gui.lua (270) : mouseEvent
dataS/scripts/main.lua (1857) : mouseEvent
Warning (Script): Unknown entity id 0 in method 'delete'.
LUA call stack:
dataS/scripts/objects/Bale.lua (208) : delete
dataS/scripts/objects/Bale.lua (226) : createNode
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouse.lua (906) : load
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouse.lua (736) : spawnItem
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouseGui.lua (264) : callback
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouseGui.lua (224) : doCallback
dataS/scripts/gui/elements/ButtonElement.lua (191) : raiseCallback
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/Gui.lua (270) : mouseEvent
dataS/scripts/main.lua (1857) : mouseEvent
Warning (LUA): 'setRigidBodyType': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (640): expectedType == Value::VoidType
LUA call stack:
dataS/scripts/objects/PhysicsObject.lua (68) : setRigidBodyType
dataS/scripts/objects/MountableObject.lua (169) : setNodeId
dataS/scripts/objects/Bale.lua (144) : setNodeId
ColorableBale.lua (8) : baleSetNodeId
dataS/scripts/objects/Bale.lua (210) : setNodeId
dataS/scripts/objects/Bale.lua (226) : createNode
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouse.lua (906) : load
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouse.lua (736) : spawnItem
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouseGui.lua (264) : callback
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouseGui.lua (224) : doCallback
dataS/scripts/gui/elements/ButtonElement.lua (191) : raiseCallback
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/Gui.lua (270) : mouseEvent
dataS/scripts/main.lua (1857) : mouseEvent
Warning (LUA): 'addToPhysics': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (640): expectedType == Value::VoidType
LUA call stack:
dataS/scripts/objects/PhysicsObject.lua (69) : addToPhysics
dataS/scripts/objects/MountableObject.lua (169) : setNodeId
dataS/scripts/objects/Bale.lua (144) : setNodeId
ColorableBale.lua (8) : baleSetNodeId
dataS/scripts/objects/Bale.lua (210) : setNodeId
dataS/scripts/objects/Bale.lua (226) : createNode
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouse.lua (906) : load
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouse.lua (736) : spawnItem
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouseGui.lua (264) : callback
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouseGui.lua (224) : doCallback
dataS/scripts/gui/elements/ButtonElement.lua (191) : raiseCallback
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/Gui.lua (270) : mouseEvent
dataS/scripts/main.lua (1857) : mouseEvent
Warning (LUA): 'getTranslation': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (640): expectedType == Value::VoidType
LUA call stack:
dataS/scripts/objects/PhysicsObject.lua (70) : getTranslation
dataS/scripts/objects/MountableObject.lua (169) : setNodeId
dataS/scripts/objects/Bale.lua (144) : setNodeId
ColorableBale.lua (8) : baleSetNodeId
dataS/scripts/objects/Bale.lua (210) : setNodeId
dataS/scripts/objects/Bale.lua (226) : createNode
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouse.lua (906) : load
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouse.lua (736) : spawnItem
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouseGui.lua (264) : callback
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouseGui.lua (224) : doCallback
dataS/scripts/gui/elements/ButtonElement.lua (191) : raiseCallback
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/Gui.lua (270) : mouseEvent
dataS/scripts/main.lua (1857) : mouseEvent
Warning (LUA): 'getRotation': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (640): expectedType == Value::VoidType
LUA call stack:
dataS/scripts/objects/PhysicsObject.lua (71) : getRotation
dataS/scripts/objects/MountableObject.lua (169) : setNodeId
dataS/scripts/objects/Bale.lua (144) : setNodeId
ColorableBale.lua (8) : baleSetNodeId
dataS/scripts/objects/Bale.lua (210) : setNodeId
dataS/scripts/objects/Bale.lua (226) : createNode
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouse.lua (906) : load
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouse.lua (736) : spawnItem
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouseGui.lua (264) : callback
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouseGui.lua (224) : doCallback
dataS/scripts/gui/elements/ButtonElement.lua (191) : raiseCallback
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/Gui.lua (270) : mouseEvent
dataS/scripts/main.lua (1857) : mouseEvent
Warning (LUA): 'getNumOfChildren': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (640): expectedType == Value::VoidType
LUA call stack:
dataS/scripts/objects/PhysicsObject.lua (388) : getNumOfChildren
dataS/scripts/objects/PhysicsObject.lua (84) : addChildsToNodeObject
dataS/scripts/objects/MountableObject.lua (169) : setNodeId
dataS/scripts/objects/Bale.lua (144) : setNodeId
ColorableBale.lua (8) : baleSetNodeId
dataS/scripts/objects/Bale.lua (210) : setNodeId
dataS/scripts/objects/Bale.lua (226) : createNode
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouse.lua (906) : load
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouse.lua (736) : spawnItem
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouseGui.lua (264) : callback
=C:/Users/Ludi/Documents/My Games/FarmingSimulator2017/mods/FS17_HofBergmann_Reloaded_BaleAddon/scripts/StorageHouseGui.lua (224) : doCallback
dataS/scripts/gui/elements/ButtonElement.lua (191) : raiseCallback
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/GuiElement.lua (279) : mouseEvent
dataS/scripts/gui/elements/Gui.lua (270) : mouseEvent
dataS/scripts/main.lua (1857) : mouseEvent
Error: Running LUA method 'mouseEvent'.
Stroh-Rundballen funktionieren einwandfrei, auch das wieder auslagern.