help for brand new modder

Your forum for all discussions around Modding.
PaulCox501208
Posts: 1
Joined: Sun Sep 30, 2018 11:33 am

help for brand new modder

Post by PaulCox501208 »

how can i solve the bold type items
### Courseplay: installed into 32 vehicles
Script loaded: FollowMe.lua (v1.0.0.17)
Error: Not all prerequisites of specialization steerable are fulfilled
LUA call stack:
dataS/scripts/utils/Utils.lua (1702) : printCallstack
dataS/scripts/utils/StoreItemsUtil.lua (117) : getFilename
dataS/scripts/main.lua (2838) : loadStoreItem
dataS/scripts/gui/MPLoadingScreen.lua (465) : loadMod
dataS/scripts/gui/MPLoadingScreen.lua (259) : initializeLoading
dataS/scripts/gui/MPLoadingScreen.lua (345) : startLocal
dataS/scripts/gui/MPLoadingScreen.lua (234) : onSavegameLoaded
dataS/scripts/gui/CareerScreen.lua (627) : loadSavegameAndStart
dataS/scripts/gui/ModSelectionScreen.lua (184) : startGame
dataS/scripts/gui/elements/ButtonElement.lua (319) : raiseCallback
dataS/scripts/gui/elements/FocusManager.lua (254) : onFocusActivate
dataS/scripts/gui/elements/GuiElement.lua (304) : checkElement
dataS/scripts/gui/elements/GuiElement.lua (319) : update
dataS/scripts/gui/elements/GuiElement.lua (319) : update
dataS/scripts/gui/elements/GuiElement.lua (319) : update
dataS/scripts/gui/elements/GuiElement.lua (319) : update
dataS/scripts/gui/elements/Gui.lua (303) : update
dataS/scripts/main.lua (1918) : update
Warning (LUA): 'loadXMLFile': Argument 2 has wrong type. Expected: String. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (640): expectedType == Value::VoidType

LUA call stack:
dataS/scripts/utils/StoreItemsUtil.lua (118) : loadXMLFile
dataS/scripts/main.lua (2838) : loadStoreItem
dataS/scripts/gui/MPLoadingScreen.lua (465) : loadMod
dataS/scripts/gui/MPLoadingScreen.lua (259) : initializeLoading
dataS/scripts/gui/MPLoadingScreen.lua (345) : startLocal
dataS/scripts/gui/MPLoadingScreen.lua (234) : onSavegameLoaded
dataS/scripts/gui/CareerScreen.lua (627) : loadSavegameAndStart
dataS/scripts/gui/ModSelectionScreen.lua (184) : startGame
dataS/scripts/gui/elements/ButtonElement.lua (319) : raiseCallback
dataS/scripts/gui/elements/FocusManager.lua (254) : onFocusActivate
dataS/scripts/gui/elements/GuiElement.lua (304) : checkElement
dataS/scripts/gui/elements/GuiElement.lua (319) : update
dataS/scripts/gui/elements/GuiElement.lua (319) : update
dataS/scripts/gui/elements/GuiElement.lua (319) : update
dataS/scripts/gui/elements/GuiElement.lua (319) : update
dataS/scripts/gui/elements/Gui.lua (303) : update
dataS/scripts/main.lua (1918) : update
Warning (LUA): 'getXMLRootName': Argument 1 has wrong type. Expected: Int. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (640): expectedType == Value::VoidType
LUA call stack:
dataS/scripts/utils/StoreItemsUtil.lua (120) : getXMLRootName
dataS/scripts/main.lua (2838) : loadStoreItem
dataS/scripts/gui/MPLoadingScreen.lua (465) : loadMod
dataS/scripts/gui/MPLoadingScreen.lua (259) : initializeLoading
dataS/scripts/gui/MPLoadingScreen.lua (345) : startLocal
dataS/scripts/gui/MPLoadingScreen.lua (234) : onSavegameLoaded
dataS/scripts/gui/CareerScreen.lua (627) : loadSavegameAndStart
dataS/scripts/gui/ModSelectionScreen.lua (184) : startGame
dataS/scripts/gui/elements/ButtonElement.lua (319) : raiseCallback
dataS/scripts/gui/elements/FocusManager.lua (254) : onFocusActivate
dataS/scripts/gui/elements/GuiElement.lua (304) : checkElement
dataS/scripts/gui/elements/GuiElement.lua (319) : update
dataS/scripts/gui/elements/GuiElement.lua (319) : update
dataS/scripts/gui/elements/GuiElement.lua (319) : update
dataS/scripts/gui/elements/GuiElement.lua (319) : update
dataS/scripts/gui/elements/Gui.lua (303) : update
dataS/scripts/main.lua (1918) : update

Error: Running LUA method 'update'.
dataS/scripts/utils/StoreItemsUtil.lua(121) : attempt to concatenate local 'baseXMLName' (a nil value)

Edit don_apple: moved from german to english section.
Inkslinger98
Posts: 130
Joined: Sun Jun 11, 2017 5:04 pm

Re: help for brand new modder

Post by Inkslinger98 »

never worked with outside scripts but it looks like your missing a line or two in your moddesc. what type of mod is it?

<specialization name="attacherJoints"/>
<specialization name="lights"/>
<specialization name="animatedVehicle"/>
<specialization name="cylindered"/>
<specialization name="motorized"/>
<specialization name="steerable"/>
<specialization name="drivable"/>
<specialization name="honk"/>
<specialization name="washable"/>
<specialization name="mountable"/>

these are some of the basics for steerable trucks. if nothing else I've found you can do away completely with the custom ID in the moddesc and just tag it as something basic in the xml file. IE. <vehicle type="trailer"> that makes it use perquisites from the base in game trailers instead of using what specializations are defined in moddesc. it's a shortcut as I'm new to this myself and had issues with this same error.
Post Reply