Stormworks: Build and Rescue

Stormworks: Build and Rescue

35 ratings
Weather Screen [True Wind] 1x2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
22.778 KB
15 Mar, 2022 @ 3:13pm
30 Mar, 2022 @ 9:48am
2 Change Notes ( view )

Subscribe to download
Weather Screen [True Wind] 1x2

In 1 collection by Mr Lennyn
Best Of Workshop Lua!
262 items
Description
Microcontroller:
https://steamproxy.net/sharedfiles/filedetails/?id=2779621856

Description:
This compact weather 1x2 screen will display all you need to know about your environment. It also comes with different measurements for speed and temperature, as well as customizable colors.

Features:
  • True Wind Direction [White Line]
  • True Wind Speed (in Kmh, Mph, Knts)
  • Vehicle Direction [Red Line]
  • Temperature (in C, F)
  • Rain
  • Fog

Important Notes:
  • The lines in the compass represent vehicle direction (red) and direction the wind is coming from (white.)
  • Wind Sensor must be facing forward (Blade's pointing forward) and placed on the vehicle's main body.
  • Compass Sensor must be pointing forward and facing upwards.

Credits:
Text engine 3x5 by: Ping/Archimaede

Change Log:
  • Changed SPD label to Wind, for better clarity.
7 Comments
Mr Lennyn  [author] 29 Mar, 2022 @ 10:44am 
You're right, Wind is a lot more clear than SPD. I'll be changing that. Thanks for the suggestion!
YogiTehBear 29 Mar, 2022 @ 2:01am 
Very nice weather screen, I did go through and updated SPD to Wind so as not to confuse it with vehicle speed other than that it works great :steamthumbsup:
Mr Lennyn  [author] 21 Mar, 2022 @ 4:59pm 
I just couldn't fit "wind speed" in the space I had. To get true wind direction, I just used the formulas from this website:
https://oic-nwreviewer.blogspot.com/2014/01/solving-for-true-wind-direction.html?m=1
True Wind gets more complicated than substracting. But I have no idea how the math works. If you need, you can copy my code from this MC.
TheSavageProdigy 21 Mar, 2022 @ 4:06pm 
Oh my bad, not sure why you didn't just label it as wind, I thought the speed was something else. Still though how are you able to know the "true wind" if such creation is moving? Normally I'd just subtract the vehicles speed to the wind but its not entirely accurate most of the time.
Mr Lennyn  [author] 21 Mar, 2022 @ 7:12am 
Or is there a bug or something? Speed is at the top: "SPD"
Mr Lennyn  [author] 20 Mar, 2022 @ 8:51pm 
It does, it does.
TheSavageProdigy 20 Mar, 2022 @ 6:34pm 
How does this show true wind better then my 1x1 does? It doesn't even output a number of the actual wind speed.