Stormworks: Build and Rescue

Stormworks: Build and Rescue

Weather Screen 1x1 (with icons)
49 kommentarer
greatpsychocz 2. maj 2023 kl. 19:42 
Very nice man, thanks a lot! I found a little mistake in your code tho, time is running little faster then stormworks clock, and it doesnt show zeros as typical clock. I changed it for myself, in case you want to update your script, here is the new part:
--time
sc(0,9,9)
s.drawTextBox(4, 18, 24, 13, string.format("%02d", math.floor(timeh24)), -1, 0)
s.drawTextBox(4, 18, 24, 13, ":", 0, 0)
s.drawTextBox(3, 18, 24, 13, string.format("%02d", math.floor(min)), 1, 0)
But Hull 24. feb. 2023 kl. 9:47 
Thanks for letting me know
Mr Lennyn  [ophavsmand] 24. feb. 2023 kl. 9:43 
Looks like it broke a while ago. You can use this other screen I made that works much better, but doesn't have the icons :( https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2779621423
But Hull 24. feb. 2023 kl. 9:38 
Very nice
Silver 20. jan. 2023 kl. 18:22 
it shows on the screenshot there is just sun and moon when no weather but when i hook it up and there is no weather its just empty instead of a sun/moon
Mr Lennyn  [ophavsmand] 18. nov. 2022 kl. 11:38 
Thanks gladyon! I've made another weather screen (1x2), but a fully featured 1x1 screen sounds good too.
Gladyon 17. nov. 2022 kl. 10:43 
Thank you for these icons, they are very useful.
For informaiton, if you use 3x5 characters, and if you pack the data a bit, you can have all the data on the top half.
And then you can place the wind direction (small compass) and wind power (bar graph) in the bottom part, so you have a full weather station in a 1x1 monitor.
Saltani 29. juli 2022 kl. 8:31 
oooh, got it, thx
Mr Lennyn  [ophavsmand] 29. juli 2022 kl. 6:22 
Read the nodes. Some go to a screen, some to the weather sensors
Saltani 28. juli 2022 kl. 14:07 
im stupid and dont know where to connect the green dots to, do i attach it to the seat? a Lever?
hjelp
Mr Lennyn  [ophavsmand] 26. mar. 2022 kl. 16:44 
Could you explain a bit more what your problem is?
In this configuration you can just:
-Copy the components onto your vehicle
or
-Place the microcontroller on your vehicle.
-Connect each logic node to its corresponding sensor:
----You'll need to connect numbers, bools, video, electricity, etc. So check it all well.
snek1253 26. mar. 2022 kl. 16:39 
hey im new with making stuff but idk how to make this work
E_quadro 13. jan. 2022 kl. 4:34 
Nice! i've uploaded it like an add-on so your creation is always requested ;)
Retrowave tundra 12. jan. 2022 kl. 17:01 
okay
Mr Lennyn  [ophavsmand] 12. jan. 2022 kl. 15:15 
Nice, you can publish your modified version too if you want.
E_quadro 12. jan. 2022 kl. 15:04 
sorry if i bother you, but i've just modified your stormworks weather microcontroller (for personal use) to work on a 2X1 monitor showing humidity, a simple fog icon and wind speed and direction, i'm a noob in coding so i've copied a lot of your technique. if my work can save you some time I'll happily share it with you. thanks!
Retrowave tundra 31. dec. 2021 kl. 6:41 
thanks
Mr Lennyn  [ophavsmand] 30. dec. 2021 kl. 13:41 
For sure! Anything you need
Retrowave tundra 30. dec. 2021 kl. 11:27 
can i use this for my weather station?
i will add credit
Echoless 11. mar. 2021 kl. 15:07 
Thank you!
Mr Lennyn  [ophavsmand] 10. mar. 2021 kl. 16:40 
Sure! Use it however you need.
Echoless 10. mar. 2021 kl. 15:58 
I am making a public collaboration microcontroller that controls cars, may I use your controller as a module? It will have full credit in the description and in the controller itself and there might be some edits to the controller. its made of different modules from different creators, including my main module.
Brygun 25. jan. 2021 kl. 8:50 
Just be mindful of computing North. Assuming an 8 point compass (N, NE, E etc) North will be on degrees 0-11 plus 349-360 (adjust for rounding).
Mr Lennyn  [ophavsmand] 24. jan. 2021 kl. 21:30 
That's a good idea.
Brygun 24. jan. 2021 kl. 20:19 
Might manage text to repace clock as:
## Kts NE ##%
Where you logic decode the wind direction into 2 letters. the % is for humidity if thats needed
Brygun 24. jan. 2021 kl. 20:18 
I have seen another weather mod using a larger (costly monitor) to show a wind direction indicator. Im hoping we can keep the install cost down for career mode. Thats why I like your 1x1 informative system
Mr Lennyn  [ophavsmand] 24. jan. 2021 kl. 20:12 
Thank you! I've been trying to figure out how to work with the wind sensor, as soon as I learn I'll update this or post a new version.
Brygun 24. jan. 2021 kl. 18:37 
Request:
Instead of the clock have a wind speed and wind direction indicator
Lovely weather pics. I imagine my rescue boats calling in weather data as part of the coast guard services to keep boats out of danger. Your display is much nicer than using an instrument panel for 4 dials
Mr Lennyn  [ophavsmand] 21. okt. 2020 kl. 9:27 
Thank you!
Elemental 21. okt. 2020 kl. 9:11 
Works awesomely, great job :)
ecwskier 4. okt. 2020 kl. 14:54 
maybe you could put a wind icon over the cloud
ecwskier 4. okt. 2020 kl. 14:54 
ok nice
Mr Lennyn  [ophavsmand] 4. okt. 2020 kl. 11:58 
I couldn't fit much in that screen, but I'll do it in the future
ecwskier 3. okt. 2020 kl. 21:49 
wind would be nice
Mr Lennyn  [ophavsmand] 30. sep. 2020 kl. 16:26 
Thanks a lot! I'll see if I can implement that
Autonomous157 30. sep. 2020 kl. 14:43 
Could you make a property for *F? It's a great microcontroller :steamhappy:
Mr Lennyn  [ophavsmand] 9. sep. 2020 kl. 16:41 
thanks to you dude
floo 9. sep. 2020 kl. 16:36 
alright, thanks man
Mr Lennyn  [ophavsmand] 9. sep. 2020 kl. 15:01 
Yes sir, that's what I made this for. Just put a link to this MC and credit me if you want.
floo 9. sep. 2020 kl. 14:43 
as in, post it to the workshop, right?
Mr Lennyn  [ophavsmand] 9. sep. 2020 kl. 5:56 
yeah of course
floo 8. sep. 2020 kl. 20:49 
can i use this in my build?
HYPERSLOTH 19. aug. 2020 kl. 15:40 
Used this on a Build of mine! thank you because it fits the build perfectly!

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2201836519&searchtext=pilatus+pc-12+lux
Mr Lennyn  [ophavsmand] 9. aug. 2020 kl. 1:01 
thanks my dude!
SauceMan 8. aug. 2020 kl. 17:42 
dope creation nice work my guy!
Mr Lennyn  [ophavsmand] 7. aug. 2020 kl. 22:04 
Thanks man!
surativefire 7. aug. 2020 kl. 21:47 
it looks good thats more than i can say for most lua projects and it works
good job
Mr Lennyn  [ophavsmand] 3. aug. 2020 kl. 17:09 
@WOLF Thanks for your kind words!
rat 3. aug. 2020 kl. 16:39 
Works nicely and this was very useful on my boat which is some kind of reversed boat so you cant see front.The icons also looks good and i guess theres a lot of effort in it.Thanks a lot for sharing this with us !