Jump to content

Wind datarefs available?


Hampster
 Share

Recommended Posts

I am currently making an *unnamed* and *awesome* speed record sailboat for X-Plane, but I have hit a few problems!

 

I would like to be able to adjust the wind DIRECTION and SPEED from inside my cockpit. I know I can do this by applying a dataref to a generic rheostat (like some can effect the POV or time) but I can only find datarefs that display the data, not change it...

 

Help?

Edited by Hampster
Link to comment
Share on other sites

X-Planes weather is controlled by three layers of values.

 

The dataref's you're trying to use are an "aircraft local" interpretation of the layers.

 

Use these to "set" the weather:

 

sim/weather/

wind_altitude_msl_m[0]

wind_direction_degt[0]

wind_speed_kt[0]

shear_direction_degt[0]

shear_speed_kt[0]

turbulence[0]

 

 

You will notices that the dataref names contain what looks like array specifiers.

 

These datarefs are definitely NOT arrays, they just have poorly selected names that are a historical artifact of X-Plane.

 

I'm fairly sure the lowest weather layer is controlled by the datarefs that end in [0]. If not, try the others in the set. ([1] and [2])

 

 

Hope that helps.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...