<?xml version="1.0"?>


<PropertyList>

 <path>b26.ac</path>

  <nasal>
    <load>
      var update = aircraft.overlay_update.new();
      update.add("Aircraft/b26/Models/AI-Liveries", "sim/model/livery/file");
      update.add("Aircraft/b26/logos", "sim/multiplay/generic/string");
    </load>
    <unload>
      update.stop();
    </unload>
  </nasal>
<!--
   <effect>
 			<inherits-from>Aircraft/b26/Models/Effects/b26_bumpspec</inherits-from>
  	  <object-name>fuselage</object-name>
 			<object-name>wing.L</object-name>
  		<object-name>wing.R</object-name>


    <object-name>flap1.L</object-name>
    <object-name>flap1.R</object-name>
    <object-name>flap2.L</object-name>
    <object-name>flap2.R</object-name>
    <object-name>coolflap.L</object-name>
    <object-name>coolflap.R</object-name>


    </effect>
-->

 <model>
	<name>cockpit</name>
  <path>Aircraft/b26/Models/cockpit.xml</path>
  <offsets>
  </offsets>
 </model>
 	<animation>
  <object-name>cockpit</object-name>
		<type>range</type>
		<min-m>0</min-m>
		<max-m>10</max-m>
	</animation>

 <model>
	<name>interiour</name>
  <path>Aircraft/b26/Models/interiour.xml</path>
  <offsets>
  </offsets>
 </model>
 	<animation>
  <object-name>interiour</object-name>
		<type>range</type>
		<min-m>0</min-m>
		<max-m>30</max-m>
	</animation>

 <model>
	<name>bombload</name>
  <path>Aircraft/b26/Models/Loads/loads.xml</path>
  <offsets>

  </offsets>
 </model>

<!--
  <model>
    <name>exp</name>
    <path>Aircraft/b26/Models/Effects/explosion.xml</path>
    <offsets>
   <x-m>-3.66</x-m>
   <y-m>0.0</y-m>
   <z-m>0.181</z-m>
    </offsets>
  </model>	
-->


<!--prop -->

  <model>
    <name>pdiskL</name>
    <path>Aircraft/mosquito/Models/pdiskL.xml</path>
    <offsets>
   <x-m>3.66</x-m>
   <y-m>-3.294</y-m>
   <z-m>0.181</z-m>
    </offsets>
  </model>	

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

 <animation>
  <type>spin</type>
  <object-name>prop.L</object-name>
  <property>engines/engine[0]/rpm</property>
  <factor>0.479</factor>
  <center>
   <x-m>-3.786</x-m>
   <y-m>-3.294</y-m>
   <z-m>0.181</z-m>
  </center>
  <axis>
   <x>1.0</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>
 <animation>
  <type>spin</type>
  <object-name>prophub.L</object-name>
  <property>engines/engine[0]/rpm</property>
  <factor>0.479</factor>
  <center>
   <x-m>-3.786</x-m>
   <y-m>-3.294</y-m>
   <z-m>0.181</z-m>
  </center>
  <axis>
   <x>1.0</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>
  <model>
    <name>pdiskL</name>
    <path>Aircraft/mosquito/Models/pdiskR.xml</path>
    <offsets>
   <x-m>3.66</x-m>
   <y-m>3.294</y-m>
   <z-m>0.181</z-m>
    </offsets>
  </model>	
<animation>
  <type>select</type>
  <object-name>prop.R</object-name>
  <condition>
   <less-than>
    <property>engines/engine[1]/rpm</property>
    <value>1000</value>
   </less-than>
  </condition>
 </animation>

 <animation>
  <type>spin</type>
  <object-name>prop.R</object-name>
  <property>engines/engine[1]/rpm</property>
  <factor>0.479</factor>
  <center>
   <x-m>-3.786</x-m>
   <y-m>3.294</y-m>
   <z-m>0.181</z-m>
  </center>
  <axis>
   <x>1.0</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>
 <animation>
  <type>spin</type>
  <object-name>prophub.R</object-name>
  <property>engines/engine[1]/rpm</property>
  <factor>0.479</factor>
  <center>
   <x-m>-3.786</x-m>
   <y-m>3.294</y-m>
   <z-m>0.181</z-m>
  </center>
  <axis>
   <x>1.0</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>

<!-- nosegear -->
<animation>
  <type>rotate</type>
  <object-name>gearstrut.F</object-name>
  <object-name>gearleg.F</object-name>
  <object-name>wheel.F</object-name>
  <object-name>wheel2.F</object-name>
  <property>gear/gear[0]/position-norm</property>
  <interpolation>
   <entry>
    <ind>0.0</ind>
    <dep>85.0</dep>
   </entry>
   <entry>
    <ind>0.2</ind>
    <dep>85.0</dep>
   </entry>
   <entry>
    <ind>1.00</ind>
    <dep>0.0</dep>
   </entry>
  </interpolation>
  <center>
   <x-m>1.974</x-m>
   <y-m>0.0</y-m>
   <z-m>-0.488</z-m>
  </center>
  <axis>
   <x>0.0</x>
   <y>-1.0</y>
   <z>0.0</z>
  </axis>
 </animation>
<animation>
  <type>rotate</type>
  <object-name>wheel.F</object-name>
  <object-name>wheel2.F</object-name>
  <property>gear/gear[0]/position-norm</property>
  <interpolation>
   <entry>
    <ind>0.0</ind>
    <dep>93.0</dep>
   </entry>
   <entry>
    <ind>0.5</ind>
    <dep>0.0</dep>
   </entry>
   <entry>
    <ind>1.00</ind>
    <dep>0.0</dep>
   </entry>
  </interpolation>
  <center>
   <x-m>1.874</x-m>
   <y-m>0.0</y-m>
   <z-m>-0.288</z-m>
  </center>
  <axis>
   <x>0.0</x>
   <y>0.0</y>
   <z>-1.0</z>
  </axis>
 </animation>

<animation>
  <type>rotate</type>
  <object-name>geardoorF.L</object-name>
  <property>gear/gear[0]/position-norm</property>
  <interpolation>
   <entry>
    <ind>0.0</ind>
    <dep>0.0</dep>
   </entry>
   <entry>
    <ind>0.2</ind>
    <dep>-90.0</dep>
   </entry>
   <entry>
    <ind>1.00</ind>
    <dep>-90.0</dep>
   </entry>
  </interpolation>
  <center>
   <x-m>2.846</x-m>
   <y-m>-0.474</y-m>
   <z-m>-0.87</z-m>
  </center>
  <axis>
   <x1-m>1.695</x1-m>
   <y1-m>-0.419</y1-m>
   <z1-m>-0.752</z1-m>
   <x2-m>3.998</x2-m>
   <y2-m>-0.53</y2-m>
   <z2-m>-0.988</z2-m>
  </axis>
 </animation>
<animation>
  <type>rotate</type>
  <object-name>geardoorF.R</object-name>
  <property>gear/gear[0]/position-norm</property>
  <interpolation>
   <entry>
    <ind>0.0</ind>
    <dep>0.0</dep>
   </entry>
   <entry>
    <ind>0.2</ind>
    <dep>90.0</dep>
   </entry>
   <entry>
    <ind>1.00</ind>
    <dep>90.0</dep>
   </entry>
  </interpolation>
  <center>
   <x-m>2.846</x-m>
   <y-m>0.474</y-m>
   <z-m>-0.87</z-m>
  </center>
  <axis>
   <x1-m>1.695</x1-m>
   <y1-m>0.419</y1-m>
   <z1-m>-0.752</z1-m>
   <x2-m>3.998</x2-m>
   <y2-m>0.53</y2-m>
   <z2-m>-0.988</z2-m>
  </axis>
 </animation>
<!--left gear -->
 <animation>
  <type>rotate</type>
  <object-name>gearstrut.L</object-name>
  <object-name>gearleg.L</object-name>
  <object-name>wheel.L</object-name>
  <object-name>wheel2.L</object-name>
  <property>gear/gear[1]/position-norm</property>
  <interpolation>
<entry>
    <ind>0.0</ind>
    <dep>75.0</dep>
   </entry>
   <entry>
    <ind>0.2</ind>
    <dep>75.0</dep>
   </entry>

   <entry>
    <ind>1.0</ind>
    <dep>0.0</dep>
   </entry>

  </interpolation>
  <center>
   <x-m>8.354</x-m>
   <y-m>3.236</y-m>
   <z-m>-0.33</z-m>
  </center>
  <axis>
   <x>0.0</x>
   <y>1.0</y>
   <z>0.0</z>
  </axis>
 </animation>


<!--right gear -->
 <animation>
  <type>rotate</type>
  <object-name>gearstrut.R</object-name>
  <object-name>gearleg.R</object-name>
  <object-name>wheel.R</object-name>
  <object-name>wheel2.R</object-name>

  <property>gear/gear[2]/position-norm</property>
  <interpolation>
<entry>
    <ind>0.0</ind>
    <dep>75.0</dep>
   </entry>
   <entry>
    <ind>0.2</ind>
    <dep>75.0</dep>
   </entry>

   <entry>
    <ind>1.0</ind>
    <dep>0.0</dep>
   </entry>

  </interpolation>
  <center>
   <x-m>8.354</x-m>
   <y-m>3.236</y-m>
   <z-m>-0.33</z-m>
  </center>
  <axis>
   <x>0.0</x>
   <y>1.0</y>
   <z>0.0</z>
  </axis>
 </animation>

 <animation>
  <type>rotate</type>
  <object-name>geardoor2.L</object-name>
  <property>gear/gear[1]/position-norm</property>
  <interpolation>
   <entry>
    <ind>0.0</ind>
    <dep>0.0</dep>
   </entry>
   <entry>
    <ind>0.2</ind>
    <dep>-70</dep>
   </entry>
   <entry>
    <ind>1.00</ind>
    <dep>-70</dep>
   </entry>
  </interpolation>
  <center>
   <x-m>7.593</x-m>
   <y-m>-3.877</y-m>
   <z-m>-0.176</z-m>
  </center>
  <axis>
   <x1-m>6.387</x1-m>
   <y1-m>-4.027</y1-m>
   <z1-m>-0.263</z1-m>
   <x2-m>8.8</x2-m>
   <y2-m>-3.727</y2-m>
   <z2-m>-0.09</z2-m>
  </axis>
 </animation>
 <animation>
  <type>rotate</type>
  <object-name>geardoor1.L</object-name>
  <property>gear/gear[1]/position-norm</property>
  <interpolation>
   <entry>
    <ind>0.0</ind>
    <dep>0.0</dep>
   </entry>
   <entry>
    <ind>0.2</ind>
    <dep>70</dep>
   </entry>
   <entry>
    <ind>1.00</ind>
    <dep>70</dep>
   </entry>
  </interpolation>
  <center>
   <x-m>7.593</x-m>
   <y-m>-2.787</y-m>
   <z-m>-0.174</z-m>
  </center>
  <axis>
   <x1-m>6.387</x1-m>
   <y1-m>-2.609</y1-m>
   <z1-m>-0.262</z1-m>
   <x2-m>8.8</x2-m>
   <y2-m>-2.966</y2-m>
   <z2-m>-0.085</z2-m>
  </axis>
 </animation>

 <animation>
  <type>rotate</type>
  <object-name>geardoor2.R</object-name>
  <property>gear/gear[2]/position-norm</property>
  <interpolation>
   <entry>
    <ind>0.0</ind>
    <dep>0.0</dep>
   </entry>
   <entry>
    <ind>0.2</ind>
    <dep>70</dep>
   </entry>
   <entry>
    <ind>1.00</ind>
    <dep>70</dep>
   </entry>
  </interpolation>
  <center>
   <x-m>7.593</x-m>
   <y-m>3.877</y-m>
   <z-m>-0.176</z-m>
  </center>
  <axis>
   <x1-m>6.387</x1-m>
   <y1-m>4.027</y1-m>
   <z1-m>-0.263</z1-m>
   <x2-m>8.8</x2-m>
   <y2-m>3.727</y2-m>
   <z2-m>-0.09</z2-m>
  </axis>
 </animation>
 <animation>
  <type>rotate</type>
  <object-name>geardoor1.R</object-name>
  <property>gear/gear[2]/position-norm</property>
  <interpolation>
   <entry>
    <ind>0.0</ind>
    <dep>0.0</dep>
   </entry>
   <entry>
    <ind>0.2</ind>
    <dep>-70</dep>
   </entry>
   <entry>
    <ind>1.00</ind>
    <dep>-70</dep>
   </entry>
  </interpolation>
  <center>
   <x-m>7.593</x-m>
   <y-m>2.787</y-m>
   <z-m>-0.174</z-m>
  </center>
  <axis>
   <x1-m>6.387</x1-m>
   <y1-m>2.609</y1-m>
   <z1-m>-0.262</z1-m>
   <x2-m>8.8</x2-m>
   <y2-m>2.966</y2-m>
   <z2-m>-0.085</z2-m>
  </axis>
 </animation>
 <animation>
  <type>spin</type>
  <object-name>wheel.F</object-name>
  <object-name>wheel2.F</object-name>
  <property>gear/gear[0]/rollspeed-ms</property>
  <factor>-20.0</factor>
  <center>
   <x-m>1.68</x-m>
   <y-m>0.0</y-m>
   <z-m>-2.167</z-m>
  </center>
  <axis>
   <x>0.0</x>
   <y>1.0</y>
   <z>0.0</z>
  </axis>
 </animation>
 <animation>
  <type>spin</type>
  <object-name>wheel.L</object-name>
  <object-name>wheel2.L</object-name>
  <property>gear/gear[1]/rollspeed-ms</property>
  <factor>-20.0</factor>
  <center>
   <x-m>7.491</x-m>
   <y-m>-3.275</y-m>
   <z-m>-1.798</z-m>
  </center>
  <axis>
   <x>0.0</x>
   <y>1.0</y>
   <z>0.0</z>
  </axis>
 </animation>
 <animation>
  <type>spin</type>
  <object-name>wheel.R</object-name>
  <object-name>wheel2.R</object-name>
  <property>gear/gear[2]/rollspeed-ms</property>
  <factor>-20.0</factor>
  <center>
   <x-m>7.491</x-m>
   <y-m>3.275</y-m>
   <z-m>-1.798</z-m>
  </center>
  <axis>
   <x>0.0</x>
   <y>1.0</y>
   <z>0.0</z>
  </axis>
 </animation>

<!-- flaps -->
 <animation>
  <type>rotate</type>
  <object-name>outflap.L</object-name>
  <object-name>inflap.L</object-name>
  <property>surface-positions/flap-pos-norm</property>
  <factor>-37.0</factor>

  <center>
   <x-m>8.611</x-m>
   <y-m>-4.033</y-m>
   <z-m>0.568</z-m>
  </center>

  <axis>
   <x1-m>8.891</x1-m>
   <y1-m>-1.206</y1-m>
   <z1-m>0.325</z1-m>
   <x2-m>8.331</x2-m>
   <y2-m>-6.859</y2-m>
   <z2-m>0.811</z2-m>
  </axis>
 </animation>
 <animation>
  <type>rotate</type>
  <object-name>outflap.R</object-name>
  <object-name>inflap.R</object-name>
  <property>surface-positions/flap-pos-norm</property>
  <factor>37.0</factor>

  <center>
   <x-m>8.611</x-m>
   <y-m>4.033</y-m>
   <z-m>0.568</z-m>
  </center>

  <axis>
   <x1-m>8.891</x1-m>
   <y1-m>1.206</y1-m>
   <z1-m>0.325</z1-m>
   <x2-m>8.331</x2-m>
   <y2-m>6.859</y2-m>
   <z2-m>0.811</z2-m>
  </axis>
 </animation>

<!--control-surfaces -->
 <animation>
  <type>rotate</type>
  <object-name>aileron.L</object-name>
  <property>controls/flight/aileron</property>
  <factor>-30.0</factor>

  <center>
   <x-m>8.085</x-m>
   <y-m>-8.459</y-m>
   <z-m>0.932</z-m>
  </center>

  <axis>
   <x1-m>8.176</x1-m>
   <y1-m>-6.860</y1-m>
   <z1-m>0.823</z1-m>
   <x2-m>7.993</x2-m>
   <y2-m>-10.059</y2-m>
   <z2-m>1.042</z2-m>
  </axis>
 </animation>
 <animation>
  <type>rotate</type>
  <object-name>aileron.R</object-name>
  <property>controls/flight/aileron</property>
  <factor>-30.0</factor>

  <center>
   <x-m>8.085</x-m>
   <y-m>8.459</y-m>
   <z-m>0.932</z-m>
  </center>

  <axis>
   <x1-m>8.176</x1-m>
   <y1-m>6.860</y1-m>
   <z1-m>0.823</z1-m>
   <x2-m>7.993</x2-m>
   <y2-m>10.059</y2-m>
   <z2-m>1.042</z2-m>
  </axis>
 </animation>


 <animation>
  <type>rotate</type>
  <object-name>rudder</object-name>
  <property>surface-positions/rudder-pos-norm</property>
  <factor>-30.0</factor>

  <center>
   <x-m>15.044</x-m>
   <y-m>0.000000</y-m>
   <z-m>3.228</z-m>
  </center>

  <axis>
   <x1-m>15.072</x1-m>
   <y1-m>0</y1-m>
   <z1-m>3.979</z1-m>
   <x2-m>15.016</x2-m>
   <y2-m>0</y2-m>
   <z2-m>2.476</z2-m>
  </axis>
 </animation>

 <animation>
  <type>rotate</type>
  <object-name>elevator.L</object-name>
  <property>surface-positions/elevator-pos-norm</property>
  <interpolation>
   <entry>
    <ind>-1.0</ind>
    <dep>-20.0</dep>
   </entry>
   <entry>
    <ind>0.0</ind>
    <dep>0</dep>
   </entry>
   <entry>
    <ind>1.00</ind>
    <dep>20.0</dep>
   </entry>
  </interpolation>
  <center>
   <x-m>15.416</x-m>
   <y-m>-2.939</y-m>
   <z-m>1.286</z-m>
  </center>
  <axis>
   <x1-m>15.456</x1-m>
   <y1-m>-4.124</y1-m>
   <z1-m>1.453</z1-m>
   <x2-m>15.44</x2-m>
   <y2-m>-0.568</y2-m>
   <z2-m>0.953</z2-m>
   </axis>
 </animation>

 <animation>
  <type>rotate</type>
  <object-name>elevator.R</object-name>
  <property>surface-positions/elevator-pos-norm</property>
  <interpolation>
   <entry>
    <ind>-1.0</ind>
    <dep>20.0</dep>
   </entry>
   <entry>
    <ind>0.0</ind>
    <dep>0</dep>
   </entry>
   <entry>
    <ind>1.00</ind>
    <dep>-20.0</dep>
   </entry>
  </interpolation>
  <center>
   <x-m>15.416</x-m>
   <y-m>2.939</y-m>
   <z-m>1.286</z-m>
  </center>
  <axis>
   <x1-m>15.456</x1-m>
   <y1-m>4.124</y1-m>
   <z1-m>1.453</z1-m>
   <x2-m>15.44</x2-m>
   <y2-m>0.568</y2-m>
   <z2-m>0.953</z2-m>
   </axis>
 </animation>

<!-- Bombbay Doors -->
 <animation>
  <type>rotate</type>
  <object-name>bombbay2.L</object-name>
  <object-name>bombbay1.L</object-name>
  <property>controls/armament/bombbay/position-norm</property>
  <factor>-120.0</factor>

  <center>
   <x-m>7.312</x-m>
   <y-m>-0.998</y-m>
   <z-m>-0.578</z-m>
  </center>

  <axis>
   <x1-m>5.853</x1-m>
   <y1-m>-0.998</y1-m>
   <z1-m>-0.578</z1-m>
   <x2-m>8.772</x2-m>
   <y2-m>-0.998</y2-m>
   <z2-m>-0.578</z2-m>
  </axis>
 </animation>

 <animation>
  <type>rotate</type>

  <object-name>bombbay1.L</object-name>
  <property>controls/armament/bombbay/position-norm</property>
  <factor>-130.0</factor>

  <center>
   <x-m>7.312</x-m>
   <y-m>-0.674</y-m>
   <z-m>-0.888</z-m>
  </center>

  <axis>
   <x1-m>8.772</x1-m>
   <y1-m>-0.674</y1-m>
   <z1-m>-0.888</z1-m>
   <x2-m>5.853</x2-m>
   <y2-m>-0.674</y2-m>
   <z2-m>-0.888</z2-m>
  </axis>
 </animation>
 <animation>
  <type>rotate</type>
  <object-name>bombbay2.R</object-name>
  <object-name>bombbay1.R</object-name>
  <property>controls/armament/bombbay/position-norm</property>
  <factor>120.0</factor>

  <center>
   <x-m>7.312</x-m>
   <y-m>0.998</y-m>
   <z-m>-0.578</z-m>
  </center>

  <axis>
   <x1-m>5.853</x1-m>
   <y1-m>0.998</y1-m>
   <z1-m>-0.578</z1-m>
   <x2-m>8.772</x2-m>
   <y2-m>0.998</y2-m>
   <z2-m>-0.578</z2-m>
  </axis>
 </animation>

 <animation>
  <type>rotate</type>

  <object-name>bombbay1.R</object-name>
  <property>controls/armament/bombbay/position-norm</property>
  <factor>130.0</factor>

  <center>
   <x-m>7.312</x-m>
   <y-m>0.674</y-m>
   <z-m>-0.888</z-m>
  </center>

  <axis>
   <x1-m>8.772</x1-m>
   <y1-m>0.674</y1-m>
   <z1-m>-0.888</z1-m>
   <x2-m>5.853</x2-m>
   <y2-m>0.674</y2-m>
   <z2-m>-0.888</z2-m>
  </axis>
 </animation>




	<animation>
		<type>shader</type>
		<shader>chrome</shader>
		<texture>Aircraft/B-26/Models/glass_shader.png</texture>
		<object-name>noseglass</object-name>
		<object-name>cockpitglass</object-name>
		<object-name>turretglass</object-name>
		<object-name>gunportglass.L</object-name>
		<object-name>gunportglass.R</object-name>
		<object-name>reardoorglass</object-name>
		<object-name>rearglass</object-name>
	</animation>

  <animation>
    <type>material</type>
    <object-name>fuselage</object-name>
    <object-name>guns.L</object-name>
    <object-name>guns.R</object-name>
    <object-name>wing.R</object-name>
    <object-name>wing.L</object-name>
    <object-name>engine.R</object-name>
    <object-name>engine.L</object-name>
    <object-name>aileron.L</object-name>
    <object-name>aileron.R</object-name>
    <object-name>outflap.L</object-name>
    <object-name>outflap.R</object-name>
    <object-name>inflap.L</object-name>
    <object-name>inflap.R</object-name>
    <object-name>geardoorF.L</object-name>
    <object-name>geardoorF.R</object-name>
    <object-name>geardoor1.L</object-name>
    <object-name>geardoor1.R</object-name>
    <object-name>geardoor2.L</object-name>
    <object-name>geardoor2.R</object-name>
    <object-name>bombbay1.L</object-name>
    <object-name>bombbay1.R</object-name>
    <object-name>bombbay2.L</object-name>
    <object-name>bombbay2.R</object-name>
    <object-name>gunport.L</object-name>
    <object-name>gunport.R</object-name>
    <object-name>reardoor</object-name>
    <object-name>windshield.L</object-name>
    <object-name>windshield.R</object-name>
    <object-name>elevator.L</object-name>
    <object-name>elevator.R</object-name>
    <object-name>horstab.L</object-name>
    <object-name>horstab.R</object-name>
    <object-name>vstab</object-name>
    <object-name>rudder</object-name>
    <property-base>sim/model/livery</property-base>
    <texture-prop>texture</texture-prop>
    <texture>b26-1.png</texture>
  </animation>

</PropertyList>
