A password will be e-mailed to you.

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.

Pages: [1]
Author Topic: SDK suggestion - Runway selection for AI
brynmwr
New User
Posts: 5
Send Message
Post SDK suggestion - Runway selection for AI
on: April 3, 2012, 09:02

Hello,

I would like to see one fairly simple addition to the SDK - give us a hook to set the AI aircraft's departure and landing runway.

I would like the program to see if I'm listening for a runway selection event, if I am, ask me which runway the AI should use, and then set that. If I'm not, use the traditional algorithm.

This would give me (and other programmers) the capacity to distribute traffic more realistically around an airport. For instance, at KSEA the runway that is closest to most flights as the approach the airport is 34R/16L. This is also the runway that is closest to the departing aircraft. Some fiddling with the AFD file can close the runway for landing, but what would be ideal is if I could write a small program that followed a simple set of rules specific to KSEA. Landings on all three runways, Departures across the runways as well.

There are plenty of other examples of where this would be helpful. Sending departing aircraft to the Polderbaarn at EHAM or 08R at Honolulu, creating closed-ends, and crossing runway setups (think Vegas, O'Hare, KSFO). And this simple hook would do away with the need to fiddle with the AFD file - my program would just look up a simple text file with the rules for the airport.

It would also reduce the dreaded go-arounds - how many times do we see planes crowding into one runway, simply because that is the runway closest to them.

Anyway - that's my wish. If you add it, my (and everyone elses) AI world will be pretty different and more realistic.

Bryn.

Burkhard
Professional
Posts: 175
Send Message
Post Re: SDK suggestion - Runway selection for AI
on: April 4, 2012, 04:04

Good idea, another addition of realism would be that many runways are not allowed for every aircraft type. From logic, it would be an extension of the flight plan creation?

brynmwr
New User
Posts: 5
Send Message
Post Re: SDK suggestion - Runway selection for AI
on: April 4, 2012, 08:26

Perhaps. But I would see it more as a simconnect event that I can listen for. That would then give me (the programmer) the ultimate flexibility in creating rules for individual airports (or an alternate algorithm for groups of airports). I could identify the aircraft creating the event, it's size, the current traffic loads, the weather, and the distance to the runway all through simconnect using current variables, then I'd just be able to set the runway for that aircraft.

Another cool thing would be the possibility for a small spotters program, where you can control the airport flow.

It's a small addition to simconnect that would open up a lot of possibilities.

Cheers,

Bryn

ChrisHMeye-
r
Lockheed Martin
Posts: 15
Send Message
Post Re: SDK suggestion - Runway selection for AI
on: April 9, 2012, 10:00

Hi Bryn,

Some very good suggestions for our continuing AI development - thank you for the input. I've forwarded portions of the messages above to our 'Feature Request' section here:

http://www.prepar3d.com/forum-5/?mingleforumaction=viewtopic&t=956#postid-4479

Great idea for an additional AI feature!

Regards,
Christopher H. Meyer
Prepar3d Developer

brynmwr
New User
Posts: 5
Send Message
Post Re: SDK suggestion - Runway selection for AI
on: July 22, 2012, 05:04

Which dll handles the runway allocation for aircraft? I've often wondered, because there are a few different dlls that seem likely contenders. Cheers, Bryn.

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.31 ; Page loaded in: 0.112 seconds.