1
0
Fork 0
fgdata/Aircraft/Instruments-3d/kfc200/kas297.xml

208 lines
4.7 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<!--
KAS 297 ALTITUDE SELECTOR
Syd Adams
*** requires kfc200.nas to run ***
-->
<PropertyList>
<path>kas297.ac</path>
<animation>
<type>material</type>
<object-name>Arm.btn</object-name>
<object-name>Set.knob</object-name>
<emission>
<red>0.8</red>
<green>0.4</green>
<blue>0.2</blue>
<factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
<animation>
<type>select</type>
<object-name>altmsg</object-name>
<object-name>altmsg.001</object-name>
<object-name>altmsg.002</object-name>
<object-name>altmsg.003</object-name>
<object-name>altmsg.004</object-name>
<condition>
<greater-than>
<property>systems/electrical/volts</property>
<value>1</value>
</greater-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>Alert.msg</object-name>
<condition>
<and>
<property>/instrumentation/kfc200/alt-alert</property>
<greater-than>
<property>systems/electrical/volts</property>
<value>1</value>
</greater-than>
</and>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>Arm.msg</object-name>
<condition>
<and>
<equals>
<property>/instrumentation/kfc200/fdmodeV</property>
<value>alt-arm</value>
</equals>
<greater-than>
<property>systems/electrical/volts</property>
<value>1</value>
</greater-than>
</and>
</condition>
</animation>
<!-- Altitude Select -->
<animation>
<type>textranslate</type>
<object-name>altmsg</object-name>
<property>/autopilot/settings/target-altitude-ft</property>
<factor>0.00001</factor>
<step>10000</step>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>altmsg.001</object-name>
<property>/autopilot/settings/target-altitude-ft</property>
<factor>0.0001</factor>
<step>1000</step>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>altmsg.002</object-name>
<property>/autopilot/settings/target-altitude-ft</property>
<factor>0.001</factor>
<step>100</step>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>altmsg.003</object-name>
<property>/autopilot/settings/target-altitude-ft</property>
<factor>0.01</factor>
<step>10</step>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>altmsg.004</object-name>
<property>/autopilot/settings/target-altitude-ft</property>
<factor>0.1</factor>
<step>1</step>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
<!-- OSG animations -->
<animation>
<type>pick</type>
<object-name>Alt.decrease</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/target-altitude-ft</property>
<step>-100</step>
<min>0.0</min>
<max>99999.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Alt.decrease</object-name>
<action>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/target-altitude-ft</property>
<step>-1000</step>
<min>0.0</min>
<max>99999.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Alt.increase</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/target-altitude-ft</property>
<step>100</step>
<min>0.0</min>
<max>99999.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Alt.increase</object-name>
<action>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/target-altitude-ft</property>
<step>1000</step>
<min>0.0</min>
<max>99999.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
</PropertyList>