Stormworks: Build and Rescue Wiki
Advertisement
Stub Under Construction!
This article is a stub.
You can help Us by expanding it.


< Back
Workbench
Components
Sensors

Sensors   [ edit page ]



Environment

Player Sensor
 
  • Output 1 (Number): Number of players detected
  • Output 2 (On/Off): if at least one player is detected

Types:

  • Sphere (Trigger is a ball around the sensor)
  • Hemisphere (is half of a ball = just in the front)

Mode:

  • Detect All
  • Detect Players
  • Detect NPCs

Radius:

  • Minimum 0.25m (1 block)
  • Maximum 10m (40 blocks)
Wind Sensor
 
  • Output 1 (Number): Relative direction of the wind
  • Output 2 (Number): Relative speed of the wind (in m/s)
Rain Sensor
 
  • Output 1 (Number): How intense its raining (0 - Sunny, 1 - Thunderstorm)
Humidity Sensor
 
  • Output 1 (Number): Humidity (0 - No fog, 1 - Max fog)
Temperature Sensor
 
  • Output 1 (Number): Ambient room temperature in °C


Position of Vehicle relative to the world

Tilt Sensor
 
  • Output 1 (Number): The "angle" of tilt. 0.25 is +90 degree, -0.25 is -90 degree. Zero is defined by the direction of the block (blue arrow when placing).
Physics Sensor
 
  • The physics sensor component combines functionality of several other sensors into a single block. The sensor outputs position, rotation, linear and angular speeds over 14 composite channels detailed on the component, where the red arrow is the X-axis, the green arrow is the Y-axis, and the blue arrow is the Z-axis.

The composite output is:

  • Output 1 to 3 (Number): X, Y and Z position of the block
  • Output 4 to 6 (Number): Euler rotation X, Y and Z of the block
  • Output 7 to 9 (Number): Linear velocity X, Y and Z of the block
  • Output 10 to 12 (Number): Angular velocity X, Y and Z of the block
  • Output 13 (Number): Absolute linear velocity of the block
  • Output 14 (Number): Absolute angular velocity of the block
  • Output 15 (Number): Local Z tilt (pitch)
  • Output 16 (Number): Local X tilt (roll)
  • Output 17 (Number): Compass heading (-0.5 to 0.5)
Note that modifying physics sensor in xml to make it invisible and disturbs output 17.
Linear Speed Sensor
 
  • Output 1 (Number): Speed in m/s.

There are different modes:

  • Absolute: The speed without caring about direction.
  • Horizontal: The horizontal speed.
  • Vertical: The vertical speed.
  • Directional: The speed in the axis of the sensor. This is the only mode in which the orientation of the sensor matters.
Distance Sensor
 
  • Output 1 (Number): Distance to the next block (in the direction of blue arrow when placing). Max range: 500m
  • when nothing is detected, it will output 500m.
Laser Distance Sensor
 
  • Similar to distance sensor, but has a higher max range (4000m).
  • when nothing is detected, it will output 4000m.
  • also shows a cool laser beam when active
Removing width in xml causes laser beam to disappear (only point is visible)
Laser Point Sensor
 
  • can detect laser beacons and tell you in which direction the laser beacon is.
Laser Beacon
  Needed for the Laser Point Sensor.
Compass Sensor
 
  • Output 1 (Number): your direction relative to the north
Altimeter
 
  • Output 1 (Number): the height relative to the sea level in meters.
GPS
 
  • Output 1 (Number): the x coordinate.
  • Output 2 (Number): the y coordinate.


Mechanical

Torque Meter
 
  • Output 1 (Number): the RPS (rotations per second).
  • Output 2 (Number): the force.


Radar

Basic Radar
 
Phalanx Radar
 
  • Can detect vehicles and persons in a radius around it.
Radar Dish / Large radar
 
  • Can detect vehicles and persons in a radius around it.
Radar AWACS / Huge Radar
 
  • Can detect vehicles and persons in a radius around it.
  • Largest Radar in game
Missle Radar
 
  • Can detect vehicles and persons in a radius around it.
  • Desinged to be used on missles
  • Has a specialized composite port to be able to connect to rocket fins


Sonar

A sonar that returns information about detected objects within range. This sensor outputs the relative angle to underwater sound waves. The sensor can passively detect certain noisy components such as propellers or engines, but it can also send out a loud ping to detect quiet underwater bodies. While the ping input is held, passive signals will be suppressed. After activating, another ping will overwrite the previous one, and no further data will be returned from the old signal.

Smal Sonar
 
  • Can detect Bodies in a radius of 60km around it.
  • Has a specialized composite port to be able to connect to rocket fins
Smal Sonar
 
  • Can detect Bodies in a radius of 100km around it.
Smal Sonar
 
  • Can detect Bodies in a radius of 200km around it.


Fluid

Fluid Pressure Sensor
 
  • Output 1 (Number): the pressure.
Fluid Meter
 
  • Output 1 (Number): the capacity of the surrounding room.
  • Output 2 (Number): the amount of fluid in the surrounding room in liters.


Other

Clock
 
  • Output 1 (Number): the current time (0 = 12am, 0.5 = 12pm)


Advertisement