Searchlight: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
m (Reformatted headers)
Line 9: Line 9:
'''Searchlights''' are stationary [[:Category:Installations|installations]] for shining light outside of the submarine.
'''Searchlights''' are stationary [[:Category:Installations|installations]] for shining light outside of the submarine.


==Function==
=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.
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.


Line 16: Line 16:
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.
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]]==
=[[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.
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.


Line 23: Line 23:
*Connecting a {{Hyperlink|Lever}} to the Searchlight's <code>set_light</code> pin to allow toggling 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=
{{Connection panel
{{Connection panel
| input1 = toggle_state
| input1 = toggle_state

Revision as of 15:16, 21 June 2022

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 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