Barotrauma

Barotrauma

Not enough ratings
Crush Depth Calculator V2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
42.105 KB
May 14, 2024 @ 10:53pm
Jun 5, 2024 @ 2:34am
3 Change Notes ( view )

Subscribe to download
Crush Depth Calculator V2

Description
Summary:

This item assembly will calculate the crush depth of a submarine for informational and utility purposes.

At a connected terminal, simply type "Hull X" where X is the submarine's current hull upgrade level.


Changes you may need to make:

If your submarine is a deep diver, go to the Memory component that is colored magenta and change its value from "1" to "1.2". This change will reflect your submarine's ability to go 20% deeper than normal submarines. This is no longer necessary as of 9/2/22.

If you don't want to capitalize the H in "Hull", make the H lowercase under the "expression" section of the RegEx component.

Not sure how well localization will work. There may be an issue with it in different languages.


Explanation of how it works:

Using the formula provided by the wiki: crush depth is calculated as 3500 * (1 + 0.14 * Upgrade Level). - Retrieved and verified 5/14/24.

This formula is replicated using the components in the order of operations.

The RegEx component will identify the command "Hull" and will put the number you type after it into the "Upgrade Level" of the above formula.

Memory components will ensure that the value is retained throughout your campaign and can be modified as you progress.


Uses:

This is mainly used as a way to provide the crew with information about the submarine's current limits and can be used as part of a warning system.

A alarm/warning system may be created much like in the example provided in this assembly.

Attaching the output of the Signal Out 1 to the Signal 2 of a Greater component and connecting Position Y from the Navigation Terminal to Signal 1 on the Greater component.

Connect the output of the Greater component to any alarm or siren's Set State and it will sound off should the current depth meet or exceed the crush depth.

You can also connect an Add or Subtract component and a Memory component to adjust the alarm to sound off sooner.