Community Forum

Adding a new wheel

Forum Overview >> Farming Simulator 15

CategoryFarming Simulator 15
Created10.01.2015 05:30


T Domecq (Unknown) 10.01.2015 05:35
As the title, For implement a new model of tire, does it need any XML config on it?

i've check the game file, but as i was expecting, nothing seen, and i don't find any information, but for my actual project i wanna use the new standard system for wheel, but with a new tire model, i've tried on another but i get this:

Error: index out of range
LUA call stack:
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/Utils.lua(9) : printCallstack
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/Utils.lua(58) : checkChildIndex
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/vehicles/Vehicle.lua(4151) : indexToObject
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/vehicles/Vehicle.lua(1032)
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/vehicles/Vehicle.lua(105) : loadFinished
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/BaseMission.lua(598) : load
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/BaseMission.lua(692) : loadVehicle
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/BuyVehicleEvent.lua(83) : loadVehicleAtPlace
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/network/Connection.lua(53) : run
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/gui/ShopScreen.lua(863) : sendEvent
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/gui/Gui.lua(301) : update
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/main.lua(1397) : update
Index: 1|0
Error: index out of range
LUA call stack:
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/Utils.lua(9) : printCallstack
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/Utils.lua(58) : checkChildIndex
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/vehicles/Vehicle.lua(4151) : indexToObject
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/vehicles/Vehicle.lua(1032)
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/vehicles/Vehicle.lua(105) : loadFinished
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/BaseMission.lua(598) : load
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/BaseMission.lua(692) : loadVehicle
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/BuyVehicleEvent.lua(83) : loadVehicleAtPlace
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/network/Connection.lua(53) : run
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/gui/ShopScreen.lua(863) : sendEvent
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/gui/Gui.lua(301) : update
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/main.lua(1397) : update
Index: 1|1
Error: index out of range
LUA call stack:
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/Utils.lua(9) : printCallstack
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/Utils.lua(58) : checkChildIndex
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/vehicles/Vehicle.lua(4151) : indexToObject
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/vehicles/Vehicle.lua(1032)
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/vehicles/Vehicle.lua(105) : loadFinished
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/BaseMission.lua(598) : load
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/BaseMission.lua(692) : loadVehicle
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/BuyVehicleEvent.lua(83) : loadVehicleAtPlace
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/network/Connection.lua(53) : run
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/gui/ShopScreen.lua(863) : sendEvent
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/gui/Gui.lua(301) : update
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/main.lua(1397) : update
Index: 0|0
Error: index out of range
LUA call stack:
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/Utils.lua(9) : printCallstack
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/Utils.lua(58) : checkChildIndex
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/vehicles/Vehicle.lua(4151) : indexToObject
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/vehicles/Vehicle.lua(1032)
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/vehicles/Vehicle.lua(105) : loadFinished
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/BaseMission.lua(598) : load
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/BaseMission.lua(692) : loadVehicle
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/BuyVehicleEvent.lua(83) : loadVehicleAtPlace
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/network/Connection.lua(53) : run
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/gui/ShopScreen.lua(863) : sendEvent
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/gui/Gui.lua(301) : update
D:/Code/Giants/lsim2015/build/finalbin/dataS/scripts/main.lua(1397) : update
Index: 0|1

Did i miss something? because actually basic import into a zip with a clean hierarchy in the I3D looks not working in my mod folder :/

Emil Drefers (Unknown) 12.01.2015 15:01
Hi,

for me it's not completly clear what you are trying to do.

So following just a few general hints ...

You don't have to use the "dynamicallyLoadedParts", but you can.
Actually it makes only sense to use this feature if the wheel(s) is used in more than one vehicle.
(Note: Accessing an other mod.zip is not possible at this stage - this would require some scripting)

So, if you plan to use the wheels only in your very specific mod then place them directly in the i3d file.
This makes things easier.

Cheers,
Emil


Note: Log in to post. Create a new account here.