UBOAT
77 个评价
[DEPRECATED] UBOAT SOP: Turn On Compressor
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
355.457 KB
2024 年 8 月 30 日 下午 9:17
2024 年 9 月 20 日 上午 8:52
7 项改动说明 ( 查看 )

订阅以下载
[DEPRECATED] UBOAT SOP: Turn On Compressor

描述
THIS MOD HAS BEEN DEPRECATED SINCE VERSION 2025.1 PATCH 11

From 2025.1 Patch 11 patch notes:
- Added a new mechanic with standing orders for the crew, allowing automation of certain tasks. These orders can be toggled on and off in the "Crew" screen under the "Boat" tab. Currently, there are three available standing orders:
---- Air compressor management: When active, the crew will power on the air compressors whenever the reserves are not full.
---- Lighting management: The crew switches to red lights at night, blue lights during a silent run, and normal lights in all other cases.
---- Main exterior hatch management: The crew closes the hatch during rain and rough seas and opens it in all other conditions to improve ventilation.

-----------------------------------

UBOAT Standard Operating Procedures (SOP)
Turn On Compressor

Part of the UBOAT Standard Operating Procedures (SOP) collection.

This mod will have a crewman turn on the compressor under the following conditions:
  • The boat is not alarmed
  • The boat has access to fresh air (surface or snorkel)
  • The tanks are less than 95% full

Does not require a new game. May disable achievements (I don't really know)

Debugging

Before reporting a bug, please make sure of the following:

  • The mod is enabled
  • You have read the conditions under which the mod will work
  • You have checked that no other mods may be interfering
  • You have checked in the file %USERPROFILE%\AppData\LocalLow\Deep Water Studio\UBOAT\output_log.txt that there is a line that reads 'UBOATSOP_TurnOnCompressor Version 2024.1.14.18'

Source Code

Source code is available on Github, here: https://github.com/Andargor/UBOATSOP

NOTE: Any mods on github that have not been released in the Steam Workshop are WORKS IN PROGRESS and may break your game. USE AT YOUR OWN RISK
36 条留言
andargor  [作者] 2 月 23 日 上午 7:26 
This mod is now deprecated, as they have included it in the base functionality in 2025.1 Patch 11
Zero 2 月 16 日 上午 1:34 
This works on 2025.1
andargor  [作者] 1 月 28 日 下午 4:37 
@H3792 Also, make sure that the version number is correct in the output log, check for each mod in Debugging in their description.
andargor  [作者] 1 月 28 日 下午 4:36 
@H3792 I re-re-checked and cannot reproduce what you are experiencing, everything works fine for me, no error messages. I don't know why it's happening for you.
H3792 1 月 28 日 下午 4:22 
Recently tried with no other mods than the SOP mods, kept getting that same line with something about the crew priority mod too. the compressor and pump mod both did not work either
andargor  [作者] 1 月 28 日 上午 6:49 
@H3792 With a quick look at the source, the only thing I can see is if you have a mod that does something with the weather or time of day
H3792 1 月 27 日 下午 10:44 
Hey, just tried running this mod it was not working. checked the log, it appears that another mod may be interfering.
This stood out in the log file:
System.NullReferenceException: Object reference not set to an instance of an object
at UBOATSOP_TurnOnRedLight.DoUpdate () [0x00000] in <1800482102d64258851ca5c9e1e74079>:0
andargor  [作者] 1 月 25 日 下午 5:58 
@leatherneck6017 yes, it checks first for a diesel compressor, and then failing that an electric compressor. I didn't plan on putting options to keep it simple, no UI, no INI files to read, etc.

You could swap the equipment selection on lines 81 and 84 in the code to change it around. The mods are stored in %USERPROFILE%\AppData\LocalLow\Deep Water Studio\UBOAT\Mods and the code for each of my mods is under Source/Main.cs
leatherneck6017 1 月 25 日 下午 5:14 
So on the VII's this default's to the diesel compressor, correct?. Any way to make it prefer electric?
andargor  [作者] 1 月 24 日 上午 10:19 
Verified still working with 2025.1