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

<!--
************************************************************************
Gorb 102 - Jean's ASTIR
************************************************************************
-->
<PropertyList>

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

    <author>BARANGER Emmanuel (3D) / OO ZVY (FDM)</author>
    <aircraft-version>0.1</aircraft-version>
    <status>Alpha</status>

    <startup>
      <splash-texture>Aircraft/Grob-Astir/astir-splash.png</splash-texture>
    </startup>

    <model>
      <path archive="y">Aircraft/Grob-Astir/Models/astir.xml</path>
      <livery>
        <file type="string">default</file>
      </livery>
    </model>

    <sound>
      <path>Aircraft/Grob-Astir/Sounds/astir-sound.xml</path>
    </sound>

    <multiplay>
      <chat_display>1</chat_display>
      <generic> 
        <int type="int" n="0">  0 </int>                                      <!-- 0 immat -->
        <int type="int" n="1">  0 </int>                                      <!-- 1 immat -->
        <int type="int" n="2">  0 </int>                                      <!-- 2 immat -->
        <int type="int" n="3">  0 </int>                                      <!-- 3 immat -->
        <int type="int" n="4">  0 </int>                                      <!-- 4 immat -->
        <int type="int" n="5">  0 </int>                                      <!-- 5 immat -->
        <int type="bool" n="6"> 1 </int>                                      <!-- 6 smoke/bomb/torpedo -->
        <int type="int" n="7">  0 </int>                                      <!-- 7 color -->
        <int n="8" alias="/systems/electrical/outputs/nav-lights">  0 </int>  <!-- 8 nav-lights -->
        <int n="9" alias="/sim/model/lights/beacon/state">  false </int>      <!-- 9 strobe-lights -->
        <int n="10" alias="/controls/electric/key-pos">  0 </int>             <!-- 10 key position -->
        <float n="0" alias="/instrumentation/doors/crew/position-norm"/>
        <float n="1" alias="/instrumentation/doors/passenger/position-norm"/>
        <float n="2" alias="/position/gear-agl-m">  0 </float>                <!-- 11 altitude for MP shadow -->
        <float n="3" alias="/accelerations/pilot-g"/>
      </generic>
    </multiplay>

    <help>
      <title>ASK 21 MI</title>
      <key>
        <name>d</name>
        <desc>Open/Close canopy</desc>
      </key>
      <key>
        <name>D</name>
        <desc>In/Out engine</desc>
      </key>
      <key>
        <name>Ctrl-w</name>
        <desc>Place Winch 1000m in front of aircraft</desc>
      </key>
      <key>
        <name>W</name>
        <desc>Toggle winch hook</desc>
      </key>
      <key>
        <name>w</name>
        <desc>Increase winch speed</desc>
      </key>
      <key>
        <name>Ctrl-o</name>
        <desc>Find aircraft for aerotow</desc>
      </key>
      <key>
        <name>o</name>
        <desc>Lock aerotow hook</desc>
      </key>
      <key>
        <name>O</name>
        <desc>Open aerotow hook</desc>
      </key>
    </help>

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

    <hitches>
      <!-- make sure some properties do exist, when the list for multiplayer transfere is defined
           they need to be in the same value, as they are initilized in the FDM, to get the same 
           values after reset should fix this somehow
      -->
      <aerotow>
        <tow>
          <length type="float">60</length>
          <elastic-constant type="float">10000</elastic-constant>
          <weight-per-m-kg-m type="float">1</weight-per-m-kg-m>
          <dist type="float">1</dist>
          <connected-to-property-node type="bool"></connected-to-property-node>
          <brake-force type="float">100000</brake-force>
          <connected-to-ai-or-mp-callsign type ="string">*</connected-to-ai-or-mp-callsign>
          <end-force-x type ="float">0</end-force-x>
          <end-force-y type ="float">0</end-force-y>
          <end-force-z type ="float">0</end-force-z>
        </tow>
        <speed-in-tow-direction type="float">0</speed-in-tow-direction>
        <open type="bool">true</open>
        <local-pos-x type="float">0</local-pos-x>
        <local-pos-y type="float">0</local-pos-y>
        <local-pos-z type="float">0</local-pos-z>
        <is-slave type="bool">false</is-slave>
      </aerotow>
    </hitches>

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

  </sim>

  <controls>
    <winch>
      <place type="bool">false</place>
    </winch>
    <aerotow>
      <find-aircraft type="bool">false</find-aircraft>
    </aerotow>
  </controls>

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

  <nasal>
    <doors>
      <file>Aircraft/Grob-Astir/Nasal/doors.nas</file>
    </doors>
    <astir>
      <file>Aircraft/Grob-Astir/Nasal/liveries.nas</file>
      <file>Aircraft/Grob-Astir/Nasal/light.nas</file>
      <file>Aircraft/Grob-Astir/Nasal/immat.nas</file>
      <file>Aircraft/Grob-Astir/Nasal/yawstring.nas</file>
      <file>Aircraft/Instruments-3d/glider/vario/ilec-sc7/ilec-sc7.nas</file>
    </astir>
  </nasal>

</PropertyList>

