Docking Port: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(Moved most Docking Hatch information from Doors & Hatches here. Updated the connection panel. Changed some text. Formatted the text.)
Tag: visualeditor-switched
(Moved everything from this page to Docking Port & Hatch. Redirect to Docking Port & Hatch)
Tags: New redirect visualeditor-switched
 
Line 1: Line 1:
{{Version|0.19.14.0}}
#REDIRECT [[Docking Hatch & Port]]
{{Installations infobox
| imagewidth = 100
| identifier = dockingport
| description = A vertically aligned docking interface. Locks to another docking port to form a watertight seal and allow passage between subs, shuttles and locations.
| tags = dock
}}
{{Installations infobox
| name = Docking Hatch
| imagewidth = 100
| identifier = dockinghatch
| description = A horizontally aligned docking interface. Locks to another docking hatch to form a watertight seal and allow passage between subs, shuttles and locations.
| tags = dock
}}
The '''Docking Port''' and '''Docking Hatch''' are an [[:Category:Installations|Installation]] used to dock two [[Submarines]] together. The Docking Hatch connects to another Docking Hatch vertically, and the Docking Port connects to another Docking Port horizontally.
 
=Description=
The '''Docking Hatch''' and '''Docking Port''' create a secure airlock between two entities that players can pass between. They can connect the '''Submarine''' to other entities like [[Outposts]] and [[Shuttles]]. Both entities must have a '''Docking Hatch''' or a '''Docking Port''' for a connection to be made. When the connection is not active, water can freely flow through, so it's imperative that a [[Hatch]] is also a 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.
 
The Docking Hatch and '''Docking Port''' also include 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''', that seem to regulate power consumption perfectly allowing you to take all the juice for charging batteries and running fabricators without worrying about overloads and your Reactor can be shutdown to save fuel.
 
=Function=
When 2 '''Docking Ports''' or '''Docking Hatches''' are docked to each other, air, water, items, power, and creatures can move between subs through them.
 
A '''Docking Hatch''' is required to dock with an '''Outpost''' as they do not have a '''Docking Port'''.
 
=Usage=
When docked, the ports will:
* transfer power between each other.
* create a dynamic hull between the two installations. This hull protects the area from the sea.
* emit a "1" signal to any wire connected to the "STATE_OUT" pin
 
=Connection Panel=
<small>Hover over pins to see their descriptions.</small>
{{Connection panel
| panelfor = Docking Hatch
| input1 = toggle_state
| input1tt = Docks/Undocks when a signal of 1 is supplied.
| input2 = set_state
| input2tt = Sets the state of the docking port (1=dock, 0=undock)
| output1 = Power
| output1tt = Allows transfering power between the Submarine and whatever it is docked to.
| output1color = red
| output2 = state_out
| output2tt = Sends the current state of the docking port (1=docked, 0=undocked)
| output3 = Proximity Sensor
| output3tt = Send a signal of 1 when the Docking Hatch is in range of an another Docking Hatch
}}
 
=Media=
<gallery widths=200 heights=100>
DockingPort1.ogg|Sound when docking
DockingPort2.ogg|Sound when undocking
</gallery>
{{Installations nav}}

Latest revision as of 23:47, 13 December 2022