Searchlight: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(Added img and power consumption, updated connection pannel, improved text for better clarity. Added versioning and removed cleanup tag.)
No edit summary
Line 1: Line 1:
{{Version|0.12.0.3}}
{{Version|0.12.0.3}}
{{Installations infobox
{{Installations infobox
| name = Searchlight
| image = Searchlight.png
| image = SearchLightBase.png
| category = Machines
| category = Machines
| powerconsumption = 50
| powerconsumption = 50
| imagewidth = 200
| imagewidth = 200
}}
{{Installations infobox
| name = Periscope
| image = Periscope.png
| imagewidth = 100
| category = Machines
}}
}}


'''Searchlight''' are stationary [[:Category:Installations|installation]] for shining light outside of the submarine.
'''Searchlights''' are stationary [[:Category:Installations|installations]] for shining light outside of the submarine.


==Function==
==Function==
Searchlight can be useful for illuminating the deep dark waters. It casts light in a long narrow cone towards where the Searchlight is aimed, useful for seeing potential targets or generally for observing the submarine's surroundings.
Searchlight cast light in a long narrow cone towards where it is aimed, useful for seeing potential [[Creatures|targets]] or generally for observing the submarine's surroundings.
 
A Searchlight is operated by '''Interacting (Default: {{Key|mouse|left}})''' with a connected {{Hyperlink|Periscope}}, and can be exited by '''Deselecting (Default: {{Key|mouse|right}})''' it.
 
If the Searchlight is wired to be toggle-able, the user can also toggle its light on and off by '''Interacting (Default: {{Key|mouse|left}})''' while operating the Searchlight.
 
==[[Submarine Editor]]==
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.


To operate the Searchlight you need to have a crewmember manning a [[Periscope]]. Only one crewmember can operate a Periscope at a time. In the submarine editor, the Periscope's ''position_out'' pin must be wired to the Searchlight's ''position_in'' pin. The connected Searchlight is aimed using a crosshair that replaces the mouse when interacting with the Periscope (like a [[Coilgun|turret]]) and can be exited with a left click. The light can be toggled using the ''toggle_state'' wiring pin or it can be set via the ''set_light'' pin.
The Searchlights light can be toggled 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|Lever}} to the Searchlight's <code>set_light</code> pin to toggle while not operating the Periscope.


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

Revision as of 23:09, 13 April 2021

Data is potentially outdated
Last updated for version 0.12.0.3
The current game version is 1.3.0.4
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 Searchlights light can be toggled by:

  • Connecting a Periscope's trigger_out to the Searchlight's toggle_state pin to toggle while operating the Periscope.
  • Connecting a Lever to the Searchlight's set_light pin to toggle 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