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

114 lines
3.2 KiB
XML
Raw Normal View History

<?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>Aircraft/c172p/Models/Effects/interior/c172p-interior</inherits-from>
<object-name>LeftYoke</object-name>
<object-name>LeftYokeMount</object-name>
<object-name>LeftYokeMain</object-name>
<object-name>RightYoke</object-name>
<object-name>RightYokeMount</object-name>
<object-name>RightYokeMain</object-name>
</effect>
<animation>
<type>translate</type>
<object-name>LeftYoke</object-name>
<object-name>LeftYokeMain</object-name>
<object-name>RightYoke</object-name>
<object-name>RightYokeMain</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>LeftYoke</object-name>
<object-name>LeftYokeMain</object-name>
<property alias="/params/aileron"/>
<factor>-90.0</factor>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>-0.34713</x-m>
<y-m>-0.22065</y-m>
<z-m>-0.09786</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>RightYoke</object-name>
<object-name>RightYokeMain</object-name>
<property alias="/params/aileron"/>
<factor>-90.0</factor>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>-0.34602</x-m>
<y-m> 0.23951</y-m>
<z-m>-0.09581</z-m>
</center>
</animation>
<animation>
<type>select</type>
<object-name>LeftYoke</object-name>
<object-name>LeftYokeMain</object-name>
<object-name>RightYoke</object-name>
<object-name>RightYokeMain</object-name>
<condition>
<not>
<property>sim/model/hide-yoke</property>
</not>
</condition>
</animation>
<animation>
<type>pick</type>
<object-name>LeftYokeMount</object-name>
<object-name>RightYokeMount</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>sim/model/hide-yoke</property>
</binding>
<binding>
<command>property-assign</command>
<property>sim/model/c172p/cockpit/control-lock-placed</property>
<value>false</value>
</binding>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>show-hide-yoke</tooltip-id>
<label>Show/Hide Yoke</label>
</binding>
</hovered>
</animation>
</PropertyList>