UBOAT
[2025.1] DeepLeaks
 This topic has been pinned, so it's probably important
katamshut  [developer] 21 Feb @ 5:34pm
Configure Mod By Yaml (Text Editor)
If you subscribe to the mod you probably don't want to configure anything. The mod by default set arcade game style values which are less realistic but more fun. In case you feel to change those values you have 2 options:
  • Switch to a realistic preset
  • Customize the mod parameters as you wish.

Both you can do by navigating to the mods folder and open DeepLeaksConfig.yaml with a text editor of your choice and follow the instruction in the file. Before you start editing those values, you might wanna have a look at Leak Probability Chart to understand how DeepLeaks calculates. The config file is located here:

Steam\steamapps\workshop\content\494840\3383792611\DeepLeaksConfig.yaml

You can check in game what configuration is active and double check if your changes are applied by activate DeepLeaks Status on the trim pump interaction wheel like shown here:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3431857364&fileuploadsuccess=1

Create a backup before you change the values. Once you have changed values keep a copy of the file outside that folder, it will be overwritten on mod updates.

Values and description
General Mod Values
Property
Description
Default
enabled
Enables the yaml configuration. If set to false, the excel config file will be read instead (not recommended)
true
presetSelection
Set the value to either 'arcade', 'realistic' or 'custom'. Only 'custom' will read and set the detailed submarine config values.
arcade
development
Set this value to 'true' to see additional deepleaks and uboat values used for calculation while hovering over hatches or trim pump. Only use this when you have an issue or you want to check values. It is not guaranteed that I will implement mod special behaviour when activated since I use this to develop the mod.
false
loglevel
Set this value to 'debug' to receive more information inside the 'ouput_log.txt'.
info

General Game Values
Property
Description
Arcade
Realistic
rebreatherDurability
Value Between 1 and 10. 1=Vanilla, 3=3 times longer.
3
2
noiseBolts
Amount in decibel of noise generated by this sound. With realistic you have to know that this will reveal your position quite fast.
60
120
noiseRepairsSmall
Amount in decibel of noise generated by this sound.
30
60
noiseRepairsHeavy
Amount in decibel of noise generated by this sound.
40
85
featurePressureHatches
Enables or disables the interior hatches feature (values: false = Disabled, true = Enabled)
false
true
featureDismantelParts
Enables or disables dismanteling of equipment feature (values: false = Disabled, true = Enabled)
true
true

Submarine values
Displayed values are for the type TypeVIIC. For other types check the data sheet.
Property
Description
Arcade
Realistic
minPressureLeakDepth
The depth from which on the mod starts to operate. From here all the below parameters are considered. Above this depth, DeepLeaks will not do anything.
120
130
maxPressureLeakDepth
The depth from which on all leaks will have a 100% probability. Don't be fooled by this value. You'll never reach this depth alive since leaks will appear exponentially.
450
310
maxTrimPumpDepth
The maximum depth the trim pump is operational. After this depth is reached it switches to manual trimpump mode.
280
155
manualTrimPumpModifier
The manual trim pump value (must be between 0 and 100). If you set it to 0, there will be no more trim pump performence at all. It is an abstract value which is here to be modified if needed. The actual performance depends on the depth and your trimpump config from Vanilla or other mods.
40
5
leakPipePowerModifier
Power value that curves the probability line (must be a value between 1 and 20). 1 would be a linear probability from minPressureLeakDepth to maxPressureLeakDepth. Higher numbers will delay the leak probability to a deeper depths.
1.5
2
leakHatchPowerModifier
dito
3
4
leakHolePowerModifier
dito
14
14
leakPipeConsumesParts
Needs repair parts to fix (value false or true).
false
false
leakHatchConsumesParts
dito
true
true
leakHoleConsumesParts
dito
true
true
Last edited by katamshut; 8 Jun @ 10:02am
< >
Showing 1-3 of 3 comments
katamshut  [developer] 21 Feb @ 5:42pm 
This is the current version of the Yaml file:

# ██████ ███████ ███████ ██████ ██ ███████ █████ ██ ██ ███████ # ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ # ██ ██ █████ █████ ██████ ██ █████ ███████ █████ ███████ # ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ # ██████ ███████ ███████ ██ ███████ ███████ ██ ██ ██ ██ ███████ # Once happy with you custom values make a copy of the file (it probably gets overwritten when the mod updates itself). # See details and limits for the values here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/discussions/3383792611 enabled: false # set this value to true to activate this config instead of the DeepLeaksConfig.xlsx config file presetSelection: custom # Use "custom" to use the values in this file or "arcade" or "realistic" for presets. # ██████ ██ ██ ███████ ████████ ██████ ███ ███ # ██ ██ ██ ██ ██ ██ ██ ████ ████ # ██ ██ ██ ███████ ██ ██ ██ ██ ████ ██ # ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ # ██████ ██████ ███████ ██ ██████ ██ ██ custom: rebreatherDurability: 2 # arcade: 3, realistic: 2 noiseBolts: 120 # arcade: 60, realistic: 120 noiseRepairsSmall: 60 # arcade: 30, realistic: 60 noiseRepairsHeavy: 85 # arcade: 40, realistic: 85 featurePressureHatches: true # arcade: false, realistic: true TypeIIA: minPressureLeakDepth: 90 # arcade: 100, realistic: 90 maxPressureLeakDepth: 220 # arcade: 280, realistic: 220 maxTrimPumpDepth: 145 # arcade: 220, realistic: 145 manualTrimPumpModifier: 5 # arcade: 40, realistic: 5 leakPipePowerModifier: 1.5 # arcade: 1.5, realistic: 1.5 leakHatchPowerModifier: 3 # arcade: 3, realistic: 3 leakHolePowerModifier: 14 # arcade: 14, realistic: 14 leakPipeConsumesParts: false # arcade: false, realistic: false leakHatchConsumesParts: true # arcade: true, realistic: true leakHoleConsumesParts: true # arcade: true, realistic: true TypeIID: minPressureLeakDepth: 100 # arcade: 110, realistic: 130 maxPressureLeakDepth: 240 # arcade: 290, realistic: 260 maxTrimPumpDepth: 145 # arcade: 220, realistic: 145 manualTrimPumpModifier: 5 # arcade: 40, realistic: 5 leakPipePowerModifier: 1.5 # arcade: 1.5, realistic: 1.5 leakHatchPowerModifier: 3 # arcade: 3, realistic: 3 leakHolePowerModifier: 14 # arcade: 14, realistic: 14 leakPipeConsumesParts: false # arcade: false, realistic: false leakHatchConsumesParts: true # arcade: true, realistic: true leakHoleConsumesParts: true # arcade: true, realistic: true TypeVIIB: minPressureLeakDepth: 120 # arcade: 120, realistic: 120 maxPressureLeakDepth: 310 # arcade: 350, realistic: 310 maxTrimPumpDepth: 145 # arcade: 260, realistic: 145 manualTrimPumpModifier: 5 # arcade: 40, realistic: 5 leakPipePowerModifier: 2 # arcade: 1.5, realistic: 2 leakHatchPowerModifier: 4 # arcade: 3, realistic: 4 leakHolePowerModifier: 14 # arcade: 14, realistic: 14 leakPipeConsumesParts: false # arcade: false, realistic: false leakHatchConsumesParts: true # arcade: true, realistic: true leakHoleConsumesParts: true # arcade: true, realistic: true TypeVIIC: minPressureLeakDepth: 130 # arcade: 130, realistic: 120 maxPressureLeakDepth: 320 # arcade: 360, realistic: 320 maxTrimPumpDepth: 155 # arcade: 260, realistic: 155 manualTrimPumpModifier: 5 # arcade: 40, realistic: 5 leakPipePowerModifier: 2 # arcade: 1.5, realistic: 2 leakHatchPowerModifier: 4 # arcade: 3, realistic: 4 leakHolePowerModifier: 14 # arcade: 14, realistic: 14 leakPipeConsumesParts: false # arcade: false, realistic: false leakHatchConsumesParts: true # arcade: true, realistic: true leakHoleConsumesParts: true # arcade: true, realistic: true TypeVIIC41: minPressureLeakDepth: 150 # arcade: 150, realistic: 150 maxPressureLeakDepth: 350 # arcade: 400, realistic: 350 maxTrimPumpDepth: 155 # arcade: 280, realistic: 155 manualTrimPumpModifier: 5 # arcade: 40, realistic: 5 leakPipePowerModifier: 2 # arcade: 1.5, realistic: 2 leakHatchPowerModifier: 4 # arcade: 3, realistic: 4 leakHolePowerModifier: 14 # arcade: 14, realistic: 14 leakPipeConsumesParts: false # arcade: false, realistic: false leakHatchConsumesParts: true # arcade: true, realistic: true leakHoleConsumesParts: true # arcade: true, realistic: true
Last edited by katamshut; 21 Feb @ 6:24pm
RomanTro 15 Apr @ 3:25am 
I can’t install a realistic mode on the custom, as if I did not change the pre -installations in the mod file. In the game, he always writes that Arkada is standing. What to do, tell me, please ...
TANDAVA 11 May @ 7:55am 
Originally posted by RomanTro:
I can’t install a realistic mode on the custom, as if I did not change the pre -installations in the mod file. In the game, he always writes that Arkada is standing. What to do, tell me, please ...
Открываешь Блокнотом файл по адресу:
Steam\steamapps\workshop\content\494840\3383792611\DeepLeaksConfig.yaml
Находишь в начале строки:
enabled: true # set this value to true to activate this config instead of the DeepLeaksConfig.xlsx config file presetSelection: realistic # Use "custom" to use the values in this file or "arcade" or "realistic" for presets.
Такие значение и должны стоять в обоих строках. Сохраняешь файл. Всё.
Last edited by TANDAVA; 11 May @ 7:55am
< >
Showing 1-3 of 3 comments
Per page: 1530 50