<?xml version="1.0" encoding="ISO-8859-1"?>

<PropertyList>

  <sim               include="views.xml">

    <startup>
      <splash-texture>Aircraft/dhc7/dhc7-splash.png</splash-texture>
    </startup>

    <sound>
      <audible>true</audible>
      <path>Aircraft/dhc7/Sounds/dhc7-sound.xml</path>
    </sound>

    <model>
      <path>Aircraft/dhc7/Models/dhc7.xml</path>
      <livery>
        <file        type="string"/>
        <specular>
          <red       type="float"> 0.03 </red>
          <green     type="float"> 0.03 </green>
          <blue      type="float"> 0.03 </blue>
        </specular>
      </livery>
      <show-copilot  type="bool"/>
      <show-yoke     type="bool"/>
    </model>

    <systems         include="rules.xml"/>

    <instrumentation include="initialisation.xml"/>

    <multiplay>
      <chat_display>1</chat_display>
      <generic>
        <!-- -->
        <int    n="0"  type="int"/>
        <int    n="1"  type="int"/>
        <int    n="2"  type="int"/>
        <int    n="3"  type="int"/>
        <int    n="4"  type="int"/>
        <int    n="5"  type="int"/>
        <!-- -->
        <bool   n="0"  alias="/sim/model/show-copilot"/>
        <bool   n="1"  alias="/sim/model/show-yoke"/>
        <bool   n="2"  alias="/sim/rendering/hdr/hdr-enabled"/>
        <bool   n="3"  alias="/gear/gear[0]/wow"/>
        <bool   n="4"  alias="/gear/gear[1]/wow"/>
        <bool   n="5"  alias="/gear/gear[2]/wow"/>
        <!-- -->
        <bool   n="6"  alias="/controls/engines/engine[0]/cutoff"/>
        <bool   n="7"  alias="/controls/engines/engine[1]/cutoff"/>
        <bool   n="8"  alias="/controls/engines/engine[2]/cutoff"/>
        <bool   n="9"  alias="/controls/engines/engine[3]/cutoff"/>
        <!-- Lights -->
        <bool   n="11" alias="/controls/lighting/beacon"/>
        <bool   n="12" alias="/sim/model/lights/beacon/state"/>
        <bool   n="13" alias="/controls/lighting/strobe"/>
        <bool   n="14" alias="/sim/model/lights/sbc1/state"/>
        <bool   n="15" alias="/controls/lighting/nav-lights"/>
        <bool   n="16" alias="/controls/lighting/landing-lights"/>
        <!-- -->
        <bool   n="17" alias="/controls/engines/engine[0]/starter"/>
        <bool   n="18" alias="/controls/engines/engine[1]/starter"/>
        <bool   n="19" alias="/controls/engines/engine[2]/starter"/>
        <bool   n="20" alias="/controls/engines/engine[3]/starter"/>
        <!-- Doors -->
        <float  n="0"  alias="/sim/model/door-positions/crew/position-norm"/>
        <float  n="1"  alias="/sim/model/door-positions/passenger/position-norm"/>
        <!-- -->
        <float  n="2"  alias="/position/gear-agl-m">0</float>
        <float  n="3"  alias="/position/altitude-ft">0</float>
        <!-- -->
        <float  n="4"  alias="/engines/engine[0]/n1"/>
        <float  n="5"  alias="/engines/engine[1]/n1"/>
        <float  n="6"  alias="/engines/engine[2]/n1"/>
        <float  n="7"  alias="/engines/engine[3]/n1"/>
        <!-- -->
        <float  n="8"  alias="/engines/engine[0]/n2"/>
        <float  n="9"  alias="/engines/engine[1]/n2"/>
        <float  n="10" alias="/engines/engine[2]/n2"/>
        <float  n="11" alias="/engines/engine[3]/n2"/>
        <!-- -->
        <float  n="12" alias="/gear/gear[0]/rollspeed-ms"/>
        <float  n="13" alias="/gear/gear[1]/rollspeed-ms"/>
        <float  n="14" alias="/gear/gear[2]/rollspeed-ms"/>
        <float  n="15" alias="/gear/gear[0]/caster-angle-deg"/>
        <!-- -->
        <float  n="16" alias="/instrumentation/airspeed-indicator/indicated-speed-kt"/>
        <!-- -->
        <float  n="17" alias="/gear/gear[0]/compression-norm"/>
        <float  n="18" alias="/gear/gear[1]/compression-norm"/>
        <float  n="19" alias="/gear/gear[2]/compression-norm"/>
        <!-- Doors -->
        <float  n="20" alias="/sim/model/door-positions/rearL/position-norm"/>
        <float  n="21" alias="/sim/model/door-positions/rearR/position-norm"/>
        <float  n="22" alias="/sim/model/door-positions/bayL/position-norm"/>
        <float  n="23" alias="/sim/model/door-positions/bayR/position-norm"/>
        <!-- -->
        <string n="1"  alias="/sim/model/livery/texture"/>
        <!-- For Bombable -->
        <int    n="10" alias="/controls/armament/trigger"/>
        <string n="9"  type="string"/>
      </generic>
    </multiplay>

    <help            include="help.xml"/>

    <flaps           include="flaps.xml"/>

    <menubar         include="../Dialogs/dhc7-menu.xml"/>

    <aircraft-data   include="aircraft-data.xml"/>

  </sim>

  <input             include="dhc7-keyboard.xml"/>

  <controls          include="controls.xml"/>

  <engines           include="engines.xml"/>

  <consumables       include="consumables.xml"/>

  <instrumentation   include="instrumentation.xml">
    <gsdi>
      <serviceable   type="bool">true</serviceable>
      <enabled       type="bool">true</enabled>
    </gsdi>
  </instrumentation>

  <nasal>
    <doors>
      <file>Aircraft/dhc7/Nasal/doors.nas</file>
    </doors>
    <dhc7>
      <file>Aircraft/dhc7/Nasal/hdr.nas</file>
      <file>Aircraft/dhc7/Nasal/light.nas</file>
      <file>Aircraft/dhc7/Nasal/liveries.nas</file>
      <file>Aircraft/dhc7/Nasal/Electrical.nas</file>
      <file>Aircraft/dhc7/Nasal/convert.nas</file>
      <file>Aircraft/dhc7/Nasal/dialogs.nas</file>
    </dhc7>
    <clock>
      <file>Aircraft/dhc7/Models/Interior/Panel/Instruments/clock/clock.nas</file>
    </clock>
    <engines>
      <file>Aircraft/dhc7/Nasal/generic-yasim-engine.nas</file>
      <file>Aircraft/dhc7/Nasal/engines-yasim.nas</file>
    </engines>

    aircraft.data.add(

      "instrumentation/nav[0]/power-btn",
      "instrumentation/nav[0]/audio-btn",
      "instrumentation/nav[0]/frequencies/selected-mhz",
      "instrumentation/nav[0]/frequencies/standby-mhz",
      "instrumentation/nav[0]/to-flag",
      "instrumentation/nav[0]/from-flag",
      "instrumentation/nav[0]/radials/selected-deg",
      "instrumentation/nav[0]/gs-needle-deflection",
      "instrumentation/nav[0]/heading-needle-deflection",
      "instrumentation/nav[0]/in-range",
      "instrumentation/comm[0]/volume",
      "instrumentation/comm[0]/frequencies/selected-mhz",
      "instrumentation/comm[0]/frequencies/standby-mhz",
      "instrumentation/comm[0]/test-btn",

      "instrumentation/nav[1]/power-btn",
      "instrumentation/nav[1]/audio-btn",
      "instrumentation/nav[1]/frequencies/selected-mhz",
      "instrumentation/nav[1]/frequencies/standby-mhz",
      "instrumentation/nav[1]/to-flag",
      "instrumentation/nav[1]/from-flag",
      "instrumentation/nav[1]/radials/selected-deg",
      "instrumentation/nav[1]/gs-needle-deflection",
      "instrumentation/nav[1]/heading-needle-deflection",
      "instrumentation/nav[1]/in-range",
      "instrumentation/comm[1]/volume",
      "instrumentation/comm[1]/frequencies/selected-mhz",
      "instrumentation/comm[1]/frequencies/standby-mhz",
      "instrumentation/comm[1]/test-btn",

    );

  </nasal>

</PropertyList>
