felix-b / atc

Virtual world of air traffic and ATC as a plugin to X-Plane flight simulator
Other
10 stars 5 forks source link

Ensure AI planes spawn at ramps #186

Closed togfoxy closed 4 years ago

togfoxy commented 4 years ago

AI planes need to spawn at ramps (in prep for departure) in a random way. This involves:

felix-b commented 4 years ago

Current status (as of demo # 3):

felix-b commented 4 years ago

What's necessary to allow multiple aircraft models:

felix-b commented 4 years ago

I think this bullet is necessary to implement the others:

togfoxy commented 4 years ago

Repeating in this issue:

navref = XPLMFindNavAid( nil, nil, LATITUDE, LONGITUDE, nil, xplm_Nav_Airport)

will return an ICAO code for the players closest (current) airport.

togfoxy commented 4 years ago

When starting at a large airport (YBBN) some planes will spawn at only a few ramps. I would expect a lot more ramps to spawn planes.

togfoxy commented 4 years ago

From Felix: I always take 10 first gates in the order they appear in apt.dat the even one for arrivals, and the odd ones for departures

togfoxy commented 4 years ago

Should this be closed? The issue seems to be 'done'. See the 'next level' issue:

https://github.com/felix-b/atc/issues/200

felix-b commented 4 years ago

Yep, closing this one