UBOAT
Оценок: 70
[2024.1] Device Maintenance
2
2
   
Наградить
В избранное
В избранном
Удалить
Размер файла
Добавлен
Изменён
607.534 KB
13 ноя в 18:39
10 дек в 18:08
Обновлений: 3 (просмотреть)

Подпишитесь, чтобы загрузить
[2024.1] Device Maintenance

Описание
Overview:
This mod deals with the maintenance of various devices on board.
Since the technical facilities on submarines in WW II were very sensitive, they often had to be serviced.
Also devices were broken again and again, which then had to be repaired on board during the patrols.

Save game compatible

Functions:
1. Sporadic defects:
At random, various devices on board can become defective. As soon as a device is damaged, the time compression automatically switches to x1.
The failing devices range from gyro compass, motors, ventilation, compressor and much more to simple lightbulbs.

2. Equipment maintenance:
Individual devices on board must be regularly serviced according to a maintenance plan.
A random principle is built into this too, so that this does not always work the same way.
This is how it behaves individually on every patrol. Devices to be serviced are e.g. diesel engines, bilge pumps and much more.
A pending maintenance is indicated by a message (see screenshot). No spare part is required for maintenance.
Maintenance can be carried out using an icon (see screenshot) on the respective device.
The mechanics then automatically carry out maintenance on board after pressing the icon.
It should be noted here that the mechanics repair function is programmed in the crew management as in the standard vanilla. If you would do it manually with a mechanic, you can do this (after using the maintenance symbol!), via the wheel menu of the device concerned with the tool symbol (no spare part is required).
If the maintenance is not carried out, the device will become defective after a while (this time happens to be between 5 and 45h).

3. Storm damage:
Equipment installed on the deck can be damaged in a storm.

4. Overload diesel engine:
After a longer AK drive (gear 5) of the diesel engine, it must also be serviced immediately.
This is indicated by a message.
If this maintenance is not carried out, the diesel engine will be damaged.

5. Hard Mode:
Additional functions with HardMode:
- The maintenance must be carried out more often than in standard mode.
- During normal diving processes there is a 30% chance (per dive) that devices can become defective at a random depth (without enemy influence). This also makes it a little more interesting with normal dives ;)
The hard mode is deactivated by default and can be activated via the MODConfig.xlsx file (to be found in the MOD folder "C:\Program Files (x86)\Steam\steamapps\workshop\content\...").

Please note:
Because at the beginning of a campaign the skill for the engineer does not yet exist to produce spare parts from scrap.

Please do not forget to store enough spare parts on board. For a normal patrol, the spare parts already on board in the standard Vanilla Game (first mission) should be sufficient.
However, this does not apply to additional damage caused by e.g. depth charges....;)

Credits:
Translation in English, German, Polish (by @Kamillo884), Russian (by @Hard), Turkish (by @Tokyo) and French (by @ii)
Популярные обсуждения Просмотреть все (1)
0
1 дек в 9:37
Bug Reports
sq_paradox
Комментариев: 19
Bana 18 дек в 23:58 
Hello,
Love the mod, thank you !
I have custom actions enabled, yet every maintenance "action" instantly break the part.
Is it how it's supposed to work ?
Thanks !
Grisen Din 11 дек в 4:46 
Bilge pump is fixed, thanks alot!
sq_paradox  [создатель] 10 дек в 18:16 
That's fixed.
But the "try to do maintenance but get damage instead" bug is likely still there.
I know what code is doing this, I just don't know why. I've asked Alligator about what that code is supposed to do, but it may take him some time to get back to me.
sq_paradox  [создатель] 10 дек в 15:37 
@DARKNESS
Yeah, that would do it.
DARKNESS 10 дек в 13:27 
Just a guess here, but could the problem with the bilge pump instantly breaking be due it not having a time to damage value like the other examples have? (look around line 554)

Missing Example:

if ((maintenanceModifier.Value + timeToDamage) == (float)(hoursOnSee))


Hopefully sq_paradox can take a look this.
Grisen Din 10 дек в 7:45 
I also have the instant death of the bilge pump when i get the mainentance notification, please fix it. Great mod otherwise
Thinkflight 2 дек в 11:02 
Any chance we could get a update to this that would allow me to perform maintenance on specific item at times I wish instead of having to wait for the pop up to happen? I've had this trip a few times now at critical times and it would be nice to do maintenance before hand on critical systems so they say the electric engines don't require maintenance right after I engage a convoy (which has happened a few times now.)
1upAviator 1 дек в 6:17 
Had the "bilge pump requires maintenance" pop up, so I waited around for a few minutes before trying to perform the maintenance but was still forced to repair the pump for the cost of a part.

Without knowing anything about how UBOAT handles health of objects, is there a timer that's being ignored when RNG maintenance occurs? Expected behavior is for the timer (probably in thousands of ms) to run until "0", then the "damage.part[object]" method gets called? I'm wondering if the timer (or whatever mechanism you're using) isn't functioning properly.
Airplayn 22 ноя в 15:08 
My deck gun just stops working and I can't assign anyone to it. I try to send a mechanic to fix it or maintain it but all he can do is operate it. HOW DO YOU MAINTAIN A DEVICE when it stops working? I have spare parts but I don't see any "maintenance symbol" on anything. I uninstalled the mod and now my deck gun still doesn't work, it flashing on and off, I guess I'll delete my Cache, etc.
Shadowvale 20 ноя в 12:16 
Ah ok. I only had the mod for a few days before the update so maybe that’s why I didn’t notice it before. Ok. I’ll try to give a little more delay before I do it. Awesome mod though. Adds a lot more immersion and interesting elements to the game