Radar

From Unofficial Stormworks Wiki
Revision as of 05:00, 24 November 2026 by Millie (talk | contribs) (Formatted the notes left on the page, feel free to check over.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Radar is a system used to detect targets at a distance. It can be used to learn the position of targets and track targets in systems such as missiles, among other uses.

Range

Radar range is dependant on the type of radar block being used and the FOV of the radar cone. The formula is as follows:


Range (meters) = ((Radar X FOV * Radar Y FOV)^- 1)*Multiplier


The multiplier is dependent on the type of radar block being used. Multipliers per block are as follows:


Radar (Missile) - 8

Radar (Basic) - 24

Radar (Phalanx) - 40

Radar (Dish) - 80

Radar (AWACS) - 200


A Radar (Basic) with an FOV of 0.1 on both axes would therefore have a maximum range of 2400m, as ((0.1*0.1)^-1)*24 = 2400.

Detection Behaviour

Radars need a target to present within their cone for a number of ticks before it is classed as detected and its data can be output. This is dependent on their max range. The formula for this is as follows:


Max Range / 2000 (This answer is then rounded to the nearest whole number)


As a result if a radar had a maximum range of 10000 meters, it would take 5 ticks for a target to be detected, as 10000/2000 = 5.


Both of the previous equations can be used to determine how long a Radar might take to detect a target based on its FOVs alone:


For a Radar (Basic) with an X FOV of 0.1 and a Y FOV 0f 0.07 we can determine that its max range is ((0.1*0.07)^-1)*24 = 3428m.

From this we can then infer that the radar would take 3428/2000 ≈ 2 ticks to detect a target within its cone.

Radar Detectors

Radar Detectors are used to detect whether the body it is attached to is within an emitted radar cone.


Radar Detectors don't output true when a target is simply in a radar cone, but once the radar has acquired a new position value on its body. This means that radars with a range greater then 2000 meters will only trigger the Radar Detector every two ticks.




im just gonna throw some information in here I can format it later

range = (fovX * fovY)^-1 * multiplier

multiplier =
8 for missile radar
24 for regular radar
40 for phalanx radar

radars need multiple ticks before a target appears depending on their max range

(max range/ 2000) (rounded up)

radar detectors only output true not when a radar looks at it but when a radar actually acquires a new position value

meaning a radar with a max range of more than 2000 will only trigger a radar detector every 2 ticks