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.)
(Linking to Installations instead of Category:Installations)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Version|0.12.0.3}}
{{Version|0.12.0.3}}
{{Installations infobox
{{Installations infobox
| name = Searchlight
| identifier = searchlight
| image = SearchLightBase.png
| description = Aimable lighting.
| category = Machines
| category = Machine
| tags = searchlight
| powerconsumption = 50
| powerconsumption = 50
| 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 [[Installations|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 [[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.


==Function==
=Usage=
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.
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 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 allow toggling while 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=
{{Connection panel
{{Connection panel
| input1 = toggle_state
| input1 = toggle_state

Latest revision as of 11:13, 29 December 2023

Data is potentially outdated
Last updated for version 0.12.0.3
The current game version is 1.4.5.0
Searchlight

Aimable lighting.
Statistics*
Power Consumption 50 kW
Technical
Identifier searchlight
Categories Machine
Tags searchlight

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.

Usage

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