This mod can be used to create a network of routes for vehicles to drive autonomously. Once setup you can tell a tractor that is standing anywhere close to the network to drive to any point, such as the shop, field 1 or to a sell point.
For help & support, feel free to join us on Discord: https://discord.gg/9D4B5hX
For a little thank you
If you like our work, feel free to buy us a coffee (of which we drink quite a lot 😀 )
For now, there is no general link for the team, so each contributer can post his/her preferred donation link here 🙂
But remember, this is absolutely not required. We value any issues and feature requests the same!
And to all who do donate: Thank you very much 🙂
Stephan (Founder & Modder):
Iwan1803 (Community Manager, Supporter & Tester):
bug fixes and improvements:
no collision check for active conveyor belts
user settings were not saved
Bugfixes and improvements::
Hhelper does not delete itself #441
ateering axles (e.g. on loader wagons) are not locked when reversing #435
AutoLoad caused several problems #437, #451, #453 & #539
as of FS22_aPalletAutoLoader 188.8.131.52 “unloading behind” is supported
waiting time also when loading pallets via AutoLoad at loading point #431
error TensionBelts.lua #477
unloader gets stuck during harvester unloading
unloader follows harvester without unloading #391
“Fold implements” folds harvester even if it is not empty #506
fill level detection on seed drills with fertilizer function when seed or fertilizer is empty
fill type detection reworked (display and selection depending on fill types of vehicles, trailers, etc.) #233
when re-/loading a supported fill type it happened that a wrong fill animation was started
loader wagon can not be filled at purchase silo #429
instead of herbicide, fertilizer was loaded at multi-crop purchase stations and vice versa #490
notifications always show the vehicle name, also in the message history
unloading in drive-through silo optimized
error Specialization.lua:1566 #442
debug marker 4_ shows “dead” ends even if there are target points (blue line) #259
automatic refueling only where manual refueling is possible (no AIO silos) #485
When refueling, all supported fuels should be filled up, f.e. DEF
characters “,;” in folder names are converted to “_” #516
new trailer variants “semitrailerCar” can not drive backwards #510
added translations for color selection, list in FS22 blue
vehicle flashes when reversing (warning lights, can be set in options) #236
Not fixed or currently not solvable:
[Dedi-Server] problems with vanilla ball cart #538
menu controllable with controller and keyboard #292
debug marker 9_ shows possible errors, but may actually be none
CP can hand over the stone collector to AD (pickup&delivery) #421
separation of map and user settings (different files in the savegame folder) #524
improvement collision boxes (new vehicle measurement) #536
In FS22, vehicles are mostly defined larger (in XML) than they actually are.
With AD, this leads to vehicles on roads with a small (lateral) distance being recognized as a collision even though there would still be sufficient space between them.
To avoid this, the collision to the front, rear, left and right is determined for all parts belonging to the vehicle.
For this purpose, all attachments of the complete combination are measured when entering a vehicle, starting AD or after being folded by AD (mixtures of unmeasured and measured vehicles are normal and not a fault).
Only vehicles, trailers and attachments that do not have parts with rotation around the vertical axis are measured.
For example, trailers with turntable have the movable bogie with rotation around the vertical axis and this can also stand “twisted”.
If a measurement were to be made now, the external collision would be the turned bogie with drawbar, which is much “wider” compared to the trailer just being towed.
Here may now come the objection “But you can also measure when the trailer is at some point straight”, save, load etc.. -> more complicated always goes…!
Currently, 20 cm of “safety clearance” is still added around the outside.
CP uses AD for refueling, repair and parking #351, #433, #494 & #519
AD drives refueling and repair if requested by CP, but settings of CP have priority.
Attention: harvesters are also sent for repair and refueling incl. the current attachments!
In the “Pickup / Delivery” mode with CP field work, the vehicle combination is unloaded at the end of work before parking, if “Park at end” is activated in AD.
AD is only activated in sensible modes, if wrong mode is selected -> notification.
Example: Driving is not useful for e.g. seed drills, but can be used for “ready message”.
Bugfixes and improvements:
Route network debugging extended by “4_” for double-sided routes #259
1_ = End of a one-way route without connection
2_ = Angle for driving backwards is greater than 90°
3_ = Start of a one-way route without connection
4_ = Start or end of a two-way line without connection (new)
REC function makes the game “freeze” #337
Route recording with e.g. a wheel loader led to a LUA error #301 & #377
Avoid moving waypoints in map view from helper menu #303
Fruit bypass improved by detection of new grass in FS22 #184
Consideration of mass instead of m³ for fill level detection of unloader (can be activated in LS22 options)
Improved cooperation of unloader with potato harvester #311
Pathfinding to thresher starts too early (tube not yet fully extended) #419
Unloader does not drive backward after unloading #315
Various bugfixes and improvements to helper system when CP passed to AD #322
Optimization regarding transfer to CoursePlay for start at the first or continuation at the last CoursePlay waypoint
Unloader does not wait for turning maneuver from CoursePlay #326
Improvement for CoursePlay chopper regarding chasing
AD does not pass to CoursePlay in MP when you are in the vehicle yourself #368
Disable CoursePlay button in AD modes “Drive” and “Unload” #385
“Click to switch” (vom CP-Team) was fixed #355
Improvement of folding vehicles and attachments, folding is now activated by default, deactivate experimental switch in case of problems!
Transported equipment, which is not coupled, is also repaired if it belongs to the yard of the transport vehicle (e.g. cutting units on a wagon)
In-game ball collectors can be unloaded when passing through a “bale” trigger (Pickup&Deliver)
In case of automatic selection for the unloading side or unloading side=back, it is tried not to use the grain pusher
IVT gearbox has no power on the hill #371
The wage level for the helper is taken from the game, other settings e.g. from mods are thus calculated correctly #398
Route Manager partially stopped working (Procedure: Start game, save + quit and then move everything from “autoDrive” to modSettings\FS22_AutoDrive)
Collision detection improved when reversing #274
Reversing with cutterbar wagon does not work #340
Drive-through silo problem with unloading too slow at the beginning #194
Problem with backward unloading when setting small silo distances (10m) fixed #347
Shopauswahl für das Kaufen und Verkaufen lässt sich in “Abladen” nicht de- und aktivieren (blaue Hängersymbole), wird bei Modus-Wechsel immer deaktiviert #297
Automatic store selection for buying and selling cannot be de- and activated in “Unload” (blue trailer icons), will be always deactivated when changing mode #297
Working light is switched on during loading and unloading as well as driving in silos if activated -> default on (Non-functional settings) #392
Improved calculation of the curve radius
Mod conflict “grease” fixed, is not supported #418
Corrected calculation in getTractorTrainLength
Drivers are controlled by FillUnit, no longer by vehicle (better recognition of e.g. swap bodies/add-ons)
Fixed several LUA bugs
For self-driven tankers diesel is not shown as loadable good, check still open #233
“Vehicle drives to refuel” but then stops at AiO silo #188
AD can load and unload pallets, bags and bales via AutoLoad-Mod from Achimobil, please use latest version of it!
Improvement in the unloader routine regarding potato harvesting #141, 252 & 258
Unloader drives too close to the chopper #213
Improvement in the detection of sugar cane harvesters
Unloaders does not drive under the pipe when unloading while driving #227, 249 & 295
Fixed bugs regarding refueling #203, 262 & 291
LUA error regarding the red line #279
Server crash if several non connected route networks exist #237
Unloader can not find a way down from the field #256
Wrong destination shown in the error message #276
Warning message regarding messageBackground.dds #210
Key combinations regarding edit routes do not work #232
Arrow key combinations cause errors between AD and CP #278
Possible fix when using the mod “FS22_PlayerPositionSaver #273
removed incorrect and no longer needed translation #281
all notificatiosn are now only displayed at the top #286
the AD-HUD can be hidden in the helper menu by clicking the X
Improvement in the locking of trailer axes regardid reverse driving
Course generator: Problem with disconnected curves #63
Course generator: Problems with one-way streets #65
Helper HUD: wrong display of filltypes when switching vehicles #80
Waypoints are created too far behind the vehicle when driving backward #90
single digit target names caused errors #106
LUA error when transporting big bags #114
Unloader do not take care about the trailer when driving backwards #129
Harvester was not recognized by the AD unloader if a non-admin controlled it #134
Display AD target marker on minimap #135
Vehicles calculate the route from the current waypoint instead of searching for a new one from the destination #143
AD lines are no longer displayed by right-clicking the edit button #167
Position of AD-HUD was not saved or not loaded at restart #167
changing target points by key combination is not alphanumeric #168
Loading areas on vehicles are not recognized as unloading points of harvesters #180
change of load by key combination is not alphanumeric #191
When a vehicle was sent to be repaired, it wanted to drive again afterwards to be repaired
Debug map markers were not synced, which was an error source for new created targets
AD has received a new logo (thanks to FinalsFarming)
the HUD and the buttons got a new design (thanks to Daensky)
Icons in notifications are centered and displayed larger, unused ones have been removed
Cleaned up code and removed unused functions and classes
Crop edge detection improved for harvester unloader (pursuit is stopped beforehand to leave more space for the turning maneuvers of the vehicles)
AD sends an event when it has parked a vehicle (interface for other mods)
Forage harvester unloader now has precalculated turning maneuvers to work with less space (currently only 180° turns implemented!)
AD starts driving even before automatic folding of attachments is completed #96
Attachment folding feature improved #131
Path calculation based on calculated travel time instead of distance (still under observation, since slightly higher performance requirement)
Release 184.108.40.206 Latest
LUA error in synchro (Dedi server) #61
LUA error in helper HUD when not sitting in a vehicle #66
LUA error concerning Y-coordinate #68
Automatic route generation creates routes beyond the map border #64
Water is not loaded #62
Unloader sinks in lake #71
Middle mouse button grabs waypoints #73
Auger wagons with silage tank do not continue after unloading #74
Debug info for starting points of a route #36
Key assignment for sending vehicles for repair #78
Improvement in automatic curve creation (last segment) #23
Improvement concerning engine shutdown (e.g. when overloading) #70
Improvement in filling up a seed machine (fertilizer & seed) #72
AD target points are displayed in the helper HUD above the LS22 targets #77
Improvement regarding folding attachments #75
U-Turn of unloader reduced to min.
AutoDrive Course Editor
The Editor works with configs generated by the FS19 + FS22 versions of the mod.
Start AutoDrive Course Editor
The editor can be started using the supplied CMD file: “Open Editor with Console to see errors.cmd”. The editor can also be started from the command line: java -jar -Xms1024m -Xmx1024m .\AutoDriveEditor.Jar
The editor will create the log file autoDriveEditor.log, which is used for later troubleshooting. This file has a maximum size of 20MB. A maximum of 3 version files are then created.
I maintain another repository of map images that are ready to use with the editor.
Go here or download AutoDrive_MapImages-main file below. Do you have any map images that are not on the repository?, please consider doing a pull request to add to the collection, it will help other people.. Help with pull requests can be found on GitHub Docs
Update to v1.0.3
Fixed downloading of map images and heightmaps from GitHub repository
Update to v1.0.2
Reworked version update window, it now displays the updates release notes.
It is active, but you won’t see it until the next update is released.
Fixed importing DDS files not working.
Update to v1.0.1
Fixed “Save Successful” dialog appearing for autosave and merge backups.
Fixed autosave and merge nodes switching the active config to the backup.
Fixed Editor titlebar not showing the map name after certain operations.
Update to v1.00.0
Added configuration window ( finally…. ) ( ﾟヮﾟ)/
Changed the buttonbar to a JToolBar.
You can now dock it to the left, right or top of the map panel or detach it completely.
The toolbar position ( left/right/top ) is saved in the editor config
The toolbar can be detached from the editor, but this state/position is not saved on exit
By default the toolbar is now located on the left of the window.
Added Options Panel to toolbar, it contains buttons for the follow options
The ability to increase/decrease the displayed node size
Opening the configuration window
Turning on/off the continuous connection option (left-click on the button to toggle)
A large amount of time has been put into code changes/cleanup, the majority of bugs
fixed in this release were found during the testing of unrelated features, there
is a possibility new bugs have been introduced, please report them if you find one.
Adjusted the undo function of “Delete nodes” for a massive speed increase.
e.g. restoring 12,000 nodes on v0.90 took 8.5 seconds, v1.0 takes 0.15 seconds!!
Adjusted rendering threads for a small speed increase.
Added Option to enable/disable autosaving ( enabled by default ).
Changed negative Z warning icon to red.
Removed the Option menu as it is no longer needed.
Map scale is now displayed alongside image and heightmap loaded status.
Map name is now added to editors titlebar.
Map Markers are now associated with the actual node and not kept in a separate list.
Refactored the editor code to remove the use of the MapMarkers class completely.
This should prevent map markers moving when copying/pasting and in general use.
Ensures the saved config map markers are pointing to the correct nodes.
Added warning dialog for Edge case “IndexOutOfBounds” exception in “cut” nodes undo.
Added ‘OutOfMemory’ exception dialog for importing DDS images. ( with hint how to correct it )
The editor version number will change with V1.0 to follow the Semantic Version 2.0.0 standard
Updated Log4J to v2.17.2
Fixed AD 220.127.116.11+ configs not loading due to how the marker ID is stored.
Fixed crash when loading the editors XML due to ‘LastUsedLocation” being empty.
Fixed edge case concurrency exception in scan network thread.
Fixed crash on startup if CurveSliderDefault is greater than CurveSliderMax.
Fixed NullPointerException when trying to determine the name of a Routes XML map image.
Fixed loading a Route XML autosave file not detecting the map name.
Fixed Undo/Redo menu items not disabling when reaching start/end of queue.
Fixed “Paste In Place” incorrectly adjusting a nodes Y value.
Fixed “Paste Selection” not calculating the offset to centre of viewport correctly.
Fixed number of curve points not matching the value of interpolation points slider.
Fixed multiple node/arrow scaling issue’s.
Fixed linear lines showing unneeded nodes.
Fixed numeric inputs below minimum value swapping to it’s maximum value.
Fixed numeric inputs buggy negative numbers behaviour.
Fixed warning icons positions shifting on zoom.
Fixed imported images not showing correct status in info area.
Fixed multi selection box enabled when no operation selected.
Fixed merge nodes backup not working for Routemanager configs
Adjust a lot of locale keys to be more descriptive.
Removed unused/redundant strings.
Update to v0.90.0
Added support for larger map sizes
Added internal support for variable size heightmaps
Added option to export a heightmap to use as the default heightmap
Node size can now be configured ( only through config in this version, next version preferences window)
Height Maps will be automatically downloaded and used if they are found on the MapImages GitHub
Fixed connection arrows not scaling properly to node size
Adjusted some locale strings
Minor bug fixes
Added Route Manager XML loading/saving
Auto map image detection/loading is working the same way as regular configs.
Heightmaps will have to be manually loaded, this will change in next release (v0.90.0).
Fixed area select not working after menu interaction
Reverted linear line node scaling until a better system is found
Modified autosave system to remember the last used slot on exit, ensures the oldest save is overwritten on restart
The editor now saves the Filechoosers last used location on exit, restores it on load
Removed unused locale strings
Minor bug fixes
Route Manager loading/saving has only been tested on the FS22 version of AutoDrive
It is not recommended to use it with FS19 AutoDrive until it has been properly tested.
Re-enabled heightmap loading
Added a show heightmap menu option
Fixed some dialog texts not being correct
added link to GitHub page in about dialog
Added Autosaving, default is every 10 minutes, max 10 backups, see options menu for changing interval
( backup file name is the same as config name but with “_autosave_x” added to the end )
Added depth alignment option, works the same way as Horizontal/Vertical alignment
Added button to Manually edit a nodes X/Y/Z location.
Added menu item to scan and display overlapping nodes
Added warning icon display to nodes, indicates an issue needs looking into
Added Paste in Place – Paste nodes into their original location, instead of centred on viewpoint
Changed how DEBUG mode is activated, can now be turned on/off from the help menu
Creating a connection to a node with a negative Y location will make the node inherit the start
nodes Y level.
Linear lines, Quad Curves and Cubic curves will now calculate and average out any in-between nodes
Y height ( based on the start/end nodes y level) if no heightmap is available.
‘Fix node height’ menu option will now only change nodes that have a large difference in their
Added a dialog on map scan to specify the range to search for overlapping nodes
Added merge nodes menu item, a backup is saved before merging in case something goes wrong
Fixed overlap scan information only logging to the log file ( now appears in the text area
at bottom of editor
Fixed copy/paste buffer duplication
Fixed import of FS22 map images larger than 8192 x 8192
Fixed keyboard shortcuts for cut/copy/paste not working
Overlapping node scan now runs in background on config load
Node movement now checks for overlapping ( undo/redo is not supported yet)
Fixed adding secondary node creating a regular node :/
Fixed liner line coordinates mixup from last commit
Fixed linear line spacing not accounting for the map zoom factor
Fixed paste selection ignoring no heightmap being loaded
FileChoosers now remember the last location used
Updated Log4J to 2 17.1
Fixed possible config corruption with “Delete Node” Undo/Redo
NOTE – Mass undo/redo of nodes ( for eg. 200+ nodes ) will take much longer now, in the order of multiple seconds
Fixed AutoDrive version detection while loading configs
Fixed menu item “Fix Nodes Height” being enabled when no heightmap was loaded
Fixed QuadCurve and CubicCurve control points not moving and freaking out when grid snapping enabled
Fixed version check using the wrong repository to check against
Complete refactor of codebase
Removed all the map images packaged into the JAR file, resulting in huge reduction in filesize
Changed Grid show/Hide, Grid Snapping, Subdivision Snapping are now togglable by single keyboard press on G, S, D respectivly
Re-enabled moving multiple nodes with grid snapping enabled, it now works as intended
Added Update check… Editor will now check github for new versions on startup and display a update message.
Added automatic map image downloads, if no matching mapimage can be found during the config load stage it will
connect to my other github repository (https://github.com/KillBait/AutoDrive_MapImages) and check if the
image is available, if so, it will download it and place it in the mapimages folder to re-use.
Added terrain heightmap intergration…. Some caveats apply
(1) The terrain heightmap (terrain.heightmap.png) must be in the same folder as the config your loading,
this is standard for all savegame slot folders.
(2) The height placement will not be exactly level with the ingame terrain, but it should be close, this
is due to the terrain heightmap resolution being limited to 2 meters per pixel, whereas ingame terrain
is at a much higher resolution. It is strongly recommended you have the node position above the vehicle
ingame to compensate for the difference and make sure they are visible.
The heightmap stores the terrain Y value as a integer ranging from 0 – 255, the editor will use this
integer value as a Y value for nodes, but nodes store their x,y,z in a double precision value with many
decimal places. Nodes can be moved in 0.001 incriments, so, in game terrain could be at (for example)
123.684 and the heightmap value is 123 or 122.
(3) It cannot account for meshes within the map, so nodes placed over where a bridge (for example) would be,
will still be on the ground, you will have to manually move them ingame to the correct height.
I cannot correct for this issue, it’s a known limitation, but much better than the original solution
(4) If no height map was loaded, adding nodes will revert to the old behaviour of placing nodes at
one Y level
Added a menu item ‘Fix Nodes Height’, it will scan all nodes and fix the height to the correct values
(if a heightmap was loaded)
Potential fix for blank FileChooser