Stormworks: Build and Rescue

Stormworks: Build and Rescue

Radar Interpreter
18 Comments
Redstone_Orange 20 Aug, 2022 @ 12:01am 
oh ok, this is the only Radar i found that works with the modern ones. Please make it compatible with the 1x1 screen.
Craig P  [author] 19 Aug, 2022 @ 10:28am 
1x1 is a bit too small for me, sorry.
Redstone_Orange 19 Aug, 2022 @ 9:08am 
Could you make it Compatible with the 1x1 screen?
Craig P  [author] 7 Jun, 2022 @ 2:20pm 
That would depend on the orientation of the radar and the screen.
.bishop 7 Jun, 2022 @ 1:18pm 
hi, dont know if its a fault on my side or not, but i think the targets the radar found are upside down, i switched the minus signs (dx and dy) for the targets and the sweeper in onDraw around and then targets are shown were they really are for me. Nevertheless thanks for your awesome work.
ova578 4 Jan, 2022 @ 4:05pm 
ok np
Craig P  [author] 4 Jan, 2022 @ 4:04pm 
Sorry, that's more than I can do in a comment.
ova578 4 Jan, 2022 @ 2:18pm 
BTW i am really bad at LUA, so not always shure what it is im looking at haha
ova578 4 Jan, 2022 @ 2:17pm 
basically You made a fancy animation when you change zoom. It looks good but I would like to always have the 3 inner circles positioned in the same place on the screen, recardless of the zoom
Craig P  [author] 4 Jan, 2022 @ 1:31pm 
Yes, but I'm unclear on exactly what you want. The code for that is all near the end of the script.
ova578 4 Jan, 2022 @ 11:19am 
is there also a way to change the diameter of the inner circles that are rendered on the screen?
ova578 4 Jan, 2022 @ 10:19am 
thank you for the fast answer
Craig P  [author] 4 Jan, 2022 @ 10:03am 
There are two aspects that control how long the objects last on the screen. On line 59, I multiply the alpha by 0.95. You can make that something like 0.99 if you want them to last longer.

However, I also limit the chip to only 50 contacts. So if you have many contacts, you'll want to up the max cache on line 8, or they'll vanish regardless of how slowly their alpha decays.
ova578 4 Jan, 2022 @ 9:45am 
is it possible to change how long objects are displayed on the sreen?
TheGibster 23 Nov, 2021 @ 5:22pm 
Definitely will, thanks man
Craig P  [author] 23 Nov, 2021 @ 9:06am 
That said, if you do post something using it, you should comment here just so I can admire your build.
Craig P  [author] 23 Nov, 2021 @ 9:05am 
Do anything you like!
TheGibster 22 Nov, 2021 @ 11:13pm 
This is exactly what I needed, mind if I post a build sometime in the future that includes this? I'll make sure to link it back here