<?xml version="1.0"?>
<!--
************************************************************************
Fiesler Fi-156 Storch
July 2007 Ron Jensen
************************************************************************
-->

<PropertyList>
<sim>

    <description>Fi-156 Storch</description>
    <author>Ron Jensen</author>
    <flight-model>jsb</flight-model>
    <aero>Fi-156</aero>

    <systems>
        <electrical>
            <path></path>
        </electrical>
    </systems>
    <sound>
        <path>Aircraft/Storch/Fi-156-sound.xml</path>
    </sound>

    <model>
      <path>Aircraft/Storch/Models/storch.xml</path>
      <livery>
        <file type="string"/>
      </livery>
    </model>

    <virtual-cockpit archive="y">true</virtual-cockpit>
    <allow-toggle-cockpit archive="y">true</allow-toggle-cockpit>

    <view>
        <internal archive="y">true</internal>
        <config><!-- x/y/z == right/up/back -->
            <x-offset-m archive="y"> 0.00</x-offset-m>
            <y-offset-m archive="y"> 0.6</y-offset-m>
            <z-offset-m archive="y"> 2.525</z-offset-m>
            <pitch-offset-deg>-15</pitch-offset-deg>
            <default-field-of-view-deg type="double">55.0</default-field-of-view-deg>
        </config>
    </view>

    <current-view>
        <field-of-view>60.0</field-of-view>
    </current-view>

    <chase-distance-m type="double" archive="y">-18.0</chase-distance-m>


    <help>
        <title>Fiesler Fi-156 "Storch"</title>
        <line></line> 
        <key>
            <name>f</name>
            <desc>fuel tank select</desc>
        </key>
        <key>
            <name>!</name>
            <desc>toggle battery switch</desc>
        </key>
        <key>
            <name>@</name>
            <desc>toggle alternator switch</desc>
        </key>
        <key>
            <name>#</name>
            <desc>toggle fuel pump</desc>
        </key>
        <key>
            <name>$</name>
            <desc>toggle pitot heat</desc>
        </key>
        <key>
            <name>%</name>
            <desc>toggle landing light</desc>
        </key>
        <key>
            <name>^</name>
            <desc>toggle nav lights</desc>
        </key>
        <key>
            <name>Ctrl-w</name>
            <desc>tie up</desc>
        </key>
        <key>
            <name>W</name>
            <desc>untie</desc>
        </key>
        <line>   Startup Procedure</line>
        <line>1:Set magneto switch to ' both '</line>
        <line>2:Set fuel tank switch to ' Both '</line>
        <line>3:Engage battery switch</line>
        <line>4:Engage starter switch</line>
        <line>5:Once engine is running,</line>
        <line>  engage alternator switch</line>
    </help>
    <flaps>
      <setting>0.00</setting>
      <setting>0.375</setting>
      <setting>0.50</setting>
      <setting>0.70</setting>
      <setting>1.00</setting>
    </flaps> 
    <menubar>
     <default>
      <menu n="100">
       <label>Fi-156</label>
       <enabled type="bool">true</enabled>
       <item>
        <label>Select Livery</label>
        <binding>
         <command>nasal</command>
         <script>aircraft.livery.dialog.open()</script>
        </binding>
       </item>
      </menu>
     </default>
    </menubar>
</sim>

<engines>
  <engine n="0">
    <running>true</running>
  </engine>
</engines>
<consumables>
  <fuel>
    <tank n="0">
      <level-gal_us>19.8</level-gal_us>
      <capacity-gal_us>19.8</capacity-gal_us>
    </tank>
    <tank n="1">
      <level-gal_us>19.8</level-gal_us>
      <capacity-gal_us>19.8</capacity-gal_us>
    </tank>
  </fuel>
</consumables>
<controls>
  <engines>
   <engine n="0">
    <magnetos>3</magnetos>
   </engine>
  </engines>
    <lighting>
        <instruments-norm>1.0</instruments-norm>
    </lighting>
</controls>

<input>
    <keyboard>
        <key n="102">
            <name>f</name>
            <desc>fuel tank select</desc>
            <binding>
                <command>property-adjust</command>
                <property>controls/fuel/switch-position</property>
                <step>1</step>
                <min>0</min>
                <max>4</max>
                <wrap>1</wrap>
            </binding>
        </key>

        <key n="33">
            <name>!</name>
            <desc>Toggle Battery Switch</desc>
            <binding>
                <command>property-toggle</command>
                <property>/controls/electric/battery-switch</property>
            </binding>
            <binding>
                <command>property-toggle</command>
                <property>/sim/sound/switch</property>
            </binding>
        </key>

        <key n="64">
            <name>@</name>
            <desc>Toggle Alternator Switch</desc>
            <binding>
                <command>property-toggle</command>
                <property>/controls/electric/engine/generator</property>
            </binding>
            <binding>
                <command>property-toggle</command>
                <property>/sim/sound/switch</property>
            </binding>
        </key>

        <key n="35">
            <name>#</name>
            <desc>Toggle Fuel Pump</desc>
            <binding>
                <command>property-toggle</command>
                <property>/controls/engines/engine/fuel-pump</property>
            </binding>
            <binding>
                <command>property-toggle</command>
                <property>/sim/sound/switch</property>
            </binding>
        </key>

        <key n="36">
            <name>$</name>
            <desc>Toggle Carb Heat</desc>
            <binding>
                <command>property-toggle</command> 
                <property>/controls/anti-ice/engine/carb-heat</property>
            </binding>
            <binding>
                <command>property-toggle</command>
                <property>/sim/sound/switch</property>
            </binding>
        </key>

        <key n="37">
            <name>%</name>
            <desc>Toggle Landing Light</desc>
            <binding>
                <command>property-toggle</command>
                <property>/controls/lighting/landing-lights[0]</property>
            </binding>
            <binding>
                <command>property-toggle</command>
                <property>/sim/sound/switch</property>
            </binding>
        </key>

        <key n="94">
            <name>^</name>
            <desc>Toggle Nav Lights</desc>
            <binding>
                <command>property-toggle</command>
                <property>/controls/lighting/nav-lights</property>
            </binding>
            <binding>
                <command>property-toggle</command>
                <property>/sim/sound/switch</property>
            </binding>
        </key>


    </keyboard>
</input>
 <instrumentation>
  <clock>
   <bezel-rotation-min type="int">0</bezel-rotation-min>
   <stopwatch-running type="bool">false</stopwatch-running>
   <stopwatch-seconds type="int">0</stopwatch-seconds>
  </clock>
 </instrumentation>

<limits>
   <max-flap-extension-speed>
     <flaps>0.3</flaps>
     <speed>65</speed>
   </max-flap-extension-speed>
   <max-positive-g>3.5</max-positive-g>
   <max-negative-g>-1.52</max-negative-g>
   <vne>143</vne>
 </limits>
 <payload>
  <weight>
   <name type="string">Pilot</name>
   <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[0]"/>
   <min-lb type="double">0.0</min-lb>
   <max-lb type="double">300.0</max-lb>
  </weight>
  <weight>
   <name type="string">Center Passenger</name>
   <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[1]"/>
   <min-lb type="double">0.0</min-lb>
   <max-lb type="double">300.0</max-lb>
  </weight>
  <weight>
   <name type="string">Rear Passenger</name>
   <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[2]"/>
   <min-lb type="double">0.0</min-lb>
   <max-lb type="double">300.0</max-lb>
  </weight>
</payload> 
<nasal>
  <failures> 
    <file>Aircraft/Generic/limits.nas</file>
  </failures>
  <Fi156>
      <file>Aircraft/Storch/Nasal/Electrical.nas</file>
      <file>Aircraft/Storch/Nasal/Storch.nas</file>
  </Fi156>
</nasal>

</PropertyList>
