Aerosoft official retail partner for Microsoft Flight Simulator !! 
Click here for more information

Jump to content

Archived

This topic is now archived and is closed to further replies.

mga010

Limit Variable Winds

Recommended Posts

Is it possible to limit the variable winds in X Plane 11? I would like to limit the variation to say 10 degrees. Injecting weather with the X Plane 11 real weather or FS Global Real Weather often yields rapid changes between like 5 and 60 degrees. 

 

I tried with the attached Lua script. But it does not work. I am trying to set the shear_direction_degt[0] data ref, thinking this would be the value were the variability of the wind is stored. But my changes are either ignored, or the injected weather (by FS Global Real Weather) is changed completely. Probably it is the wrong idea to start with.

 

If this is not a good forum to ask these questions please tell me so.

 

Thanks.

Limiter.lua

Share this post


Link to post
Share on other sites

After some more research, I can limit the "Shear Amount" (as set in the wind layer) with this script. But I cannot limit any external weather. Most likely, it is overwritten immediately.

Share this post


Link to post
Share on other sites

Some more research: The limiting of the "shear amount" works, if external weather is loaded "sim/weather/use_real_weather_bool" is set to 0, and one variable is changed by the user in the weather. Unfortunately, the manual part is still there.

Share this post


Link to post
Share on other sites

×
×
  • Create New...