description
featuredFor an FS 19 mod of similar function, try https://github.com/sperrgebiet/FS19_VehicleExplorer
Customize the order in which your vehicles are chosen when using the tab-key or switch by navigating through a list.
How to use:
- Use NumPad or Mouse - can be customized in game options
- NumPad 0 or Middle Mouse Button opens list of vehicles in the order you tab through them
- NumPad 2 and 8 or Mouse Wheel moves selection in list (green)
- NumPad 5 or Left Mouse Button toggles mode to move vehicle in list/tab order (selection turns red)
- NumPad [Enter] or Right Mouse Button enters selected vehicle (if it is unoccupied)
- NumPad [+] or Mouse Button 4 toggles parking mode (vehicle removed from tab list and prefixed in VehicleSort list with [P])
- NumPad [-] opens config menu
If the player is in a vehicle it will appear as bold in the list.
Original Author v0.1-v0.6: Dschonny. Further updates developed and published with permission.
Original version link: https://www.modhoster.com/mods/vehiclesort
Credits
Model: -
Texture: -
Script: Dschonny v0.1-v0.6, Slivicon v1.0.0.7 and newer versions
Idea / Concept: Dschonny
Testing: Slivicon, hpmc13, 112tec
Other:
Permission given by Dschonny in message on Giants forum for Slivicon to publish updates.
-
11 Feb 10:58Version 2.1.0.3
Fix additional discovered issues with removeVehicle and addVehicle functions so they do not cause problems on dedicated servers
-
08 Feb 22:00Version 2.1.0.2
Fix bug on dedicated server with addVehicle function
-
07 Feb 17:24Version 2.1.0.1
Fix bug on dedicated server with vehicle reset
-
04 Feb 23:23Version 2.1.0.0
* Fix bug causing errors while determining vehicle name
* Fix bug causing undesired text and overlay dimensions on some screen resolution aspect ratios
* Fix bug where train cranes were still being considered part of the selection list while hidden from view
* Fix bug with duplicate heading render
* New config option to set background alpha transparency level
* New config option to change text size between 3 sizes
* Improved text wrapping determination
* Dynamic sizing of column widths and background based on size of content
* Cleaned up unused code
* Optimized code -
01 Feb 18:36Version 2.0.0.0
v2.0.0.0 Slivicon
* Mostly re-written code
* New persistent unique ID system to help maintain vehicle order between sessions
* Improved brand name representation and visual display (new semi-transparent dark background)
* New config option: Smaller text size
* Now wraps long text for long lists spanning multiple columns
* New improved method for detecting trains and train station cranes
* Resetting vehicles should no longer change the tab order from user specified order
* Saved order will no longer reset when number of vehicles has changed, only when the map has changed
* Increased efficiency: Only save order to disk when a change has been made, not every time VehicleSort is used in the game
* Fixed several bugs
* Several code optimizations and refactoring
* Improved multiplayer and dedicated server support -
31 Dec 21:13Version 1.0.0.9
fix error reported by Hollauer where some items may not have a brand name
-
24 Dec 22:14Version 1.0.0.8
v1.0.0.8 Slivicon
while using mousewheel when VehicleSort is displayed:
-prevent chainsaws from activating
-avoid camera zoom -
28 Nov 18:44Version 1.0.0.7
13 Comments for VehicleSort
For anyone looking for an FS 19 version in the meantime, you may try https://github.com/sperrgebiet/FS19_VehicleExplorer which was done by another modder. He states it does not work in multiplayer, though. I may try to do an FS 19 version if I have time to figure out multiplayer in FS 19.
Please we need this mod for LS19.
G:/Eigene Dokumente/My Games/FarmingSimulator2017/mods/FS17_VehicleSort/VehicleSort.lua:768: bad argument #3 to 'format' (number expected, got nil)
Error: Running LUA method 'update'.
this entry always only when i at open the menu or closed.
Thanks for the update for one of my favorite FS tools! Everything's working well now.
One question, though:
How can I change the position of the window? In the latest version it's a little too far down on the screen for my likings, so I'd like to move up towards the upper edge of the screen. However, I can't seem to find any values for xpos, ypos...just a lot of fancy entries which nooby me doesn't understand at all. ^^
A screenie to show you what I mean:
https://i.imgur.com/YpbRqgf.jpg
Thank you Slivicon!
Version 2.1.0.0 works perfect for me!
All issues solved! Great Job!
For those who would like to help with testing, please get latest DEV VehicleSort.lua and modDesc.xml from:
https://raw.githubusercontent.com/Slivicon/VehicleSort/dev/vehicleSort.lua
https://raw.githubusercontent.com/Slivicon/VehicleSort/dev/modDesc.xml
Replace the ones in your v2 zip file with those.
Rename the zip file to FS17_VehicleSort_debug.zip
When you start the game, you will get a message that VehicleSort is no longer present (this is because zip is renamed). Make sure new VehicleSort (renamed debug) is checked as mod enabled for your game.
This special name will tell the mod to write a LOT more information to the log which you can paste (no account needed, you can paste to pastebin.com with no account) at http://pastebin.com (please do not post log in comment, only link to pastebin.com).
You will also see your screenshots will show extra information in debug mode that you can post here or at imgur.com with link to imgur.com in comments.
There is an error inside the lua. I got callstacks like this one:
Warning (LUA): 'getXMLString': 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/Utils.lua (1818) : getXMLString
=C:/Users/XXXXXXXXXXXX/Documents/My Games/FarmingSimulator2017/mods/FS17_VehicleSort/VehicleSort.lua (349) : getTrans
=C:/Users/XXXXXXXXXXXX/Documents/My Games/FarmingSimulator2017/mods/FS17_VehicleSort/VehicleSort.lua (810) : getName
dataS/scripts/utils/Utils.lua (1859) : newFunc
dataS/scripts/utils/Utils.lua (1858) : oldFunc
dataS/scripts/vehicles/Vehicle.lua (656)
dataS/scripts/utils/Utils.lua (1858) : oldFunc
Warning (LUA): 'getXMLString': Argument 1 has wrong type. Expected: Int. Actual: Nil
LUA call stack:
dataS/scripts/utils/Utils.lua (1820)
=C:/Users/XXXXXXXXXXXX/Documents/My Games/FarmingSimulator2017/mods/FS17_VehicleSort/VehicleSort.lua (810) : getName : newFunc
dataS/scripts/utils/Utils.lua (1858) : oldFunc
dataS/scripts/vehicles/Vehicle.lua (656)
dataS/scripts/utils/Utils.lua (1858) : oldFunc
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction
Warning (LUA): 'getXMLString': 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/Utils.lua (1822) : getXMLString
=C:/Users/XXXXXXXXXXXX/Documents/My Games/FarmingSimulator2017/mods/FS17_VehicleSort/VehicleSort.lua (349) : getTrans
=C:/Users/XXXXXXXXXXXX/Documents/My Games/FarmingSimulator2017/mods/FS17_VehicleSort/VehicleSort.lua (810) : getName
dataS/scripts/utils/Utils.lua (1859) : newFunc
dataS/scripts/vehicles/Vehicle.lua (656)
dataS/scripts/utils/Utils.lua (1858) : oldFunc
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction
Warning (LUA): 'getXMLString': Argument 1 has wrong type. Expected: Int. Actual: Nil
: expectedType == Value::VoidType
LUA call stack:
dataS/scripts/utils/Utils.lua (1845)
=C:/Users/XXXXXXXXXXXX/Documents/My Games/FarmingSimulator2017/mods/FS17_VehicleSort/VehicleSort.lua (810) : getName
allways the same lines in lua. Get name and get trans
in v 2.0.0.0 is a new dark background.
but he is in the right side a little bit to short
how can i edit the lua file to make the background bigger?
is also a colour chance to a litte more brighter?
lg
andreas
Hi Slivicon,
I downloaded the latest version (2.0.0.0) and put it in the Mods folder, but it doesn't appear in the mod list when loading the savegame. I have tried the .zip file, and also tried to unzip it.
Is the lates FS17 patch required, or is it something else?
I´ve loaded the new version but in the list it shows still the same. I guess the same like you that they used a different method to identify the train otherwise i think vehicle sort would see the train. But the most important for me is that the log is not full of callstacks anymore so thank you again
kind regards
Development notes:
-Development can also be followed at https://github.com/Slivicon/VehicleSort , and issues can be submitted there as well.
-When a vehicle is reset, it changes where that vehicle is in the tab order. Also, when in multiplayer, other players performing resets or buying and selling vehicles can change order. This can cause unexpected behaviour in the VehicleSort lists between sessions.
-The game re-uses vehicle ID numbers when the game is saved after vehicles have been sold and other ones bought. This can cause unexpected behaviour in VehicleSort lists.
-VehicleSort currently will re-generate a new list if it finds that the number of steerables (vehicles) have changed since the last session.
Next task will be to look at a way to generate ID numbers for VehicleSort to use on the server/host that are saved with the save game. Then, to broadcast those ID numbers to players and for VehicleSort to use those numbers to prevent the list changing unexpectedly due to resets or multiplayer actions and changes between sessions, to try and solve these issues.
There is also a comment about it not working in platinum edition, which I did not know (as I don't have platinum right now), so that will have to be looked at as well.
Could you try to make it compatible with the platinum edition?
Known issues:
If you re-join a multiplayer game and the list of owned vehicles have changed since your last session, your saved sort order and parking configuration may no longer be the same. This is because the game appears to re-generate ID numbers for the owned vehicles when they are bought/sold.
If you use the mousewheel to move the list selection, it will also cycle through chainsaws (when on foot) or change the camera zoom (when inside a vehicle), with default settings.