Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
Rainfall/Waterfall Graph Sonar with Clutter Classification
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Sea
Microcontrollers: Composite, Microcontroller
Tags: v1.7.2
File Size
Posted
Updated
102.866 KB
11 Apr, 2023 @ 10:03am
12 Apr, 2023 @ 6:09pm
2 Change Notes ( view )

Subscribe to download
Rainfall/Waterfall Graph Sonar with Clutter Classification

Description
A modification of Zizo Rainfall Graph Sonar to include a distance/clutter classification system.

This modification was inspired by a comment on Captain Robertson's "Stormworks: Build & Rescue - Sonar Bug (July 2022)" video.

This version is optimized for displays that are 2-3 blocks tall; it works best with the 3x2, 3x3 and 5x3 monitors in my experience.

The main reason behind this modification was that when in active sonar mode if a low minimum sonar distance was used the screen would get cluttered up due to return signals from fish. If a longer minimum sonar distance was used instead you would lose the ability to see within the minimum sonar distance completely, while disabling wildlife to me ruined the game's ambience.

Note: A limitation of the system is when switching from passive to active sonar, the waterfall drawn by the passive sonar will become blue; this is not an accurate representation of the distance away from the sound source. Additionally once the sonar is switched from active back to passive mode all data point will be drawn in green regardless of distance even if a point was a detected by active sonar previously.

Modifications made:
  • The script now draws data points until the bottom of the screen, however for larger than 3 block tall displays the last 2 blocks will have no data points due to some shoddily edited code.
  • When in active sonar mode, targets that are within the Clutter Classification Distance will be drawn as blue dots while targets outside this range will be drawn in green.

How to use:
Set up the microcontroller the same way as the original Zizo Rainfall Graph Sonar was setup, but also set the Clutter Classification Distance as well. By default this is set to 280m as it worked the best for me at this distance. You may also want to set the Minimum Sonar range to 100-200m, as this will reduce the base amount of clutter that appears on the screen in the first place.

Credits:
Zizo - Zizo Rainfall Graph Sonar
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2833248256

Stormworks: Build & Rescue - Sonar Bug (July 2022)
https://www.youtube.com/watch?v=GparnKEUi4o
2 Comments
TBRO08  [author] 5 Jun, 2023 @ 12:31pm 
Thanks haha, I can't take most of the credit though! I mainly just modded Zizo's preexisting one with some of my own ideas, and he did the majority of the work for this at least. I just fixed a bug and added a feature with some inspiration. Glad that you enjoyed it though!
Captain Robertson 5 Jun, 2023 @ 8:14am 
Nicely Done!

I did try something like this myself last year, using dark green and light green, but this one looks a lot better and is much more professionally coded than my ham-fisted attempt.

This one gets a well deserved 'clever' award. :steamthumbsup: