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

<PropertyList>

  <sim                    include="../VIEWS/views.xml">

    <allow-toggle-cockpit archive="y">true</allow-toggle-cockpit>

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

    <startup>
      <splash-texture>Aircraft/DO-X/dox-splash.png</splash-texture>
    </startup>

    <sound>
      <path               archive="y">Aircraft/DO-X/Sounds/dox-sound.xml</path>
    </sound>

    <model>
      <path               archive="y">Aircraft/DO-X/Models/dox.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>
      <livery-engine>
        <file             type="string"/>
        <specular>
          <red            type="float"> 0.02 </red>
          <green          type="float"> 0.02 </green>
          <blue           type="float"> 0.02 </blue>
        </specular>
      </livery-engine>
      <anchor             type="bool"/>
      <anchor-lat         type="float"/>
      <anchor-lon         type="float"/>
      <show-yoke          type="bool"/>
    </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>
        <!-- color -->
        <int    n="7"  type="int">0</int>
        <!-- key position -->
        <int    n="9"  type="int"    alias="/controls/electric/key-pos">0</int>
        <!-- AFN2 maker -->
        <int    n="14" type="int"    alias="/instrumentation/afn2/markeron">0</int>
        <!--  -->
        <bool   n="0"  alias="/sim/model/anchor"/>
        <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="/gear/gear[3]/wow"/>
        <bool   n="7"  alias="/gear/gear[4]/wow"/>
        <!-- -->
        <bool   n="8"  alias="//instrumentation/afn2/markeron"/>
        <!-- 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"/>
        <!-- Engines -->
        <bool   n="17" alias="/engines/engine[0]/cranking"/>
        <bool   n="18" alias="/engines/engine[1]/cranking"/>
        <bool   n="19" alias="/engines/engine[2]/cranking"/>
        <bool   n="20" alias="/engines/engine[3]/cranking"/>
        <bool   n="21" alias="/engines/engine[4]/cranking"/>
        <bool   n="22" alias="/engines/engine[5]/cranking"/>
        <bool   n="23" alias="/engines/engine[6]/cranking"/>
        <bool   n="24" alias="/engines/engine[7]/cranking"/>
        <bool   n="25" alias="/engines/engine[8]/cranking"/>
        <bool   n="26" alias="/engines/engine[9]/cranking"/>
        <bool   n="27" alias="/engines/engine[10]/cranking"/>
        <bool   n="28" alias="/engines/engine[11]/cranking"/>
        <!-- Doors -->
        <float  n="0"  alias="/instrumentation/doors/crew/position-norm"/>
        <float  n="1"  alias="/instrumentation/doors/passenger/position-norm"/>
        <!-- altitude for MP shadow -->
        <float  n="2"  alias="/position/gear-agl-m">0</float>
        <!-- Aileron direction for MP -->
        <float  n="3"  alias="/instrumentation/rdf/rotation-deg">0</float>
        <!-- AFN2 heading-correction for MP -->
        <float  n="4"  alias="/instrumentation/afn2/heading-correction">0</float>
        <!-- AFN2 distance for MP -->
        <float  n="5"  alias="/instrumentation/afn2/distance">0</float>
        <!-- Vertical Speed for MP -->
        <float  n="6"  alias="/instrumentation/vertical-speed-indicator/indicated-speed-fpm">0</float>
        <!-- slip-skid ball in turn instrument for MP -->
        <float  n="7"  alias="/instrumentation/slip-skid-ball/indicated-slip-skid">0</float>
        <!-- turn rate for MP -->
        <float  n="8"  alias="/instrumentation/turn-indicator/indicated-turn-rate">0</float>
        <!-- magnetic Compass for MP -->
        <float  n="9"  alias="/instrumentation/magnetic-compass/indicated-heading-deg">0</float>
        <!-- throttle gear right for MP -->
        <float  n="10" alias="/controls/engines/throttle-pilot-right">0</float>
        <!-- throttle gear left for MP -->
        <float  n="11" alias="/controls/engines/throttle-pilot-left">0</float>
        <!-- Comme souvent ceux qui ajoutent de nouvelles fonctionnalités ne prennent pas le temps de réfléchir
        et d'étudier avant. Même si il est le seul le DO X à 12 moteurs. Et bien sur ils ont limité le
        nombre de propriété rpm à 10 dans le nouveau protocol
        -->
        <float  n="12" alias="/engines/engine[10]/rpm">0</float>
        <float  n="13" alias="/engines/engine[11]/rpm">0</float>
        <!-- -->
        <float  n="14" alias="/instrumentation/airspeed-indicator/indicated-speed-kt">0</float>
        <!-- -->
        <float  n="15" alias="/controls/engines/average-rpm-left"/>
        <float  n="16" alias="/controls/engines/average-rpm-right"/>
        <!-- Immat -->
        <string n="0"  alias="/sim/model/immat"/>
        <!-- -->
        <string n="1"  alias="/sim/model/livery/texture"/>
        <string n="2"  alias="/sim/model/livery-engine/texture"/>
        <!-- For Bombable -->
        <int    n="10" type="int" alias="/controls/armament/trigger"/>
        <string n="9"  type="string"/>
      </generic>
    </multiplay>

    <controls>
      <generic>
        <int type="double" n="1" alias="/controls/engines/throttle-pilot-left"/>
        <int type="double" n="2" alias="/controls/engines/throttle-pilot-right"/>
        <int type="double" n="3" alias="/controls/engines/helpengine-lever"/>
        <int type="double" n="4" alias="/controls/anchor-lat"/>
        <int type="double" n="5" alias="/controls/anchor-lon"/>
        <int type="bool"   n="6" alias="/controls/anchor"/>
        <int type="bool"   n="7" alias="/controls/lighting/panel"/>
        <int type="bool"   n="8" alias="/controls/lighting/navigationcabin"/>
        <int type="bool"   n="9" alias="/controls/lighting/engineerpanel"/>
        <int type="bool"   n="10" alias="/controls/lighting/radiocabin"/>
        <int type="bool"   n="11" alias="/controls/lighting/helpenginecabin"/>
        <int type="bool"   n="12" alias="/controls/lighting/brightness"/>
        <int type="bool"   n="13" alias="/controls/glass-effect"/>
        <int n="14" alias="/instrumentation/rdf/power-on"/>
        <int n="15" alias="/instrumentation/rdf/frequency-select-knob"/>
        <int type="double" n="16" alias="/instrumentation/afn2/heading-correction"/>
        <int n="17" alias="/instrumentation/afn2/markeron"/>
        <int type="double" n="18" alias="/instrumentation/afn2/distance"/>
        <int type="bool"   n="19" alias="/instrumentation/rdf/headset/enabled"/>
        <int type="bool"   n="20" alias="/instrumentation/rdf/headset/atc-enabled"/>
        <int type="double" n="21" alias="/instrumentation/rdf/headset/atc-volume"/>
        <int type="bool"   n="22" alias="/instrumentation/rdf/headset/avionics-enabled"/>
        <int type="double" n="23" alias="/instrumentation/rdf/headset/avionics-volume"/>
        <int type="bool"   n="24" alias="/instrumentation/rdf/headset/chatter-enabled"/>
        <int type="double" n="25" alias="/instrumentation/rdf/headset/chatter-volume"/>
        <int type="bool"   n="26" alias="/instrumentation/rdf/headset/effects-enabled"/>
        <int type="double" n="27" alias="/instrumentation/rdf/headset/effects-volume"/>
        <int type="bool"   n="28" alias="/instrumentation/rdf/headset/master-enabled"/>
        <int type="double" n="29" alias="/instrumentation/rdf/headset/master-volume"/>
        <int type="bool"   n="30" alias="/instrumentation/rdf/headset/adf-ident-audible"/>
        <int type="double" n="31" alias="/instrumentation/rdf/headset/adf-volume-norm"/>
        <int type="bool"   n="32" alias="/instrumentation/rdf/headset/nav-audio-btn"/>
        <int type="double" n="33" alias="/instrumentation/rdf/headset/nav-volume"/>
        <!-- From the Navigation Officer dox-rdf.nas-->
        <string n="0" type="string" alias="/instrumentation/rdf/message-to-pilot"/>
      </generic>
    </controls>

    <help            include="../HELP/help.xml"/>

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

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

  </sim>

  <input             include="../KEYBOARD/keyboard.xml"/>

  <controls          include="../controls.xml"/>

  <engines           include="../engines.xml"/>

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

  <nasal>
    <doors>
      <file>Aircraft/DO-X/Nasal/doors.nas</file>
    </doors>
    <dox>
      <file>Aircraft/DO-X/Nasal/hdr.nas</file>
      <file>Aircraft/DO-X/Nasal/dox.nas</file>
      <file>Aircraft/DO-X/Nasal/anchor.nas</file>
      <file>Aircraft/DO-X/Nasal/light.nas</file>
      <file>Aircraft/DO-X/Nasal/dox-lights.nas</file>
      <file>Aircraft/DO-X/Nasal/dox-clutch.nas</file>
      <file>Aircraft/DO-X/Nasal/dox-helpengine.nas</file>
      <file>Aircraft/DO-X/Nasal/dox-menu.nas</file>
      <file>Aircraft/DO-X/Nasal/dox-oil.nas</file>
      <file>Aircraft/DO-X/Nasal/dox-rdf.nas</file>
      <file>Aircraft/DO-X/Nasal/dox-rpm.nas</file>
      <file>Aircraft/DO-X/Nasal/dox-starter.nas</file>
      <file>Aircraft/DO-X/Nasal/dox-afn2.nas</file>
      <file>Aircraft/DO-X/Nasal/liveries.nas</file>
      <file>Aircraft/DO-X/Nasal/convert.nas</file>
      <file>Aircraft/DO-X/Nasal/Electrical.nas</file>
      <file>Aircraft/DO-X/Nasal/dialogs.nas</file>
    </dox>
    <immat>
      <file>Aircraft/DO-X/Nasal/immat.nas</file>
    </immat>
    <engines>
      <file>Aircraft/DO-X/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>
