2007-02-21 22:05:42 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
|
|
|
|
<path>mag_switch.ac</path>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>material</type>
|
|
|
|
<object-name>key</object-name>
|
|
|
|
<object-name>start</object-name>
|
|
|
|
<object-name>magsw</object-name>
|
|
|
|
<emission>
|
|
|
|
<red>0.075</red>
|
|
|
|
<green>0.015</green>
|
|
|
|
<blue>0.00001</blue>
|
|
|
|
<factor-prop>/sim/model/material/instruments/factor</factor-prop>
|
|
|
|
</emission>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<!-- magneto switch -->
|
|
|
|
<animation>
|
2013-03-11 18:09:18 +00:00
|
|
|
<type>knob</type>
|
2007-02-21 22:05:42 +00:00
|
|
|
<object-name>click-L</object-name>
|
|
|
|
<object-name>click-R</object-name>
|
2013-03-11 18:09:18 +00:00
|
|
|
|
2007-02-21 22:05:42 +00:00
|
|
|
<visible>false</visible>
|
|
|
|
<action>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/controls/engines/engine/magnetos</property>
|
2013-03-11 18:09:18 +00:00
|
|
|
<factor>1</factor>
|
2007-02-21 22:05:42 +00:00
|
|
|
<min>0</min>
|
|
|
|
<max>3</max>
|
|
|
|
</binding>
|
|
|
|
</action>
|
2013-03-11 18:09:18 +00:00
|
|
|
<hovered>
|
|
|
|
<binding>
|
|
|
|
<command>set-tooltip</command>
|
|
|
|
<tooltip-id>magneto-switch</tooltip-id>
|
|
|
|
<label>Magnetos: %s</label>
|
|
|
|
<property>controls/engines/engine/magnetos</property>
|
|
|
|
<mapping>nasal</mapping>
|
|
|
|
<script>
|
|
|
|
var m = getprop('controls/engines/engine/magnetos');
|
|
|
|
if (m == 1) return 'RIGHT';
|
|
|
|
if (m == 2) return 'LEFT';
|
|
|
|
if (m == 3) return 'BOTH';
|
|
|
|
return 'OFF';
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</hovered>
|
2007-02-21 22:05:42 +00:00
|
|
|
</animation>
|
2013-03-11 18:09:18 +00:00
|
|
|
|
2007-02-21 22:05:42 +00:00
|
|
|
|
|
|
|
<!-- Starter -->
|
|
|
|
<animation>
|
|
|
|
<type>pick</type>
|
|
|
|
<object-name>click-S</object-name>
|
|
|
|
<visible>false</visible>
|
|
|
|
<action>
|
|
|
|
<name>starter</name>
|
|
|
|
<button>0</button>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/switches/starter</property>
|
|
|
|
<value >1</value>
|
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/switches/starter</property>
|
|
|
|
<value>0</value>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
|
|
|
</action>
|
2013-03-11 18:09:18 +00:00
|
|
|
|
|
|
|
<hovered>
|
|
|
|
<binding>
|
|
|
|
<command>set-tooltip</command>
|
|
|
|
<tooltip-id>starter-switch</tooltip-id>
|
|
|
|
<label>Engine Starter</label>
|
|
|
|
</binding>
|
|
|
|
</hovered>
|
|
|
|
|
2007-02-21 22:05:42 +00:00
|
|
|
</animation>
|
|
|
|
<!-- key animations -->
|
|
|
|
<animation>
|
|
|
|
<name>mags-key</name>
|
|
|
|
<type>rotate</type>
|
|
|
|
<object-name>key</object-name>
|
|
|
|
<property>/controls/engines/engine/magnetos</property>
|
|
|
|
<factor>30</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>select</type>
|
|
|
|
<object-name>key</object-name>
|
|
|
|
<condition>
|
|
|
|
<not>
|
|
|
|
<property>/controls/switches/starter</property>
|
|
|
|
</not>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>start</object-name>
|
|
|
|
<condition>
|
|
|
|
<property>/controls/switches/starter</property>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
</PropertyList>
|
|
|
|
|
|
|
|
|