Stormworks: Build and Rescue

Stormworks: Build and Rescue

115 arvostelua
[Obselete]Locking/Tracking Radar
3
3
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
Päivitetty
294.364 KB
22.1.2021 klo 4.16
19.9.2021 klo 1.01
5 muutosilmoitusta ( näytä )

Tilaa ladataksesi
[Obselete]Locking/Tracking Radar

Kuvaus
Obselete because of new radars
New: (but different) system: https://psteamcommunity.yuanyoumao.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://psteamcommunity.yuanyoumao.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)
Suositut keskustelut Näytä kaikki (1)
0
22.1.2021 klo 5.41
Bug Report
puipuix
62 kommenttia
puipuix  [tekijä] 12.6.2024 klo 12.20 
Vehicle
johnyboy 4.5.2024 klo 9.23 
is it a vehicle or a controller?
brewlord 27.10.2022 klo 2.47 
An aircraft I have this in still track perfectly, even as new radars are out
Herze 25.10.2021 klo 6.56 
This is such a cool system, it's sad the new radars can't do the same thing
puipuix  [tekijä] 12.10.2021 klo 11.27 
I made an other one but without the locking feature (as I we can't control the radar FOV/Angles) https://psteamcommunity.yuanyoumao.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.10.2021 klo 11.02 
Yeah but are you going to bother making another one?
puipuix  [tekijä] 12.10.2021 klo 9.50 
This will no longer be updated as obselete
KageKage 12.10.2021 klo 9.30 
Hello, could you add a logic input for target locking with a button or from the pilot seat?
BasicallyIPlayGames 8.10.2021 klo 10.13 
Automaattinen sisällöntarkistusjärjestelmä ei ole vielä ehtinyt tarkistaa kommenttia. Se piilotetaan, kunnes varmistamme, ettei siinä ole haitallista sisältöä (esim. linkkejä nettisivuille, jotka yrittävät kalastella tietoja).
Lillythefox21283 27.9.2021 klo 12.25 
could you make this command a turret of sorts?