UBOAT
Not enough ratings
Weather Bound Deckgun
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
251.602 KB
17 Nov, 2024 @ 3:39pm
20 Nov, 2024 @ 3:39pm
3 Change Notes ( view )

Subscribe to download
Weather Bound Deckgun

Description
Description
Disables the deckgun in stormy conditions.
It can be enabled/disabled any time in your playthrough. No new game required.

How does it work?
This script checks how much water is on the deck of the U-boat. At a certain amount, the deck gun gets disabled for 15 seconds. If the water washes over the deck again within this time, the timer will reset. The script differentiates between the Type II and Type VII U-boat.
The anti-aircraft guns on the Type VII, which are placed on the conning tower, will not be affected by the script and can always be manned.
15 Comments
urseus 11 May @ 3:20am 
All these mods and I always end up just eyeballing and using Head Cannon to say, if there is water on the deck, cant risk men on it. And also, cant run above slowest speed.
Kraft ☢ Squad 4 Apr @ 12:25pm 
Ill give it a go and have a look, thanks
MaGlas  [author] 4 Apr @ 8:59am 
@Kraft you can tweak the amount of water-level that is required to throw you out of the gun, by editing following file:
\Steam\steamapps\workshop\content\494840\3367790887\Source
ModifyUseGun.cs

the line you have to edit:
private const float disableThreshold = 0.6f; // Schwellenwert für die Deaktivierung

The higher the number, more water is required to throw you out.
I would stay below 1.0 or the mod is pretty useless.
Kraft ☢ Squad 3 Apr @ 5:00pm 
unfortunately it is way too restrictive, on a clear day, nearly no waves no wind but I get kicked off the gun every 1 or 2 shots. Even when visually no water is washing over it gets locked. If it were a little less restricted this mod would be amazing but as it stands, it just makes the deckgun too unusable.
ROcket CrAzy 19 Feb @ 11:50pm 
I mean gunning while water washes onto the deck is not that cool.

Maybe add where if the waters are very bad it can sweep people and overboard them.
there can be a hesitation from sailors if they are too scared to go on the deckgun if its too water washed and sometimes cowardice cases.

If a man goes overboard the deckgun by sailors [not including leading officers] a sailor who is also helping the leading officer can make a cowardice case and will go back inside due to water washing and the man overboardment.
Airplayn 26 Jan @ 8:14pm 
Great idea but it seems almost impossible to get a true sea state independent of wind speed. Too bad. It's back to the honor system.
Baller 22 Dec, 2024 @ 6:24pm 
@MaGlas no issue mate. I’ve had it in since you posted it and it’s a great mod. I love it. I mean, you can only do so much with what the game provides right.
Ethrigger 3 Dec, 2024 @ 4:16pm 
I think there should be more leniency with the disable mechanic, I really like the idea of the mod but I dont believe a slight spray and 1 inch of water over the deck would make the crew let go of the deck gun.
Wodan 30 Nov, 2024 @ 1:46pm 
Honestly? it needs a mod? Even Silent Hunter 3 deactivates the deck cannon when the waves wash over the deck, and you don't need a mod for that.
sleels 29 Nov, 2024 @ 5:07am 
Amazing! I try to do this by the honor rule, but sometimes we bend reality.. so thank you!