CFS2 Configuration file
The Aircraft CFG FILE
CFG file parameters are used to specify which model versions, panels, sounds, textures, and kneeboard components to use, as well as tunable flight parameters for the plane and where to find the files that define those attributes.

The aircraft configuration file, or CFG file, sits at the top of the organization structure for aircraft models in CFS2. Every aircraft in CFS2 has its own aircraft.cfg file, located in the AIRCRAFT folder for that aircraft. For example, the CFG file for Flerk's Corsair is found at drive:\..\Combat Flight Simulator 2\AIRCRAFT\Flerks Corsair\aircraft.cfg.

Through the CFG file, you can set parameters that define ...

  • How the aircraft responds to contact with the ground or ground objects
  • How to simulate flap articulation
  • How the door or cockpit egress works
  • How the wings fold (on carrier-based aircraft)
  • How the arresting gear affects the aircraft (on carrier-based aircraft)
  • How to modify the pilot's view or eyepoint
  • How to modify the aircraft's electrical system
  • How to alter the speed at which the Landing Signals Officer (LSO) brings the plane in to land

Like the DP file, the CFG file is a plain ASCII text file, which means you can edit the information using any text file editor such as Microsoft's WordPad. Unlike the DP file however, the CFG file is always named, "aircraft.cfg," regardless of the model it describes.

CAUTION
1.  Before you start editing the CFG file, create a new folder called "Hangar" under the \Combat Flight Simulator 2\ directory. Make a copy of your entire aircraft folder "My Airplane" and store it in the Hangar folder. If things get really fouled up, you can always delete the folder "My Airplane" from the AIRCRAFT folder and replace it with a copy of your backup in the Hangar folder.

2.  Never use more than one AIR file,e.g. myairplane.air, per aircraft folder. If you really need to use a different air file, then you're dealing with a different aircraft type, not a different version, and you'll need to start a new aircraft folder.

NOTE
After editing the CFG file, you have to reload your aircraft in CFS2. To force a reload, simply select a different aircraft in the Select Aircraft dialog box, then reselect your original model. When you see the image of your aircraft appear in the Select Aircraft preview window, the aircraft has been selected. You don't need to click the OK button unless you want to fly.

The CFG file includes a number of sections with names enclosed in brackets. While exact spelling is important, none of the terms are case sensitive. These sections include ...

[FLTSIM.n]
...
[WEIGHT_AND_BALANCE]
...
[FLIGHT_TUNING]
...
[PISTON_ENGINE] and [TURBOPROP_ENGINE]
...
[PROPELLER] and [JET_ENGINE]
...
[CONTACT_POINTS]
...
[FLAPS.n]
...
[EXITS]
...
[FOLDING_WINGS]
...
[TAILHOOK]
...
[VIEWS]
...
[LSO]
...
[ELECTRICAL]
...
[PITOT_STATIC]
...

Let's begin our investigation of the CFG File by looking at how you can define different versions, or configurations, of your aircraft in the [FLTSIM.n] Section of the aircraft.cfg file.