2016-02-10 21:32:19 +00:00
|
|
|
<?xml version="1.0"?>
|
2016-08-12 18:57:03 +00:00
|
|
|
|
2016-02-10 21:32:19 +00:00
|
|
|
<PropertyList>
|
|
|
|
|
|
|
|
<path>pedals.ac</path>
|
|
|
|
|
|
|
|
<params>
|
|
|
|
<rudder>/sim/model/c172p/cockpit/pedals-rudder</rudder>
|
|
|
|
</params>
|
|
|
|
|
|
|
|
<effect>
|
2018-09-02 19:58:05 +00:00
|
|
|
<inherits-from>../../Effects/interior/lm-pedals-copilot</inherits-from>
|
2016-02-10 21:32:19 +00:00
|
|
|
<object-name>RightPedal</object-name>
|
|
|
|
<object-name>LeftPedal</object-name>
|
2018-05-17 11:58:44 +00:00
|
|
|
<object-name>pedal-rod-left</object-name>
|
|
|
|
<object-name>pedal-rod-right</object-name>
|
2016-02-10 21:32:19 +00:00
|
|
|
</effect>
|
|
|
|
|
2018-09-16 17:13:13 +00:00
|
|
|
<animation>
|
|
|
|
<type>material</type>
|
|
|
|
<object-name>RightPedal</object-name>
|
|
|
|
<object-name>LeftPedal</object-name>
|
|
|
|
<object-name>pedal-rod-left</object-name>
|
|
|
|
<object-name>pedal-rod-right</object-name>
|
|
|
|
<condition>
|
2021-09-14 18:34:27 +00:00
|
|
|
<or>
|
|
|
|
<not>
|
|
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
|
|
</not>
|
|
|
|
<equals>
|
|
|
|
<property>/sim/rendering/shaders/model</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
2018-09-16 17:13:13 +00:00
|
|
|
</condition>
|
|
|
|
<emission>
|
|
|
|
<red-prop>/sim/model/c172p/lighting/rgb-ra-r-factor</red-prop>
|
|
|
|
<green-prop>/sim/model/c172p/lighting/rgb-ra-g-factor</green-prop>
|
|
|
|
<blue-prop>/sim/model/c172p/lighting/rgb-ra-b-factor</blue-prop>
|
|
|
|
</emission>
|
|
|
|
</animation>
|
|
|
|
|
2016-02-10 21:32:19 +00:00
|
|
|
<animation>
|
|
|
|
<type>translate</type>
|
|
|
|
<object-name>LeftPedal</object-name>
|
2018-05-17 11:58:44 +00:00
|
|
|
<object-name>pedal-rod-left</object-name>
|
2016-02-10 21:32:19 +00:00
|
|
|
<property alias="/params/rudder"/>
|
2016-05-18 21:11:05 +00:00
|
|
|
<factor>-0.05</factor>
|
2016-02-10 21:32:19 +00:00
|
|
|
<axis>
|
|
|
|
<x>1.0</x>
|
|
|
|
<y>0.0</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>rotate</type>
|
|
|
|
<object-name>LeftPedal</object-name>
|
|
|
|
<property>controls/gear/brake-left</property>
|
|
|
|
<factor>-7</factor>
|
|
|
|
<axis>
|
|
|
|
<x>0.0</x>
|
|
|
|
<y>1.0</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</axis>
|
|
|
|
<center>
|
|
|
|
<x-m>0.0</x-m>
|
|
|
|
<y-m>0.0</y-m>
|
|
|
|
<z-m>0.0</z-m>
|
|
|
|
</center>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>translate</type>
|
|
|
|
<object-name>RightPedal</object-name>
|
2018-05-17 11:58:44 +00:00
|
|
|
<object-name>pedal-rod-right</object-name>
|
2016-02-10 21:32:19 +00:00
|
|
|
<property alias="/params/rudder"/>
|
2016-05-18 21:11:05 +00:00
|
|
|
<factor>0.05</factor>
|
2016-02-10 21:32:19 +00:00
|
|
|
<axis>
|
|
|
|
<x>1.0</x>
|
|
|
|
<y>0.0</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>rotate</type>
|
|
|
|
<object-name>RightPedal</object-name>
|
|
|
|
<property>controls/gear/brake-right</property>
|
|
|
|
<factor>-7</factor>
|
|
|
|
<axis>
|
|
|
|
<x>0.0</x>
|
|
|
|
<y>1.0</y>
|
|
|
|
<z>0.0</z>
|
|
|
|
</axis>
|
|
|
|
<center>
|
|
|
|
<x-m>0.0</x-m>
|
|
|
|
<y-m>0.0</y-m>
|
|
|
|
<z-m>0.0</z-m>
|
|
|
|
</center>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
</PropertyList>
|