Doors & Hatches: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
m (added note to page)
(Moved most Docking Hatch stuff to its main page. Added description, category, tags, identifiers. Removed note (alien doors & hatches have their own page now). + Other minor changes)
Tag: visualeditor-switched
Line 1: Line 1:
{{Version|0.18.12.0|Add Alien Doors}}
{{Version|0.19.14.0}}
{{Installations infobox
{{Installations infobox
| imagewidth = 50
| identifier = door
| description = Closes off section of the Submarine
| category = misc
| tags = structure, logic
| name = Door
| name = Door
| image = door.png
| image = door.png
| imagewidth = 50
| repair = mechanical
| repair = mechanical
| mechanical engineering = 40
| mechanical engineering = 40
Line 9: Line 13:
}}
}}
{{Installations infobox
{{Installations infobox
| imagewidth = 90
| identifier = hatch
| description = Closes off section of the Submarine
| category = misc
| tags = structure, logic
| name = Hatch
| name = Hatch
| image = hatch.png
| image = hatch.png
| imagewidth = 90
| repair = mechanical
| repair = mechanical
| mechanical engineering = 40
| mechanical engineering = 40
Line 26: Line 34:
However, creatures damage welded doors at the same rate as non-welded doors.
However, creatures damage welded doors at the same rate as non-welded doors.


=Connection Panel=
==Doors & Hatches Connection Panel==
{{Connection panel
{{Connection panel
| panelfor = Door/Hatch
| panelfor = Door/Hatch
| input1 = toggle_state
| input1 = toggle_state
| input1tt = Toggles door state on a non-zero signal
| input1tt = Toggles Hatch/Door's state between open and closed on a non-zero signal
| input2 = set_state
| input2 = set_state
| input2tt = Sets the door open or closed depending on the signal value (0 = closed, non-zero = open).
| input2tt = Sets the Hatch/Door's open or closed depending on the signal value (0 = closed, non-zero = open).
| output1 = state_out
| output1 = state_out
| output1tt = Sends a signal of 0 if the door is closed and 1 if the door is open.
| output1tt = Sends a signal of 0 if the Hatch/Door is closed and 1 if the door is open.
| output2 = condition_out
| output2 = condition_out
| output2tt = Outputs the Hatch/Door's current condition. (0-100)
| output2tt = Outputs the Hatch/Door's current condition. (0-100)
}}
}}


=Docking Hatch=
=Docking Hatch & Port=
The '''Docking Hatch''' creates a secure airlock between two entities that players can pass between. It can connect the Submarine to other entities like Outposts and Shuttles. Both entities must have a [[Docking Hatch]] for a connection to be made. When the connection is not active, water can freely flow in the Docking Hatch, so it's imperative that a standard hatch is also part of the setup and configured to close when the Docking Hatch is not connected to another ship or structure. There is a prefab in the Submarine Editor to handle the wiring for this.
{{Main|Docking Hatch}}
The '''Docking Hatch''' and '''Docking Port''' are an [[:Category:Installations|Installation]] used to dock two submarines together, or a submarine to an outpost.


The Docking Hatch also includes a Power connector which acts similarly to a Junction Box power connection in that it relays power between the two connected entities. You should make sure your Docking Hatch's power is connected to your grid so it can benefit from the free power provided by Outposts. Outposts seem to regulate power consumption perfectly so you can take all the juice for charging batteries and running fabricators without worrying about overloads and your Reactor can be shutdown to save fuel.
=Media=
=Media=
<gallery widths=200 heights=280>
<gallery widths=200 heights=280>

Revision as of 23:43, 13 December 2022

Data is potentially outdated
Last updated for version 0.19.14.0
The current game version is 1.4.5.0
Door

Closes off section of the Submarine
Technical
Identifier door
Categories misc
Tags structure, logic
Hatch

Closes off section of the Submarine
Technical
Identifier hatch
Categories misc
Tags structure, logic

Doors and hatches are installations allowing to close off sections of the submarine.

Usage

Most doors and hatches are assigned a button allowing anyone to open or close them, but some require clearance to be opened, which is provided by possessing the appropriate ID Card in one's inventory. Typically, the captain's command room and armory are protected this way.

Both prevent passage when closed, and are thus used to contain flooding and creatures in case of breach hulls, and to keep suspicious individuals out of sensitive areas. Closed doors can be forced open with a crowbar or destroyed with a Plasma Cutter to allow passage in emergency situations.

Doors and hatches can also be welded shut with a Welding Tool, in which case they can no longer be opened with external signals nor the Crowbar, and must be unwelded with a Plasma Cutter first. However, creatures damage welded doors at the same rate as non-welded doors.

Doors & Hatches Connection Panel

Connection Panel for Doors & Hatches
Hover over pins to see their descriptions.
toggle_state
set_state
Toggles Hatch/Door's state between open and closed on a non-zero signal
Sets the Hatch/Door's open or closed depending on the signal value (0 = closed, non-zero = open).
state_out
condition_out
Sends a signal of 0 if the Hatch/Door is closed and 1 if the door is open.
Outputs the Hatch/Door's current condition. (0-100)
Requires: Screwdriver

Docking Hatch & Port

Main article: Docking Hatch


The Docking Hatch and Docking Port are an Installation used to dock two submarines together, or a submarine to an outpost.

Media

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