1
0
Fork 0
fgdata/Aircraft/c172p/Models/Interior/Yoke/yoke.xml

82 lines
2.1 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<path>yoke.ac</path>
<params>
<aileron>/sim/model/c172p/cockpit/yoke-aileron</aileron>
<elevator>/sim/model/c172p/cockpit/yoke-elevator</elevator>
</params>
<effect>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>Yoke</object-name>
<object-name>YokeMount</object-name>
<object-name>YokeMain</object-name>
</effect>
<animation>
<type>translate</type>
<object-name>Yoke</object-name>
<object-name>YokeMain</object-name>
<property alias="/params/elevator"/>
<factor>-0.1</factor>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>Yoke</object-name>
<object-name>YokeMain</object-name>
<property alias="/params/aileron"/>
<factor>-30.0</factor>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</center>
</animation>
<animation>
<type>select</type>
<object-name>Yoke</object-name>
<object-name>YokeMain</object-name>
<condition>
<not>
<property>sim/model/hide-yoke</property>
</not>
</condition>
</animation>
<animation>
<type>pick</type>
<object-name>YokeMount</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>sim/model/hide-yoke</property>
</binding>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>show-hide-yoke</tooltip-id>
<label>Show/Hide Yoke</label>
</binding>
</hovered>
</animation>
</PropertyList>