Opis

FS17 Lock steering axle v1.0.1.1

I have a little script, which makes it possible to lock and unlock the steering axles of trailers.

The button to lock the steering axle is,. In the video it was still the key O, but this led to overlaps with overloading cars which have a steering axle. Then the tube and the steering axle were always steered the same. Therefore ned wonder that it is now ne ne other key, than in the Vid.

Think much more is never to say.

Update version 1.0.1.1:

If you wanted to join an MP game, and the mod was active, you got the following error:

Warning (LUA): ‚streamWriteBool’: Argument 1 has wrong type. Expected: Bool. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (640): expectedType == Value::VoidType
LUA call stack:
=D:/home/sid_235147/farmingSim_2017/profile/mods/FS17_lockSteeringAxles/LockSteeringAxles.lua (108) : streamWriteBool
dataS/scripts/vehicles/Vehicle.lua (1769) : writeStream
dataS/scripts/network/Server.lua (576) : writeStream
dataS/scripts/FSBaseMission.lua (1118) : sendObjects
dataS/scripts/events/BaseMissionFinishedLoadingEvent.lua (38) : onConnectionFinishedLoading
dataS/scripts/events/BaseMissionFinishedLoadingEvent.lua (27) : run
dataS/scripts/network/Server.lua (411) : readStream
dataS/scripts/network/ConnectionManager.lua (28) : func
Warning (LUA): ‚streamWriteBool’: Argument 1 has wrong type. Expected: Bool. Actual: Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (640): expectedType == Value::VoidType

Was a small thought defect of mine to blame .. Is now fixed.

Update version 1.0.1.0:

  • Now it is saved, whether the steering axle is blocked or not
  • The steering axles are now always steered when reversing, if these are not locked
  • Small fix for the MP
  • Support for trailers that do not have a wheelConfiguration tag in the xml

Autorzy

Ifko[nator]