UBOAT
166 ratings
CourseLine+ - 2024.1
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
547.311 KB
2 Jul, 2024 @ 8:05pm
30 Aug, 2024 @ 5:15pm
8 Change Notes ( view )

Subscribe to download
CourseLine+ - 2024.1

In 1 collection by StuKa
Stuka's Tools
3 items
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
        steamapps\common\UBOAT\ModConfig
        Instructions written in the file.
      • Console reloading temporarily disabled due to issues
Popular Discussions View All (1)
53
8 Oct, 2024 @ 8:29am
Bugs / Mod Conflicts
StuKa
74 Comments
WildKakahuette 27 Jun @ 10:54am 
hey, is their a way to have the arrival date in a normal date format like DD/MM ?
JazzMano 26 Apr @ 11:19am 
Excelent mod, still working well, don't forget to change in the modconfig.txt the date format if you don't like US one:
Exemple: dd/M instead of M/dd
johnson_carl 23 Apr @ 5:08pm 
@Stuka I noticed this at first after starting a new game. I attempted to reload a save and see if it worked there, but it no longer worked there either. It may have first happened around the time of one of the small patches.
StuKa  [author] 22 Apr @ 2:59pm 
johnson_carl was this on an existing save, or a new game?
johnson_carl 20 Mar @ 4:51pm 
Is anyone else having issues getting the courseline to appear when plotting a route? The ruler tool works as intended but the courseline has disappeared but used to work.
LAntorcha 24 Feb @ 12:45pm 
@Stuka i got all your plotting mods installed. They work like charm!

On this topic, i have done some rearching on google for an easy explanation on how to draw a parallel line to a course with our current plot tools. But usually i start making endless circles and lines and get lost in the middle.

Correct me if i'm wrong: I could take an enemy course from 2 separate hydrophone readings, draw the line, pick compass, and make 2 circles betwen 2 closer points with the same distance.

Then where they intersect, draw a parallel course betwen those 2 new points. Isn't it?

Could this kind of tool be done like a moded tool? just asking.

Maybe adding some code to the Line tool (like draw a line and if you press CTRL+something it draws a parallel or a perpendicular new line X distance apart).
StuKa  [author] 8 Oct, 2024 @ 8:32am 
@Unknown_Error: Thanks for reaching out. I believe that manifest error is from Bearings for Map Tools, where somehow I managed to add a second manifest file in an otherwise unused "Bundles" folder. This confuses Uboat, but shouldn't actually be causing any issues aside from that error message showing up.

@Bucketsmith: That's definitely doable, I'm on a bit of a break from working on modding but when time allows, I'll add this in with the next update. Also on the list is an optional ETA on the first leg of a multi-leg route.
Bucketsmith 28 Sep, 2024 @ 6:31am 
Could we get an option to display ETA as ETUA instead? Show remaining time in days hours:minutes.
Unknown_Error 27 Sep, 2024 @ 1:41pm 
Just incase this helps fix the bug noted in the "Known Issues" section:

Found this (after a fresh start - new mods, deleted cache/etc. Basically, like new) at the *very* top of the output_log file - before "Initialized Injection Framework...."


"Encountered an error during loading of the following asset bundle F:\Games\Steam\steamapps\workshop\content\494840\3270955106\Bundles\Manifest.json. The exception will be logged below.
System.IO.InvalidDataException: Asset bundle at path "F:\Games\Steam\steamapps\workshop\content\494840\3270955106\Bundles\Manifest.json" is corrupted.
at DWS.Common.Resources.AssetBundleResource.LoadAssetBundleDescriptorDirectly (System.Boolean simulated, System.String path) [0x00026] in <b1af4135a9894668bb6402e42d51724a>:0"

The workaround works for me it seems, but just incase this has never been spotted + reported before, I thought it best to share.
Helshad 31 Aug, 2024 @ 3:57am 
Seem better with 2.5. Thank you for the update!