Tutorials

Quick MSFS Scenery Tutorial: How to Assign Airlines to Gates

Howdy! Here's a quick and dirty tutorial on adding parking codes to your gates to improve where AI aircraft will park in your scenery.
In: Tutorials

Before You Start

Make sure, before you follow this tutorial:

  • You have a text editor capable of editing XML files
  • Your scenery project is properly set up
  • You have placed all your taxiway parking spots, and there are no errors or warnings.

Find Your Airport XML File

In your project, there should be a folder called packed sources. In that, you'll want to look for an XML file. It's usually the ICAO name of your airport, with ".xml" appended to it.

Its location depends on how you have your project setup, but you can check your Package Definition XML, and under the asset group with the type "BGL," you should be able to find an asset directory that contains your XML file.

Edit Your XML File

Next, you'll want to open your XML file in your favorite text editor (I'm a huge VSCode fan).

⚠️
Watch Out! If you are working in the simulator, save in the SDK before you edit your airport XML, and don't make any changes in the SDK while working in the text editor. That way, you don't lose any progress!

Now, in the XML file, you'll want to find all your Taxiway parking spots; they'll look something like this:

<TaxiwayParking index="84" type="GATE_SMALL" lat="29.65255472956816" lon="-95.27397645799849" heading="285.171631" radius="15.000000" name="GATE" number="32" numberMarking="FALSE"/>

Now, add a new attribute to the parking space titled "airlineCodes" and set the contents of the attribute to a comma-separated list of ICAO airline codes allowed to park at the gate. You can find a list of airline codes on this Wikipedia page.

Once you're done, the updated parking space should look like this:

<TaxiwayParking airlineCodes="DAL" index="84" type="GATE_SMALL" lat="29.65255472956816" lon="-95.27397645799849" heading="285.171631" radius="15.000000" name="GATE" number="32" numberMarking="FALSE"/>

Finishing Up

Once you're done editing all the gates, simply save your XML file, close your text editor and build your project.

ATC should now attempt to match airlines' respective gates in the sim.

That's all! Feel free to join our discord, and message me if you have any questions!

Written by
Jackson Casey
Owner and Lead Developer for Texan Simulations. Computer Science student at Texas Tech University.
More from Texan Simulations
Table of Contents
Great! You’ve successfully signed up.
Welcome back! You've successfully signed in.
You've successfully subscribed to Texan Simulations.
Your link has expired.
Success! Check your email for magic link to sign-in.
Success! Your billing info has been updated.
Your billing was not updated.