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

<PropertyList>

  <sim               include="views.xml">

    <fuel-fraction>1</fuel-fraction>

    <startup>
      <splash-texture>Aircraft/Beechcraft-Staggerwing/model17-splash.png</splash-texture>
    </startup>

    <sound>
      <path          archive="y">Aircraft/Beechcraft-Staggerwing/Sounds/model17-sound.xml</path>
    </sound>

    <model>
      <path          archive="y">Aircraft/Beechcraft-Staggerwing/Models/model17.xml</path>
      <livery>
        <file        type="string"/>
        <specular>
          <red       type="float"> 0.02 </red>
          <green     type="float"> 0.02 </green>
          <blue      type="float"> 0.02 </blue>
        </specular>
      </livery>
      <immat         type="string"/>
      <show-immat    type="bool">true</show-immat>
    </model>

    <systems         include="rules.xml"/>

    <instrumentation include="initialisation.xml"/>

    <multiplay>
      <chat_display>1</chat_display>
      <generic>
        <!-- Immat -->
        <int    n="0"  type="int">0</int>
        <int    n="1"  type="int">0</int>
        <int    n="2"  type="int">0</int>
        <int    n="3"  type="int">0</int>
        <int    n="4"  type="int">0</int>
        <int    n="5"  type="int">0</int>
        <!--  -->
        <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="/sim/model/show-immat"/>
        <!-- Engines -->
        <bool   n="9"  alias="/engines/engine[0]/cranking"/>
        <!-- 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"/>
        <!-- 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"/>
        <float  n="3"  alias="/position/altitude-ft"/>
        <!-- Engines -->
        <float  n="4"  alias="/engines/engine[0]/rpm"/>
        <!-- Ground -->
        <float  n="5"  alias="/gear/gear[0]/rollspeed-ms"/>
        <float  n="6"  alias="/gear/gear[1]/rollspeed-ms"/>
        <float  n="7"  alias="/gear/gear[2]/rollspeed-ms"/>
        <!-- -->
        <float  n="8"  alias="/instrumentation/airspeed-indicator/indicated-speed-kt"/>
        <float  n="9"  alias="/gear/gear[0]/caster-angle-deg"/>
        <!-- -->
        <float  n="10" alias="/gear/gear[0]/compression-norm"/>
        <float  n="11" alias="/gear/gear[1]/compression-norm"/>
        <float  n="12" alias="/gear/gear[2]/compression-norm"/>
        <!-- -->
        <float  n="13" alias="/sim/model/immat"/>
        <!-- Immat -->
        <string n="1"  alias="/sim/multiplay/callsign"/>
        <!-- For Bombable -->
        <int    n="10" type="int" alias="controls/armament/trigger"/>
        <string n="9"  type="string"/>
      </generic>
    </multiplay>

    <weight          n="0">
      <name          type="string">Pilot</name>
      <weight-lb     type="double">180</weight-lb>
      <max-lb        type="double">240</max-lb>
      <min-lb        type="double">140</min-lb>
    </weight>

    <weight          n="1">
      <name          type="string">Pax</name>
      <weight-lb     type="double">0</weight-lb>
      <max-lb        type="double">240</max-lb>
      <min-lb        type="double">0</min-lb>
    </weight>

    <weight           n="2">
      <name          type="string">Baggage</name>
      <weight-lb     type="double">0</weight-lb>
      <max-lb        type="double">20</max-lb>
      <min-lb        type="double">0</min-lb>
    </weight>

    <model17         include="model17.xml"/>

    <help            include="help.xml"/>

    <flaps           include="flaps.xml"/>

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

    <gears           include="gears.xml"/>

  </sim>

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

  <engines           include="engines.xml"/>

  <controls          include="controls.xml"/>

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

  <nasal>
    <doors>
      <file>Aircraft/Beechcraft-Staggerwing/Nasal/doors.nas</file>
    </doors>
    <model17>
      <file>Aircraft/Beechcraft-Staggerwing/Nasal/hdr.nas</file>
      <file>Aircraft/Beechcraft-Staggerwing/Nasal/liveries.nas</file>
      <file>Aircraft/Beechcraft-Staggerwing/Nasal/light.nas</file>
      <file>Aircraft/Beechcraft-Staggerwing/Nasal/convert.nas</file>
      <file>Aircraft/Beechcraft-Staggerwing/Nasal/Electrical.nas</file>
    </model17>
    <immat>
      <file>Aircraft/Beechcraft-Staggerwing/Nasal/immat.nas</file>
    </immat>

    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>
