1
0
Fork 0
fgdata/AI/Aircraft/JA37/Models/JA-37.xml

1757 lines
49 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<path>JA-37-lowpoly.ac</path>
<!-- strobe light -->
<animation>
<type>material</type>
<object-name>ja37strobe</object-name>
<condition>
<or>
<!-- flash: bit 1 -->
<equals>
<property>sim/multiplay/generic/int[9]</property>
<value>1</value>
</equals>
<equals>
<property>sim/multiplay/generic/int[9]</property>
<value>3</value>
</equals>
<equals>
<property>sim/multiplay/generic/int[9]</property>
<value>5</value>
</equals>
<equals>
<property>sim/multiplay/generic/int[9]</property>
<value>7</value>
</equals>
</or>
</condition>
<emission>
<red>1.0</red>
<green>1.0</green>
<blue>1.0</blue>
<factor-prop>sim/multiplay/generic/int[5]</factor-prop>
<!-- sim/model/lighting/strobe/state -->
</emission>
</animation>
<!-- Fuselage animations -->
<animation>
<type>translate</type>
<object-name>outletCover</object-name>
<property>ja37/systems/tertiary-opening</property>
<factor>-0.35</factor>
<axis>
<x>1</x>
</axis>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>glassOuter</object-name>
<object-name>canopy</object-name>
<property>canopy/position-norm</property>
<!-- auto MP transmit -->
<factor>55.0</factor>
<center>
<x-m>-2.67098</x-m>
<y-m>0.000003</y-m>
<z-m>1.01043</z-m>
</center>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>scale</type>
<object-name>glassOuter</object-name>
<object-name>canopy</object-name>
<property>sim/multiplay/generic/int[1]</property>
<!-- fdm/jsbsim/fcs/canopy/hinges/serviceable -->
<interpolation>
<entry>
<ind> 0.00 </ind>
<dep> 0.00 </dep>
</entry>
<entry>
<ind> 0.01 </ind>
<dep> 1.00 </dep>
</entry>
</interpolation>
<center>
<x-m> 0 </x-m>
<y-m> 0 </y-m>
<z-m> 0 </z-m>
</center>
<x-min>0.0</x-min>
<y-min>0.0</y-min>
<z-min>0.0</z-min>
<x-max>1.0</x-max>
<y-max>1.0</y-max>
<z-max>1.0</z-max>
<axis>
<x>1.0</x>
<y>1.0</y>
<z>1.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>reverser1</object-name>
<property>sim/multiplay/generic/float[19]</property>
<!-- engines/engine/reverser-position -->
<factor>50.0</factor>
<axis>
<x1-m> 6.15 </x1-m>
<y1-m> -0.41069 </y1-m>
<z1-m> -0.41069 </z1-m>
<x2-m> 6.15 </x2-m>
<y2-m> -0.15032 </y2-m>
<z2-m> -0.56101 </z2-m>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>reverser2</object-name>
<property>sim/multiplay/generic/float[19]</property>
<!-- engines/engine/reverser-position -->
<factor>50.0</factor>
<axis>
<x1-m> 6.15 </x1-m>
<y1-m> 0.56101 </y1-m>
<z1-m> -0.15033 </z1-m>
<x2-m> 6.15 </x2-m>
<y2-m> 0.56101 </y2-m>
<z2-m> 0.15033 </z2-m>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>reverser3</object-name>
<property>sim/multiplay/generic/float[19]</property>
<!-- engines/engine/reverser-position -->
<factor>50.0</factor>
<axis>
<x1-m> 6.15 </x1-m>
<y1-m> -0.15033 </y1-m>
<z1-m> 0.56101 </z1-m>
<x2-m> 6.15 </x2-m>
<y2-m> -0.41069 </y2-m>
<z2-m> 0.41069 </z2-m>
</axis>
</animation>
<animation>
<type>scale</type>
<object-name>reverser1</object-name>
<object-name>reverser2</object-name>
<object-name>reverser3</object-name>
<property>sim/multiplay/generic/float[19]</property>
<interpolation>
<entry>
<ind> 0.99 </ind>
<dep> 1.00 </dep>
</entry>
<entry>
<ind> 1.00 </ind>
<dep> 0.01 </dep>
</entry>
</interpolation>
<center>
<x-m> 6.5 </x-m>
<y-m> 0 </y-m>
<z-m> 0 </z-m>
</center>
<x-min>0.0</x-min>
<y-min>0.0</y-min>
<z-min>0.0</z-min>
<x-max>1.0</x-max>
<y-max>1.0</y-max>
<z-max>1.0</z-max>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<!-- Control surfaces -->
<animation>
<type>rotate</type>
<object-name>rudder</object-name>
<property>surface-positions/rudder-pos-norm</property>
<!-- auto MP transmit -->
<factor>25</factor>
<axis>
<x2-m> 5.70491</x2-m>
<y1-m> 0</y1-m>
<z2-m> 3.04123</z2-m>
<x1-m> 5.70220</x1-m>
<y2-m> 0 </y2-m>
<z1-m> 1.09636</z1-m>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>elevonRightOuter</object-name>
<property>surface-positions/right-aileron-pos-norm</property>
<!-- auto MP transmit -->
<factor>1.0</factor>
<axis>
<x1-m> 5.84096 </x1-m>
<y1-m> 0.99576 </y1-m>
<z1-m> -0.31533 </z1-m>
<x2-m> 5.84928 </x2-m>
<y2-m> 5.10587 </y2-m>
<z2-m> -0.39563 </z2-m>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>elevonLeftOuter</object-name>
<property>surface-positions/left-aileron-pos-norm</property>
<!-- auto MP transmit -->
<factor>1.0</factor>
<axis>
<x2-m> 5.84096 </x2-m>
<y2-m> -0.99576 </y2-m>
<z2-m> -0.31533 </z2-m>
<x1-m> 5.84928 </x1-m>
<y1-m> -5.10587 </y1-m>
<z1-m> -0.39563 </z1-m>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>elevonRightInner</object-name>
<property>surface-positions/spoilers-pos-norm</property>
<!-- auto MP transmit -->
<factor>1.0</factor>
<axis>
<x1-m> 5.84096 </x1-m>
<y1-m> 0.99576 </y1-m>
<z1-m> -0.31533 </z1-m>
<x2-m> 5.84928 </x2-m>
<y2-m> 5.10587 </y2-m>
<z2-m> -0.39563 </z2-m>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>elevonLeftInner</object-name>
<property>surface-positions/elevator-pos-norm</property>
<!-- auto MP transmit -->
<factor>1.0</factor>
<axis>
<x2-m> 5.84096 </x2-m>
<y2-m> -0.99576 </y2-m>
<z2-m> -0.31533 </z2-m>
<x1-m> 5.84928 </x1-m>
<y1-m> -5.10587 </y1-m>
<z1-m> -0.39563 </z1-m>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>flaps</object-name>
<property>surface-positions/flap-pos-norm</property>
<!-- auto MP transmit -->
<factor>1.0</factor>
<axis>
<x1-m> -0.25811 </x1-m>
<y1-m> -2.59427 </y1-m>
<z1-m> 0.12740 </z1-m>
<x2-m> -0.25811 </x2-m>
<y2-m> 2.59427 </y2-m>
<z2-m> 0.12740 </z2-m>
</axis>
</animation>
<!-- *****************************************
Gears
***************************************** -->
<animation>
<type>scale</type>
<object-name>gearFrontDoorsClosed</object-name>
<property>gear/gear[0]/position-norm</property>
<interpolation>
<entry>
<ind> 0.00 </ind>
<dep> 1.00 </dep>
</entry>
<entry>
<ind> 0.001 </ind>
<dep> 0.00 </dep>
</entry>
</interpolation>
<center>
<x-m> 0 </x-m>
<y-m> 0 </y-m>
<z-m> 0 </z-m>
</center>
<x-min>0.0</x-min>
<y-min>0.0</y-min>
<z-min>0.0</z-min>
<x-max>1.0</x-max>
<y-max>1.0</y-max>
<z-max>1.0</z-max>
<axis>
<x>1.0</x>
<y>1.0</y>
<z>1.0</z>
</axis>
</animation>
<animation>
<type>scale</type>
<object-name>gearFrontDoorsOpenLeft</object-name>
<object-name>gearFrontDoorsOpenRight</object-name>
<object-name>frontLandingLightGlare</object-name>
<property>gear/gear[0]/position-norm</property>
<!-- auto MP transmit -->
<interpolation>
<entry>
<ind> 0.00 </ind>
<dep> 0.00 </dep>
</entry>
<entry>
<ind> 0.001 </ind>
<dep> 1.00 </dep>
</entry>
</interpolation>
<center>
<x-m> 0 </x-m>
<y-m> 0 </y-m>
<z-m> 0 </z-m>
</center>
<x-min>0.0</x-min>
<y-min>0.0</y-min>
<z-min>0.0</z-min>
<x-max>1.0</x-max>
<y-max>1.0</y-max>
<z-max>1.0</z-max>
<axis>
<x>1.0</x>
<y>1.0</y>
<z>1.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>gearFrontDoorsOpenLeft</object-name>
<property>gear/gear[0]/position-norm</property>
<!-- auto MP transmit -->
<interpolation>
<entry>
<ind> 0.0</ind>
<dep> 90.0</dep>
</entry>
<entry>
<ind> 0.20</ind>
<dep> 0.0</dep>
</entry>
<entry>
<ind> 1.0</ind>
<dep> 0.0</dep>
</entry>
</interpolation>
<min-deg>0</min-deg>
<max-deg>90</max-deg>
<axis>
<x1-m> -4.98851 </x1-m>
<y1-m> -0.20881 </y1-m>
<z1-m> -0.78645 </z1-m>
<x2-m> -3.05037 </x2-m>
<y2-m> -0.22542 </y2-m>
<z2-m> -0.80660 </z2-m>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>gearFrontDoorsOpenRight</object-name>
<property>gear/gear[0]/position-norm</property>
<!-- auto MP transmit -->
<interpolation>
<entry>
<ind> 0.0</ind>
<dep> 90.0</dep>
</entry>
<entry>
<ind> 0.20</ind>
<dep> 0.0</dep>
</entry>
<entry>
<ind> 1.0</ind>
<dep> 0.0</dep>
</entry>
</interpolation>
<min-deg>0</min-deg>
<max-deg>90</max-deg>
<axis>
<x1-m> -3.05041</x1-m>
<y1-m> 0.22836</y1-m>
<z1-m>-0.80326</z1-m>
<x2-m> -4.98856</x2-m>
<y2-m>0.21209</y2-m>
<z2-m>-0.78329</z2-m>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>gearFrontBottom</object-name>
<object-name>gearFrontHub</object-name>
<object-name>gearFrontScissorTop</object-name>
<object-name>gearFrontScissorBottom</object-name>
<object-name>gearFrontOleoStrut</object-name>
<object-name>gearFrontTop</object-name>
<object-name>gearFrontWheel</object-name>
<object-name>gearFrontLight</object-name>
<object-name>frontLandingLightGlare</object-name>
<property>gear/gear[0]/position-norm</property>
<!-- auto MP transmit -->
<interpolation>
<entry>
<ind> 0.0</ind>
<dep> 110.0</dep>
</entry>
<entry>
<ind> 1.0</ind>
<dep> 0.0</dep>
</entry>
</interpolation>
<min-deg>0</min-deg>
<max-deg>110</max-deg>
<center>
<x-m>-3.35848</x-m>
<y-m>-0.000003</y-m>
<z-m>-0.68153</z-m>
</center>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<condition>
<or>
<!-- wow0: bit 1 -->
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>1</value>
</equals>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>3</value>
</equals>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>5</value>
</equals>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>7</value>
</equals>
</or>
</condition>
<object-name>gearFrontBottom</object-name>
<object-name>gearFrontHub</object-name>
<object-name>gearFrontScissorTop</object-name>
<object-name>gearFrontScissorBottom</object-name>
<object-name>gearFrontTop</object-name>
<object-name>gearFrontWheel</object-name>
<object-name>gearFrontLight</object-name>
<object-name>frontLandingLightGlare</object-name>
<property>sim/multiplay/generic/float[0]</property>
<!-- gear/gear[0]/steering-norm -->
<factor>30</factor>
<center>
<x-m>-3.35848</x-m>
<y-m>-0.000003</y-m>
<z-m>-0.78153</z-m>
</center>
<axis>
<x>0.0</x>
<y>0.0</y>
<z>-1.0</z>
</axis>
</animation>
<animation>
<!-- compress front gear-->
<type>translate</type>
<object-name>gearFrontBottom</object-name>
<object-name>gearFrontHub</object-name>
<object-name>gearFrontOleoStrut</object-name>
<object-name>gearFrontScissorBottom</object-name>
<object-name>gearFrontWheel</object-name>
<object-name>tyre-smoke-nose</object-name>
<property>gear/gear[0]/compression-norm</property>
<!-- auto MP transmit -->
<factor>0.3048</factor>
<axis>
<z>1</z>
</axis>
<center>
<x-m>-3.37534</x-m>
<y-m>0.0</y-m>
<z-m>-1.84812</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>gearFrontScissorTop</object-name>
<property>gear/gear[0]/compression-norm</property>
<!-- auto MP trasmit -->
<axis>
<x>1</x>
</axis>
<center>
<x-m> -3.35424 </x-m>
<y-m> 0.03597 </y-m>
<z-m> -1.3040 </z-m>
</center>
<interpolation include="scissor-interpolation.xml"/>
</animation>
<animation>
<type>rotate</type>
<object-name>gearFrontScissorBottom</object-name>
<property>gear/gear[0]/compression-norm</property>
<!-- auto MP trasmit -->
<axis>
<x>-1</x>
</axis>
<center>
<x-m> -3.35424 </x-m>
<y-m> 0.03597 </y-m>
<z-m> -1.5988 </z-m>
</center>
<interpolation include="scissor-interpolation.xml"/>
</animation>
<!-- spinning wheel calc
radius = -1.59622 + 1.84812 = 0.2519
circum = 2*pi*radius = 1.5827
factor = 1/circum * 60 = 0.6318 * 60 = 37.9091
-3.38246
-0.11702
-1.84812
-3.38246
0.17426
-1.84812
-->
<animation>
<type>spin</type>
<object-name>gearFrontWheel</object-name>
<condition>
<or>
<!-- wow0: bit 1 -->
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>1</value>
</equals>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>3</value>
</equals>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>5</value>
</equals>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>7</value>
</equals>
</or>
</condition>
<property>rotors/main/blade[0]/position-deg</property>
<!-- gear/gear[0]/rollspeed-ms -->
<factor>37.9091</factor>
<center>
<x-m>-3.3694</x-m>
<y-m>0.0</y-m>
<z-m>-1.84812</z-m>
</center>
<axis>
<x>0</x>
<y>-1</y>
<z>0</z>
</axis>
</animation>
<!-- left -->
<animation>
<type>scale</type>
<object-name>gearLeftMid</object-name>
<object-name>gearLeftOleoStrut</object-name>
<object-name>gearLeftScissorTop</object-name>
<object-name>gearLeftScissorBottom</object-name>
<object-name>gearLeftBottom</object-name>
<object-name>gearLeftTop</object-name>
<object-name>gearLeftHinge</object-name>
<object-name>gearLeftWheel1</object-name>
<object-name>gearLeftWheel2</object-name>
<object-name>gearLeftLight</object-name>
<property>gear/gear[1]/position-norm</property>
<!-- auto MP transmit -->
<interpolation>
<entry>
<ind> 0.00 </ind>
<dep> 0.10 </dep>
</entry>
<entry>
<ind> 0.001 </ind>
<dep> 1.00 </dep>
</entry>
</interpolation>
<center>
<x-m> 2.31352 </x-m>
<y-m> -2.13284 </y-m>
<z-m> -0.31244 </z-m>
</center>
<x-min>1.0</x-min>
<y-min>0.10</y-min>
<z-min>1.0</z-min>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>gearLeftMid</object-name>
<object-name>gearLeftOleoStrut</object-name>
<object-name>gearLeftScissorTop</object-name>
<object-name>gearLeftScissorBottom</object-name>
<object-name>gearLeftBottom</object-name>
<object-name>gearLeftTop</object-name>
<object-name>gearLeftHinge</object-name>
<object-name>gearLeftWheel1</object-name>
<object-name>gearLeftWheel2</object-name>
<object-name>gearLeftLight</object-name>
<object-name>leftLandingLightGlare</object-name>
<property>gear/gear[1]/position-norm</property>
<!-- auto MP transmit -->
<interpolation>
<entry>
<ind> 0.0</ind>
<dep> 90.0</dep>
</entry>
<entry>
<ind> 1.0</ind>
<dep> 0.0</dep>
</entry>
</interpolation>
<min-deg>0</min-deg>
<max-deg>90</max-deg>
<center>
<x-m> 2.31352 </x-m>
<y-m> -2.13284 </y-m>
<z-m> -0.31244 </z-m>
</center>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>gearLeftOuterDoor</object-name>
<property>gear/gear[1]/position-norm</property>
<!-- auto MP transmit -->
<interpolation>
<entry>
<ind> 0.0</ind>
<dep> 0.0</dep>
</entry>
<entry>
<ind> 0.75</ind>
<dep> 92.5</dep>
</entry>
<entry>
<ind> 1.0</ind>
<dep>92.5</dep>
</entry>
</interpolation>
<min-deg>0</min-deg>
<max-deg>92.5</max-deg>
<axis>
<x1-m> 3.15291 </x1-m>
<y1-m> -2.26718 </y1-m>
<z1-m> -0.37753 </z1-m>
<x2-m> 2.24979 </x2-m>
<y2-m> -2.26655 </y2-m>
<z2-m> -0.37756 </z2-m>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>gearLeftInnerDoor</object-name>
<property>gear/gear[2]/position-norm</property>
<!-- auto MP transmit -->
<interpolation>
<entry>
<ind> 0.0</ind>
<dep> 0.0</dep>
</entry>
<entry>
<ind> 0.20</ind>
<dep> -130</dep>
</entry>
<entry>
<ind> 0.75</ind>
<dep> -130</dep>
</entry>
<entry>
<ind> 1.0</ind>
<dep> 0</dep>
</entry>
</interpolation>
<min-deg>-130</min-deg>
<max-deg>0</max-deg>
<axis>
<x1-m> 3.05949 </x1-m>
<y1-m> -0.62357 </y1-m>
<z1-m> -0.66289 </z1-m>
<x2-m> 1.55473 </x2-m>
<y2-m> -0.62357 </y2-m>
<z2-m> -0.77957 </z2-m>
</axis>
</animation>
<animation>
<!-- compress left gear-->
<type>translate</type>
<object-name>gearLeftOleoStrut</object-name>
<object-name>gearLeftScissorBottom</object-name>
<object-name>gearLeftBottom</object-name>
<object-name>gearLeftWheel1</object-name>
<object-name>gearLeftWheel2</object-name>
<object-name>tyre-smoke-left</object-name>
<property>gear/gear[1]/compression-norm</property>
<!-- auto MP trasmit -->
<factor>0.3048</factor>
<axis>
<z>1</z>
</axis>
<center>
<x-m> 2.64670 </x-m>
<y-m> -2.33204 </y-m>
<z-m> -2.1 </z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>gearLeftScissorTop</object-name>
<property>gear/gear[1]/compression-norm</property>
<!-- auto MP trasmit -->
<axis>
<y>1</y>
</axis>
<center>
<x-m> 2.27377 </x-m>
<y-m> -2.11446 </y-m>
<z-m> -1.2140 </z-m>
</center>
<interpolation include="scissor-interpolation.xml"/>
</animation>
<animation>
<type>rotate</type>
<object-name>gearLeftScissorBottom</object-name>
<property>gear/gear[1]/compression-norm</property>
<!-- auto MP trasmit -->
<axis>
<y>-1</y>
</axis>
<center>
<x-m> 2.27377 </x-m>
<y-m> -2.11446 </y-m>
<z-m> -1.5088 </z-m>
</center>
<interpolation include="scissor-interpolation.xml"/>
</animation>
<!-- compress left gear when retracting (experimental) -->
<animation>
<type>translate</type>
<object-name>gearLeftOleoStrut</object-name>
<object-name>gearLeftScissorBottom</object-name>
<object-name>gearLeftBottom</object-name>
<object-name>gearLeftWheel1</object-name>
<object-name>gearLeftWheel2</object-name>
<object-name>tyre-smoke-left</object-name>
<property>gear/gear[1]/position-norm</property>
<factor>-0.3048</factor>
<offset-m>0.3048</offset-m>
<axis>
<z>1</z>
</axis>
<center>
<x-m> 2.64670 </x-m>
<y-m> -2.33204 </y-m>
<z-m> -2.1 </z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>gearLeftScissorTop</object-name>
<property>gear/gear[1]/position-norm</property>
<axis>
<y>1</y>
</axis>
<center>
<x-m> 2.27377 </x-m>
<y-m> -2.11446 </y-m>
<z-m> -1.2140 </z-m>
</center>
<interpolation include="scissor-interpolation-retract.xml"/>
</animation>
<animation>
<type>rotate</type>
<object-name>gearLeftScissorBottom</object-name>
<property>gear/gear[1]/position-norm</property>
<axis>
<y>-1</y>
</axis>
<center>
<x-m> 2.27377 </x-m>
<y-m> -2.11446 </y-m>
<z-m> -1.5088 </z-m>
</center>
<interpolation include="scissor-interpolation-retract.xml"/>
</animation>
<!-- spinning left wheel calc
radius = -1.76576 - -2.07213 = 0.30637
circum = 2*pi*radius = 1.9250
factor = 1/circum * 60 = 0.6318 * 60 = 31.1692
1st:
1.91138 -2.36257 -1.76576
-2.07213
2nd:
2.7215 -2.36257 -1.7642
-->
<animation>
<type>spin</type>
<object-name>gearLeftWheel1</object-name>
<condition>
<or>
<!-- wow1: bit 2 -->
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>2</value>
</equals>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>3</value>
</equals>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>6</value>
</equals>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>7</value>
</equals>
</or>
</condition>
<property>rotors/main/blade[1]/position-deg</property>
<!-- gear/gear[1]/rollspeed-ms -->
<factor>31.1692</factor>
<center>
<x-m> 1.91138 </x-m>
<y-m> -2.18257 </y-m>
<z-m> -1.76576 </z-m>
</center>
<axis>
<x>0</x>
<y>-1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>spin</type>
<object-name>gearLeftWheel2</object-name>
<condition>
<or>
<!-- wow1: bit 2 -->
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>2</value>
</equals>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>3</value>
</equals>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>6</value>
</equals>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>7</value>
</equals>
</or>
</condition>
<property>rotors/main/blade[1]/position-deg</property>
<!-- gear/gear[1]/rollspeed-ms -->
<factor>31.1692</factor>
<center>
<x-m> 2.72150 </x-m>
<y-m> -2.18257 </y-m>
<z-m> -1.76420 </z-m>
</center>
<axis>
<x>0</x>
<y>-1</y>
<z>0</z>
</axis>
</animation>
<!-- right -->
<animation>
<type>scale</type>
<object-name>gearRightMid</object-name>
<object-name>gearRightScissorTop</object-name>
<object-name>gearRightScissorBottom</object-name>
<object-name>gearRightOleoStrut</object-name>
<object-name>gearRightBottom</object-name>
<object-name>gearRightHinge</object-name>
<object-name>gearRightTop</object-name>
<object-name>gearRightWheel1</object-name>
<object-name>gearRightWheel2</object-name>
<object-name>gearRightLight</object-name>
<property>gear/gear[2]/position-norm</property>
<interpolation>
<entry>
<ind> 0.00 </ind>
<dep> 0.10 </dep>
</entry>
<entry>
<ind> 0.05 </ind>
<dep> 1.00 </dep>
</entry>
</interpolation>
<center>
<x-m> 2.31352 </x-m>
<y-m> 2.13284 </y-m>
<z-m> -0.31244 </z-m>
</center>
<x-min>1.0</x-min>
<y-min>0.10</y-min>
<z-min>1.0</z-min>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>gearRightMid</object-name>
<object-name>gearRightScissorTop</object-name>
<object-name>gearRightScissorBottom</object-name>
<object-name>gearRightOleoStrut</object-name>
<object-name>gearRightBottom</object-name>
<object-name>gearRightTop</object-name>
<object-name>gearRightWheel1</object-name>
<object-name>gearRightWheel2</object-name>
<object-name>gearRightLight</object-name>
<object-name>gearRightHinge</object-name>
<object-name>rightLandingLightGlare</object-name>
<property>gear/gear[2]/position-norm</property>
<!-- auto MP transmit -->
<interpolation>
<entry>
<ind> 0.0</ind>
<dep> 90.0</dep>
</entry>
<entry>
<ind> 1.0</ind>
<dep> 0.0</dep>
</entry>
</interpolation>
<min-deg>0</min-deg>
<max-deg>90</max-deg>
<center>
<x-m> 2.31352 </x-m>
<y-m> 2.13285 </y-m>
<z-m> -0.31244 </z-m>
</center>
<axis>
<x>-1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>gearRightOuterDoor</object-name>
<property>gear/gear[2]/position-norm</property>
<!-- auto MP transmit -->
<interpolation>
<entry>
<ind> 0.0</ind>
<dep> 0.0</dep>
</entry>
<entry>
<ind> 0.75</ind>
<dep> -92.5</dep>
</entry>
<entry>
<ind> 1.0</ind>
<dep>-92.5</dep>
</entry>
</interpolation>
<min-deg>-92.5</min-deg>
<max-deg>0</max-deg>
<axis>
<x1-m> 3.15291 </x1-m>
<y1-m> 2.26718 </y1-m>
<z1-m> -0.37753 </z1-m>
<x2-m> 2.24979 </x2-m>
<y2-m> 2.26655 </y2-m>
<z2-m> -0.37756 </z2-m>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>gearRightInnerDoor</object-name>
<property>gear/gear[2]/position-norm</property>
<!-- auto MP transmit -->
<interpolation>
<entry>
<ind> 0.0</ind>
<dep> 0.0</dep>
</entry>
<entry>
<ind> 0.2</ind>
<dep> 130</dep>
</entry>
<entry>
<ind> 0.75</ind>
<dep> 130</dep>
</entry>
<entry>
<ind> 1.0</ind>
<dep> 0</dep>
</entry>
</interpolation>
<min-deg>0</min-deg>
<max-deg>130</max-deg>
<axis>
<x1-m> 3.05949 </x1-m>
<y1-m> 0.62357 </y1-m>
<z1-m> -0.66289 </z1-m>
<x2-m> 1.55473 </x2-m>
<y2-m> 0.62357 </y2-m>
<z2-m> -0.77957 </z2-m>
</axis>
</animation>
<animation>
<!-- compress right gear-->
<type>translate</type>
<object-name>gearRightScissorBottom</object-name>
<object-name>gearRightOleoStrut</object-name>
<object-name>gearRightBottom</object-name>
<object-name>gearRightWheel1</object-name>
<object-name>gearRightWheel2</object-name>
<object-name>tyre-smoke-right</object-name>
<property>gear/gear[2]/compression-norm</property>
<!-- auto MP trasmit -->
<factor>0.3048</factor>
<axis>
<z>1</z>
</axis>
<center>
<x-m> 2.64670 </x-m>
<y-m> 2.15204 </y-m>
<z-m> -2.1 </z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>gearRightScissorTop</object-name>
<property>gear/gear[2]/compression-norm</property>
<!-- auto MP trasmit -->
<axis>
<y>1</y>
</axis>
<center>
<x-m> 2.27377 </x-m>
<y-m> 2.21946 </y-m>
<z-m> -1.2140 </z-m>
</center>
<interpolation include="scissor-interpolation.xml"/>
</animation>
<animation>
<type>rotate</type>
<object-name>gearRightScissorBottom</object-name>
<property>gear/gear[2]/compression-norm</property>
<!-- auto MP trasmit -->
<axis>
<y>-1</y>
</axis>
<center>
<x-m> 2.27377 </x-m>
<y-m> 2.21946 </y-m>
<z-m> -1.5088 </z-m>
</center>
<interpolation include="scissor-interpolation.xml"/>
</animation>
<!-- compress right gear when retracting-->
<animation>
<type>translate</type>
<object-name>gearRightScissorBottom</object-name>
<object-name>gearRightOleoStrut</object-name>
<object-name>gearRightBottom</object-name>
<object-name>gearRightWheel1</object-name>
<object-name>gearRightWheel2</object-name>
<object-name>tyre-smoke-right</object-name>
<property>gear/gear[2]/position-norm</property>
<!-- auto MP trasmit -->
<factor>-0.3048</factor>
<offset-m>0.3048</offset-m>
<axis>
<z>1</z>
</axis>
<center>
<x-m> 2.64670 </x-m>
<y-m> 2.15204 </y-m>
<z-m> -2.1 </z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>gearRightScissorTop</object-name>
<property>gear/gear[2]/position-norm</property>
<!-- auto MP trasmit -->
<axis>
<y>1</y>
</axis>
<center>
<x-m> 2.27377 </x-m>
<y-m> 2.21946 </y-m>
<z-m> -1.2140 </z-m>
</center>
<interpolation include="scissor-interpolation-retract.xml"/>
</animation>
<animation>
<type>rotate</type>
<object-name>gearRightScissorBottom</object-name>
<property>gear/gear[2]/position-norm</property>
<!-- auto MP trasmit -->
<axis>
<y>-1</y>
</axis>
<center>
<x-m> 2.27377 </x-m>
<y-m> 2.21946 </y-m>
<z-m> -1.5088 </z-m>
</center>
<interpolation include="scissor-interpolation-retract.xml"/>
</animation>
<!-- spinning right wheel calc
radius = -1.76576 - -2.07213 = 0.30637
circum = 2*pi*radius = 1.9250
factor = 1/circum * 60 = 0.6318 * 60 = 31.1692
1st:
1.91138 2.36257 -1.76576
2nd:
2.7215 2.36257 -1.7642
-->
<animation>
<type>spin</type>
<object-name>gearRightWheel1</object-name>
<condition>
<or>
<!-- wow2: bit 3 -->
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>4</value>
</equals>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>5</value>
</equals>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>6</value>
</equals>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>7</value>
</equals>
</or>
</condition>
<property>rotors/main/blade[2]/position-deg</property>
<!-- gear/gear[2]/rollspeed-ms -->
<factor>31.1692</factor>
<center>
<x-m> 1.91138 </x-m>
<y-m> 2.18257 </y-m>
<z-m> -1.76576 </z-m>
</center>
<axis>
<x>0</x>
<y>-1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>spin</type>
<object-name>gearRightWheel2</object-name>
<condition>
<or>
<!-- wow2: bit 3 -->
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>4</value>
</equals>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>5</value>
</equals>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>6</value>
</equals>
<equals>
<property>sim/multiplay/generic/int[17]</property>
<value>7</value>
</equals>
</or>
</condition>
<property>rotors/main/blade[2]/position-deg</property>
<!-- gear/gear[2]/rollspeed-ms -->
<factor>31.1692</factor>
<center>
<x-m> 2.72150 </x-m>
<y-m> 2.18257 </y-m>
<z-m> -1.76420 </z-m>
</center>
<axis>
<x>0</x>
<y>-1</y>
<z>0</z>
</axis>
</animation>
<!-- ==================================== Start effects ======================= -->
<!-- Air Outlet -->
<animation>
<object-name>engineOutlet</object-name>
<type>spin</type>
<property>engines/engine/rpm</property>
<factor>1</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>material</type>
<condition>
<equals>
<property>/sim/rendering/rembrandt/enabled</property>
<value>0</value>
</equals>
</condition>
<object-name>engineOutlet</object-name>
<emission>
<red>0.0080</red>
<green>0.0075</green>
<blue>0.01</blue>
<factor-prop>sim/multiplay/generic/float[5]</factor-prop>
<!-- engines/engine/flame -->
</emission>
</animation>
<animation>
<!-- I do not like this workaround -->
<type>material</type>
<condition>
<equals>
<property>/sim/rendering/rembrandt/enabled</property>
<value>1</value>
</equals>
</condition>
<object-name>engineOutlet</object-name>
<emission>
<red>0.0080</red>
<green>0.0075</green>
<blue>0.01</blue>
<factor-prop>sim/multiplay/generic/float[5]</factor-prop>
<!-- engines/engine/flame -->
</emission>
<ambient>
<red>0.01</red>
<green>0.01</green>
<blue>0.01</blue>
<factor-prop>sim/multiplay/generic/float[5]</factor-prop>
<!-- engines/engine/flame -->
</ambient>
<diffuse>
<red>0.0080</red>
<green>0.0075</green>
<blue>0.01</blue>
<factor-prop>sim/multiplay/generic/float[5]</factor-prop>
<!-- engines/engine/flame -->
</diffuse>
</animation>
<!-- Outlet Nozzles -->
<animation>
<object-name>engineNozzle1</object-name>
<type>rotate</type>
<property>rotors/main/rpm</property>
<factor>35.0</factor>
<offset-deg>-35.0</offset-deg>
<center>
<x-m>5.71386</x-m>
<y-m>0.10359</y-m>
<z-m>-0.52878</z-m>
</center>
<axis>
<x>0</x>
<y>0.875</y>
<z>0.125</z>
</axis>
</animation>
<animation>
<object-name>engineNozzle2</object-name>
<type>rotate</type>
<property>rotors/main/rpm</property>
<factor>35.0</factor>
<offset-deg>-35.0</offset-deg>
<center>
<x-m>5.71392</x-m>
<y-m>0.29147</y-m>
<z-m>-0.44422</z-m>
</center>
<axis>
<x>0</x>
<y>0.625</y>
<z>0.375</z>
</axis>
</animation>
<animation>
<object-name>engineNozzle3</object-name>
<type>rotate</type>
<property>rotors/main/rpm</property>
<factor>35.0</factor>
<offset-deg>-35.0</offset-deg>
<center>
<x-m>5.71386</x-m>
<y-m>0.43622</y-m>
<z-m>-0.29947</z-m>
</center>
<axis>
<x>0</x>
<y>0.375</y>
<z>0.625</z>
</axis>
</animation>
<animation>
<object-name>engineNozzle4</object-name>
<type>rotate</type>
<property>rotors/main/rpm</property>
<factor>35.0</factor>
<offset-deg>-35.0</offset-deg>
<center>
<x-m>5.71386</x-m>
<y-m>0.51457</y-m>
<z-m>-0.11035</z-m>
</center>
<axis>
<x>0</x>
<y>0.125</y>
<z>0.875</z>
</axis>
</animation>
<animation>
<object-name>engineNozzle5</object-name>
<type>rotate</type>
<property>rotors/main/rpm</property>
<factor>35.0</factor>
<offset-deg>-35.0</offset-deg>
<center>
<x-m>5.71386</x-m>
<y-m>0.51457</y-m>
<z-m>0.09436</z-m>
</center>
<axis>
<x>0</x>
<y>-0.125</y>
<z>0.875</z>
</axis>
</animation>
<animation>
<object-name>engineNozzle6</object-name>
<type>rotate</type>
<property>rotors/main/rpm</property>
<factor>35.0</factor>
<offset-deg>-35.0</offset-deg>
<center>
<x-m>5.71392</x-m>
<y-m>0.43623</y-m>
<z-m>0.28348</z-m>
</center>
<axis>
<x>0</x>
<y>-0.375</y>
<z>0.625</z>
</axis>
</animation>
<animation>
<object-name>engineNozzle7</object-name>
<type>rotate</type>
<property>rotors/main/rpm</property>
<factor>35.0</factor>
<offset-deg>-35.0</offset-deg>
<center>
<x-m>5.7139</x-m>
<y-m>0.29145</y-m>
<z-m>0.42818</z-m>
</center>
<axis>
<x>0</x>
<y>-0.625</y>
<z>0.375</z>
</axis>
</animation>
<animation>
<object-name>engineNozzle8</object-name>
<type>rotate</type>
<property>rotors/main/rpm</property>
<factor>35.0</factor>
<offset-deg>-35.0</offset-deg>
<center>
<x-m>5.71384</x-m>
<y-m>0.10238</y-m>
<z-m>0.50656</z-m>
</center>
<axis>
<x>0</x>
<y>-0.875</y>
<z>0.125</z>
</axis>
</animation>
<animation>
<object-name>engineNozzle9</object-name>
<type>rotate</type>
<property>rotors/main/rpm</property>
<factor>35.0</factor>
<offset-deg>-35.0</offset-deg>
<center>
<x-m>5.71384</x-m>
<y-m>-0.10233</y-m>
<z-m>0.50656</z-m>
</center>
<axis>
<x>0</x>
<y>-0.875</y>
<z>-0.125</z>
</axis>
</animation>
<animation>
<object-name>engineNozzle10</object-name>
<type>rotate</type>
<property>rotors/main/rpm</property>
<factor>35.0</factor>
<offset-deg>-35.0</offset-deg>
<center>
<x-m>5.71388</x-m>
<y-m>-0.29144</y-m>
<z-m>0.4282</z-m>
</center>
<axis>
<x>0</x>
<y>-0.625</y>
<z>-0.375</z>
</axis>
</animation>
<animation>
<object-name>engineNozzle11</object-name>
<type>rotate</type>
<property>rotors/main/rpm</property>
<factor>35.0</factor>
<offset-deg>-35.0</offset-deg>
<center>
<x-m>5.71384</x-m>
<y-m>-0.43621</y-m>
<z-m>0.28348</z-m>
</center>
<axis>
<x>0</x>
<y>-0.375</y>
<z>-0.625</z>
</axis>
</animation>
<animation>
<object-name>engineNozzle12</object-name>
<type>rotate</type>
<property>rotors/main/rpm</property>
<factor>35.0</factor>
<offset-deg>-35.0</offset-deg>
<center>
<x-m>5.71383</x-m>
<y-m>-0.51454</y-m>
<z-m>0.09436</z-m>
</center>
<axis>
<x>0</x>
<y>-0.125</y>
<z>-0.875</z>
</axis>
</animation>
<animation>
<object-name>engineNozzle13</object-name>
<type>rotate</type>
<property>rotors/main/rpm</property>
<factor>35.0</factor>
<offset-deg>-35.0</offset-deg>
<center>
<x-m>5.71383</x-m>
<y-m>-0.51454</y-m>
<z-m>-0.11034</z-m>
</center>
<axis>
<x>0</x>
<y>0.125</y>
<z>-0.875</z>
</axis>
</animation>
<animation>
<object-name>engineNozzle14</object-name>
<type>rotate</type>
<property>rotors/main/rpm</property>
<factor>35.0</factor>
<offset-deg>-35.0</offset-deg>
<center>
<x-m>5.71382</x-m>
<y-m>-0.43621</y-m>
<z-m>-0.29946</z-m>
</center>
<axis>
<x>0</x>
<y>0.375</y>
<z>-0.625</z>
</axis>
</animation>
<animation>
<object-name>engineNozzle15</object-name>
<type>rotate</type>
<property>rotors/main/rpm</property>
<factor>35.0</factor>
<offset-deg>-35.0</offset-deg>
<center>
<x-m>5.71386</x-m>
<y-m>-0.29147</y-m>
<z-m>-0.44422</z-m>
</center>
<axis>
<x>0</x>
<y>0.625</y>
<z>-0.375</z>
</axis>
</animation>
<animation>
<object-name>engineNozzle16</object-name>
<type>rotate</type>
<property>rotors/main/rpm</property>
<factor>35.0</factor>
<offset-deg>-35.0</offset-deg>
<center>
<x-m>5.71385</x-m>
<y-m>-0.10234</y-m>
<z-m>-0.52256</z-m>
</center>
<axis>
<x>0</x>
<y>0.875</y>
<z>-0.125</z>
</axis>
</animation>
<!--
<animation>
<object-name>engineNozzle</object-name>
<type>rotate</type>
<property>rotors/main/rpm</property>
<factor>35.0</factor>
<offset-deg>-35.0</offset-deg>
<center>
<x-m>5.71</x-m>
<y-m></y-m>
<z-m></z-m>
</center>
<axis>
<x>0</x>
<y></y>
<z></z>
</axis>
</animation>
-->
<model>
<path>Aircraft/Generic/Effects/tyre-smoke-nose.xml</path>
<name>tyre-smoke-nose</name>
<offsets>
<x-m> -3.65342 </x-m>
<y-m> 0 </y-m>
<z-m> -2.1 </z-m>
</offsets>
</model>
<model>
<path>Aircraft/Generic/Effects/tyre-smoke-port.xml</path>
<name>tyre-smoke-left</name>
<offsets>
<x-m> 2.64670 </x-m>
<y-m> -2.15204 </y-m>
<z-m> -2.1 </z-m>
</offsets>
</model>
<model>
<path>Aircraft/Generic/Effects/tyre-smoke-stbd.xml</path>
<name>tyre-smoke-right</name>
<offsets>
<x-m> 2.64670 </x-m>
<y-m> 2.15204 </y-m>
<z-m> -2.1 </z-m>
</offsets>
</model>
<model>
<path>Aircraft/Generic/Effects/rain-nose.xml</path>
<name>tyre-rain-nose</name>
<offsets>
<x-m> -3.65342 </x-m>
<y-m> 0 </y-m>
<z-m> -2.1 </z-m>
</offsets>
</model>
<model>
<path>Aircraft/Generic/Effects/rain-port.xml</path>
<name>tyre-rain-left</name>
<offsets>
<x-m> 2.64670 </x-m>
<y-m> -2.15204 </y-m>
<z-m> -2.1 </z-m>
</offsets>
</model>
<model>
<path>Aircraft/Generic/Effects/rain-stbd.xml</path>
<name>tyre-rain-right</name>
<offsets>
<x-m> 2.64670 </x-m>
<y-m> 2.15204 </y-m>
<z-m> -2.1 </z-m>
</offsets>
</model>
<!-- end effects -->
</PropertyList>