1
0
Fork 0
fgdata/Aircraft/c172p/Models/c172p.xml

400 lines
7.3 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<path>c172p.ac</path>
<!-- Temporarily use the 2D panel hack, until I have time to make
3D instruments -->
<panel>
<path>Aircraft/c172/Panels/c172-trans-panel.xml</path>
<bottom-left>
<x-m>-0.40</x-m>
<y-m>-0.50</y-m>
<z-m>-0.10</z-m>
</bottom-left>
<bottom-right>
<x-m>-0.40</x-m>
<y-m> 0.50</y-m>
<z-m>-0.10</z-m>
</bottom-right>
<top-left>
<x-m>-0.40</x-m>
<y-m>-0.50</y-m>
<z-m> 0.25</z-m>
</top-left>
</panel>
<!-- LOD for the model as a whole -->
<animation>
<type>range</type>
<min-m>0</min-m>
<max-m>10000</max-m>
</animation>
<animation>
<type>select</type>
<object-name>Propeller</object-name>
<condition>
<less-than>
<property>/engines/engine[0]/rpm</property>
<value>200</value>
</less-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>Propeller.Slow</object-name>
<condition>
<and>
<greater-than>
<property>/engines/engine[0]/rpm</property>
<value>190</value>
</greater-than>
<less-than>
<property>/engines/engine[0]/rpm</property>
<value>1200</value>
</less-than>
</and>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>Propeller.Fast</object-name>
<condition>
<greater-than>
<property>/engines/engine[0]/rpm</property>
<value>1200</value>
</greater-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>LeftNavLightOn</object-name>
<object-name>RightNavLightOn</object-name>
<condition>
<property>/controls/lights/navigation</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>LeftNavLightOff</object-name>
<object-name>RightNavLightOff</object-name>
<condition>
<not>
<property>/controls/lights/navigation</property>
</not>
</condition>
</animation>
<animation>
<name>BeaconFlasher</name>
<type>timed</type>
<object-name>BeaconOff</object-name>
<object-name>BeaconOn</object-name>
<duration-sec>1.0</duration-sec>
</animation>
<animation>
<type>select</type>
<object-name>BeaconFlasher</object-name>
<condition>
<property>/controls/lights/beacon</property>
</condition>
</animation>
<animation>
<type>spin</type>
<object-name>Propeller</object-name>
<property>/engines/engine[0]/rpm</property>
<factor>-1</factor>
<center>
<x-m>-1.77</x-m>
<y-m>0</y-m>
<z-m>-0.12</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.Slow</object-name>
<property>/engines/engine[0]/rpm</property>
<factor>-0.1</factor>
<center>
<x-m>-1.77</x-m>
<y-m>0</y-m>
<z-m>-0.12</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.Fast</object-name>
<property>/engines/engine[0]/rpm</property>
<factor>-0.001</factor>
<center>
<x-m>-1.77</x-m>
<y-m>0</y-m>
<z-m>-0.12</z-m>
</center>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>NoseWheel</object-name>
<object-name>NoseWheelStrut</object-name>
<property>/surface-positions/rudder-pos-norm</property>
<factor>-30.0</factor>
<center>
<x-m>-1.36</x-m>
<y-m>0</y-m>
<z-m>-0.59</z-m>
</center>
<axis>
<x>0.18</x>
<y>0.05</y>
<z>0.46</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>1.1</x-m>
<y-m>-1.96</y-m>
<z-m>0.35</z-m>
</center>
<axis>
<x>0.49</x>
<y>2.65</y>
<z>-0.03</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>RightAileron</object-name>
<property>/surface-positions/right-aileron-pos-norm</property>
<interpolation>
<entry>
<ind>-1.0</ind>
<dep>20</dep>
</entry>
<entry>
<ind>0.0</ind>
<dep>0</dep>
</entry>
<entry>
<ind>1.0</ind>
<dep>-15</dep>
</entry>
</interpolation>
<center>
<x-m>1.1</x-m>
<y-m>1.96</y-m>
<z-m>0.35</z-m>
</center>
<axis>
<x>0.49</x>
<y>-2.65</y>
<z>-0.03</z>
</axis>
</animation>
<animation>
<type>translate</type>
<object-name>LeftFlap</object-name>
<object-name>RightFlap</object-name>
<property>/surface-positions/flap-pos-norm</property>
<factor>0.15</factor>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.2</z>
</axis>
</animation>
<animation>
<type>translate</type>
<object-name>LeftYoke</object-name>
<object-name>RightYoke</object-name>
<property>/controls/elevator</property>
<factor>-0.03</factor>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>LeftYoke</object-name>
<property>/controls/aileron</property>
<factor>-45</factor>
<center>
<x-m>-0.23</x-m>
<y-m>-0.21</y-m>
<z-m>-0.14</z-m>
</center>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>RightYoke</object-name>
<property>/controls/aileron</property>
<factor>-45</factor>
<center>
<x-m>-0.23</x-m>
<y-m>0.21</y-m>
<z-m>-0.14</z-m>
</center>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>LeftFlap</object-name>
<property>/surface-positions/flap-pos-norm</property>
<factor>30</factor>
<center>
<x-m>0.76</x-m>
<y-m>-0.53</y-m>
<z-m>0.32</z-m>
</center>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>-0.1</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>RightFlap</object-name>
<property>/surface-positions/flap-pos-norm</property>
<factor>30</factor>
<center>
<x-m>0.76</x-m>
<y-m>-0.53</y-m>
<z-m>0.32</z-m>
</center>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.1</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>Elevators</object-name>
<object-name>ElevatorTrimTab</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>4.84</x-m>
<y-m>0.0</y-m>
<z-m>-0.17</z-m>
</center>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>ElevatorTrimTab</object-name>
<property>/controls/elevator-trim</property>
<factor>25</factor>
<center>
<x-m>5.06</x-m>
<y-m>1.12</y-m>
<z-m>-0.18</z-m>
</center>
<axis>
<x>0.17</x>
<y>-0.82</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>4.84</x-m>
<y-m>0.0</y-m>
<z-m>-.16</z-m>
</center>
<axis>
<x>0.25</x>
<y>0.0</y>
<z>1.0</z>
</axis>
</animation>
</PropertyList>