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

More information on X-Plane aircraft #271

Closed
albar965 opened this issue Jul 16, 2018 · 1 comment

Comments

@albar965
Copy link
Owner

commented Jul 16, 2018

Get more information like type and name for X-Plane user and AI aircraft to draw aircraft more precisely similar to FSX/P3D.

Use XPLMGetNthAircraftModel and then read parts of the *.acf file if it exists:

P acf/_descrip King Air C90
P acf/_name King Air C90
P _engn/0/_type TRB_FRE
P _engn/1/_type TRB_FRE
P acf/_is_helicopter 1
P acf/_is_airliner 0
P acf/_is_general_aviation 1

@albar965 albar965 added this to the Release 2.2 milestone Jul 16, 2018

@albar965 albar965 self-assigned this Jul 16, 2018

albar965 added a commit to albar965/littlexpconnect that referenced this issue Aug 2, 2018

Now reading X-Plane acf files once to get aircraft name and engine ty…
…pe for a better classification in Navmap.

Allows to show helicopter and jet AI symbols in Navmap.
albar965/littlenavmap#271
@albar965

This comment has been minimized.

Copy link
Owner Author

commented Aug 2, 2018

Reading acf/_descrip, _engn/0/_type and acf/_is_helicopter . Navmap now shows jet and helicopters correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.