UBOAT
71 ratings
Advanced Course and Depth Control
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
902.082 KB
15 Jan @ 5:28pm
7 Feb @ 4:28am
9 Change Notes ( view )

Subscribe to download
Advanced Course and Depth Control

Description
Allows for better course and depth control with the help of hotkeys.

The following is already implemented:

More granular course adjustments
If you hold down the shift key, clicking the Course Change 90° button will initiate a 45° turn instead.
Holding down the control key will result in a 5° turn.
And finally, if you hold down both shift and control at the same time, the course will be adjusted by 1°.

Hotkeys for course changes
You can now use the arrow keys to adjust your course. Left arrow for 90° port, right arrow for 90° starboard, up arrow for rudder amidships, and down arrow for a 180° course change.
These work in conjunction with the course adjustment hotkeys, so shift + left arrow will change your course by 45° port, and so on.
You can disable these hotkeys by pressing control + capslock. This will act as a toggle.

Hotkeys for depth changes
While holding the control key, press F to increase your depth by 5m. Holding shift alongside control will change that to 1m. Pressing R instead of F will likewise decrease your depth.
Holding control and pressing both R and F will keep the current depth. (currently bugged, sorry)
Increasing depth while on the surface will flood the tanks, and going to 0 depth will blow them.
Holding control and pressing P will put you to periscope depth, while holding control and shift and pressing P will set your depth to 20m.
Holding control and pressing C will initiate Crash Dive when you're surfaced, or initiate a dive to maximum depth when you're submerged.

[EXPERIMENTAL]: Torpedo Launch Hotkey
Holding control and pressing space will launch the torpedo from the periscope UI, as if you had pressed the "Los" button. Currently only works when the UI is open, I'm looking into bypassing that.




This is fully save game compatible and will uninstall cleanly.


Planned Features
(currently not being actively worked on, sorry!)
  • I want to add an UI element, like a text box, to the compass that allows you to enter a specific course. That way you could enter "313.3" into the compass using your keyboard to set a precise course to 313.3°.
  • I'm thinking of implementing a "keep 5 m off sea floor" feature.
  • I want to add an alternative dive schedule, where the boat dives to 50m while it's active, instead of just periscope depth.
  • Hotkeys for the engine presets and the rudder.
  • Hotkey for emergency ballast blowing.

Please leave a comment if you feel like something needs changing!
71 Comments
Drexack  [author] 15 Oct @ 1:02pm 
I will most likely update the mod once 2025.2 releases, so anyone who has made any changes to the code (like custom keybindings) probably wants to make a backup before those changes get overwritten.
Unless I'm feeling particularly invested, I won't be changing any functionality.
johnsmithee 2 Sep @ 11:39am 
Exactly what I was looking for. Missed the rudder commands of SH5.
Vangheist 15 Jul @ 3:47pm 
thanks for leaving the CS files in an editable/understandable format, I changed the ctrl+shift+p depth to 25m because at 20m it still traps a watch officer and a crew member on the periscopes.
web31 13 Jul @ 3:03am 
web31 Just now
Implementing a "keep 5 m off sea floor" feature would be amazing. I have scraped the barnicals off the hull my uboat so many times it shines. I get it. Modding for free and getting nothing but complaints would burn out anybody. I want you to know that there are many of us who love your work. Thank you.
Drexack  [author] 20 Jun @ 4:39pm 
@kaster21
Most likely not before the end of this year.
The rest depends on whether 2025.2 revives my interest in (modding) this game.
Sorry!
kaster21 20 Jun @ 2:32pm 
When are you going to implement the planned features?
Drexack  [author] 17 Apr @ 1:10pm 
@Phase
I hadn't thought about that, that's a good idea. I'll put it on the list, though I'm currently not able to actively work on it, so it might take a while until I'll add that. Thank you for the suggestion.
Phase 17 Apr @ 10:33am 
Is there or will there be a feature to do an emergency surface?
TangoHotelCharlie 22 Mar @ 6:20am 
Ein absolutes Meisterwerk :honor:
Dufti 19 Mar @ 10:16am 
Sehr gut:steamhappy: