Stormworks: Build and Rescue

Stormworks: Build and Rescue

94 hodnocení
Advanced TWS Radar
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Velikost souboru
Přidáno
Aktualizováno
969.782 KB
4. kvě. 2024 v 19.40
1. zář. 2024 v 20.47
Poznámky ke změnám (9) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
Advanced TWS Radar

Popis
Please see V2 here (JPDAF tracker): https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3388742860


Nothing Comes Close, Undetected



Specifications
The VLS SAM launcher and missile are only intended as a showcase for the radar system.

Unlike most Track-While-Scan (TWS) radars in SW, this one works by building up a list of new detections before updating target tracks. It doesn't use a position threshold to update target tracks. Instead, tracks are updated by first building a matrix of the distances from detections to tracks. Then using the Hungarian algorithm (Kuhn-Munkres) to find which detection-track pair is closest ( https://en.wikipedia.org/wiki/Hungarian_algorithm ).

Also the system is completely modular and you're able to adjust the radar FOV, sweep limit, and sweep speed to your liking. However, for the same reason this radar keeps tracks so well, it can't handle large sweep limits. Since it has to wait for a complete scan of a sector to update tracks, it struggles with sweep limits greater than about 0.2. Keep in mind this is a WIP vehicle and there are methods to handle 360 degree scans, which I'll add later.

Normally, selected target coordinates are outputted on channels 1,2,3, where channel 1 is west/east, channel 2 is altitude, channel 3 is north/south). Channel 4 is the ID for which missile is assigned to the track.

NOW SUPPORTS ALL MONITOR SIZES. Just manually change the size of the monitor with the property slider in the MC.

Operation
To launch on a specific target, highlight the track through the monitor and then press the space-bar to launch a missile.

Customisation
I've added a few different options to change radar parameters in the MC, it's not obvious what each of these do since I've had to keep the names short because of the character limit.

If you change the FOV or you change radar types, make sure to set the "Max Range (km)" parameter to the radar's new max range.

If you feel that target's are disappearing too fast/slow after losing lock you can change it with the "Timeout" parameter. Setting this to 8 will mean the target will be deleted if it hasn't been detected for the last 8 scans.

"X" and "Y" should be set to your monitor's size.

The "S" parameter is a bit difficult to explain. This TWS updates tracks by assigning the closest new radar contact. This can be a problem if you lose a lock on one target, but acquire a different target on the other side of the map. Normally, the algorithm doesn't care how far they are away, it'll update the old track with the new target. S will limit the TWS, by default it's limited to 900 metres, but you should increase this as you increase radar range. For a 40km radar I've found that 3000 metres works well.

The "M" parameter is pretty niche, makes it so that the radar only outputs the selected target instead of a list. To activate set the value to 1. Remember that it still outputs altitude over channel 2 though.

If you want details about the code, just DM me.

Permissions
Feel free to re-upload this missile and radar system on your own vehicles, so long as you provide the link to this WS page. Do not, however, re-upload the truck.
Počet komentářů: 88
MrBooGee 12. říj. v 2.45 
Exactly what iv been looking for
SMITHY  [autor] 12. dub. v 20.28 
Yeah I’m named smithy3141, you can find it through the SW official discord
Cement and Rebar 12. dub. v 4.22 
is there any way we can talk on dicsord? i want to try and understand how your code works (since its currently obfuscated and minimised), so i can make a derivative of it with multiple radars
SMITHY  [autor] 11. dub. v 16.22 
None of my WS tws radars support multiple radars by default, but I know @shyzero is working on a heavily modified version of my “Advanced tws radar v2” which does pretty much everything you want (and more). I’m not sure when he’s going to release it though, just ask him on discord.
SMITHY  [autor] 11. dub. v 16.19 
If it were one radar spinning 360 degrees it’d have to update every 360 degrees
SMITHY  [autor] 11. dub. v 16.18 
If you want to add a rear facing radar and both spin for example 360 degrees clockwise you need to edit the script so it updates every 180 degrees
Cement and Rebar 11. dub. v 11.21 
Im trying to use multiple radars. Im combining all three to have correct outputs (for ex. adding 0.5 to the rear facing radar), with the physics output in the middle of both. Yet, there are two overlapping targets, and it refreshes every turn, instead of every time it detects a target. Do you have any clue how to modify the system to make it work better?
Cummings6969 22. bře. v 8.48 
amazing
SMITHY  [autor] 18. bře. v 14.10 
set the mode to STT (so it only outputs gps for the most recently selected track), and then you'll probably have to swap channels 2 and 3 around. The tws outputs altitude over channel 2 and north/south coordinates over channel 3, but I think EHCS does it the other way around.
SMITHY  [autor] 15. lis. 2024 v 0.33 
for that vector I gave y or 2 is the altitude btw