Skip to content

v0.2.0 · Backing & Lane Prediction: forward lane dots

Choose a tag to compare

@robertBojor robertBojor released this 18 Oct 12:14

Reverse Overlay - Guide Lines - ATS is now Backing & Lane Prediction - ATS. Same Workshop item, same plugin file (ats_reverse_overlay.dll), same settings. It now helps with lane position as well as reversing.

What's new

  • Forward dots for lane position. In any forward gear, two square dots appear on the road where your truck's front corners will be about 1.5 s from now: 🟥 red = front-left, 🟩 green = front-right. They are at least 6 m ahead when slow or stopped. Keep red inside the left lane line and green inside the right one. Steering is smoothed so the dots stay steady at speed. Trailers are ignored, because they follow inside the truck's path.

  • Ctrl+Shift+F9 now cycles what is shown. Each press moves to the next mode (only while the game window has focus):

    Press Shows
    1st Forward dots only
    2nd Reverse lines only
    3rd Both: dots in a forward gear, lines in reverse
    4th Nothing

    The mode is remembered between sessions; the very first start is on Both. Another key can be set under [hotkey] in the settings file.

  • New [forward] settings: look-ahead time, distance limits, dot size, dot height and steering smoothing. All of them apply while you drive.

  • Removed: the optional top-down panel. The plugin no longer hooks DirectX at all.

Updating from 0.1.0

  1. Update the mod as well as the plugin. The new plugin needs the dot models. Use the new Workshop version once Steam updates it, or copy optional/ats_reverse_overlay.scs from this zip into Documents\American Truck Simulator\mod\ (use one or the other, not both). With an old copy of the mod, the reverse lines still work but the dots are missing, and the log says "Could not create /model/rto_guides/dot_red.pmd".
  2. Exit the game, unblock the zip (right-click → Properties → Unblock), extract it and run Install.bat. It replaces the DLL in place.
  3. Your ats_reverse_overlay.ini is kept. To see the new commented [forward] section, delete the file and the game writes a fresh one.

New installation

  1. Models: subscribe to Backing & Lane Prediction - ATS on the Steam Workshop, or copy optional/ats_reverse_overlay.scs into Documents\American Truck Simulator\mod\.
  2. Plugin: exit the game, unblock and extract the zip, run Install.bat.
  3. Start ATS, accept the advanced SDK features notice, enable Backing & Lane Prediction - ATS in the Mod Manager, and drive. Press Ctrl+Shift+F9 to choose what is shown.

The full user guide is also in the zip as User_Guide.md. All changes: CHANGELOG.md.

Compatibility

  • Built for ATS 1.61, Windows x64. The plugin locates the game functions it needs by pattern; the log tells you whether it found them.

Known limitations

  • The DLL is not code-signed yet. Windows Smart App Control or antivirus software may block or flag it. See Windows security.
  • Hills: the game doesn't report the road surface ahead, so the dots continue the slope the truck is on. Before a crest they can float; where the road starts to climb they can briefly sink out of sight.
  • Truck and trailer body sizes aren't reported by the game; width and overhang are estimated from wheel positions.
  • Don't use together with "Reverse Posture Assistant", which hooks the same part of the game.

Checksums (SHA-256)

0291b6745ffc802527488af7a3805fbf90de0efb3e59d5eee8320014b1ecd328  Backing_Lane_Prediction_ATS_v0.2.0.zip
a3299df2cafa67d9ecf3f8b3fe8d8ed58b27dba31bcebe05c48c85863e76b322  ats_reverse_overlay.dll

Credits: in-world drawing technique and base line model from Reverse Posture Assistant For ATS by yyysheng (MIT).