Searchlight: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
No edit summary
mNo edit summary
Line 19: Line 19:
A Periscope's <code>position_out</code> pin must be wired to the Searchlight's <code>position_in</code> pin to be able to operate it.
A Periscope's <code>position_out</code> pin must be wired to the Searchlight's <code>position_in</code> pin to be able to operate it.


The Searchlights light can be toggled by:
The Searchlight's light can be made toggle-able by:
*Connecting a {{Hyperlink|Periscope}}'s <code>trigger_out</code> to the Searchlight's <code>toggle_state</code> pin to toggle while operating the Periscope.
*Connecting a {{Hyperlink|Periscope}}'s <code>trigger_out</code> to the Searchlight's <code>toggle_state</code> pin to allow toggling while operating the Periscope.
*Connecting a {{Hyperlink|Lever}} to the Searchlight's <code>set_light</code> pin to toggle while not operating the Periscope.
*Connecting a {{Hyperlink|Lever}} to the Searchlight's <code>set_light</code> pin to allow toggling while not operating the Periscope.


==Connection Panel==
==Connection Panel==

Revision as of 17:11, 14 April 2021

Data is potentially outdated
Last updated for version 0.12.0.3
The current game version is 1.4.4.1
Searchlight
Statistics*
Power Consumption 50 kW
Technical
Identifier {{{identifier}}}
Categories Machines

Searchlights are stationary installations for shining light outside of the submarine.

Function

Searchlight cast light in a long narrow cone towards where it is aimed, useful for seeing potential targets or generally for observing the submarine's surroundings.

A Searchlight is operated by Interacting (Default: Left Mouse) with a connected Periscope, and can be exited by Deselecting (Default: Right Mouse) it.

If the Searchlight is wired to be toggle-able, the user can also toggle its light on and off by Interacting (Default: Left Mouse) while operating the Searchlight.

Submarine Editor

A Periscope's position_out pin must be wired to the Searchlight's position_in pin to be able to operate it.

The Searchlight's light can be made toggle-able by:

  • Connecting a Periscope's trigger_out to the Searchlight's toggle_state pin to allow toggling while operating the Periscope.
  • Connecting a Lever to the Searchlight's set_light pin to allow toggling while not operating the Periscope.

Connection Panel

Connection Panel for Searchlight
Hover over pins to see their descriptions.
toggle_state
power_in
position_in
set_light
Toggles light on/off when an input of 1 is received.
Provides power to the Searchlight.
Controls where the Searchlight is aiming.
Sets light to on (1) or off (0), when a continuous signal is received.
Requires: Screwdriver
v·d·e·h
Installations
Submarine Weapons
Small Turrets
Large Turrets
Loaders
Other
Navigation
Machines
Electrical
Structure
Other
Alien