Stormworks: Build and Rescue

Stormworks: Build and Rescue

115 ratings
[Obselete]Locking/Tracking Radar
3
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
294.364 KB
22 Jan, 2021 @ 4:16am
19 Sep, 2021 @ 1:01am
5 Change Notes ( view )

Subscribe to download
[Obselete]Locking/Tracking Radar

Description
Obselete because of new radars
New: (but different) system: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2618768322


Tracking Radar for HUD/Display
This radar allow you to search object with a field of view of 360° or tracking one target in front of your vehicle.
The tracking mode will tell you the distance, the relative speed and an estimated mass of the target.


How to use ?
Blocks
Required:
  • Small / Large HUD / Any size display
  • 2 Radars (1 vertical, 1 horizontal)
  • 1 Small Display
Optional:
  • Buzzer
  • Power Relay
Nodes
  • H/V Distance -> Connect to the radars distance
  • H Pitch -> Connect to the horizontal radar elevation
  • H/V FOV-> Connect to the radars FOV
  • Yaw -> Connect to the horizontal radar rotation
  • Pitch -> Connect to the vertical radar rotation
  • Video passthrough -> Optional video for the HUD (IR camera / Artificial horizon etc...)
  • HUD -> Connect to the HUD
  • Small Display (Video / Composite) -> Connect to/from the small Display
  • On/Off -> Set on to enable scripts
  • Buzzer -> Connect to a buzzer if you want sound when clicking on the display
  • DEBUG -> Ignore, it's a dev tool to print some data or print error logs.
  • Raw Data -> data used by the display lua (See more information below)



Configurations (Properties)
You can select 4 range for the radar display.

You can change the display and hud color theme with R/G/B properties. You can also change the size of the tracking rectangle.

Increase 'HUD scale' if the tracking rectangle is closer from the center of the HUD than the target and decrease it if it's to far. It's possible to set negative value if one of the radar are inverted.
You can also translate the tracking rectangle if it's always under, above, to the left or to the right. (For exemple, if your radar is below the HUD, you should set a negative value like -5).

You can set the duration for the search radar to do one rotation and change the FOV of the tracking mode.

You can ignore some estimated range of mass to prevend detecting sharks, players etc...
(Player is less than 25kg, sharks between 0.5T and 1.3T, crates around 0.4 and megalodon around 60T)



Notes
Depending on the orientation of the radar, you may have to inverte their elevation.

You can replace the 2 radar with a large radar. The nodes should be connected live this :
Radar's Azimuth Angle -> MC's Pitch V
MC's Yaw -> Radar's Facing Yaw
MC's FOV H -> Radar's FOV
Radar's Distance -> Both Distance

Example on a jet :
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2344811557



Composite Raw Data
Booleans:
1) Button Range pressed
2) Button Lock pressed

NEED API UPDATE
3) Enable
4) Lock Mode
30) Lock changed
31) Range changed

Numbers:
1) Screen Q click X
2) Screen Q click Y
3) Screen E click X
4) Screen E click Y
5) Vertical radar distance
6) Horizontal radar distance
7) Vertical radar elevation
8) Horizontal radar elevation
11-15) Echos Distance*
16-20) Echos color alpha*
21-25) Echos Yaw*
27) Average distance (or 0 if mass ignored)
28) Average strength (or 0 if mass ignored)
29) Current range
30) Yaw (horizontal radar)
31) Horizontal radar FOV
32) Vertical radar FOV

* Up to 5 echos are stored. The echos are not stored in order so any cell can be empty (values = 0)
Popular Discussions View All (1)
0
22 Jan, 2021 @ 5:41am
Bug Report
puipuix
62 Comments
puipuix  [author] 12 Jun, 2024 @ 12:20pm 
Vehicle
johnyboy 4 May, 2024 @ 9:23am 
is it a vehicle or a controller?
brewlord 27 Oct, 2022 @ 2:47am 
An aircraft I have this in still track perfectly, even as new radars are out
Herze 25 Oct, 2021 @ 6:56am 
This is such a cool system, it's sad the new radars can't do the same thing
puipuix  [author] 12 Oct, 2021 @ 11:27am 
I made an other one but without the locking feature (as I we can't control the radar FOV/Angles) https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2621909828
I may create a tracking display as I'm doing something similar for my master/slave turret system
BasicallyIPlayGames 12 Oct, 2021 @ 11:02am 
Yeah but are you going to bother making another one?
puipuix  [author] 12 Oct, 2021 @ 9:50am 
This will no longer be updated as obselete
KageKage 12 Oct, 2021 @ 9:30am 
Hello, could you add a logic input for target locking with a button or from the pilot seat?
BasicallyIPlayGames 8 Oct, 2021 @ 10:13am 
This comment is awaiting analysis by our automated content check system. It will be temporarily hidden until we verify that it does not contain harmful content (e.g. links to websites that attempt to steal information).
Lillythefox21283 27 Sep, 2021 @ 12:25pm 
could you make this command a turret of sorts?