1
0
Fork 0
fgdata/AI/Aircraft/T-38/Models/T38-model.xml

594 lines
12 KiB
XML

<!-- A wrapper file for the T-38 3D model -->
<PropertyList>
<path>T38.ac</path>
<!-- no shadows -->
<animation>
<type>noshadow</type>
<object-name>markings</object-name>
<object-name>left_flame</object-name>
<object-name>left_internal_flame</object-name>
<object-name>right_flame</object-name>
<object-name>right_internal_flame</object-name>
<object-name>red_light</object-name>
<object-name>green_light</object-name>
<object-name>lhcondensation cone</object-name>
<object-name>rhcondensation cone</object-name>
</animation>
<animation>
<type>select</type>
<!--<object-name>left_flame</object-name>-->
<object-name>left_internal_flame</object-name>
<condition>
<property>engines/engine[0]/augmentation</property>
</condition>
</animation>
<animation>
<type>select</type>
<!--<object-name>right_flame</object-name>-->
<object-name>right_internal_flame</object-name>
<condition>
<property>engines/engine[1]/augmentation</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>nose_wheel</object-name>
<object-name>front_lower_strut</object-name>
<object-name>front_upper_strut</object-name>
<object-name>front_fwd_strut</object-name>
<condition>
<greater-than>
<property>gear/gear[0]/position-norm</property>
<value>0</value>
</greater-than>
</condition>
</animation>
<!-- oleo hack -->
<animation>
<condition>
<equals>
<property>gear/gear[0]/position-norm</property>
<value>1</value>
</equals>
</condition>
<type>translate</type>
<object-name>nose_wheel</object-name>
<object-name>front_lower_strut</object-name>
<property>gear/gear[0]/compression-norm</property>
<factor>0.3048</factor> <!-- feet to meters -->
<axis>
<x>0</x>
<y>0</y>
<z>1</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>nose_wheel</object-name>
<object-name>front_lower_strut</object-name>
<property>surface-positions/rudder-pos-norm</property>
<factor>-25</factor>
<center>
<x-m>-6.26</x-m>
<y-m>0.0</y-m>
<z-m>0.03</z-m>
</center>
<axis>
<x>0</x>
<y>0</y>
<z>1</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>nose_wheel</object-name>
<object-name>front_lower_strut</object-name>
<object-name>front_upper_strut</object-name>
<object-name>front_fwd_strut</object-name>
<property>gear/gear[0]/position-norm</property>
<factor>-130</factor>
<offset-deg>130</offset-deg>
<min-deg>0</min-deg>
<max-deg>90</max-deg>
<center>
<x-m>-6.26</x-m>
<y-m>0</y-m>
<z-m>0.03</z-m>
</center>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>front_fwd_strut</object-name>
<property>gear/gear[0]/position-norm</property>
<factor>150</factor>
<offset-deg>-150</offset-deg>
<center>
<x-m>-6.28</x-m>
<y-m>0</y-m>
<z-m>-0.38</z-m>
</center>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>front_door_aft</object-name>
<property>gear/gear[0]/position-norm</property>
<factor>-88</factor>
<offset-deg>88</offset-deg>
<center>
<x-m>-6.19</x-m>
<y-m>0.0</y-m>
<z-m>-0.19</z-m>
</center>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>front_door_fwd</object-name>
<property>gear/gear[0]/position-norm</property>
<factor>200</factor>
<offset-deg>-90</offset-deg>
<min-deg>-90</min-deg>
<max-deg>2</max-deg>
<center>
<x-m>-6.945</x-m>
<y-m>0.11</y-m>
<z-m>-0.16</z-m>
</center>
<axis>
<x>0.999115</x>
<y>0</y>
<z>-0.042068</z>
</axis>
</animation>
<animation>
<type>select</type>
<object-name>leftgear</object-name>
<object-name>left_lower_strut</object-name>
<object-name>left_upper_strut</object-name>
<object-name>left_inner_strut</object-name>
<condition>
<greater-than>
<property>gear/gear[1]/position-norm</property>
<value>0</value>
</greater-than>
</condition>
</animation>
<animation>
<type>rotate</type>
<object-name>leftgear</object-name>
<object-name>left_lower_strut</object-name>
<object-name>left_upper_strut</object-name>
<object-name>left_inner_strut</object-name>
<property>gear/gear[1]/position-norm</property>
<factor>130</factor>
<offset-deg>-100</offset-deg>
<min-deg>-90</min-deg>
<max-deg>0</max-deg>
<center>
<x-m>0.385</x-m>
<y-m>-1.6</y-m>
<z-m>-0.08</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>left_inner_strut</object-name>
<property>gear/gear[1]/position-norm</property>
<factor>195</factor>
<offset-deg>-130</offset-deg>
<min-deg>-140</min-deg>
<max-deg>0</max-deg>
<center>
<x-m>0.445</x-m>
<y-m>-1.54</y-m>
<z-m>-0.26</z-m>
</center>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- oleo hack -->
<animation>
<condition>
<equals>
<property>gear/gear[1]/position-norm</property>
<value>1</value>
</equals>
</condition>
<type>translate</type>
<object-name>leftgear</object-name>
<object-name>left_lower_strut</object-name>
<object-name>left_inner_strut</object-name>
<property>gear/gear[1]/compression-norm</property>
<factor>0.3048</factor> <!-- feet to meters -->
<axis>
<x>0</x>
<y>0</y>
<z>1</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>leftgeardoor</object-name>
<property>gear/gear[1]/position-norm</property>
<factor>-450</factor>
<offset-deg>90</offset-deg>
<min-deg>0</min-deg>
<max-deg>90</max-deg>
<center>
<x-m>0.390</x-m>
<y-m>-0.15</y-m>
<z-m>-0.17</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>leftgeardoor2</object-name>
<object-name>leftgeardoor2_inside</object-name>
<property>gear/gear[1]/position-norm</property>
<factor>130</factor>
<offset-deg>-95</offset-deg>
<min-deg>-90</min-deg>
<max-deg>0</max-deg>
<center>
<x-m>0.385</x-m>
<y-m>-1.7</y-m>
<z-m>-0.03</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>select</type>
<object-name>rightgear</object-name>
<object-name>right_lower_strut</object-name>
<object-name>right_upper_strut</object-name>
<object-name>right_inner_strut</object-name>
<condition>
<greater-than>
<property>gear/gear[2]/position-norm</property>
<value>0</value>
</greater-than>
</condition>
</animation>
<animation>
<type>rotate</type>
<object-name>rightgear</object-name>
<object-name>right_lower_strut</object-name>
<object-name>right_upper_strut</object-name>
<object-name>right_inner_strut</object-name>
<property>gear/gear[2]/position-norm</property>
<factor>-130</factor>
<offset-deg>100</offset-deg>
<min-deg>0</min-deg>
<max-deg>90</max-deg>
<center>
<x-m>0.385</x-m>
<y-m>1.6</y-m>
<z-m>-0.01</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>right_inner_strut</object-name>
<property>gear/gear[2]/position-norm</property>
<factor>-195</factor>
<offset-deg>135</offset-deg>
<min-deg>0</min-deg>
<max-deg>140</max-deg>
<center>
<x-m>0.445</x-m>
<y-m>1.54</y-m>
<z-m>-0.26</z-m>
</center>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- oleo hack -->
<animation>
<condition>
<equals>
<property>gear/gear[2]/position-norm</property>
<value>1</value>
</equals>
</condition>
<type>translate</type>
<object-name>rightgear</object-name>
<object-name>right_lower_strut</object-name>
<object-name>right_inner_strut</object-name>
<property>gear/gear[2]/compression-norm</property>
<factor>0.3048</factor> <!-- feet to meters -->
<axis>
<x>0</x>
<y>0</y>
<z>1</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>rightgeardoor</object-name>
<property>gear/gear[2]/position-norm</property>
<factor>450</factor>
<offset-deg>-100</offset-deg>
<min-deg>-90</min-deg>
<max-deg>0</max-deg>
<center>
<x-m>0.390</x-m>
<y-m>0.15</y-m>
<z-m>-0.17</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>rightgeardoor2</object-name>
<property>gear/gear[2]/position-norm</property>
<factor>-130</factor>
<offset-deg>95</offset-deg>
<min-deg>0</min-deg>
<max-deg>90</max-deg>
<center>
<x-m>0.385</x-m>
<y-m>1.7</y-m>
<z-m>-0.03</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>leftelevator</object-name>
<property>surface-positions/elevator-pos-norm</property>
<factor>15</factor>
<offset-deg>0</offset-deg>
<center>
<x-m>3.11</x-m>
<y-m>-1.515</y-m>
<z-m>-0.07</z-m>
</center>
<axis>
<x>-0.176858</x>
<y>0.979034</y>
<z>0.101062</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>rightelevator</object-name>
<property>surface-positions/elevator-pos-norm</property>
<factor>-15</factor>
<offset-deg>0</offset-deg>
<center>
<x-m>3.31</x-m>
<y-m>1.515</y-m>
<z-m>-0.07</z-m>
</center>
<axis>
<x>-0.176858</x>
<y>-0.979034</y>
<z>0.101062</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>leftaileron</object-name>
<property>surface-positions/left-aileron-pos-norm</property>
<factor>15</factor>
<offset-deg>0</offset-deg>
<center>
<x-m>0.75</x-m>
<y-m>-2.555</y-m>
<z-m>0.02</z-m>
</center>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>rightaileron</object-name>
<property>surface-positions/right-aileron-pos-norm</property>
<factor>15</factor>
<offset-deg>0</offset-deg>
<center>
<x-m>0.75</x-m>
<y-m>2.555</y-m>
<z-m>0.02</z-m>
</center>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>rudder</object-name>
<property>surface-positions/rudder-pos-norm</property>
<factor>15</factor>
<offset-deg>0</offset-deg>
<center>
<x-m>3.65</x-m>
<y-m>0</y-m>
<z-m>1.285</z-m>
</center>
<axis>
<x>0</x>
<y>0</y>
<z>1</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>leftflap</object-name>
<property>surface-positions/flap-pos-norm</property>
<factor>40</factor>
<offset-deg>0</offset-deg>
<center>
<x-m>0.75</x-m>
<y-m>-1.44</y-m>
<z-m>0.02</z-m>
</center>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>rightflap</object-name>
<property>surface-positions/flap-pos-norm</property>
<factor>40</factor>
<offset-deg>0</offset-deg>
<center>
<x-m>0.75</x-m>
<y-m>1.44</y-m>
<z-m>0.02</z-m>
</center>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>select</type>
<object-name>lhcondensation cone</object-name>
<condition>
<greater-than>
<property>orientation/alpha-deg</property>
<value>9.0</value>
</greater-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>rhcondensation cone</object-name>
<condition>
<greater-than>
<property>orientation/alpha-deg</property>
<value>9.0</value>
</greater-than>
</condition>
</animation>
<animation>
<type>rotate</type>
<object-name>rhspeedbrake</object-name>
<object-name>rhspeedbrake_ext</object-name>
<property>surface-positions/speedbrake-pos-norm</property>
<factor>70</factor>
<offset-deg>0</offset-deg>
<center>
<x-m>-0.66</x-m>
<y-m>-0.535</y-m>
<z-m>-0.14</z-m>
</center>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>lhspeedbrake</object-name>
<object-name>lhspeedbrake_ext</object-name>
<property>surface-positions/speedbrake-pos-norm</property>
<factor>70</factor>
<offset-deg>0</offset-deg>
<center>
<x-m>-0.66</x-m>
<y-m>0.535</y-m>
<z-m>-0.14</z-m>
</center>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
</PropertyList>