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

<PropertyList>

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

    <fuel-fraction>0.8</fuel-fraction>

    <startup>
     <splash-texture>Aircraft/Aermacchi-MB-339/mb339-splash.png</splash-texture>
    </startup>

    <sound>
      <audible>true</audible>
      <path>Aircraft/Aermacchi-MB-339/Sounds/mb339-sound.xml</path>
    </sound>

    <model>
      <path>Aircraft/Aermacchi-MB-339/Models/mb339-cp.xml</path>
      <livery>
        <file          type="string"></file>
        <specualar>
          <red         type="float">0.05</red>
          <green       type="float">0.05</green>
          <blue        type="float">0.05</blue>
        </specualar>
      </livery>
      <show-copilot    type="bool"/>
      <show-tiptanks   type="bool"/>
      <show-smoketanks type="bool"/>
      <show-tanks      type="bool"/>
      <show-probe      type="bool"/>
      <show-HUD        type="bool"/>
      <show-GA>
        <A             type="bool"/>
        <G             type="bool"/>
      </show-GA>
      <show-CD         type="bool"/>
      <show-gunpod     type="bool"/>
      <empty-wings     type="bool"/>
      <smoke           type="bool"/>
      <smokecolors     type="int">1</smokecolors>
    </model>

    <systems           include="../rules.xml"/>

    <instrumentation   include="../initialisation.xml"/>

    <multiplay>
      <chat_display>1</chat_display>
      <generic>
        <!-- Immat -->
        <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"/>
        <!-- -->
        <int    n="6"  alias="/sim/model/smokecolors">1</int>
        <!-- -->
        <bool   n="0"  alias="/sim/model/show-copilot"/>
        <bool   n="1"  alias="/sim/model/show-tiptanks"/>
        <bool   n="2"  alias="/sim/model/show-smoketanks"/>
        <bool   n="3"  alias="/sim/model/show-tanks"/>
        <bool   n="4"  alias="/sim/model/show-probe"/>
        <bool   n="5"  alias="/sim/model/show-HUD"/>
        <bool   n="6"  alias="/sim/model/show-GA/G"/>
        <bool   n="7"  alias="/sim/model/show-GA/A"/>
        <bool   n="8"  alias="/sim/model/show-CD"/>
        <bool   n="9"  alias="/controls/engines/engine[0]/cutoff"/>
        <bool   n="10" alias="/sim/model/smoke"/>
        <!-- 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/lighting/formation-lights"/>
        <!-- -->
        <bool   n="18" alias="/sim/rendering/hdr/hdr-enabled"/>
        <bool   n="19" alias="/sim/model/empty-wings"/>
        <bool   n="20" alias="/gear/gear[0]/wow"/>
        <bool   n="21" alias="/gear/gear[1]/wow"/>
        <bool   n="22" alias="/gear/gear[2]/wow"/>
        <bool   n="23" alias="/sim/model/show-gunpod"/>
        <bool   n="24" alias="/controls/armament/master-arm"/>
        <!-- Doors -->
        <float  n="0"  alias="/sim/model/door-positions/crew/position-norm"/>
        <!-- -->
        <float  n="1"  alias="/position/gear-agl-m"/>
        <float  n="2"  alias="/position/altitude-ft"/>
        <float  n="3"  alias="/controls/engines/engine[0]/throttle"/>
        <!-- Engines -->
        <float  n="4"  alias="/engines/engine[0]/n1"/>
        <float  n="5"  alias="/engines/engine[0]/n2"/>
        <!-- Ground -->
        <float  n="6"  alias="/gear/gear[0]/rollspeed-ms"/>
        <float  n="7"  alias="/gear/gear[1]/rollspeed-ms"/>
        <float  n="8"  alias="/gear/gear[2]/rollspeed-ms"/>
        <!-- -->
        <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"/>
        <!-- For Bombable -->
        <int    n="10" alias="/controls/armament/trigger1"/>
        <int    n="11" alias="/controls/armament/trigger2"/>
        <int    n="12" alias="/controls/armament/trigger3"/>
        <int    n="13" alias="/controls/armament/trigger4"/>
        <int    n="14" alias="/controls/armament/trigger5"/>
        <string n="9"  type="string"/>
      </generic>
    </multiplay>

    <!-- Tip wings tanks -->
    <weight            n="0">
      <name            type="string">Wing left tip</name>
      <weight-lb       type="double">0</weight-lb>
      <selected        type="string">none</selected>
      <offsets>
        <x-m           type="double"> -0.256 </x-m>
        <y-m           type="double"> -5.207 </y-m>
        <z-m           type="double"> -0.659 </z-m>
      </offsets>
      <opt             n="0">
        <name          type="string">none</name>
        <lbs           type="double">0</lbs>
      </opt>
      <opt             n="1">
        <name          type="string">Fuel tank</name>
        <lbs           type="double">335</lbs>
      </opt>
    </weight>

    <weight            n="1">
      <name            type="string">Wing right tip</name>
      <weight-lb       type="double">0</weight-lb>
      <selected        type="string">none</selected>
      <offsets>
        <x-m           type="double"> -0.256 </x-m>
        <y-m           type="double">  5.207 </y-m>
        <z-m           type="double"> -0.659 </z-m>
      </offsets>
      <opt             n="0">
        <name          type="string">none</name>
        <lbs           type="double">0</lbs>
      </opt>
      <opt             n="1">
        <name          type="string">Fuel tank</name>
        <lbs           type="double">335</lbs>
      </opt>
    </weight>

    <!-- Wings tank -->
    <weight            n="2">
      <name            type="string">Wing Left center</name>
      <weight-lb       type="double">0</weight-lb>
      <selected        type="string">none</selected>
      <offsets>
        <x-m           type="double"> -0.556 </x-m>
        <y-m           type="double"> -2.777 </y-m>
        <z-m           type="double"> -1.205 </z-m>
      </offsets>
      <opt             n="0">
        <name          type="string">none</name>
        <lbs           type="double">0</lbs>
      </opt>
      <opt             n="1">
        <name          type="string">Fuel tank</name>
        <lbs           type="double">335</lbs>
      </opt>
    </weight>

    <weight            n="3">
      <name            type="string">Wing Right center</name>
      <weight-lb       type="double">0</weight-lb>
      <selected        type="string">none</selected>
      <offsets>
        <x-m           type="double"> -0.556 </x-m>
        <y-m           type="double">  2.777 </y-m>
        <z-m           type="double"> -1.205 </z-m>
      </offsets>
      <opt             n="0">
        <name          type="string">none</name>
        <lbs           type="double">0</lbs>
      </opt>
      <opt             n="1">
        <name          type="string">Fuel tank</name>
        <lbs           type="double">335</lbs>
      </opt>
    </weight>

    <!-- AIM-9M (exterior) -->
    <weight            n="4">
      <name            type="string">Wing Left exterior</name>
      <weight-lb       type="double">0</weight-lb>
      <selected        type="string">none</selected>
      <offsets>
        <x-m           type="double"> -0.395 </x-m>
        <y-m           type="double"> -3.596 </y-m>
        <z-m           type="double"> -1.180 </z-m>
      </offsets>
      <opt             n="0">
        <name          type="string">none</name>
        <lbs           type="double">0</lbs>
      </opt>
      <opt             n="1">
        <name          type="string">AIM-9M</name>
        <lbs           type="double">187</lbs>
      </opt>
    </weight>

    <weight            n="5">
      <name            type="string">Wing Right exterior</name>
      <weight-lb       type="double">0</weight-lb>
      <selected        type="string">none</selected>
      <offsets>
        <x-m           type="double"> -0.395 </x-m>
        <y-m           type="double">  3.596 </y-m>
        <z-m           type="double"> -1.180 </z-m>
      </offsets>
      <opt             n="0">
        <name          type="string">none</name>
        <lbs           type="double">0</lbs>
      </opt>
      <opt             n="1">
        <name          type="string">AIM-9M</name>
        <lbs           type="double">187</lbs>
      </opt>
    </weight>

    <!-- Smoke tank or MK 82 or GunPod-->
    <weight            n="6">
      <name            type="string">Wing left interior</name>
      <weight-lb       type="double">0</weight-lb>
      <selected        type="string">none</selected>
      <offsets>
        <x-m           type="double"> -0.212 </x-m>
        <y-m           type="double"> -4.303 </y-m>
        <z-m           type="double"> -0.977 </z-m>
      </offsets>
      <opt             n="0">
        <name          type="string">none</name>
        <lbs           type="double">0</lbs>
      </opt>
      <opt             n="1">
        <name          type="string">Smoke tank</name>
        <lbs           type="double">196.21</lbs>
      </opt>
      <opt             n="2">
        <name          type="string">MK 82</name>
        <lbs           type="double">507</lbs>
      </opt>
      <opt             n="3">
        <name          type="string">Gun Pod</name>
        <lbs           type="double">187</lbs>
      </opt>
    </weight>

    <weight            n="7">
      <name            type="string">Wing right interior</name>
      <weight-lb       type="double">0</weight-lb>
      <selected        type="string">none</selected>
      <offsets>
        <x-m           type="double"> -0.212 </x-m>
        <y-m           type="double">  4.303 </y-m>
        <z-m           type="double"> -0.977 </z-m>
      </offsets>
      <opt             n="0">
        <name          type="string">none</name>
        <lbs           type="double">0</lbs>
      </opt>
      <opt             n="1">
        <name          type="string">Smoke tank</name>
        <lbs           type="double">196.21</lbs>
      </opt>
      <opt             n="2">
        <name          type="string">MK 82</name>
        <lbs           type="double">507</lbs>
      </opt>
      <opt             n="3">
        <name          type="string">Gun Pod</name>
        <lbs           type="double">187</lbs>
      </opt>
    </weight>

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

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

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

  </sim>

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

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

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

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

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

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

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

  <!-- Dual control depend on this value -->
  <dual-control>
    <active            type="bool">false</active>
    <i-am-the-pilot    type="bool">false</i-am-the-pilot>
  </dual-control>

  <nasal>
    <aar>
      <file>Aircraft/Aermacchi-MB-339/Nasal/aar.nas</file>
      <!-- <file>Aircraft/Generic/aar.nas</file> -->
    </aar>
    <doors>
      <file>Aircraft/Aermacchi-MB-339/Nasal/doors.nas</file>
    </doors>
    <mb339>
      <file>Aircraft/Aermacchi-MB-339/Nasal/hdr.nas</file>
      <file>Aircraft/Aermacchi-MB-339/Nasal/liveries.nas</file>
      <file>Aircraft/Aermacchi-MB-339/Nasal/light.nas</file>
      <file>Aircraft/Aermacchi-MB-339/Nasal/millibar.nas</file>
      <file>Aircraft/Aermacchi-MB-339/Nasal/convert.nas</file>
      <file>Aircraft/Aermacchi-MB-339/Nasal/Electrical.nas</file>
      <file>Aircraft/Aermacchi-MB-339/Nasal/pylons.nas</file>
    </mb339>
    <engines>
      <file>Aircraft/Generic/Engines/generic-yasim-engine.nas</file>
      <file>Aircraft/Aermacchi-MB-339/Nasal/engines-yasim.nas</file>
    </engines>
  </nasal>

</PropertyList>
