Using Aliasing To Avoid File Duplication

Aliasing is the key to avoiding file duplication among aircraft containers. Use aliasing at the .cfg file level. The following procedure modifies the Sound.cfg so that the Cessna 182 aircraft will use the Sopwith aircraft's sounds, without copying the Sopwith aircraft's sounds to the Cessna aircraft container.

To alias the Sound.cfg file of an aircraft

Note: The following is an example of aliasing. You can apply the same procedure to any .cfg file you want to modify. Specific aircraft and file names are used in this procedure for the purpose of illustration.

  1. Create a new sound.sopwith subdirectory in the C182 directory.

  2. Create a Sound.cfg file in the sound.sopwith subdirectory, as shown in the following code example.
    [fltsim]
    alias=SopCamel\sound


  3. Edit the Aircraft.cfg file of the Cessna. In the [fltsim.1] section, the section for the Cessna 182S, change the sound= parameter to sound=sopwith as shown in the following code example.
    <Before editing>
    [fltsim.1]
    title=Cessna Skylane 182S
    sim=Cessna182S
    model=
    panel=
    sound=
    texture=
    checklists=Cessna182S_check


    <After editing>
    [fltsim.1]
    title=Cessna Skylane 182S
    sim=Cessna182S
    model=
    panel=
    sound=sopwith
    texture=
    checklists=Cessna182S_check

If you want to use the Cessna 182S with its original sounds as well as using the Sopwith sounds, you can create another configuration set, as shown in the following example. For more information, see the topic Adding a Configuration Set.

<Before editing>
[fltsim.0]
title=Cessna Skylane 182R RG
sim=Cessna182RRG
model=rg
panel=rg
sound=
texture=rg
checklists=Cessna182RRG_check

[fltsim.1]
title=Cessna Skylane 182S
sim=Cessna182S
model=
panel=
sound=
texture=
checklists=Cessna182S_check


<After editing>

[fltsim.0]
title=Cessna Skylane 182R RG
sim=Cessna182RRG
model=rg
panel=rg
sound=
texture=rg
checklists=Cessna182RRG_check

[fltsim.1]
title=Cessna Skylane 182S
sim=Cessna182S
model=
panel=
sound=
texture=
checklists=Cessna182S_check

[fltsim.2]
title=C182S (Sopwith Sounds)
sim=Cessna182S
model=
panel=
sound=sopwith
texture=
checklists=Cessna182S_check