Stormworks: Build and Rescue

Stormworks: Build and Rescue

评价数不足
Rainfall/Waterfall Graph Sonar with Clutter Classification
   
奖励
收藏
已收藏
取消收藏
Vehicles: Sea
Microcontrollers: Composite, Microcontroller
标签: v1.7.2
文件大小
发表于
更新日期
102.866 KB
2023 年 4 月 11 日 上午 10:03
2023 年 4 月 12 日 下午 6:09
2 项改动说明 ( 查看 )

订阅以下载
Rainfall/Waterfall Graph Sonar with Clutter Classification

描述
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://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2833248256

Stormworks: Build & Rescue - Sonar Bug (July 2022)
https://www.youtube.com/watch?v=GparnKEUi4o
2 条留言
TBRO08  [作者] 2023 年 6 月 5 日 下午 12:31 
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 2023 年 6 月 5 日 上午 8:14 
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: