<?xml version="1.0"?>

<PropertyList>

    <path>TL96.ac</path>

    <sound>
        <path type="string">Aircraft/TL96/Sounds/mp-sound.xml</path>
    </sound>
    <model>
        <path>Aircraft/TL96/Models/TL96-instruments.xml</path>
        <!--<offsets>
		<x-m> 0.440 </x-m>
		<y-m>-0.280 </y-m>
		<z-m>-0.272 </z-m>
        </offsets>-->
    </model>

    <model>
        <path>Effects/smoke/enginesmoke.xml</path>
        <offsets>
            <x-m>0.208324</x-m>
            <y-m>0</y-m>
            <z-m>-0.358396</z-m>
        </offsets>
    </model>

    <model>
        <path>Aircraft/TL96/Models/chute.xml</path>
        <offsets>
            <x-m>3.51967</x-m>
            <y-m>0</y-m>
            <z-m>0.152627</z-m>
            <pitch-deg>90</pitch-deg>
        </offsets>
    </model>

    <effect>
        <inherits-from>Aircraft/Generic/Effects/Fuselagereflect</inherits-from>
        <object-name>elevator</object-name>
        <object-name>elevtrim</object-name>
        <object-name>frontgear</object-name>
        <object-name>Fuselage</object-name>
        <object-name>Lail</object-name>
        <object-name>Lflap</object-name>
        <object-name>lwing</object-name>
        <object-name>maingear</object-name>
        <object-name>mainwindowframe</object-name>
        <object-name>Rail</object-name>
        <object-name>Rflap</object-name>
        <object-name>rudder</object-name>
        <object-name>rwing</object-name>
        <object-name>antenna</object-name>
        <object-name>propholder</object-name>
        <object-name>ribbon</object-name>
        <object-name>bolts</object-name>
    </effect>

    <effect>
        <inherits-from>Aircraft/TL96/Models/Effects/TL96_glass</inherits-from>
        <object-name>mainwindow</object-name>
        <object-name>rearwindow</object-name>
    </effect>

    <effect>
        <inherits-from>Effects/glass</inherits-from>
        <object-name>rainfront</object-name>
        <object-name>rainrear</object-name>
    </effect>


    <animation>
        <object-name>elevator</object-name>
        <type>rotate</type>
        <property>surface-positions/elevator-pos-norm</property>
        <factor>20</factor>
        <center>
            <x-m>3.457</x-m>
            <y-m> 0 </y-m>
            <z-m> 0.245</z-m>
        </center>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <object-name>elevtrim</object-name>
        <type>rotate</type>
        <property>surface-positions/elevator-pos-norm</property>
        <factor>20</factor>
        <center>
            <x-m>3.457</x-m>
            <y-m> 0 </y-m>
            <z-m> 0.245</z-m>
        </center>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <object-name>rudder</object-name>
        <type>rotate</type>
        <property>surface-positions/rudder-pos-norm</property>
        <factor>20</factor>
        <center>
            <x-m>3.25334</x-m>
            <y-m> 0 </y-m>
            <z-m>1.10989</z-m>
        </center>
        <axis>
            <x>0</x>
            <y>0</y>
            <z>1</z>
        </axis>
    </animation>

    <animation>
        <object-name>frontgear</object-name>
        <type>rotate</type>
        <property>surface-positions/rudder-pos-norm</property>
        <factor>20</factor>
        <center>
            <x-m>-0.948273</x-m>
            <y-m> 0 </y-m>
            <z-m>-0.244559</z-m>
        </center>
        <axis>
            <x>0</x>
            <y>0</y>
            <z>-1</z>
        </axis>
    </animation>
    <animation>
        <object-name>fronttire</object-name>
        <type>rotate</type>
        <property>surface-positions/rudder-pos-norm</property>
        <factor>20</factor>
        <center>
            <x-m>-0.948273</x-m>
            <y-m> 0 </y-m>
            <z-m>-0.244559</z-m>
        </center>
        <axis>
            <x>0</x>
            <y>0</y>
            <z>-1</z>
        </axis>
    </animation>

    <animation>
        <object-name>RrudderL</object-name>
        <type>rotate</type>
        <property>surface-positions/rudder-pos-norm</property>
        <factor>20</factor>
        <center>
            <x-m>-0.82694</x-m>
            <y-m>0</y-m>
            <z-m>-0.255956</z-m>
        </center>
        <axis>
            <x>0</x>
            <y>-1</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <object-name>LrudderR</object-name>
        <type>rotate</type>
        <property>surface-positions/rudder-pos-norm</property>
        <factor>20</factor>
        <center>
            <x-m>-0.82694</x-m>
            <y-m>0</y-m>
            <z-m>-0.255956</z-m>
        </center>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <object-name>LrudderL</object-name>
        <type>rotate</type>
        <property>surface-positions/rudder-pos-norm</property>
        <factor>20</factor>
        <center>
            <x-m>-0.808604</x-m>
            <y-m>0</y-m>
            <z-m>-0.255956</z-m>
        </center>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <object-name>RrudderR</object-name>
        <type>rotate</type>
        <property>surface-positions/rudder-pos-norm</property>
        <factor>20</factor>
        <center>
            <x-m>-0.808604</x-m>
            <y-m>0</y-m>
            <z-m>-0.255956</z-m>
        </center>
        <axis>
            <x>0</x>
            <y>-1</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <object-name>prop</object-name>
        <type>spin</type>
        <property>engines/engine[0]/rpm</property>
        <factor>1</factor>
        <center>
            <x-m>-1.76376</x-m>
            <y-m> 0 </y-m>
            <z-m>0.143847</z-m>
        </center>
        <axis>
            <x>-1</x>
            <y>0</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <object-name>propdisk</object-name>
        <type>spin</type>
        <property>engines/engine[0]/rpm</property>
        <factor>1</factor>
        <center>
            <x-m>-1.76052</x-m>
            <y-m> 0 </y-m>
            <z-m>0.143847</z-m>
        </center>
        <axis>
            <x>-1</x>
            <y>0</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <object-name>propdisk</object-name>
        <type>select</type>
        <condition>
            <greater-than>
                <property>engines/engine[0]/rpm</property>
                <value>600</value>
            </greater-than>
        </condition>
    </animation>

    <animation>
        <object-name>prop</object-name>
        <type>select</type>
        <condition>
            <less-than-equals>
                <property>engines/engine[0]/rpm</property>
                <value>600</value>
            </less-than-equals>
        </condition>
    </animation>

    <animation>
        <object-name>Lstick</object-name>
        <type>rotate</type>
        <property>surface-positions/elevator-pos-norm</property>
        <factor>15</factor>
        <center>
            <x-m>-0.323934</x-m>
            <y-m> -0.250006 </y-m>
            <z-m>-0.299477 </z-m>
        </center>
        <axis>
            <x>0</x>
            <y>-1</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <object-name>Rstick</object-name>
        <type>rotate</type>
        <property>surface-positions/elevator-pos-norm</property>
        <factor>15</factor>
        <center>
            <x-m>-0.323934</x-m>
            <y-m> 0.250006 </y-m>
            <z-m>-0.299477 </z-m>
        </center>
        <axis>
            <x>0</x>
            <y>-1</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <object-name>Lstick</object-name>
        <type>rotate</type>
        <property>surface-positions/left-aileron-pos-norm</property>
        <factor>15</factor>
        <center>
            <x-m>-0.323934</x-m>
            <y-m> -0.250006 </y-m>
            <z-m>-0.299477 </z-m>
        </center>
        <axis>
            <x>-1</x>
            <y>0</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <object-name>Rstick</object-name>
        <type>rotate</type>
        <property>surface-positions/left-aileron-pos-norm</property>
        <factor>15</factor>
        <center>
            <x-m>-0.323934</x-m>
            <y-m> 0.250006 </y-m>
            <z-m>-0.299477 </z-m>
        </center>
        <axis>
            <x>-1</x>
            <y>0</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <type>pick</type>
        <object-name>mainwindowframe</object-name>
        <condition>
            <equals>
                <property>canopy/position-norm</property>
                <value>0</value>
            </equals>
        </condition>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <interval-sec>2.3</interval-sec>
            <binding>
                <command>property-interpolate</command>
                <property>canopy/position-norm</property>
                <value type="double">1</value>
                <time>2</time>
            </binding>
        </action>
    </animation>

    <animation>
        <type>pick</type>
        <object-name>mainwindowframe</object-name>
        <condition>
            <equals>
                <property>canopy/position-norm</property>
                <value>1</value>
            </equals>
        </condition>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <interval-sec>2.3</interval-sec>
            <binding>
                <command>property-interpolate</command>
                <property>canopy/position-norm</property>
                <value type="double">0</value>
                <time>2</time>
            </binding>
        </action>
    </animation>

    <animation>
        <object-name>rainfront</object-name>
        <object-name>mainwindowframe</object-name>
        <object-name>mainwindow</object-name>
        <type>rotate</type>
        <property>canopy/position-norm</property>
        <factor>45</factor>
        <center>
            <x-m>-0.846367</x-m>
            <y-m>0</y-m>
            <z-m>0.389384</z-m>
        </center>
        <axis>
            <x>0</x>
            <y>-1</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <type>pick</type>
        <object-name>emergencylever</object-name>
        <condition>
            <greater-than>
                <property>position/altitude-agl-ft</property>
                <value>50</value>
            </greater-than>
        </condition>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <interval-sec>0</interval-sec>
            <binding>
                <command>nasal</command>
                <script>startup.chute()</script>
            </binding>
        </action>
    </animation>

    <animation>
        <object-name>emergencysafe</object-name>
        <object-name>removebeforeflight</object-name>
        <type>select</type>
        <condition>
            <less-than>
                <property>position/altitude-agl-ft</property>
                <value>50</value>
            </less-than>
        </condition>
    </animation>

    <animation>
        <object-name>Lail</object-name>
        <type>rotate</type>
        <property>surface-positions/left-aileron-pos-norm</property>
        <factor>25</factor>
        <axis>
            <x1-m>0.564662</x1-m>
            <y1-m>-4.51189</y1-m>
            <z1-m>0.183709</z1-m>
            <x2-m>0.577518</x2-m>
            <y2-m>-2.50868</y2-m>
            <z2-m>0.023192</z2-m>
        </axis>
    </animation>

    <animation>
        <object-name>Rail</object-name>
        <type>rotate</type>
        <property>surface-positions/left-aileron-pos-norm</property>
        <factor>25</factor>
        <axis>
            <x1-m>0.571087</x1-m>
            <y1-m>4.513</y1-m>
            <z1-m>0.183709</z1-m>
            <x2-m>0.571088</x2-m>
            <y2-m>2.50976</y2-m>
            <z2-m>0.023192</z2-m>
        </axis>
    </animation>

    <animation>
        <object-name>Rflap</object-name>
        <type>rotate</type>
        <property>surface-positions/flap-pos-norm</property>
        <factor>-25</factor>
        <axis>
            <x1-m>0.571088</x1-m>
            <y1-m>2.45299</y1-m>
            <z1-m>0.018643</z1-m>
            <x2-m>0.571088</x2-m>
            <y2-m>0.642672</y2-m>
            <z2-m>-0.126414</z2-m>
        </axis>
    </animation>

    <animation>
        <object-name>Lflap</object-name>
        <type>rotate</type>
        <property>surface-positions/flap-pos-norm</property>
        <factor>-25</factor>
        <axis>
            <x1-m>0.571089</x1-m>
            <y1-m>-0.642672</y1-m>
            <z1-m>-0.126414</z1-m>
            <x2-m>0.571089</x2-m>
            <y2-m>-2.45299</y2-m>
            <z2-m>0.018643</z2-m>
        </axis>
    </animation>

    <animation>
        <type>material</type>
        <object-name>fuellow</object-name>
        <condition>
            <less-than-equals>
                <property>consumables/fuel/tank/level-gal_us</property>
                <value>4.55</value>
            </less-than-equals>
        </condition>
        <emission>
            <red>1</red>
            <green>0</green>
            <blue>0</blue>
        </emission>
    </animation>

    <animation>
        <object-name>selector</object-name>
        <type>rotate</type>
        <property>controls/engines/engine/mixture</property>
        <factor>-90</factor>
        <axis>
            <x1-m>-0.507128</x1-m>
            <y1-m>-0.077252</y1-m>
            <z1-m>-0.001417</z1-m>
            <x2-m>-0.511889</x2-m>
            <y2-m>-0.077252</y2-m>
            <z2-m>-0.003597</z2-m>
        </axis>
    </animation>

    <animation>
        <object-name>parkbrake</object-name>
        <type>translate</type>
        <property>controls/gear/brake-parking</property>
        <factor>0.03</factor>
        <axis>
            <x>1</x>
            <y>0</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <type>pick</type>
        <object-name>selector</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>property-toggle</command>
                <property>controls/engines/engine/mixture</property>
            </binding>
        </action>
    </animation>

    <animation>
        <type>pick</type>
        <object-name>parkbrake</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>property-toggle</command>
                <property>controls/gear/brake-parking</property>
            </binding>
        </action>
    </animation>

    <animation>
        <object-name>throttle</object-name>
        <type>rotate</type>
        <property>controls/engines/engine/throttle</property>
        <interpolation>
            <entry>
                <ind> 0.0</ind>
                <dep> 25</dep>
            </entry>
            <entry>
                <ind> 1</ind>
                <dep> -25</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>-0.343258</x-m>
            <y-m>-0.025</y-m>
            <z-m>-0.215262</z-m>
        </center>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <object-name>trim</object-name>
        <type>rotate</type>
        <property>controls/flight/elevator-trim</property>
        <interpolation>
            <entry>
                <ind> -1.0</ind>
                <dep> 30</dep>
            </entry>
            <entry>
                <ind> 1</ind>
                <dep> -30</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>-0.343258</x-m>
            <y-m>0.025157</y-m>
            <z-m>-0.214235</z-m>
        </center>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>

    <text>
        <!-- It should have a name. Can be used for other animations -->
        <name>callsign</name>
        <!-- Use offsets for the initial placement -->
        <offsets>
            <pitch-deg>90</pitch-deg>
            <heading-deg>0</heading-deg>
            <roll-deg>90</roll-deg>
            <x-m>-0.571865</x-m>
            <y-m>-0.30222</y-m>
            <z-m>0.242464</z-m>
        </offsets>


        <!-- The string value of a property -->
        <type type="string">text-value</type>
        <property type="string">sim/multiplay/callsign</property>
        <format type="string">%s</format> <!-- the sprintf() format to display the value -->

        <layout>left-to-right</layout> <!-- default -->
        <!--
    <layout>right-to-left</layout>
    <layout>vertical</layout>
    -->

        <draw-text type="bool">true</draw-text> <!-- draw the text itself -->
        <draw-alignment type="bool">false</draw-alignment> <!-- draw crosshair at object center -->
        <draw-boundingbox type="bool">false</draw-boundingbox> <!-- draw a bounding box -->

        <font>Helvetica.txf</font> <!-- The font file name, relative to data/Fonts -->
        <character-size type="double">0.015</character-size> <!-- size (height) im meters -->
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <max-height>0.017278</max-height> <!-- the maximum height of the text -->
        <max-width>0.07305</max-width> <!-- the maximum width of the text -->
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>

        <!-- chose one of the kerning types or omit for default -->
        <kerning>default</kerning>
        <!--
    <kerning>unfitted</kerning>
    <kerning>none</kerning>
    -->

        <alignment>center-center</alignment> <!-- alignment of the text itself -->
        <!-- possible values are
    <alignment>left-top</alignment>
        <alignment>left-center</alignment>
    <alignment>left-bottom</alignment>
        <alignment>center-top</alignment>
    <alignment>center-center</alignment>
        <alignment>center-bottom</alignment>
    <alignment>right-top</alignment>
        <alignment>right-center</alignment>
    <alignment>right-bottom</alignment>
        <alignment>left-baseline</alignment>
    <alignment>center-baseline</alignment>
        <alignment>right-baseline</alignment>
    <alignment>baseline</alignment>
    -->

    </text>

    <animation>
        <type>material</type>
        <object-name>callsign</object-name>
        <diffuse>
            <red>0.0</red>
            <green>0.0</green>
            <blue>0.0</blue>
        </diffuse>
    </animation>

    <animation>
        <type>pick</type>
        <object-name>ruddertrim</object-name>
        <action>
            <button>3</button>
            <repeatable>true</repeatable>
            <interval-sec>0</interval-sec>
            <binding>
                <command>property-adjust</command>
                <property>controls/flight/rudder-trim</property>
                <step>0.01</step>
            </binding>
        </action>
    </animation>

    <animation>
        <type>pick</type>
        <object-name>ruddertrim</object-name>
        <action>
            <button>4</button>
            <repeatable>true</repeatable>
            <interval-sec>0</interval-sec>
            <binding>
                <command>property-adjust</command>
                <property>controls/flight/rudder-trim</property>
                <step>-0.01</step>
            </binding>
        </action>
    </animation>

    <animation>
        <type>pick</type>
        <object-name>ruddertrim</object-name>
        <action>
            <button>0</button>
            <repeatable>true</repeatable>
            <interval-sec>0</interval-sec>
            <binding>
                <command>property-assign</command>
                <property>controls/flight/rudder-trim</property>
                <value>0</value>
            </binding>
        </action>
    </animation>

    <animation>
        <object-name>ruddertrim</object-name>
        <type>rotate</type>
        <property>controls/flight/rudder-trim</property>
        <factor>45</factor>
        <center>
            <x-m>-0.502187</x-m>
            <y-m>0.051896</y-m>
            <z-m>-0.000496</z-m>
        </center>
        <axis>
            <x>-1</x>
            <y>0</y>
            <z>0</z>
        </axis>
    </animation>


</PropertyList>