Pumps: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
m (fixed image)
(Fixed pump input values (tried newlines in connection hover))
Tag: visualeditor
Line 16: Line 16:
}}
}}
The '''pump''' is an [[:Category:Installations|installation]] found in ''[[Barotrauma]]''. It is used to pump water out of or into the [[Submarine|submarine]].
The '''pump''' is an [[:Category:Installations|installation]] found in ''[[Barotrauma]]''. It is used to pump water out of or into the [[Submarine|submarine]].
==Function==
==Function==
The pump's primary function is to filter water in its given area. By using the pump, a small menu will appear in which the player is able to manually activate/disable the Pump and modify both the direction the water is being pumped into and the speed at which it is being pumped. For instance, setting the pump slider towards IN will cause water to flood into the Submarine, while dragging the slider towards OUT will pump water out of the area. The slider can be adjusted to regulate the Speed at which the Pump interacts with Water.
The pump's primary function is to filter water in its given area. By using the pump, a small menu will appear in which the player is able to manually activate/disable the Pump and modify both the direction the water is being pumped into and the speed at which it is being pumped. For instance, setting the pump slider towards IN will cause water to flood into the Submarine, while dragging the slider towards OUT will pump water out of the area. The slider can be adjusted to regulate the Speed at which the Pump interacts with Water.
Line 25: Line 24:


As of the Steam Release, the normal Pump is often used as part of the Ballast, and linked with the [[Navigation Terminal]] to automate the process, while the Small Pumps are used in Airlocks and spread throughout the Submarine, and may be linked with a [[Water Detector]] to automate its use, or require manual interaction.
As of the Steam Release, the normal Pump is often used as part of the Ballast, and linked with the [[Navigation Terminal]] to automate the process, while the Small Pumps are used in Airlocks and spread throughout the Submarine, and may be linked with a [[Water Detector]] to automate its use, or require manual interaction.
==GUI==
==GUI==
[[File:Pump GUI.png||417x417px]]
[[File:Pump GUI.png||417x417px]]
==Connection Panel==
==Connection Panel==
{{Connection panel
{{Connection panel
Line 41: Line 38:
| input4tt = Sets the speed of the pump to the received value. The value is clamped between -100.0 and 100.0.
| input4tt = Sets the speed of the pump to the received value. The value is clamped between -100.0 and 100.0.
| input5 = set_targetlevel
| input5 = set_targetlevel
| input5tt = Sets the target water level in the room to the received value. 0.0 means that the pump will try to empty the room completely, 50 means that it will try to fill the room half way and 100.0 means that it will try to fill the entire room with water. The value is clamped between 0.0 and 100.0.
| input5tt = Sets the target water level in the room to the received value. This is clamped to the following limits:
-50 meaning drain completely.
0 meaning fill to 50%
50 meaning fill to 100%
}}
}}
==Trivia==
==Trivia==
*Pumps are often used in real life to filter water in and out of submarines. This is done to make the ship heavier or lighter based on whether the ship is diving or raising. Rooms dedicated to this purpose are called ballasts.
*Pumps are often used in real life to filter water in and out of submarines. This is done to make the ship heavier or lighter based on whether the ship is diving or raising. Rooms dedicated to this purpose are called ballasts.
** This system is reflected in the official submarines included with ''Barotrauma'', where the ships will automatically pump water into and out of the ballast based on which direction of the Y-axis the submarine is heading.
** This system is reflected in the official submarines included with ''Barotrauma'', where the ships will automatically pump water into and out of the ballast based on which direction of the Y-axis the submarine is heading.
==Audio==
==Audio==
<gallery widths="280" heights="150">
<gallery widths="280" heights="150">
File:Pump Track.ogg|Pump pumping loop
File:Pump Track.ogg|Pump pumping loop
</gallery>
</gallery>
==Gallery==
==Gallery==
<gallery widths="250">
<gallery widths="250">
Line 60: Line 57:
File:Small Pump.png|Legacy Small Pump.
File:Small Pump.png|Legacy Small Pump.
</gallery>
</gallery>
{{Installations nav}}
{{Installations nav}}

Revision as of 01:12, 17 January 2021

Pump
Statistics*
Power Consumption 300 kW
Max Pumping Speed 600
Technical
Identifier {{{identifier}}}
Categories Machines
Small Pump
Statistics*
Power Consumption 60 kW
Max Pumping Speed 100
Technical
Identifier {{{identifier}}}
Categories Machines

The pump is an installation found in Barotrauma. It is used to pump water out of or into the submarine.

Function

The pump's primary function is to filter water in its given area. By using the pump, a small menu will appear in which the player is able to manually activate/disable the Pump and modify both the direction the water is being pumped into and the speed at which it is being pumped. For instance, setting the pump slider towards IN will cause water to flood into the Submarine, while dragging the slider towards OUT will pump water out of the area. The slider can be adjusted to regulate the Speed at which the Pump interacts with Water.

The pump's direction can also be modified with the input set_targetlevel (usually linked with the Navigation Terminal's velocity_y_out). This input allows the player to modify the current level of water in the pump's area. The input can be a decimal value between 0.0 (meaning the water level will be 0) or 100 (meaning the water level is at the highest it can be). When an input is set, the pumps direction is automatically set and it will begin gradually lowering or raising the water level to the desired target. This change is not instantaneously though, as it will take the pump some time to reach the designated target level.

In addition to the obvious use for the pumps, to pump out water when a flood occurs, they can also be used to pump water into the submarine to make it heavier, or to extinguish Fires.

As of the Steam Release, the normal Pump is often used as part of the Ballast, and linked with the Navigation Terminal to automate the process, while the Small Pumps are used in Airlocks and spread throughout the Submarine, and may be linked with a Water Detector to automate its use, or require manual interaction.

GUI

Connection Panel

Connection Panel for Pumps
Hover over pins to see their descriptions.
power_in
toggle_state
set_state
set_speed
set_targetlevel
Connecting a power source to this input will supply the pump with power.
Turns the pump on/off whenever a signal is received.
Turns the pump off when a signal "0" is received, and activates it when any other signal is received.
Sets the speed of the pump to the received value. The value is clamped between -100.0 and 100.0.
Sets the target water level in the room to the received value. This is clamped to the following limits:

-50 meaning drain completely. 0 meaning fill to 50%

50 meaning fill to 100%
Requires: Screwdriver

Trivia

  • Pumps are often used in real life to filter water in and out of submarines. This is done to make the ship heavier or lighter based on whether the ship is diving or raising. Rooms dedicated to this purpose are called ballasts.
    • This system is reflected in the official submarines included with Barotrauma, where the ships will automatically pump water into and out of the ballast based on which direction of the Y-axis the submarine is heading.

Audio

Gallery

v·d·e·h
Installations
Submarine Weapons
Small Turrets
Large Turrets
Loaders
Other
Navigation
Machines
Electrical
Structure
Other
Alien