<?xml version="1.0"?>

<PropertyList>

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

    <status>BARANGER</status>
    <aircraft-version>0.1</aircraft-version>

    <startup>
      <splash-texture>Aircraft/C130/c130-splash.rgb</splash-texture>
    </startup>

    <systems>
      <electrical>
        <path></path>
      </electrical>
    </systems> 

    <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">0</start-idling>
    </model> 

    <submodels>
      <serviceable type="bool">true</serviceable>
      <path>Aircraft/C130/Submodels/submodels.xml</path>
    </submodels>
  
    <instrumentation>
      <radar>
        <name>radar</name>
        <number>0</number>
      </radar>
    </instrumentation>

    <virtual-cockpit archive="y">true</virtual-cockpit>
    <allow-toggle-cockpit archive="y">true</allow-toggle-cockpit>
  
    <help>
      <key>
        <name>D</name>
        <desc>Open/Close backdoor</desc>
      </key>
      <key>
        <name>d</name>
        <desc>Open/Close crew door</desc>
      </key>
      <key>
        <name>S</name>
        <desc>Start engine smoke</desc>
      </key>
      <key>
        <name>u</name>
        <desc>Stop engine smoke</desc>
      </key>
      <key>
        <name>Ctrl-j</name>
        <desc>Parachutist</desc>
      </key>
    </help>

  </sim>
 
  <!-- engines on, low pitch (parking) -->
  <controls>
    <engines>
      <engine n="0">
        <magnetos archive="y">3</magnetos>
        <propeller-pitch>1.0</propeller-pitch>
      </engine>
      <engine n="1">
        <magnetos archive="y">3</magnetos>
        <propeller-pitch>1.0</propeller-pitch>
      </engine>
      <engine n="2">
        <magnetos archive="y">3</magnetos>
        <propeller-pitch>1.0</propeller-pitch>
      </engine>
      <engine n="3">
        <magnetos archive="y">3</magnetos>
        <propeller-pitch>1.0</propeller-pitch>
      </engine>
    </engines>

    <electric>
      <external-power>0</external-power>
      <battery-switch>0</battery-switch>
      <engine n="0">
        <generator>0</generator>
      </engine>
      <engine n="1">
        <generator>0</generator>
      </engine>
    </electric>
    <gear>
      <brake-parking>1.0</brake-parking>
      <gear-down>true</gear-down>
    </gear>
    <lighting>
      <instruments-norm>0.8</instruments-norm>
      <landing-lights type="bool">0</landing-lights>
      <beacon type="bool">0</beacon>
      <strobe type="bool">0</strobe>
      <nav-lights type="bool">0</nav-lights>
      <cabin-lights type="bool">0</cabin-lights>
      <wing-lights type="bool">0</wing-lights>
      <taxi-light type="bool">0</taxi-light>
    <instrument-lights type="bool">0</instrument-lights>
    </lighting>
    <anti-ice>
      <prop-heat>0</prop-heat>
      <pitot-heat>0</pitot-heat>
    </anti-ice>
    <cabin>
      <fan type="bool">0</fan>
      <heat type="bool">0</heat>
    </cabin>

    <smoke type="bool">false</smoke>
    <signal type="bool">true</signal>
    <paratroopers type="bool">true</paratroopers>
    <jump-signal type="bool">false</jump-signal>
    <negGtime type="int">0</negGtime>
    <gmeter>
      <reset type="int">1</reset>
    </gmeter>
    <flight>
      <elevator-trim type="double">0.1</elevator-trim>
    </flight>
  </controls>

  <!-- above 700 RPM avoids the stop --> 
  <engines>
    <engine n="0">
      <rpm archive="y">100</rpm>
    </engine>
    <engine n="1">
      <rpm archive="y">100</rpm>
    </engine>
    <engine n="2">
      <rpm archive="y">100</rpm>
    </engine>
    <engine n="3">
      <rpm archive="y">100</rpm>
    </engine>
  </engines>
 
  <ai>
    <submodels>
      <trigger type="bool">false</trigger>
    </submodels>
  </ai>

  <!-- autopilot -->
  <autopilot>
    <settings>
      <target-speed-kt>330</target-speed-kt>
    </settings>
  </autopilot>

  <consumables>
    <fuel>
      <tank n="9">
        <level-gal_us archive="y">200</level-gal_us>
      </tank>
    </fuel>
  </consumables>

  <input>
    <keyboard include="Nasal/c130-keyboard.xml">
    </keyboard>
  </input>

  <instrumentation>
    <radar>
      <serviceable type="bool" archive="y">true</serviceable>
      <switch type="string" archive="y">off</switch>
      <mode-control type="int" archive="y">3</mode-control>
      <range type="int" archive="y">20</range>
      <mode type="string"	archive="y">WX</mode>
      <heading-marker type="bool"	archive="y">false</heading-marker>
      <lightning type="bool" archive="y">false</lightning>
      <display-mode type="string">arc</display-mode>
      <radar-texture-path type="string" archive="y">Aircraft/Instruments-3d/RDR-160/od_wxradar.rgb</radar-texture-path>
      <echo-texture-path type="string" archive="y">Aircraft/Instruments/Textures/wxecho.rgb</echo-texture-path>
      <display-controls>
        <WX type="bool" archive="y">false</WX>
        <data type="bool" archive="y">false</data>
        <pos type="bool" archive="y">true</pos>
      </display-controls>
    </radar>
    <inst-vertical-speed-indicator>
      <serviceable>true</serviceable>
    </inst-vertical-speed-indicator>
  </instrumentation>

  <nasal>
    <c130>
      <file>Aircraft/C130/Nasal/Electrical.nas</file>
      <file>Aircraft/C130/Nasal/doors.nas</file>
      <file>Aircraft/Instruments-3d/RDR-160/RDR160.nas</file>
      <file>Aircraft/C130/Nasal/gmeter.nas</file>
      <file>Aircraft/C130/Nasal/paratroopers.nas</file>
    </c130>
  </nasal>
  
</PropertyList>
