Simple widget to measure wind speed and direction

Simple widget to measure wind speed and direction

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Simple widget to measure wind speed and direction

Post by Jools »

Was there one already? Well, now there are two!

This is a (mostly) harmless widget that measures wind speed and direction. Share and enjoy!

(I added the display of the vector components of wind too. If you dont want that then comment line 61.)
Attachments
anemometer.zip
(5.5 KiB) Downloaded 51 times
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Simple widget to measure wind speed and direction

Post by knorke »

I think widgetDB has 2 similiar widgets.
Anyway, it works so I guess that is good ;) But it should adjust size or at least position on window size: Resize your screen and it can overlap playerlist or even be off screen.
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: Simple widget to measure wind speed and direction

Post by Jools »

Hold middle button and drag to adjust position. Didn't think about adjusting size :regret:
Post Reply

Return to “Lua Scripts”