fpw / avitab

X-Plane plugin that displays a tablet to aid VR usage
GNU Affero General Public License v3.0
301 stars 59 forks source link

A way to read the METAR? #136

Closed remenkemi closed 1 year ago

remenkemi commented 1 year ago

Hi, developer here. Is there a way I can read the METAR from Avitab from a dataref?

remenkemi commented 1 year ago

What I mean is more of something like this:

In addition to a dataref for the METAR at the aircraft's current location.

fpw commented 1 year ago

Hi,

as a developer, it's probably easier to implement this yourself. X-Plane 12 includes a new SDK function that does exactly this - see the new XPLMWeather.h file. For X-Plane 11, AviTab simply reads the METAR.rwx file in X-Plane's root directory.

remenkemi commented 1 year ago

Thanks!