Jump to content

Recommended Posts

Posted (edited)

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
Posted

Sure, I hope these will do, I do not know much about this stuff!

 

To display the wind speed I used: sim/weather/wind_speed_kt

 

To display the wind direction i used: sim/weather/wind_direction_degt

Posted

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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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