UBOAT
63 个评价
[2025.1] Upgrade DepthMeter
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
174.091 KB
9 月 16 日 上午 9:58
10 月 21 日 上午 6:16
5 项改动说明 ( 查看 )

订阅以下载
[2025.1] Upgrade DepthMeter

描述
This mod (savegame compatible) improves the submarine's behavior when diving/surfacing, improves the submarine's behavior when crash diving/surfacing, and makes the boat's buoyancy negative when the boat is stationary.

Now more details about each function:

Crash Dive
Now, during an crash dive, the boat's buoyancy will decrease (negative tank) and there will be a strong trim to the bow.
If desired, these parameters can be adjusted in the mod's “Config” file.

Parameters for adjustment:
CrashDiveNegativeTankMassVII - Negative Tank mass of Type VII boats
CrashDiveNegativeTankMassII - Negative Tank mass of Type II boats
CrashDiveTrimVII - trim adjustment for Type VII boats
CrashDiveTrimII - trim adjustment for Type II boats

Surfacing/Emergency Surfacing
Now, when surfacing or emergency surfacing, the boat will have a trim to the stern. If desired, these parameters can be configured in the “Config” mod file.

SurfaceTrimVII - trim adjustment for Type VII boats
SurfaceTrimII - trim adjustment for Type II boats

Negative buoyancy of the boat in “Stop” mode
With the default settings of the mod, boats of type II/VII will begin to sink at depths greater than 60 meters if both motors are in stop mode. Therefore, it is important that the boat is always in motion.
If you don't like this feature, you can disable it or customize it to your liking.

MaxStopDepthVII - the depth at which a type VII boat in “stop” mode will begin to sink
MaxStopDepthII - the depth at which a type II boat in “stop” mode will begin to sink
StopMassVII - mass added to type VII boat mass to make it sink (to disable the negative buoyancy function of the boat in “Stop” mode, simply set it to zero (it should look like this: StopMassVII = 0f;))
StopMassII - mass added to type II boat mass to make it sink

Fixed uboat bouncing
Fixed uboat bouncing on the water as much as possible

Seawater seepage
Added an increase in natural water influx when diving deeper than 200 meters. This feature only works when the "Realistic Bilge" setting is enabled.
This functionality can be customized. The Config file contains two parameters:
DeepDepthThreshold = 200f; (depth at which the increased water influx begins)
DeepDepthMultiplier = 2.0f; (multiplier for the amount of water that will enter the boat)

Diving/Surfacing
Has been added boat trim (about 10 degrees) when the difference between the target and actual depth is more than 8 meters

This functionality can be customized. The Config file contains next parameters:
DiveTrimVII = 0.35f; - trim adjustment for Type VII boats (Dive)
DiveTrimII = 0.7f; - trim adjustment for Type II boats (Dive)
SurfaceTrimVII = -0.3f; - trim adjustment for Type VII boats (Surface)
SurfaceTrimII = -0.5f; - trim adjustment for Type II boats (Surface)
75 条留言
Xryas  [作者] 10 月 21 日 上午 6:13 
my code was tied to depth presets. But I did not take into account that the use of ballast valves also affects the depth change to some extent. It would not be easy to edit it, so I changed the logic in general.

As a result, a bonus will appear in the update: now the boat changes trim not only during crash diving (hooray, there are many more bugs with the boat's trim breaking))), but also during the usual depth change (around 10 degrees, while crash dive is 15-20 degrees)

I really hope that this will solve the problems that have arisen before
Xryas  [作者] 10 月 20 日 下午 11:35 
I found the reason why the boat starts to trim underwater when it's not expected.
I'll fix it soon

I hope this will finally solve the problems
Mihono Bourbon 10 月 19 日 下午 4:37 
@Q4ZS your not the only one having that problem
Q4ZS 10 月 19 日 上午 11:43 
anyone else not having the sub level out underwater now?
Strelok 10 月 19 日 上午 8:39 
wait so is it fixed?
Xryas  [作者] 10 月 19 日 上午 4:53 
The functionality to hide the depth gauge arrow has been disabled, as it will be used in another mod
Xryas  [作者] 10 月 17 日 上午 3:55 
@Donny Donowitz the depth is indicated at the bottom of the dial (both during and after depth selection)
Donny Donowitz 10 月 16 日 下午 1:56 
but how do i input the depth i want to go?
Kras 10 月 12 日 下午 7:10 
This is the mod location if you want to edit the config file, in case anyone is interested

SteamLibrary\steamapps\workshop\content\494840\3569325773
EriTainment 10 月 12 日 上午 10:30 
I'd like to see a video of this mod in action.
Perhaps the modder could record us something nice and put it on here? :)