SimpleAirport

The SimpleAirport sample illustrates the process of creating a new airport package for Microsoft Flight Simulator. Note that this sample includes the absolute minimal set of files that are required to define the scenery - in this case a material to define two simple runways and nothing else.

 

You can expand the link below to see the SimpleAirport file and folder structure:

File OverviewFile Overview

|---+ SimpleAirport
    |---+ PackageDefinitions
    |   |---+ mycompany-airport
    |   |   |---+ ContentInfo
    |   |   |   |---- Thumbnail.jpg
    |   |   |---- Business.json
    |   |---- mycompany-airport.xml
    |---+ PackageSources
    |   |---+ data
    |       |---- mynn.xml
    |   |---+ materials
    |       |---+ Textures
    |       |   |---- Asphalt01_Albedo.png
    |       |   |---- Asphalt01_Albedo.png.FLAGS
    |       |   |---- Asphalt01_COMP.png
    |       |   |---- Asphalt01_COMP.png.FLAGS
    |       |---- myasphalt.material
    |---- AirportProject.xml

 

 

Loading And Building The Project

In order to load and build the project in Microsoft Flight Simulator, you must have previously enabled Developer Mode (see here for more information). Once enabled, simply follow these steps:

 

  • Use the Open project... command from the File menu.

Developer Mode Open Project

 

  • Select the file AirportProject.xml from the SimpleAirport sample project.

Simple Airport XML File

 

  • The Project Editor should open automatically and show you the project mycompany-airport (if the Project Editor doesn't open, then you can open it from the Developer Mode Tools menu)

Simple Airport In Project Editor

 

  • Clicking on the project in the Project Editor will open the Inspector Window, and here you need to click the Build Package button (if the Inspector Window does not open automatically, go to the View menu in the Project Editor and open it from there).

Build Airport Package

 

  • This will build a package from the files specified in your project. This package will be named mycompany-airport and will be output in the Packages folder created in the same directory as AirportProject.xml:

New Airport Package Location

 

  • To get to the airport location, you need to first click on the Edit button beside the myairport (BGL) Asset Group, in the Inspector window:

Edit Simple Airport BGL

 

  • The inspector window will then change to show the details of the BGL file from the package, and there will be a button marked Load In Editor:

Load Airport In Scenery Editor

 

  • Clicking this will load the airport in the Scenery Editor and take you to it:

Simple Airport In The Scenery Editor