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

<PropertyList>

  <sim               include="views.xml">

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

    <startup>
      <splash-texture>Aircraft/Savoia-Marchetti-SM-79/SM-79-splash.png</splash-texture>
    </startup>

    <sound>
      <path          archive="y">Aircraft/Savoia-Marchetti-SM-79/Sounds/SM-79-sound.xml</path>
    </sound>

    <model>
      <path          archive="y">Aircraft/Savoia-Marchetti-SM-79/Models/SM-79.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>
      <!-- Up -->
      <turret        n="0">
        <heading     type="float">180</heading>
        <pitch       type="float">15</pitch>
      </turret>
      <!-- Left -->
      <turret        n="1">
        <heading     type="float">-115</heading>
        <pitch       type="float">-10</pitch>
      </turret>
      <!-- Right -->
      <turret        n="2">
        <heading     type="float">115</heading>
        <pitch       type="float">-10</pitch>
      </turret>
      <!-- Down -->
      <turret        n="3">
        <heading     type="float">180</heading>
        <pitch       type="float">-25</pitch>
      </turret>
      <modelT             type="bool"/>
      <show-FrontGun      type="bool"/>
      <show-TorpedoL      type="bool"/>
      <show-TorpedoR      type="bool"/>
      <show-Bomb1_250     type="bool"/>
      <show-Bomb2_250     type="bool"/>
      <show-Bomb3_250     type="bool"/>
      <show-Bomb4_250     type="bool"/>
      <show-Bomb5_250     type="bool"/>
      <show-Bomb1_500     type="bool"/>
      <show-Bomb2_500     type="bool"/>
      <show-Bomb1_100     type="bool"/>
      <show-Bomb2_100     type="bool"/>
      <show-Bomb3_100     type="bool"/>
      <show-Bomb4_100     type="bool"/>
      <show-Bomb5_100     type="bool"/>
      <show-Bomb6_100     type="bool"/>
      <show-Bomb7_100     type="bool"/>
      <show-Bomb8_100     type="bool"/>
      <show-Bomb9_100     type="bool"/>
      <show-Bomb10_100    type="bool"/>
      <launching-Bomb_100 type="bool">false</launching-Bomb_100>
      <launching-Bomb_250 type="bool">false</launching-Bomb_250>
      <launching-Bomb_500 type="bool">false</launching-Bomb_500>
    </model>

    <systems         include="rules.xml"/>

    <instrumentation include="initialisation.xml"/>

    <submodels>
      <serviceable     type="bool">true</serviceable>
      <path>Aircraft/Savoia-Marchetti-SM-79/Models/Effects/Weapons/release.xml</path>
    </submodels>

    <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/modelT"/>
        <bool   n="1"  alias="/show-FrontGun"/>
        <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-TorpedoL"/>
        <bool   n="7"  alias="/sim/model/show-TorpedoR"/>
        <!-- -->
        <bool   n="8"  alias="/sim/model/show-Bomb1_250"/>
        <bool   n="9"  alias="/sim/model/show-Bomb2_250"/>
        <bool   n="10" alias="/sim/model/show-Bomb3_250"/>
        <!-- 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="/sim/model/show-Bomb4_250"/>
        <bool   n="18" alias="/sim/model/show-Bomb5_250"/>
        <bool   n="19" alias="/sim/model/show-Bomb1_500"/>
        <bool   n="20" alias="/sim/model/show-Bomb2_500"/>
        <bool   n="21" alias="/sim/model/show-Bomb1_100"/>
        <bool   n="22" alias="/sim/model/show-Bomb2_100"/>
        <bool   n="23" alias="/sim/model/show-Bomb3_100"/>
        <bool   n="24" alias="/sim/model/show-Bomb4_100"/>
        <bool   n="25" alias="/sim/model/show-Bomb5_100"/>
        <bool   n="26" alias="/sim/model/show-Bomb6_100"/>
        <bool   n="27" alias="/sim/model/show-Bomb7_100"/>
        <bool   n="28" alias="/sim/model/show-Bomb8_100"/>
        <bool   n="29" alias="/sim/model/show-Bomb9_100"/>
        <bool   n="30" alias="/sim/model/show-Bomb10_100"/>
        <!-- -->
        <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]/rpm"/>
        <float  n="5"  alias="/engines/engine[0]/cranking"/>
        <float  n="6"  alias="/engines/engine[1]/rpm"/>
        <float  n="7"  alias="/engines/engine[1]/cranking"/>
        <!-- -->
        <float  n="8"  alias="/gear/gear[0]/wow/"/>
        <float  n="9"  alias="/gear/gear[1]/wow/"/>
        <float  n="10" alias="/gear/gear[2]/wow/"/>
        <float  n="11" alias="/gear/gear[0]/rollspeed-ms"/>
        <float  n="12" alias="/gear/gear[1]/rollspeed-ms"/>
        <float  n="13" alias="/gear/gear[2]/rollspeed-ms"/>
        <!-- -->
        <float  n="14" alias="/sim/model/turret[0]/heading"/>
        <float  n="15" alias="/sim/model/turret[0]/pitch"/>
        <float  n="16" alias="/sim/model/turret[1]/heading"/>
        <float  n="17" alias="/sim/model/turret[1]/pitch"/>
        <float  n="18" alias="/sim/model/turret[2]/heading"/>
        <float  n="19" alias="/sim/model/turret[2]/pitch"/>
        <float  n="20" alias="/sim/model/turret[3]/heading"/>
        <float  n="21" alias="/sim/model/turret[3]/pitch"/>
        <!-- -->
        <float  n="22"  alias="/engines/engine[2]/rpm"/>
        <float  n="23"  alias="/engines/engine[2]/cranking"/>
        <!-- -->
        <float  n="24"  alias="/sim/model/door-positions/bomb/position-norm"/>
        <float  n="25"  alias="/sim/model/door-positions/cargo/position-norm"/>
        <!-- -->
        <float  n="26" alias="/gear/gear[0]/rollspeed-ms"/>
        <float  n="27" alias="/gear/gear[1]/rollspeed-ms"/>
        <float  n="28" alias="/gear/gear[2]/rollspeed-ms"/>
        <!-- -->
        <float  n="29" alias="/gear/gear[2]/caster-angle-deg"/>
        <!-- -->
        <float  n="30" alias="/gear/gear[0]/compression-norm"/>
        <float  n="31" alias="/gear/gear[1]/compression-norm"/>
        <float  n="32" alias="/gear/gear[2]/compression-norm"/>
        <!-- -->
        <float  n="33" alias="/surface-positions/slat-pos-norm"/>

        <!-- For Bombable -->
        <int    n="10" type="int" alias="/controls/armament/trigger0">0</int>
        <!-- Torpedo -->
        <int    n="11" type="int" alias="/controls/armament/signal1">0</int>
        <int    n="12" type="int" alias="/controls/armament/signal2">0</int>
        <!-- Machine Guns -->
        <int    n="13" type="int" alias="/controls/armament/trigger1">0</int>
        <int    n="14" type="int" alias="/controls/armament/trigger2">0</int>
        <int    n="15" type="int" alias="/controls/armament/trigger3">0</int>
        <int    n="16" type="int" alias="/controls/armament/trigger4">0</int>
        <!-- 250 Kg Bombs -->
        <int    n="17" type="int" alias="/controls/armament/signal3">0</int>
        <int    n="18" type="int" alias="/controls/armament/signal4">0</int>
        <int    n="19" type="int" alias="/controls/armament/signal5">0</int>
        <int    n="20" type="int" alias="/controls/armament/signal6">0</int>
        <int    n="21" type="int" alias="/controls/armament/signal7">0</int>
        <!-- 500 Kg Bombs -->
        <int    n="22" type="int" alias="/controls/armament/signal8">0</int>
        <int    n="23" type="int" alias="/controls/armament/signal9">0</int>
        <!-- 100 Kg Bombs -->
        <int    n="24" type="int" alias="/controls/armament/signal10">0</int>
        <int    n="25" type="int" alias="/controls/armament/signal11">0</int>
        <int    n="26" type="int" alias="/controls/armament/signal12">0</int>
        <int    n="27" type="int" alias="/controls/armament/signal13">0</int>
        <int    n="28" type="int" alias="/controls/armament/signal14">0</int>
        <int    n="29" type="int" alias="/controls/armament/signal15">0</int>
        <int    n="30" type="int" alias="/controls/armament/signal16">0</int>
        <int    n="31" type="int" alias="/controls/armament/signal17">0</int>
        <int    n="32" type="int" alias="/controls/armament/signal18">0</int>
        <int    n="33" type="int" alias="/controls/armament/signal19">0</int>
        <string n="9"  type="string"/>
      </generic>
    </multiplay>

    <ai              include="ai.xml"/>

    <help            include="help.xml"/>

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

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

  </sim>

  <input             include="SM-79-keyboard.xml"/>

  <consumables       include="consumables.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/Savoia-Marchetti-SM-79/Nasal/doors.nas</file>
    </doors>
    <sm-79>
      <file>Aircraft/Savoia-Marchetti-SM-79/Nasal/hdr.nas</file>
      <file>Aircraft/Savoia-Marchetti-SM-79/Nasal/liveries.nas</file>
      <file>Aircraft/Savoia-Marchetti-SM-79/Nasal/light.nas</file>
      <file>Aircraft/Savoia-Marchetti-SM-79/Nasal/convert.nas</file>
      <file>Aircraft/Savoia-Marchetti-SM-79/Nasal/Electrical.nas</file>
    </sm-79>
    <config>
      <file>Aircraft/Savoia-Marchetti-SM-79/Nasal/dialog.nas</file>
    </config>
    <turrets>
      <file>Aircraft/Savoia-Marchetti-SM-79/Nasal/weapons.nas</file>
      <file>Aircraft/Savoia-Marchetti-SM-79/Nasal/turrets.nas</file>
      <script>
      </script>
    </turrets>
    <engines>
      <file>Aircraft/Savoia-Marchetti-SM-79/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>
