Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[XP12] New Datarefs should be used #296

Open
AirLuSa opened this issue Aug 20, 2024 · 2 comments
Open

[XP12] New Datarefs should be used #296

AirLuSa opened this issue Aug 20, 2024 · 2 comments
Labels
good first issue Good for newcomers X-Plane

Comments

@AirLuSa
Copy link

AirLuSa commented Aug 20, 2024

In the Log.txt file it is mentioned that xswiftbus should use new datarefs. See extract with all the relevant data refs:

[XSwiftBus]: Dataref 'sim/flightmodel2/controls/flap_handle_deploy_ratio' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/barometer_sealevel_inhg' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/use_real_weather_bool' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/visibility_reported_m' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/rain_percent' has been replaced. Please use the new name.
Missing dataref:sim/weather/thunderstorm_percent
[XSwiftBus]: Dataref 'sim/weather/wind_turbulence_percent' is deprecated and will be removed in a future version.
[XSwiftBus]: Dataref 'sim/weather/temperature_sealevel_c' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/dewpoi_sealevel_c' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/runway_friction' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/cloud_base_msl_m[0]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/cloud_tops_msl_m[0]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/cloud_type[0]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/cloud_coverage[0]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/cloud_base_msl_m[1]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/cloud_tops_msl_m[1]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/cloud_type[1]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/cloud_coverage[1]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/cloud_base_msl_m[2]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/cloud_tops_msl_m[2]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/cloud_type[2]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/cloud_coverage[2]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/wind_altitude_msl_m[0]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/wind_direction_degt[0]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/wind_speed_kt[0]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/shear_direction_degt[0]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/shear_speed_kt[0]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/turbulence[0]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/wind_altitude_msl_m[1]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/wind_direction_degt[1]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/wind_speed_kt[1]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/shear_direction_degt[1]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/shear_speed_kt[1]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/turbulence[1]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/wind_altitude_msl_m[2]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/wind_direction_degt[2]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/wind_speed_kt[2]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/shear_direction_degt[2]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/shear_speed_kt[2]' has been replaced. Please use the new name.
[XSwiftBus]: Dataref 'sim/weather/turbulence[2]' has been replaced. Please use the new name.

@ltoenning
Copy link
Contributor

With the next version, swift does not use the weather datarefs anymore. Therefore only sim/flightmodel2/controls/flap_handle_deploy_ratio needs to be replaced.

I do not own X-Plane 12, so I cannot work on this right now.

@ltoenning ltoenning added the good first issue Good for newcomers label Nov 17, 2024
@AirLuSa
Copy link
Author

AirLuSa commented Nov 17, 2024

looked it up and the new data ref is the following:
sim/cockpit2/controls/flap_system_deploy_ratio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers X-Plane
Projects
None yet
Development

No branches or pull requests

2 participants