So, I thought it would be great to share this little and simple app with the forum. It started as a private aid to develop planes, but turned out to be something very fun and very interesting to play with. It's an extremely simple app, but does it's job pretty well, and I'm sure you will enjoy. Instructions: (imported from here) Pretty simple I guess. Little video to show what it can do : [webm=]http://www.beamng.com/attachment.php?attachmentid=46399&d=1416160083[/webm] Installation: Extract the Winds folder inside the Winds0.4.zip file and copy it to Steam.blah..blah/BeamNG.drive/html/apps/ (I tried to make the zip ready to be dropped to the mods folder but it didn't seem to work :| ) Tell me any problem you find, or any improvement or idea you have in mind. Have fun .
Edited (i posted quickly before). It is very nice . Would you mind if it became a part of the installation of .drive ? If yes, and you agree with the MIT License of the UI, please do a pull request in github: https://github.com/BeamNG/ui
The round slider doesn't work for me. I cannot move it much. I can move it only between 250 and 300 degrees.
Ouch, I thought I had fixed that already. It works fine for me :| . I'll look into it. Temporary solution: Click the bottom right gear icon and simply move the app (a couple of pixels are enough and you can then move it back to were it was). This will trigger a recalculation of the position of the app, hence hopefully bringing everything back to normal. Tell me if that worked. -- Regarding Github, I don't seem to be able to create a branch, simply typing a new name in that kind of search box doesn't show me the option. Do I need to get into Git commands or am I doing something wrong?
This is much more fun than it should be and the direction slider didnt work at first, but i reselected the app and it worked afterwards
Ok. So, to increase the maximum value, do the following: --outdated method-- plus I don't recommend increasing the maximum wind Open the file Winds/app.js with Notepad++ or similar. Edit the the following number in line 43 (imported from here) (remember that the units used are knots) Restart BeamNG Profit! (Don't go too crazy on the values or bad things will happen )
Bringing me back to my FSX days when fidling with winds and simulating flying through hurricanes. GG dude, awesome concept!
noted, anything above 999 removes the slider. Meaning once the winds are at orbital velocities you can't change it.
That's not done in purpose. That's simply caused by the now 4-digit number taking up the space of the slider making it disappear. That's easy to fix, though I don't think you should be setting it up at such high speeds anyway . - - - Updated - - - New Small Update. Changelog: -Units support (m/s, knots, km/h and mph available). Click the number to change it. -The maximum wind speed allowed has been increased to 485kts (almost 900 km/h), as you guys seem to only enjoy really strong winds . And now it is a lot easier to change that number. Edit app.js and you will find a variable called maxSpeed in one of the very first lines that reads 250. Remember that those are m/s. And also the problem Hati said has been fixed, though be a aware long numbers might get hidden under the slider. Anyway, I strongly suggest you don't change anything, 900 km/h wind is definitely more than enough to have fun , going beyond that might brake game stuff and produce unwanted results. -Improved interface. Especially the bottom slider. (look at the image in the op) -Some polishing in other areas I hope there's nothing broken in the new version as I haven't had that much time to test it. Report any problems and let me know if the problem that kept the circular slider from working the first time persists!
Well, indeed. I struggled for quite a long time to make css changes to the slider work. Those couple weird Css lines finally did the trick. I hope you don't mind. So Thanks!
Very nice app code looks very good too. - Everything is in its scope - no global varibales - nice css (own scope, no id's used) this gets my personal "app of the year"-award