The two datarefs sim/weather/wind_direction_degt and wind_speed_kt appear to be deprecated since XP12.00rc1, since its introduction of new weather dataRefs.
To Reproduce
Start LiveTraffic under XP12.00rc1.
Expected behavior
Shall use supported datarefs. Wind information is used to calculate plane heading in cross wind situations.
Technical Info
OS: any
X-Plane version: XP12.00rc1
LiveTraffic version: v3.0 and later
Log.txt
[LiveTraffic/lin_x64/LiveTraffic.xpl]: Dataref 'sim/weather/wind_direction_degt' has been replaced. Please use the new name.
[LiveTraffic/lin_x64/LiveTraffic.xpl]: Dataref 'sim/weather/wind_speed_kt' has been replaced. Please use the new name.
DataRefs.txt
In X-Planes's DataRefs.txt, these two dataRefs are indeed marked deprecated as of XP12.00rc1, but no clear replacement is mentioned:
sim/weather/wind_direction_degt float n degrees [0-359] The effective direction of the wind at the plane's location. REPLACED - Use the replacement instead.
sim/weather/wind_speed_kt float n m/s >= 0. The effective speed of the wind at the plane's location. WARNING: this dataref is in meters/second - the dataref NAME has a bug. REPLACED - Use the replacement instead.
Potential replacement candidates:
sim/weather/region/wind_speed_msc float y kts >= 0. The wind speed in knots.
sim/weather/region/wind_direction_degt float y degrees [0 - 360] The direction the wind is blowing from in degrees from true north clockwise.
Describe the bug
The two datarefs
sim/weather/wind_direction_degt
andwind_speed_kt
appear to be deprecated since XP12.00rc1, since its introduction of new weather dataRefs.To Reproduce
Start LiveTraffic under XP12.00rc1.
Expected behavior
Shall use supported datarefs. Wind information is used to calculate plane heading in cross wind situations.
Technical Info
Log.txt
DataRefs.txt
In X-Planes's
DataRefs.txt
, these two dataRefs are indeed marked deprecated as of XP12.00rc1, but no clear replacement is mentioned:Potential replacement candidates: