1
0
Fork 0
fgdata/Aircraft/Generic/DualControl/Instruments/KX165/kx165tso1.xml

600 lines
13 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<PropertyList>
<path>kx165tso.ac</path>
<animation>
<type>select</type>
<object-name>CommUse</object-name>
<object-name>CommStby</object-name>
<object-name>NavUse</object-name>
<object-name>NavStby</object-name>
<condition>
<property>instrumentation/comm[0]/serviceable</property>
<property>instrumentation/nav[0]/serviceable</property>
<!-- property>instrumentation/nav[0]/power-btn</property -->
</condition>
</animation>
<!-- comm part -->
<animation>
<type>material</type>
<object-name>CommToggle</object-name>
<object-name>NavToggle</object-name>
<emission>
<red-prop>sim/model/instrument-lighting/emission/red</red-prop>
<green-prop>sim/model/instrument-lighting/emission/green</green-prop>
<blue-prop>sim/model/instrument-lighting/emission/blue</blue-prop>
<factor-prop>controls/lighting/instruments-norm</factor-prop>
</emission>
</animation>
<animation>
<type>translate</type>
<object-name>CommToggle</object-name>
<property>instrumentation/comm[0]/frq-swap-btn</property>
<factor>-0.004</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse100M</object-name>
<property>instrumentation/comm[0]/frequencies/selected-mhz</property>
<step>100</step>
<factor>0.001</factor>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse10M</object-name>
<property>instrumentation/comm[0]/frequencies/selected-mhz</property>
<step>10</step>
<factor>0.01</factor>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse1M</object-name>
<property>instrumentation/comm[0]/frequencies/selected-mhz</property>
<step>1</step>
<factor>0.1</factor>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse100K</object-name>
<property>instrumentation/comm[0]/frequencies/selected-mhz</property>
<step>0.1</step>
<factor>1</factor>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse10K</object-name>
<property>instrumentation/comm[0]/frequencies/selected-mhz</property>
<step>0.01</step>
<factor>10</factor>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby100M</object-name>
<property>instrumentation/comm[0]/frequencies/standby-mhz</property>
<step>100</step>
<factor>0.001</factor>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby10M</object-name>
<property>instrumentation/comm[0]/frequencies/standby-mhz</property>
<step>10</step>
<factor>0.01</factor>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby1M</object-name>
<property>instrumentation/comm[0]/frequencies/standby-mhz</property>
<step>1</step>
<factor>0.1</factor>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby100K</object-name>
<property>instrumentation/comm[0]/frequencies/standby-mhz</property>
<step>0.1</step>
<factor>1</factor>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby10K</object-name>
<property>instrumentation/comm[0]/frequencies/standby-mhz</property>
<step>0.01</step>
<factor>10</factor>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- NAV part -->
<animation>
<type>translate</type>
<object-name>NavToggle</object-name>
<property>instrumentation/nav[0]/frq-swap-btn</property>
<factor>-0.004</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse100M</object-name>
<property>instrumentation/nav[0]/frequencies/selected-mhz</property>
<step>100</step>
<factor>0.001</factor>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse10M</object-name>
<property>instrumentation/nav[0]/frequencies/selected-mhz</property>
<step>10</step>
<factor>0.01</factor>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse1M</object-name>
<property>instrumentation/nav[0]/frequencies/selected-mhz</property>
<step>1</step>
<factor>0.1</factor>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse100K</object-name>
<property>instrumentation/nav[0]/frequencies/selected-mhz</property>
<step>0.1</step>
<factor>1</factor>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse10K</object-name>
<property>instrumentation/nav[0]/frequencies/selected-mhz</property>
<step>0.01</step>
<factor>10</factor>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby100M</object-name>
<property>instrumentation/nav[0]/frequencies/standby-mhz</property>
<step>100</step>
<factor>0.001</factor>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby10M</object-name>
<property>instrumentation/nav[0]/frequencies/standby-mhz</property>
<step>10</step>
<factor>0.01</factor>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby1M</object-name>
<property>instrumentation/nav[0]/frequencies/standby-mhz</property>
<step>1</step>
<factor>0.1</factor>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby100K</object-name>
<property>instrumentation/nav[0]/frequencies/standby-mhz</property>
<step>0.1</step>
<factor>1</factor>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby10K</object-name>
<property>instrumentation/nav[0]/frequencies/standby-mhz</property>
<step>0.01</step>
<factor>10</factor>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- knobs and buttons -->
<animation>
<type>rotate</type>
<object-name>CommVolume</object-name>
<property>instrumentation/comm[0]/volume</property>
<factor>-270</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0188947</x-m>
<y-m>-0.0620002</y-m>
<z-m>-0.0139999</z-m>
</center>
</animation>
<animation>
<type>translate</type>
<object-name>CommVolume</object-name>
<property>instrumentation/comm[0]/volume</property>
<factor>0.002</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>CommKHz</object-name>
<property>instrumentation/comm[0]/frequencies/standby-mhz</property>
<factor>-1200</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0320882</x-m>
<y-m>-0.022</y-m>
<z-m>-0.012</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>NavVolume</object-name>
<property>instrumentation/nav[0]/volume</property>
<factor>-270</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0188946</x-m>
<y-m>0.0180001</y-m>
<z-m>-0.0139999</z-m>
</center>
</animation>
<animation>
<type>translate</type>
<object-name>NavVolume</object-name>
<property>instrumentation/nav[0]/volume</property>
<factor>0.002</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- OSG Hotspots for dual control -->
<animation>
<type>pick</type>
<object-name>CommToggle</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>KX165.swap_comm(0, 1);</script>
</binding>
<mod-up>
<binding>
<command>nasal</command>
<script>KX165.swap_comm(0, 0);</script>
</binding>
</mod-up>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommKHz</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>nasal</command>
<script>KX165.adjust_comm_frequency(0, 0.025);</script>
</binding>
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>nasal</command>
<script>KX165.adjust_comm_frequency(0, -0.025);</script>
</binding>
</action>
<action>
<button>3</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>KX165.adjust_comm_frequency(0, -0.025);</script>
</binding>
</action>
<action>
<button>4</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>KX165.adjust_comm_frequency(0, 0.025);</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommMHz</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>nasal</command>
<script>KX165.adjust_comm_frequency(0, 1.0);</script>
</binding>
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>nasal</command>
<script>KX165.adjust_comm_frequency(0, -1.0);</script>
</binding>
</action>
<action>
<button>3</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>KX165.adjust_comm_frequency(0, -1.0);</script>
</binding>
</action>
<action>
<button>4</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>KX165.adjust_comm_frequency(0, 1.0);</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavToggle</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>KX165.swap_nav(0);</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavKHz</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>nasal</command>
<script>KX165.adjust_nav_frequency(0, 0.05);</script>
</binding>
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>nasal</command>
<script>KX165.adjust_nav_frequency(0, -0.05);</script>
</binding>
</action>
<action>
<button>3</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>KX165.adjust_nav_frequency(0, -0.05);</script>
</binding>
</action>
<action>
<button>4</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>KX165.adjust_nav_frequency(0, 0.05);</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavMHz</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>nasal</command>
<script>KX165.adjust_nav_frequency(0, 1.0);</script>
</binding>
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>nasal</command>
<script>KX165.adjust_nav_frequency(0, -1.0);</script>
</binding>
</action>
<action>
<button>3</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>KX165.adjust_nav_frequency(0, -1.0);</script>
</binding>
</action>
<action>
<button>4</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>KX165.adjust_nav_frequency(0, 1.0);</script>
</binding>
</action>
</animation>
<animation>
<type>noshadow</type>
</animation>
<animation>
<type>range</type>
<min-m>0</min-m>
<max-m>10</max-m>
</animation>
</PropertyList>