1
0
Fork 0
fgdata/AI/Aircraft/c182/Models/c182-dpm.xml
Richard Harrison 4cb857f244 Fallback model improvements C182
- use c182-dpm.xml model for fallback, as the c182-ai.xml model
  is offset upwards and suited for AI usage
- remove range LOD animations
2020-10-23 17:46:42 +02:00

217 lines
3.8 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<path>c182.ac</path>
<!-- Object movements -->
<animation>
<type>select</type>
<object-name>Propeller</object-name>
<condition>
<less-than>
<property>engines/engine[0]/rpm</property>
<value>500</value>
</less-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>Propeller.2</object-name>
<condition>
<greater-than>
<property>engines/engine[0]/rpm</property>
<value>400</value>
</greater-than>
</condition>
</animation>
<animation>
<type>blend</type>
<object-name>Propeller.2</object-name>
<property>engines/engine[0]/rpm</property>
<factor>0.0004</factor>
<max>1.0</max>
<min>0.0</min>
</animation>
<animation>
<type>rotate</type>
<object-name>NoseWheel</object-name>
<property>surface-positions/rudder-pos-norm</property>
<factor>-20</factor>
<center>
<x-m>-0.8</x-m>
<y-m>0.0</y-m>
<z-m>-0.8</z-m>
</center>
<axis>
<x>0</x>
<y>0</y>
<z>1</z>
</axis>
</animation>
<animation>
<type>spin</type>
<object-name>Propeller</object-name>
<property>engines/engine[0]/rpm</property>
<factor>-1</factor>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>-0.214544</z-m>
</center>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>spin</type>
<object-name>Propeller.2</object-name>
<property>engines/engine[0]/rpm</property>
<factor>-1</factor>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>-0.214544</z-m>
</center>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>LeftAileron</object-name>
<property>surface-positions/left-aileron-pos-norm</property>
<interpolation>
<entry>
<ind>-1.0</ind>
<dep>15</dep>
</entry>
<entry>
<ind>0.0</ind>
<dep>0</dep>
</entry>
<entry>
<ind>1.0</ind>
<dep>-20</dep>
</entry>
</interpolation>
<center>
<x-m>0.94</x-m>
<y-m>-3.83</y-m>
<z-m>0.40</z-m>
</center>
<axis>
<x>-0.15</x>
<y>-1.00</y>
<z>0.03</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>RightAileron</object-name>
<property>surface-positions/left-aileron-pos-norm</property>
<interpolation>
<entry>
<ind>-1.0</ind>
<dep>15</dep>
</entry>
<entry>
<ind>0.0</ind>
<dep>0</dep>
</entry>
<entry>
<ind>1.0</ind>
<dep>-20</dep>
</entry>
</interpolation>
<center>
<x-m>0.94</x-m>
<y-m>3.83</y-m>
<z-m>0.40</z-m>
</center>
<axis>
<x>-0.15</x>
<y>1.00</y>
<z>0.03</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>LeftFlap</object-name>
<object-name>RightFlap</object-name>
<property>surface-positions/flap-pos-norm</property>
<factor>30</factor>
<center>
<x-m>1.1</x-m>
<y-m>0.0</y-m>
<z-m>0.28</z-m>
</center>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>LeftElevator</object-name>
<object-name>RightElevator</object-name>
<property>surface-positions/elevator-pos-norm</property>
<interpolation>
<entry>
<ind>-1.0</ind>
<dep>-28</dep>
</entry>
<entry>
<ind>0</ind>
<dep>0</dep>
</entry>
<entry>
<ind>1.0</ind>
<dep>23</dep>
</entry>
</interpolation>
<center>
<x-m>5.1</x-m>
<y-m>0.0</y-m>
<z-m>-0.45</z-m>
</center>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>Rudder</object-name>
<property>surface-positions/rudder-pos-norm</property>
<factor>17.5</factor>
<center>
<x-m>5.45</x-m>
<y-m>0.0</y-m>
<z-m>0.0</z-m>
</center>
<axis>
<x>0.72</x>
<y>0.0</y>
<z>1.0</z>
</axis>
</animation>
</PropertyList>