Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
PPI Radar Display
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Air, Sea, Land
Tags: v1.7.7
File Size
Posted
Updated
186.003 KB
28 May, 2023 @ 10:56am
28 May, 2023 @ 11:38am
3 Change Notes ( view )

Subscribe to download
PPI Radar Display

Description
Configurable PPI radar display microcontroller.

Feel free to use this code and microcontroller, but please give credit and don't reupload it unless you contributed to it or it's part of a larger craft that uses it. Thanks.



Available options:
  • Max elevation change for colour difference: Height of a target relative to the radar to change its colour to differentiate between targets above and below the radar
  • Variable scale: Display can zoom in or out
  • Distance labels: Number of distance labels
  • Distance text: Show or hide distance label text
  • Trim: If enabled and the radar can only look a maximum of 90 degrees in either direction, it will only display an enlarged version of the top half of the circle (see image 2)

Features:
  • All of the options above
  • Optional touchscreen target selection: Output data on a target by selecting it on the display
  • Target blips persist until the radar scans over the blip again
  • Automatic adjustments for radar scan speed
  • Automatic adjustment for display size (works for any size, however 1:1 or sometimes 2:1 aspect ratio preferred)



Usage:
To use, configure all of the options mentioned previously and match the max range, X FOV, sweep, and sweep limit parameters to that of the radar and connect all relevant inputs and outputs.
7 Comments
Fjorge  [author] 29 Aug, 2023 @ 12:55pm 
@Swedenhero_07 unfortunately I won't have access to a computer that can run Stormworks for a while so I can't really help you or even test to see if the radar display still works. Sorry about that.
Swedenhero_07 21 Aug, 2023 @ 12:34pm 
my radar display (well yours) doesnt seem to work. i have connected everything even tho i am not sure i understand the scale nod and my display is just stuck in one place. can you please help ? @fjorge
Fjorge  [author] 14 Jul, 2023 @ 10:12am 
@the silent one You don't need to connect it to anything unless you have a tracking radar. If you do, then you can use that node to point it in the direction of the target you select using the touchscreen (you can disconnect the touchscreen data node to disable this) to have it begin tracking.
Fjorge  [author] 14 Jul, 2023 @ 10:09am 
@Palkia I originally custom-made this for a vehicle I was making and thought that it would be fun to make it more configurable, which is why the cropped sweep setting isn't that great because I didn't really need it on the vehicle I was making. I'll consider adding more scope types but no promises due to the same reasons I just talked about before.
The Silent One 12 Jul, 2023 @ 9:38pm 
where do i put the target data node?
Palkia 9 Jul, 2023 @ 12:57am 
If you want to make C scope mode, you can use the radar controller I made as a basis and use it as you want.
Palkia 9 Jul, 2023 @ 12:52am 
you did very well. Sweep mode also doesn't seem to fit on a 3x3 screen. Although I have made one myself, it would be great if you make a C scope mod for this radar, it is more logic circuits than the lua I made, and it works a little poorly.