Stormworks: Build and Rescue

Stormworks: Build and Rescue

Оценок: 36
Weather Screen [True Wind] 1x2
   
Наградить
В избранное
В избранном
Удалить
Размер файла
Добавлен
Изменён
22.778 KB
15 мар. 2022 г. в 15:13
30 мар. 2022 г. в 9:48
Обновлений: 2 (просмотреть)

Подпишитесь, чтобы загрузить
Weather Screen [True Wind] 1x2

В 1 коллекции, созданной Mr Lennyn
Best Of Workshop Lua!
Предметов: 262
Описание
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
Mr Lennyn  [создатель] 29 мар. 2022 г. в 10:44 
You're right, Wind is a lot more clear than SPD. I'll be changing that. Thanks for the suggestion!
YogiTehBear 29 мар. 2022 г. в 2:01 
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  [создатель] 21 мар. 2022 г. в 16:59 
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 мар. 2022 г. в 16:06 
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  [создатель] 21 мар. 2022 г. в 7:12 
Or is there a bug or something? Speed is at the top: "SPD"
Mr Lennyn  [создатель] 20 мар. 2022 г. в 20:51 
It does, it does.
TheSavageProdigy 20 мар. 2022 г. в 18:34 
How does this show true wind better then my 1x1 does? It doesn't even output a number of the actual wind speed.