tortuosit 485 Posted February 8, 2016 Hi guys, I set wind via setwind trigonometry: setwind [(sin (wind_dir)) * wind_speed_ms * -1, (cos (wind_dir)) * wind_speed_ms * -1, true]; Now I am too lazy to work out the inversion function to get the wind speed out of this again ("wind" would return the wind array, but getting speed from it is long-ago maths). So I thought, I could use nice and easy 0..1 values. I.e., get a wind strength indicator from https://community.bistudio.com/wiki/windStr But, while I setwind to like 2/ms, also it was visibly very weak, the "windstr" returned me a value of 0.9. What can I do, what's wrong with windstr? Thx Share this post Link to post Share on other sites
Greenfist 1863 Posted February 8, 2016 windStr only seems to respond to wind set in the mission attributes or with setWindStr. These values range between about 0 and 10 m/s (?). setWindStr 1 being 10m/s. setWind overwrites these, but doesn't change windStr. You can get it with wind command. vectorMagnitude wind will probably give you the actual strength. Share this post Link to post Share on other sites
fn_Quiksilver 1633 Posted February 8, 2016 windStr isn't very useful. I think many of the weather commands are only partially implemented, noticeable in the wind family (setwindforce??). As greenfist, I use vectormagnitude for wind. _windStr = vectorMagnitude [(wind select 0),(wind select 1),0]; Share this post Link to post Share on other sites
ceeeb 147 Posted February 8, 2016 While wind is the instantaneous measure of the current wind, windStr is the general measure of the wind. Like overcast it's possible values are 0 to 1. Arma's weather simulation uses the values of windDir and windStr to apply randomly varying winds. Gusts used to modify the wind strength (up to 2x), but they don't seem to have any noticeable effect now. There's also a bug where if windStr ever equals 0, then automatic wind simulation gets disabled. Share this post Link to post Share on other sites
tortuosit 485 Posted February 9, 2016 Yeah, lots of unfinished stuff, last time I checked the gusts command and setwindforce did not work, can't remember. Did not work at all I think. Haha @ceeeb, I reported the windstr bug some while ago. Also I remember using setwind[a,b,false] did not work at all... Here's a related thread: https://forums.bistudio.com/topic/183268-what-works-with-wind-gusts-etc-setwind-setwindstr-setwindforce-setgusts-etc/ Thanks for vectorMagnitude hint! Share this post Link to post Share on other sites