1
0
Fork 0
A320-family/Models/Services/Pushback/Douglas.xml
2021-08-16 15:32:04 +02:00

224 lines
4.6 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<!-- Trucks models and artworks courtesy of XPGoodWay Team
(http://www.xpgoodwayteam.org/site_xpushback/) -->
<path>Douglas.ac</path>
<!-- Lights-->
<model>
<name>warning light left</name>
<path>Aircraft/A320-family/Models/Services/Pushback/warning-light.xml</path>
<offsets>
<x-m>-4.308</x-m>
<y-m>-1.08</y-m>
<z-m>2.23</z-m>
</offsets>
</model>
<model>
<name>warning light center</name>
<path>Aircraft/A320-family/Models/Services/Pushback/warning-light.xml</path>
<offsets>
<x-m>-3.795</x-m>
<y-m>-0.2683</y-m>
<z-m>2.343</z-m>
</offsets>
</model>
<model>
<name>warning light right</name>
<path>Aircraft/A320-family/Models/Services/Pushback/warning-light.xml</path>
<offsets>
<x-m>-4.308</x-m>
<y-m>0.5438</y-m>
<z-m>2.229</z-m>
</offsets>
</model>
<!-- switch to night/day textures -->
<animation>
<type>textranslate</type>
<!--<object-name>Mesh</object-name>
<object-name>Mesh.001</object-name>
<object-name>Mesh.002</object-name>
<object-name>wheelfl</object-name>
<object-name>wheelfr</object-name>
<object-name>wheelrl</object-name>
<object-name>wheelrr</object-name>-->
<property>sim/time/sun-angle-rad</property>
<step>1.57</step>
<factor>0.318471338</factor>
<!--<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</center>-->
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>material</type>
<!--<object-name>Mesh</object-name>
<object-name>Mesh.001</object-name>
<object-name>Mesh.002</object-name>
<object-name>wheelfl</object-name>
<object-name>wheelfr</object-name>
<object-name>wheelrl</object-name>
<object-name>wheelrr</object-name>-->
<condition>
<greater-than>
<property>sim/time/sun-angle-rad</property>
<value>1.60</value>
</greater-than>
</condition>
<emission>
<red>1</red>
<green>1</green>
<blue>1</blue>
</emission>
</animation>
<animation>
<type>material</type>
<!--<object-name>Mesh</object-name>
<object-name>Mesh.001</object-name>
<object-name>Mesh.002</object-name>
<object-name>wheelfl</object-name>
<object-name>wheelfr</object-name>
<object-name>wheelrl</object-name>
<object-name>wheelrr</object-name>-->
<condition>
<less-than-equals>
<property>sim/time/sun-angle-rad</property>
<value>1.60</value>
</less-than-equals>
</condition>
<emission>
<red>0</red>
<green>0</green>
<blue>0</blue>
</emission>
</animation>
<animation>
<type>spin</type>
<object-name>wheelfl</object-name>
<object-name>wheelfr</object-name>
<property>velocities/uBody-fps</property>
<factor>-4.973</factor>
<center>
<x-m>-1.4081</x-m>
<y-m>0</y-m>
<z-m>0.58458</z-m>
<!--<x>0</x>
<y>0</y>
<z>0</z>
<x-m>2.0501</x-m>
<y-m>0</y-m>
<z-m>0.5735</z-m>-->
</center>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>spin</type>
<object-name>wheelrl</object-name>
<object-name>wheelrr</object-name>
<property>velocities/uBody-fps</property>
<factor>-4.973</factor>
<center>
<x-m>2.2942</x-m>
<y-m>0</y-m>
<z-m>0.44266</z-m>
</center>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>select</type>
<condition>
<property>sim/model/autopush/enabled</property>
<property>gear/gear[0]/wow</property>
</condition>
</animation>
<animation>
<type>rotate</type>
<property>fdm/jsbsim/fcs/pushback-steer-deg</property>
<factor>-1</factor>
<center>
<x-m>1.53665</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</center>
<axis>
<x>0</x>
<y>0</y>
<z>1</z>
</axis>
</animation>
<!-- change heading of the pushback when driving the arc -->
<animation>
<type>rotate</type>
<property>sim/model/pushback/position-norm</property>
<factor>-90</factor>
<offset-deg>0</offset-deg>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</center>
<axis>
<x>0</x>
<y>0</y>
<z>1</z>
</axis>
</animation>
<!-- compensate for gear compression -->
<animation>
<type>translate</type>
<property>gear/gear[0]/compression-ft</property>
<factor>0.3048</factor>
<axis>
<x>0</x>
<y>0</y>
<z>1</z>
</axis>
</animation>
<!-- compensate for pitch of aircraft, keep pushback level -->
<animation>
<type>rotate</type>
<property>orientation/pitch-deg</property>
<factor>-1</factor>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</center>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
</PropertyList>