CourseLine+ – 2024.1

If you liked this item, please rate it up on Steam Workshop page.

Author: StuKa

Last revision: 31 Aug, 2024 at 00:15 UTC

File size: 547.31 KB

On Steam Workshop

Description:

Adds bearings and more to the ship’s course lines.

KNOWN ISSUES:

  • On starting a new game the course lines will not be rendered at all.
    Workaround:

    Save and restart the game client. Reloading the save directly will not solve the issue. Everything should work as expected from there.

    All efforts to solve this problem have failed, it is apparently not an issue of when the patch occurs. Unless new information comes to light, I have no further leads to investigate and this bug will persist.

To clarify the differences between this and my Bearings for Map Tools mod:

Bearings for Map Tools adds bearings to the ruler, compass, and protractor tools. CourseLine+ adds bearings to the course / route lines created by right clicking a destination on the map.

You will see the bearings on these lines shift as you move. This is because navigating with the the course lines navigates to a destination, not a compass bearing. It automatically adjusts your course as the ocean pushes you around, and you’ll now see that reflected on the lines.

Save game compatible.

Update Log
    2.5
  • Fix for broken course line and NullReferenceExceptions when loading a save where your boat is docked. A side effect of this is that it may take slightly longer for the ETA and total distance to show once you undock. Temporarily, while I further investigate the root cause, the last leg will not show total route distance while docked. Once I’m confident there are no errors caused by this, it will be renabled.
  • Fix for total route distance errors in logs that occurred when creating a new course where you previously had none. (Docked, reached destination, manual steering).
    2.4
  • Substantial rewrite of update 2.0 which should fix all major issues with the update. The ETA will now update more consistently – any time the route updates due to distance changes the ETA, speed, and total route distance will also update. The code is a lot more ‘safe’, in that most bugs that would have previously broken the renderer and required a restart should now be recoverable.
    2.3
  • Better fix for the ‘dock bug’. This was caused by dividing route distance by speeds below 1.0 km/h leading to huge ETAs that were breaking C#s time functions. For the time being the max ETA that will be displayed is 10k hours out. Also if your boat speed is truly 0, the ETA will disappear until you have a positive speed. Most of the time you are drifting above a true 0 speed even if the telegraph reads 0, but it does happen.
    2.2
  • Fix for the line breaking when setting a course while docked. ETA will not show while you are docked. It will update shortly after leaving, or if you reset the course after undocking.
  • Temporary fix for Telegraph speed display breaking after reaching a destination. For now the ETA and speed will not update as often as intended.
    2.1
  • Label spam when attempting an invalid intercept course should be fixed.
    2.0
    New Features
    • Total route distance label on final leg.
    • ETA to destination on final leg with speed. The ETA updates with changes to distance and speed.
    • Configuration Options
      • Adds my ConfigManager similar to Timestamped Markers.
      • Almost all options can be configured. Pretty much everything can be toggled or tweaked. Distance, ETA, date, speed, formatting. Likely more to come.
      • After launching to the menu the first time, the config can be found in
        steamappscommonUBOATModConfig

        Instructions written in the file.

      • Console reloading temporarily disabled due to issues