<?xml version="1.0"?>

<!-- author:  Nikolaus Kerner -->
<!-- version: 2013-01-01      -->

<PropertyList>

 <path>dg101g.ac</path>


<!-- Liveries management -->

 <nasal>
   <load>
     var livery_update = aircraft.livery_update.new("Aircraft/DG-101G/Models/Liveries");
   </load>
   <unload>
     livery_update.stop();
   </unload>
 </nasal>
 
 
 <animation>
   <type>material</type>
   <object-name>01fuselage</object-name>
   <object-name>02fuselage_wheel_tail</object-name>
   <object-name>03wing-l</object-name>
   <object-name>04wing-r</object-name>
   <object-name>05wing-l-skid</object-name>
   <object-name>06wing-r-skid</object-name>
   <object-name>07aileron_l</object-name>
   <object-name>08aileron_r</object-name>
   <object-name>09airbrake_l</object-name>
   <object-name>10airbrake_r</object-name>
   <object-name>11elevator</object-name>
   <object-name>12elevator_fix</object-name>
   <object-name>13rudder</object-name>
   <object-name>14rudder_fix</object-name>
   <object-name>15gearbox_l</object-name>
   <object-name>16gearbox_r</object-name>
   <property-base>sim/model/livery</property-base>
   <texture-prop>texture</texture-prop>
   <texture>dg101g_outside.default.png</texture>
 </animation>
 


 <texture-path>Liveries</texture-path>


  <effect>
    <inherits-from>Effects/model-transparent</inherits-from>
    <object-name>20canopy_glass</object-name>
  </effect>


 <!-- Instruments -->

  <model>
    <path>Aircraft/DG-101G/Models/Instruments/80mm_asi_6fms4.xml</path>
    <offsets>
      <x-m>-1.2400</x-m>
      <y-m>-0.0900</y-m>
      <z-m> 0.0050</z-m>
      <pitch-deg>0</pitch-deg>
     </offsets>
   </model>

  <model>
    <path>Aircraft/DG-101G/Models/Instruments/80mm_screws.xml</path>
    <offsets>
      <x-m>-1.2400</x-m>
      <y-m>-0.0900</y-m>
      <z-m> 0.0050</z-m>
      <pitch-deg>0</pitch-deg>
     </offsets>
   </model>

  <model>
    <path>Aircraft/DG-101G/Models/Instruments/80mm_alti_4fgh10.xml</path>
    <offsets>
      <x-m>-1.2400</x-m>
      <y-m> 0.0000</y-m>
      <z-m> 0.0050</z-m>
      <pitch-deg>0</pitch-deg>
     </offsets>
   </model>

  <model>
    <path>Aircraft/DG-101G/Models/Instruments/80mm_alti_4fgh10_ring.xml</path>
    <offsets>
      <x-m>-1.2400</x-m>
      <y-m> 0.0000</y-m>
      <z-m> 0.0050</z-m>
      <pitch-deg>0</pitch-deg>
     </offsets>
   </model>

  <model>
    <path>Aircraft/DG-101G/Models/Instruments/80mm_screws.xml</path>
    <offsets>
      <x-m>-1.2400</x-m>
      <y-m> 0.0000</y-m>
      <z-m> 0.0050</z-m>
      <pitch-deg>0</pitch-deg>
     </offsets>
   </model>

  <model>
    <path>Aircraft/DG-101G/Models/Instruments/80mm_vsi_5stv5.xml</path>
    <offsets>
      <x-m>-1.2400</x-m>
      <y-m> 0.0900</y-m>
      <z-m> 0.0050</z-m>
      <pitch-deg>0</pitch-deg>
     </offsets>
   </model>

  <model>
    <path>Aircraft/DG-101G/Models/Instruments/80mm_vsi_5stv5_dg101g.xml</path>
    <offsets>
      <x-m>-1.2400</x-m>
      <y-m> 0.0900</y-m>
      <z-m> 0.0050</z-m>
      <pitch-deg>0</pitch-deg>
     </offsets>
   </model>

  <model>
    <path>Aircraft/DG-101G/Models/Instruments/80mm_screws.xml</path>
    <offsets>
      <x-m>-1.2400</x-m>
      <y-m> 0.0900</y-m>
      <z-m> 0.0050</z-m>
      <pitch-deg>0</pitch-deg>
     </offsets>
   </model>

  <model>
    <path>Aircraft/DG-101G/Models/Instruments/57mm_vsi_5m.xml</path>
    <offsets>
      <x-m>-1.2400</x-m>
      <y-m>-0.0350</y-m>
      <z-m>-0.0800</z-m>
      <pitch-deg>0</pitch-deg>
     </offsets>
   </model>

  <model>
    <path>Aircraft/DG-101G/Models/Instruments/57mm_screws.xml</path>
    <offsets>
      <x-m>-1.2400</x-m>
      <y-m>-0.0350</y-m>
      <z-m>-0.0800</z-m>
      <pitch-deg>0</pitch-deg>
     </offsets>
   </model>

  <model>
    <path>Aircraft/DG-101G/Models/Instruments/57mm_compass.xml</path>
    <offsets>
      <x-m>-1.2400</x-m>
      <y-m> 0.0350</y-m>
      <z-m>-0.0800</z-m>
      <pitch-deg>0</pitch-deg>
     </offsets>
   </model>

  <model>
    <path>Aircraft/DG-101G/Models/Instruments/57mm_screws.xml</path>
    <offsets>
      <x-m>-1.2400</x-m>
      <y-m> 0.0350</y-m>
      <z-m>-0.0800</z-m>
      <pitch-deg>0</pitch-deg>
     </offsets>
   </model>

  <model>
    <path>Aircraft/DG-101G/Models/Instruments/57mm_turnslip.xml</path>
    <offsets>
      <x-m>-1.2400</x-m>
      <y-m> 0.0350</y-m>
      <z-m>-0.1500</z-m>
      <pitch-deg>0</pitch-deg>
     </offsets>
   </model>

  <model>
    <path>Aircraft/DG-101G/Models/Instruments/57mm_screws.xml</path>
    <offsets>
      <x-m>-1.2400</x-m>
      <y-m> 0.0350</y-m>
      <z-m>-0.1500</z-m>
      <pitch-deg>0</pitch-deg>
     </offsets>
   </model>

  <model>
    <path>Aircraft/DG-101G/Models/Instruments/57mm_fsg2t.xml</path>
    <offsets>
      <x-m>-1.2400</x-m>
      <y-m>-0.0350</y-m>
      <z-m>-0.1500</z-m>
      <pitch-deg>0</pitch-deg>
     </offsets>
   </model>

  <model>
    <path>Aircraft/DG-101G/Models/Instruments/57mm_screws.xml</path>
    <offsets>
      <x-m>-1.2400</x-m>
      <y-m>-0.0350</y-m>
      <z-m>-0.1500</z-m>
      <pitch-deg>0</pitch-deg>
     </offsets>
   </model>

  <model>
    <path>Aircraft/DG-101G/Models/Instruments/wollfaden.xml</path>
    <offsets>
      <x-m>-1.2600</x-m>
      <y-m> 0.0000</y-m>
      <z-m> 0.2350</z-m>
      <pitch-deg>-26</pitch-deg>
     </offsets>
   </model>




 <!-- Stickers -->
 
  <model>
    <path>Aircraft/DG-101G/Models/Stickers/gear_down.xml</path>
    <offsets>
      <x-m> 1.3000</x-m>
      <y-m>-0.2400</y-m>
      <z-m>-0.2600</z-m>
      <roll-deg>      0</roll-deg>
      <pitch-deg>    15</pitch-deg>
      <heading-deg>  80</heading-deg>
     </offsets>
   </model>
   
   
  <model>
    <path>Aircraft/DG-101G/Models/Stickers/gear_up.xml</path>
    <offsets>
      <x-m>-1.1800</x-m>
      <y-m>-0.2100</y-m>
      <z-m>-0.2600</z-m>
      <roll-deg>      0</roll-deg>
      <pitch-deg>     5</pitch-deg>
      <heading-deg>  80</heading-deg>
     </offsets>
   </model>
   
   
  <model>
    <path>Aircraft/DG-101G/Models/Stickers/airbrake_out.xml</path>
    <offsets>
      <x-m>-1.0600</x-m>
      <y-m>-0.2580</y-m>
      <z-m>-0.1900</z-m>
      <roll-deg>     90</roll-deg>
      <pitch-deg>    -7</pitch-deg>
      <heading-deg> 180</heading-deg>
     </offsets>
   </model>
   
   
  <model>
    <path>Aircraft/DG-101G/Models/Stickers/brake_on.xml</path>
    <offsets>
      <x-m>-0.9000</x-m>
      <y-m>-0.2700</y-m>
      <z-m>-0.1500</z-m>
      <roll-deg>     90</roll-deg>
      <pitch-deg>    -7</pitch-deg>
      <heading-deg> 180</heading-deg>
     </offsets>
   </model>
   
   
  <model>
    <path>Aircraft/DG-101G/Models/Stickers/trim_head.xml</path>
    <offsets>
      <x-m>-1.1100</x-m>
      <y-m>-0.2550</y-m>
      <z-m>-0.2280</z-m>
      <roll-deg>     90</roll-deg>
      <pitch-deg>    -7</pitch-deg>
      <heading-deg> 180</heading-deg>
     </offsets>
   </model>
   
   
   
   
  <model>
    <path>Aircraft/DG-101G/Models/Stickers/trim_tail.xml</path>
    <offsets>
      <x-m>-1.0100</x-m>
      <y-m>-0.2640</y-m>
      <z-m>-0.2270</z-m>
      <roll-deg>     90</roll-deg>
      <pitch-deg>    -7</pitch-deg>
      <heading-deg> 180</heading-deg>
     </offsets>
   </model>
   
   
   
   
  <model>
    <path>Aircraft/DG-101G/Models/Stickers/ballast.xml</path>
    <offsets>
      <x-m>-1.0300</x-m>
      <y-m> 0.2650</y-m>
      <z-m>-0.2100</z-m>
      <roll-deg>     90</roll-deg>
      <pitch-deg>     5</pitch-deg>
      <heading-deg>   0</heading-deg>
     </offsets>
   </model>




 <!-- Pilot -->
  <model>
    <path>Aircraft/DG-101G/Models/Pilot/pilot.xml</path>
    <offsets>
      <x-m>-0.56</x-m>
      <y-m> 0.00</y-m>
      <z-m> 0.15</z-m>
      <roll-deg>    0</roll-deg>
      <pitch-deg>   0</pitch-deg>
      <heading-deg> 0</heading-deg>
     </offsets>
   </model>





  <!-- Stick -->
   <animation>
     <object-name>26stick</object-name>
     <property>controls/flight/aileron</property>
     <type>rotate</type>
     <factor>20</factor>
     <axis>
       <x>-1</x>
       <y>0</y>
       <z>0</z>
     </axis>
     <center>
       <x-m>-1.0800</x-m>
       <y-m> 0.0000</y-m>
       <z-m>-0.3400</z-m>
     </center>
   </animation>
   <animation>
     <object-name>26stick</object-name>
     <property>controls/flight/elevator</property>
     <type>rotate</type>
     <factor>20</factor>
     <axis>
       <x>0</x>
       <y>-1</y>
       <z>0</z>
     </axis>
     <center>
       <x-m>-1.0800</x-m>
       <y-m> 0.0000</y-m>
       <z-m>-0.3400</z-m>
     </center>
   </animation>


  <!-- Pedals -->
   <animation>
     <object-name>24pedal_l</object-name>
     <property>controls/flight/rudder</property>
     <type>rotate</type>
     <factor>20</factor>
     <axis>
       <x>0</x>
       <y>1</y>
       <z>0</z>
     </axis>
     <center>
       <x-m>-1.8100</x-m>
       <y-m> 0.0000</y-m>
       <z-m>-0.2500</z-m>
     </center>
   </animation>

   <animation>
     <object-name>25pedal_r</object-name>
     <property>controls/flight/rudder</property>
     <type>rotate</type>
     <factor>20</factor>
     <axis>
       <x>0</x>
       <y>-1</y>
       <z>0</z>
     </axis>
     <center>
       <x-m>-1.8100</x-m>
       <y-m> 0.0000</y-m>
       <z-m>-0.2500</z-m>
     </center>
   </animation>


  <!-- Rudder -->
   <animation>
     <object-name>13rudder</object-name>
     <property>controls/flight/rudder</property>
     <type>rotate</type>
     <factor>30.0</factor>
     <axis>
       <x1-m> 4.3480</x1-m>
       <y1-m> 0.0000</y1-m>
       <z1-m>-0.0660</z1-m>
       <x2-m> 4.4790</x2-m>
       <y2-m> 0.0000</y2-m>
       <z2-m> 1.1800</z2-m>
     </axis>
   </animation>


  <!-- Elevators -->
   <animation>
     <object-name>11elevator</object-name>
     <property>controls/flight/elevator</property>
     <type>rotate</type>
     <factor>30.0</factor>
     <axis>
       <x1-m> 4.4270</x1-m>
       <y1-m>-1.1100</y1-m>
       <z1-m> 1.1700</z1-m>
       <x2-m> 4.4270</x2-m>
       <y2-m> 1.1100</y2-m>
       <z2-m> 1.1700</z2-m>
     </axis>
   </animation>


  <!-- Ailerons -->
  
  <!-- Left Aileron -->
   <animation>
     <object-name>07aileron_l</object-name>
     <property>controls/flight/aileron</property>
     <type>rotate</type>
     <interpolation>
       <entry><ind> -1.0</ind><dep> 30</dep></entry>
       <entry><ind>  0.0</ind><dep>  0</dep></entry>
       <entry><ind>  1.0</ind><dep>-13</dep></entry>
     </interpolation>
     <axis>
       <x1-m> 0.2780</x1-m>
       <y1-m>-4.4930</y1-m>
       <z1-m> 0.3080</z1-m>
       <x2-m> 0.0040</x2-m>
       <y2-m>-7.0900</y2-m>
       <z2-m> 0.4360</z2-m>
     </axis>
   </animation>
  
  <!-- Right Aileron -->
   <animation>
     <object-name>08aileron_r</object-name>
     <property>controls/flight/aileron</property>
     <type>rotate</type>
     <interpolation>
       <entry><ind> -1.0</ind><dep> 13</dep></entry>
       <entry><ind>  0.0</ind><dep>  0</dep></entry>
       <entry><ind>  1.0</ind><dep>-30</dep></entry>
     </interpolation>
     <axis>
       <x1-m> 0.2780</x1-m>
       <y1-m> 4.4930</y1-m>
       <z1-m> 0.3080</z1-m>
       <x2-m> 0.0040</x2-m>
       <y2-m> 7.0900</y2-m>
       <z2-m> 0.4360</z2-m>
     </axis>
   </animation>


  <!-- Speedbrake (Flaps) -->
  
  <!-- Stick Speedbrake -->
   <animation>
     <type>pick</type>
     <object-name>27stick_brakeflaps</object-name>
     <action>
       <button>0</button>
       <repeatable>true</repeatable>
       <binding>
         <command>property-adjust</command>
         <property>controls/engines/engine/throttle</property>
         <step>-0.05</step>
         <min>0</min>
         <max> 1</max>
         <wrap>false</wrap>
       </binding>
     </action>
   </animation>
   <animation>
     <type>pick</type>
     <object-name>27stick_brakeflaps</object-name>
     <action>
       <button>1</button>
       <repeatable>true</repeatable>
       <binding>
         <command>property-adjust</command>
         <property>controls/engines/engine/throttle</property>
         <step> 0.05</step>
         <min>0</min>
         <max> 1</max>
         <wrap>false</wrap>
       </binding>
     </action>
   </animation>
   <animation>
     <type>translate</type>
     <object-name>27stick_brakeflaps</object-name>
     <property>/surface-positions/speedbrake-pos-norm</property>
     <factor>0.1700</factor>
     <axis>
       <x> 1.00</x>
       <y>-0.13</y>
       <z> 0.03</z>
     </axis>
   </animation> 
  
  <!-- Speedbrakes -->
   <animation>
     <type>translate</type>
     <object-name>09airbrake_l</object-name>
     <object-name>10airbrake_r</object-name>
     <property>/surface-positions/speedbrake-pos-norm</property>
     <factor>0.07</factor>
     <axis>
       <x>0</x>
       <y>0</y>
       <z>1</z>
     </axis>
   </animation> 


  <!-- Trimming -->
  
  <!-- Stick Trimming -->
   <animation>
     <type>pick</type>
     <object-name>30stick_trim</object-name>
     <action>
       <button>0</button>
       <repeatable>true</repeatable>
       <binding>
         <command>property-adjust</command>
         <property>/controls/flight/elevator-trim</property>
         <step>-0.05</step>
         <min>-1</min>
         <max> 1</max>
         <wrap>false</wrap>
       </binding>
     </action>
   </animation>
   <animation>
     <type>pick</type>
     <object-name>30stick_trim</object-name>
     <action>
       <button>1</button>
       <repeatable>true</repeatable>
       <binding>
         <command>property-adjust</command>
         <property>/controls/flight/elevator-trim</property>
         <step> 0.05</step>
         <min>-1</min>
         <max> 1</max>
         <wrap>false</wrap>
       </binding>
     </action>
   </animation>
   <animation>
     <type>translate</type>
     <object-name>30stick_trim</object-name>
     <property>controls/flight/elevator-trim</property>
     <factor>-0.1200</factor>
     <axis>
       <x> 1.0</x>
       <y>-0.1</y>
       <z> 0.0</z>
     </axis>
   </animation> 
  


  <!-- Landing Gear -->
  
  <!-- Stick Gear-->
   <animation>
     <type>pick</type>
     <object-name>29stick_gear</object-name>
     <action>
       <button>0</button>
       <repeatable>false</repeatable>
       <binding>
         <command>property-toggle</command>
         <property>/controls/gear/gear-down</property>
       </binding>
     </action>
   </animation>
   <animation>
     <type>translate</type>
     <object-name>29stick_gear</object-name>
     <property>/gear/gear[0]/position-norm</property>
     <factor>0.2000</factor>
     <axis>
       <x> 1.00</x>
       <y>-0.10</y>
       <z> 0.00</z>
     </axis>
   </animation> 
   <animation>
     <type>rotate</type>
     <object-name>29stick_gear</object-name>
     <property>/gear/gear[0]/position-norm</property>
     <interpolation>
       <entry><ind>  0.00</ind><dep>  0</dep></entry>
       <entry><ind>  0.05</ind><dep>-20</dep></entry>
       <entry><ind>  0.95</ind><dep>-20</dep></entry>
       <entry><ind>  1.00</ind><dep>  0</dep></entry>
     </interpolation>
     <axis>
       <x1-m>-1.160</x1-m>
       <y1-m>-0.222</y1-m>
       <z1-m>-0.270</z1-m>
       <x2-m>-0.860</x2-m>
       <y2-m>-0.230</y2-m>
       <z2-m>-0.270</z2-m>
     </axis>
   </animation> 
  
  <!-- Wheels -->
   <animation>
     <type>translate</type>
     <object-name>17wheel-main</object-name>
     <property>/gear/gear[0]/position-norm</property>
     <factor> 0.3200</factor>
     <axis>
       <x>0.2</x>
       <y>0.0</y>
       <z>-1.0</z>
     </axis>
   </animation> 
  
  <!-- Gearbox Flaps -->
   <animation>
     <type>rotate</type>
     <object-name>15gearbox_l</object-name>
     <property>/gear/gear[0]/position-norm</property>
     <interpolation>
       <entry><ind>  0.0</ind><dep>  0</dep></entry>
       <entry><ind>  0.2</ind><dep>-80</dep></entry>
       <entry><ind>  1.0</ind><dep>-90</dep></entry>
     </interpolation>
     <axis>
       <x1-m>-0.460</x1-m>
       <y1-m>-0.119</y1-m>
       <z1-m>-0.436</z1-m>
       <x2-m> 0.140</x2-m>
       <y2-m>-0.102</y2-m>
       <z2-m>-0.335</z2-m>
     </axis>
   </animation> 
   
   <animation>
     <type>rotate</type>
     <object-name>16gearbox_r</object-name>
     <property>/gear/gear[0]/position-norm</property>
     <interpolation>
       <entry><ind>  0.0</ind><dep>  0</dep></entry>
       <entry><ind>  0.2</ind><dep> 80</dep></entry>
       <entry><ind>  1.0</ind><dep> 90</dep></entry>
     </interpolation>
     <axis>
       <x1-m>-0.460</x1-m>
       <y1-m> 0.119</y1-m>
       <z1-m>-0.436</z1-m>
       <x2-m> 0.140</x2-m>
       <y2-m> 0.102</y2-m>
       <z2-m>-0.335</z2-m>
     </axis>
   </animation> 


  <!-- Stick Clutch -->
   <animation>
     <type>pick</type>
     <object-name>28stick_clutch</object-name>
     <action>
       <button>0</button>
       <repeatable>false</repeatable>
       <binding>
         <command>nasal</command>
         <script>dg101g.releaseDragger()</script>
       </binding>
     </action>
   </animation>
   <animation>
     <type>translate</type>
     <object-name>28stick_clutch</object-name>
     <property>/fdm/jsbsim/fcs/hook-pos-norm</property>
     <factor>0.05</factor>
     <axis>
       <x> 1</x>
       <y> 0</y>
       <z> 0.1</z>
     </axis>
   </animation> 


  <!-- Valve Balast -->
   <animation>
     <type>pick</type>
     <object-name>31ballast-valve</object-name>
     <action>
       <button>0</button>
       <repeatable>false</repeatable>
       <binding>
         <command>nasal</command>
         <script>dg101g.toggleBallastDump()</script>
       </binding>
     </action>
   </animation>
   <animation>
     <type>rotate</type>
     <object-name>31ballast-valve</object-name>
     <property>/sim/glider/ballast/drop</property>
     <factor>90</factor>
     <axis>
       <x>0</x>
       <y>0</y>
       <z>1</z>
     </axis>
     <center>
       <x-m>-1.019</x-m>
       <y-m> 0.252</y-m>
       <z-m>-0.160</z-m>
     </center>
   </animation> 


</PropertyList>
