Difference between revisions of "Sensor"

From Space Engineers Wiki
Jump to: navigation, search
m (Programming)
 
(24 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{itembox
+
{{SimpleItembox|Mod:Vanilla/CubeBlock/LargeBlockSensor|Size|Mass|Integrity|BuildTimeSeconds|IsAirTight|MaxRange|ResourceSinkGroup|PCU}}
| item = Sensor
+
{{SimpleItembox|Mod:Vanilla/CubeBlock/SmallBlockSensor|Size|Mass|Integrity|BuildTimeSeconds|IsAirTight|MaxRange|ResourceSinkGroup|PCU}}
| description = Able to detect players, objects, and other entities and trigger programmed actions
+
{{CategorizeComponents|Mod:Vanilla/CubeBlock/LargeBlockSensor}}
| tool = no
+
== Vanilla is a flavour ==
| largeship = yes
 
| smallship = yes
 
| component = no
 
| rawmaterial = no
 
| material = no
 
  
| lbuildtime = 20
 
| lcomponentstructure = 4
 
| lcomponent1 = Steel Plate
 
| lcomponent1amt = 2
 
| lcomponent2 = Detector Components
 
| lcomponent2amt = 1
 
| lcomponent3 = Computer
 
| lcomponent3amt = 1
 
| lcomponent4 = Construction Component
 
| lcomponent4amt = 2
 
  
 +
== Overview ==
 +
The sensor is a powered block that is able to detect the movement of players, objects, [[Asteroid]]s, [[Block#Large_and_Small_Blocks|Ships]], and other entities. It can be assigned actions to be triggered when something is detected, and after it leaves its radius.
  
| sbuildtime = 20
+
== Usage ==
| scomponentstructure = 4
+
The sensor has to be powered in order to function. It has a default detection radius of 50m. It is capable of controlling any blocks that are powered, or have any trigger-able actions. It is able to control blocks that have [[Factions#Ownership|Ownership]] set to ''Nobody''. In the Setup actions section, the first slot will trigger when the sensor detects any criteria in its range, and the second slot will trigger when the sensor shuts off again (Example. Set slot one to toggle turrets on when an enemy is detected in range, then when the target either retreats out of range or killed set slot 2 to turn the turrets to power off and they will shut down again)
| scomponent1 = Steel Plate
 
| scomponent1amt = 2
 
| scomponent2 = Detector Components
 
| scomponent2amt = 1
 
| scomponent3 = Computer
 
| scomponent3amt = 1
 
| scomponent4 = Construction Component
 
| scomponent4amt = 2
 
 
 
  
| version = 01.046
+
=== Indicators ===
}}
 
[[File:Sensor01.jpg|right|thumb|340px|View of the sensor]]
 
== Function ==
 
The sensor is a device that is able to detect the movement of players, objects, and other entities. After doing so, it can be assigned actions to take when an object enters/leaves its radius. There are indicator lights on the sensor itself. Meanings to what each light means is specified below:
 
 
{| class="wikitable"
 
{| class="wikitable"
!colspan="3" style="font-size:16px;"|Sensor Indicator Light Definitions
+
|[[File:Air_Vent_Front_Indicator_Green.png|none|25px]]
|-
 
!Color
 
!style="text-align:center;"|Status
 
!style="text-align:center;"|Comments
 
|-
 
!Blue
 
 
|style="text-align:center;"|Standby
 
|style="text-align:center;"|Standby
 
|This is its passive state, when there are no detectable objects in its radius
 
|This is its passive state, when there are no detectable objects in its radius
 
|-
 
|-
!Green
+
|[[File:Air_Vent_Front_Indicator_Blue.png|none|25px]]
 
|style="text-align:center;"|Object Detected
 
|style="text-align:center;"|Object Detected
 
|An object it is programmed to detect is within its radius
 
|An object it is programmed to detect is within its radius
 
|-
 
|-
!Red
+
|[[File:Air_Vent_Front_Indicator_Red.png|none|25px]]
 
|style="text-align:center;"|No Power
 
|style="text-align:center;"|No Power
 
|There is no power being supplied to it, or it is switched off.
 
|There is no power being supplied to it, or it is switched off.
 
|-
 
|-
 
|}
 
|}
{| class="wikitable" ; style="width: 20%
+
 
!colspan="2" style="font-size:16px;"| [[Control Interface|Control Interface Menu]]
+
=== Terminal ===
|-
+
 
!style="text-align:center ; font-size:14px;"| Options
+
* '''Setup Actions''' - Set up actions for the device to take when someone enters/leaves detection radius
!style="text-align:center ; font-size:14px;"| Comments
+
* '''Left extent''' - The detection range on the left side of the sensor '''(from the perspective of the sensor NOT player)'''
|-
+
* '''Right extent''' - The detection range on the right side of the sensor
!style="text-align:left;" | Toggle block
+
* '''Bottom extent''' - The detection range on the bottom side of the sensor
|Turns the device on, or off.
+
* '''Top extent''' - The detection range on the top side of the sensor
|-
+
* '''Back extent''' - The detection range on the back side of the sensor
!style="text-align:left;" | Name
+
* '''Front extent''' - The detection range on the front side of the sensor
|You can enter in your own custom name in the text box
+
* '''Detect players''' - The sensor will be able to detect players if selected
|-
+
* '''Detect floating objects''' - The sensor will be able to detect small objects such as [[Ores]], and/or [[Raw Materials]] if selected
!style="text-align:left;" | Show on HUD
+
* '''Detect asteroids''' - The sensor will be able to detect asteroids (and planet voxels) if selected.
|If there is an [[Antenna]] attached to the same grid, this device will display its position on the players HUD
+
* '''Detect small ships''' - The sensor will be able to detect small ships if selected
|-
+
* '''Detect large ships''' - The sensor will be able to detect large ships if selected
!style="text-align:left;" | Setup Actions
+
* '''Detect stations''' - The sensor will be able to detect stations if selected
|Set up actions for the device to take when someone enters/leaves detection radius
+
* '''Detect Neutral''' - Detects blocks not owned by anyone
|-
+
* '''Detect Friendly''' - Detects blocks belonging to you, and your faction
!style="text-align:left;" | Left extent
+
* '''Detect Owner''' - Detects blocks belonging to only you
|The detection range on the left side of the sensor
+
* '''Detect Hostile''' - Detects any hostile owned blocks
|-
+
 
!style="text-align:left;" | Right extent
+
== Sensor range visualization ==
|The detection range on the right side of the sensor
+
To visualize the sensor's range settings, you'll need to '''adjust your suit's HUD settings'''.
|-
+
 
!style="text-align:left;" | Bottom extent
+
When not interacting with any ship systems.
|The detection range on the bottom side of the sensor
+
 
|-
+
*'''Press the 'K' key''' (default) to access your terminal.
!style="text-align:left;" | Top extent
+
 
|The detection range on the top side of the sensor
+
*'''Go the 'Info' tab''' and select the checkbox which says '''"Show sensors field range"'''.
|-
+
 
!style="text-align:left;" | Back extent
+
*'''Go to the sensor''' itself and interact with it via ''''F' or 'K'''' keys (default) which will take you to the ship's control panel tab with the sensor selected.
|The detection range on the back side of the sensor
+
 
|-
+
*Switch 'On' '''"Show on HUD"''' option
!style="text-align:left;" | Front extent
+
 
|The detection range on the front side of the sensor
+
== Media ==
|-
+
[[File:Sensor01.jpg|none|400px|]]
!style="text-align:left;" | Detect players
+
 
|The sensor will be able to detect players if selected
+
== Tips ==
|-
+
 
!style="text-align:left;" | Detect floating objects
+
== Known Issues ==
|The sensor will be able to detect small objects such as [[Ores]], and/or [[Raw Materials]] if selected
+
* [[Update 01.112]] The sensor and [[Landing Gear]] seem to have issues with detection. If the sensor is set to detect small ships, and one locks into place near it, the sensor will trigger prematurely.
|-
+
 
!style="text-align:left;" | Detect small ships
+
== Programming ==
|The sensor will be able to detect small ships if selected
+
* [[Programming_Guide/Action_List#Sensor|Action List - Sensor]]
|-
+
 
!style="text-align:left;" | Detect large ships
+
== Update History ==
|The sensor will be able to detect large ships if selected
+
<div style="-webkit-border-image: none;-webkit-box-shadow: rgba(0, 0, 0, 0.046875) 0px 1px 1px 0px inset;background-color: #eeeeee;border-bottom-color: #AFAFAF;border-bottom-left-radius: 3px;border-bottom-right-radius: 3px;border-bottom-style: solid;border-bottom-width: 1px;border-left-color: #AFAFAF;border-left-style: solid;border-left-width: 1px;border-right-color: #AFAFAF;border-right-style: solid;border-right-width: 1px;border-top-color: #AFAFAF;border-top-left-radius: 3px;border-top-right-radius: 3px;border-top-style: solid;border-top-width: 1px;box-shadow: rgba(0, 0, 0, 0.046875) 0px 1px 1px 0px inset;color: #333;display: block;font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size: 1em;height: auto;line-height: 20px;margin-bottom: 5px;margin-left: 8px;margin-right: 8px;margin-top: 0px;min-height: 20px;padding-bottom: 4px;padding-left: 4px;padding-right: 4px;padding-top: 4px;width: auto;">
|-
+
{| class="wikitable" style="width: 100%"
!style="text-align:left;" | Detect stations
+
|style="text-align: left;width: 8%"| N/A ||style="padding-left: 10px;padding-right: 10px;"|
|The sensor will be able to detect stations if selected
+
*N/A
|-
 
 
|}
 
|}
  
== Placement ==
+
</div>
 +
 
 +
<!--
 +
 
 +
>Tutorial Hidden for now, please do not remove!<
  
{|
 
|
 
{| class="wikitable" ; style="width: 80%"
 
!colspan="5" ; style="text-align:center; font-size:18px; " | [[Large Ship|Large ship]] / [[Station]]
 
|-
 
!style="text-align:center;  width: 13%" ; colspan="2" | Outline
 
!style="text-align:center; width: 3%" |
 
!style="text-align:center; width: 60%" | Comments
 
|-
 
!colspan="2" | Block Size:
 
|style="text-align:center;" | 1
 
|style="text-align:center;" |
 
|-
 
!colspan="2"| Orientation affects function?
 
|style="text-align:center;" | Yes
 
|If you rotate it, it's "left, right, down, up" settings remain in the same places. So if its sideways, left, and right for example become up, and down.
 
|-
 
!colspan="2"| Has limited range?
 
|style="text-align:center;" | No
 
|
 
|-
 
!colspan="2"| Can be placed on all sides?
 
|style="text-align:center;" | No
 
|style="text-align:center;" | Its back will always be against the wall
 
|-
 
!colspan="2"| [[Conveyor Network#Large port|Has large conveyor port?]]
 
|style="text-align:center;" | No
 
|
 
|-
 
!colspan="2"| [[Conveyor Network#Small port|Has small conveyor port?]]
 
|style="text-align:center;" | No
 
|
 
|}
 
|
 
{| class="wikitable" ; style="width: 80%"
 
!colspan="5" ; style="text-align:center; font-size:18px; " | [[Small ship|Small Ship]]
 
|-
 
!style="text-align:center;  width: 13%" ; colspan="2" | Outline
 
!style="text-align:center; width: 3%" |
 
!style="text-align:center; width: 60%" | Comments
 
|-
 
!colspan="2" | Block Size:
 
|style="text-align:center;" | 1
 
|style="text-align:center;" |
 
|-
 
!colspan="2"| Orientation affects function?
 
|style="text-align:center;" | Yes
 
|If you rotate it, it's "left, right, down, up" settings remain in the same places. So if its sideways, left, and right for example become up, and down.
 
|-
 
!colspan="2"| Has limited range?
 
|style="text-align:center;" | No
 
|
 
|-
 
!colspan="2"| Can be placed on all sides?
 
|style="text-align:center;" | No
 
|style="text-align:center;" | Its back will always be against the wall
 
|-
 
!colspan="2"| [[Conveyor Network#Large port|Has large conveyor port?]]
 
|style="text-align:center;" | No
 
|
 
|-
 
!colspan="2"| [[Conveyor Network#Small port|Has small conveyor port?]]
 
|style="text-align:center;" | No
 
|
 
|}
 
|}
 
  
== Usage ==
 
While capable of performing complicated tasks, the sensor is very easy to use. An example of one of its many uses is demonstrated below:
 
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 217: Line 120:
 
</ol>
 
</ol>
 
|}
 
|}
== Examples ==
 
== Programming ==
 
  
* [[Programming_Guide/Action_List#Sensor|Action List - Sensor]]
+
-->
 +
[[Category:Functional Blocks]]

Latest revision as of 20:09, 15 June 2022

Sensor Icon.png
Large Ship / Station
Sensor
Large Ship Icon.png

ComponentsRequired

 Functional 

 Hack 

Dimensions (W,H,L)1,1,1
Mass158.2 kg
158,200 g
158,200,000 mg
0.158 t
Integrity515
Build time6 s
Is AirtightNo
Max Range50 m
5,000 cm
Power Consumer GroupUtility
PCU Cost25
BrowseLast edit: 2020-04-09
Sensor Icon.png
Small Ship
Sensor
Small Ship Icon.png

ComponentsRequired

 Functional 

 Hack 

Dimensions (W,H,L)1,1,1
Mass158.2 kg
158,200 g
158,200,000 mg
0.158 t
Integrity515
Build time6 s
Is AirtightNo
Max Range50 m
5,000 cm
Power Consumer GroupUtility
PCU Cost25
BrowseLast edit: 2020-04-09

Vanilla is a flavour

Overview

The sensor is a powered block that is able to detect the movement of players, objects, Asteroids, Ships, and other entities. It can be assigned actions to be triggered when something is detected, and after it leaves its radius.

Usage

The sensor has to be powered in order to function. It has a default detection radius of 50m. It is capable of controlling any blocks that are powered, or have any trigger-able actions. It is able to control blocks that have Ownership set to Nobody. In the Setup actions section, the first slot will trigger when the sensor detects any criteria in its range, and the second slot will trigger when the sensor shuts off again (Example. Set slot one to toggle turrets on when an enemy is detected in range, then when the target either retreats out of range or killed set slot 2 to turn the turrets to power off and they will shut down again)

Indicators

Air Vent Front Indicator Green.png
Standby This is its passive state, when there are no detectable objects in its radius
Air Vent Front Indicator Blue.png
Object Detected An object it is programmed to detect is within its radius
Air Vent Front Indicator Red.png
No Power There is no power being supplied to it, or it is switched off.

Terminal

  • Setup Actions - Set up actions for the device to take when someone enters/leaves detection radius
  • Left extent - The detection range on the left side of the sensor (from the perspective of the sensor NOT player)
  • Right extent - The detection range on the right side of the sensor
  • Bottom extent - The detection range on the bottom side of the sensor
  • Top extent - The detection range on the top side of the sensor
  • Back extent - The detection range on the back side of the sensor
  • Front extent - The detection range on the front side of the sensor
  • Detect players - The sensor will be able to detect players if selected
  • Detect floating objects - The sensor will be able to detect small objects such as Ores, and/or Raw Materials if selected
  • Detect asteroids - The sensor will be able to detect asteroids (and planet voxels) if selected.
  • Detect small ships - The sensor will be able to detect small ships if selected
  • Detect large ships - The sensor will be able to detect large ships if selected
  • Detect stations - The sensor will be able to detect stations if selected
  • Detect Neutral - Detects blocks not owned by anyone
  • Detect Friendly - Detects blocks belonging to you, and your faction
  • Detect Owner - Detects blocks belonging to only you
  • Detect Hostile - Detects any hostile owned blocks

Sensor range visualization

To visualize the sensor's range settings, you'll need to adjust your suit's HUD settings.

When not interacting with any ship systems.

  • Press the 'K' key (default) to access your terminal.
  • Go the 'Info' tab and select the checkbox which says "Show sensors field range".
  • Go to the sensor itself and interact with it via 'F' or 'K' keys (default) which will take you to the ship's control panel tab with the sensor selected.
  • Switch 'On' "Show on HUD" option

Media

Sensor01.jpg

Tips

Known Issues

  • Update 01.112 The sensor and Landing Gear seem to have issues with detection. If the sensor is set to detect small ships, and one locks into place near it, the sensor will trigger prematurely.

Programming

Update History

N/A
  • N/A