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

<PropertyList>

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

    <startup>
      <splash-texture>Aircraft/C130/splash/c130k-splash.png</splash-texture>
    </startup>

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

    <model>
      <path>Aircraft/C130/Models/c130.xml</path>
      <start-idling  type="bool">false</start-idling>
      <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>
      <mode          type="string">C130K</mode>
    </model>

    <submodels>
      <serviceable   type="bool">true</serviceable>
      <path>Aircraft/C130/Models/Effects/Weapons/release.xml</path>
    </submodels>

    <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="0"  alias="/sim/model/start-idling"/>
        <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"/>
        <bool   n="10" alias="/sim/crashed"/>
        <!-- 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/weapons/gun-rate-switch"/>
        <bool   n="18" alias="/sim/model/weapons/aim9-knob"/>
        <bool   n="19" alias="/controls/armament/master-arm"/>
        <bool   n="20" alias="/controls/armament/power/on"/>
        <bool   n="21" alias="/controls/armament/flares-release"/>
        <!-- -->
        <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="/controls/refuelling/refuelling-drogues-pos-norm"/>

        <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="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="/controls/engines/engine[0]/propeller-pitch"/>
        <float  n="15" alias="/controls/engines/engine[1]/propeller-pitch"/>
        <float  n="16" alias="/controls/engines/engine[2]/propeller-pitch"/>
        <float  n="17" alias="/controls/engines/engine[3]/propeller-pitch"/>
        <!-- -->
        <float  n="18" alias="/position/altitude-ft"/>
        <!-- -->
        <string n="0"  alias="/sim/model/mode"/>
        <!-- For Bombable -->
        <int    n="10" type="int" alias="controls/armament/trigger">0</int>
        <string n="9"  type="string"/>
      </generic>
    </multiplay>

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

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

  </sim>

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

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

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

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

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

  <autopilot         include="../autopilot.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/C130/Nasal/doors.nas</file>
    </doors>
    <c130>
      <file>Aircraft/C130/Nasal/hdr.nas</file>
      <file>Aircraft/C130/Nasal/light.nas</file>
      <file>Aircraft/C130/Nasal/liveries.nas</file>
      <file>Aircraft/C130/Nasal/convert.nas</file>
      <file>Aircraft/C130/Nasal/Electrical.nas</file>
    </c130>
    <radar>
      <file>Aircraft/C130/Models/Interior/Panel/Instruments/RDR-160/RDR160.nas</file>
    </radar>
    <aar>
      <file>Aircraft/C130/Nasal/aar.nas</file>
    </aar>
    <para>
      <file>Aircraft/C130/Nasal/paratroopers.nas</file>
    </para>
    <engines>
      <file>Aircraft/Generic/Engines/generic-yasim-engine.nas</file>
      <file>Aircraft/C130/Nasal/engines-yasim.nas</file>
    </engines>

    aircraft.data.add (
      "instrumentation/nav[0]/audio-btn",
      "instrumentation/nav[0]/power-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]/audio-btn",
      "instrumentation/nav[1]/power-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>
