1
0
Fork 0

KX165 updates.

Make the common KX165 Rembrandt-compatible, and use it in the C172P.
This commit is contained in:
James Turner 2013-03-20 09:11:32 +00:00
parent 6ae5fc6caf
commit dc25a3e7b7
8 changed files with 2079 additions and 2768 deletions

View file

@ -1,4 +1,4 @@
<?xml version="1.0" ?>
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<!--
@ -26,7 +26,8 @@
<params>
<comm-serviceable>instrumentation/comm[0]/serviceable</comm-serviceable>
<nav-serviceable>instrumentation/nav[0]/serviceable</nav-serviceable>
<power>instrumentation/nav[0]/power-btn</power>
<power-nav>instrumentation/nav[0]/power-btn</power-nav>
<power-comm>instrumentation/comm[0]/power-btn</power-comm>
<comm-frq-swp>instrumentation/comm[0]/frq-swap-btn</comm-frq-swp>
<comm-frq-selected>instrumentation/comm[0]/frequencies/selected-mhz</comm-frq-selected>
@ -45,45 +46,87 @@
<path>kx165.ac</path>
<animation>
<object-name>CommKnobs</object-name>
<object-name>CommKHz</object-name>
<object-name>CommMHz</object-name>
<object-name>CommToggle</object-name>
<object-name>CommVolume</object-name>
<object-name>CommStby</object-name>
<object-name>CommStby100K</object-name>
<object-name>CommStby100M</object-name>
<object-name>CommStby10K</object-name>
<object-name>CommStby10M</object-name>
<object-name>CommStby1M</object-name>
<object-name>CommStbyDot</object-name>
<object-name>CommUse</object-name>
<object-name>CommUse100K</object-name>
<object-name>CommUse100M</object-name>
<object-name>CommUse10K</object-name>
<object-name>CommUse10M</object-name>
<object-name>CommUse1M</object-name>
<object-name>CommUseDot</object-name>
<object-name>NavKnobs</object-name>
<object-name>NavKHz</object-name>
<object-name>NavMHz</object-name>
<object-name>NavToggle</object-name>
<object-name>NavVolume</object-name>
<object-name>NavStby</object-name>
<object-name>NavStby100K</object-name>
<object-name>NavStby100M</object-name>
<object-name>NavStby10K</object-name>
<object-name>NavStby10M</object-name>
<object-name>NavStby1M</object-name>
<object-name>NavStbyDot</object-name>
<object-name>NavUse</object-name>
<object-name>NavUse100K</object-name>
<object-name>NavUse100M</object-name>
<object-name>NavUse10K</object-name>
<object-name>NavUse10M</object-name>
<object-name>NavUse1M</object-name>
<object-name>NavUseDot</object-name>
<object-name>Chassis</object-name>
</animation>
<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 alias="../../../params/comm-serviceable"/>
<property alias="../../../params/nav-serviceable"/>
<property alias="../../../params/power"/>
<and>
<property alias="../../../../params/comm-serviceable"/>
<property alias="../../../../params/power-comm"/>
<greater-than>
<property>systems/electrical/outputs/comm[0]</property>
<value>6.0</value>
</greater-than>
</and>
</condition>
</animation>
<animation>
<type>material</type>
<object-name>CommToggle</object-name>
<object-name>NavToggle</object-name>
<emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>controls/lighting/instruments-norm</factor-prop>
</emission>
<type>select</type>
<object-name>NavUse</object-name>
<object-name>NavStby</object-name>
<condition>
<and>
<property alias="../../../../params/nav-serviceable"/>
<property alias="../../../../params/power-comm"/>
<greater-than>
<property>systems/electrical/outputs/comm[0]</property>
<value>6.0</value>
</greater-than>
</and>
</condition>
</animation>
<animation>
<type>material</type>
<effect>
<inherits-from>Effects/model-transparent</inherits-from>
<object-name>CommUse</object-name>
<object-name>CommStby</object-name>
<object-name>NavUse</object-name>
<object-name>NavStby</object-name>
<emission>
<red>-1.0</red>
<green>-1.0</green>
<blue>-1.0</blue>
<factor-prop alias="../../../params/dimming"/>
<offset>1</offset>
</emission>
</animation>
</effect>
<!-- comm part -->
@ -393,88 +436,9 @@
</axis>
</animation>
<!-- knobs and buttons -->
<animation>
<type>rotate</type>
<object-name>CommVolume</object-name>
<property alias="../../params/comm-volume"/>
<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 alias="../../params/comm-test"/>
<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 alias="../../params/comm-frq-standby"/>
<factor>-360</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>NavKHz</object-name>
<property alias="../../params/nav-frq-standby"/>
<factor>-360</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0320882</x-m>
<y-m>0.058</y-m>
<z-m>-0.012</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>NavVolume</object-name>
<property alias="../../params/nav-volume"/>
<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>
@ -488,90 +452,47 @@
</animation>
<!-- actions -->
<animation>
<type>pick</type>
<object-name>CommVolumePickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
<binding>
<command>property-assign</command>
<property alias="../../../../params/power"/>
<value>0</value>
<condition>
<less-than>
<property alias="../../../../../../params/comm-volume"/>
<value>0.05</value>
</less-than>
</condition>
</binding>
</action>
</animation>
<!-- Comm part -->
<animation>
<type>pick</type>
<object-name>CommVolumePickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
<binding>
<command>property-assign</command>
<property alias="../../../../params/power"/>
<value>1</value>
<condition>
<greater-than>
<property alias="../../../../../../params/comm-volume"/>
<value>0.05</value>
</greater-than>
</condition>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<type>knob</type>
<object-name>CommVolume</object-name>
<visible>true</visible>
<property alias="../../params/comm-volume"/>
<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>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property alias="../../../../params/comm-test"/>
</binding>
</action>
<action>
<button>3</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>-0.1</step>
<factor>0.1</factor>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
<binding>
<command>property-assign</command>
<property alias="../../../../params/power"/>
<property alias="../../../../params/power-comm"/>
<value>1</value>
<condition>
<greater-than>
<property alias="../../../../../../params/comm-volume"/>
<value>0.05</value>
</greater-than>
</condition>
</binding>
<binding>
<command>property-assign</command>
<property alias="../../../../params/power-comm"/>
<value>0</value>
<condition>
<less-than>
@ -581,42 +502,31 @@
</condition>
</binding>
</action>
</animation>
<animation>
<type>knob</type>
<object-name>CommKHz</object-name>
<property alias="../../params/comm-frq-standby"/>
<factor>-360</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>
<action>
<button>4</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
<binding>
<command>property-assign</command>
<property alias="../../../../params/power"/>
<value>1</value>
<condition>
<greater-than>
<property alias="../../../../../../params/comm-volume"/>
<value>0.05</value>
</greater-than>
<property alias="../../../../../params/power-comm"/>
</condition>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>-0.025</step>
<factor>0.025</factor>
<min>0.0</min>
<max>1.0</max>
<resolution>0.025</resolution>
@ -624,328 +534,37 @@
<mask>decimal</mask>
</binding>
</action>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>-1</step>
<min>118.0</min>
<max>137.0</max>
<wrap>true</wrap>
<mask>integer</mask>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>0.025</step>
<min>0.0</min>
<max>1.0</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
<mask>decimal</mask>
</binding>
</action>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>1</step>
<min>118.0</min>
<max>137.0</max>
<wrap>true</wrap>
<mask>integer</mask>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<type>knob</type>
<object-name>CommMHz</object-name>
<visible>true</visible>
<property alias="../../params/comm-frq-standby"/>
<factor>-7</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>
<action>
<button>3</button>
<repeatable>false</repeatable>
<binding>
<condition>
<not>
<property>devices/status/keyboard/shift</property>
</not>
<property alias="../../../../../params/power-comm"/>
</condition>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>-0.025</step>
<min>0.0</min>
<max>1.0</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
<mask>decimal</mask>
</binding>
<binding>
<condition>
<property>devices/status/keyboard/shift</property>
</condition>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>-1</step>
<factor>1</factor>
<min>118.0</min>
<max>137.0</max>
<wrap>true</wrap>
<mask>integer</mask>
</binding>
</action>
<action>
<button>4</button>
<repeatable>false</repeatable>
<binding>
<condition>
<not>
<property>devices/status/keyboard/shift</property>
</not>
</condition>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>0.025</step>
<min>0.0</min>
<max>1.0</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
<mask>decimal</mask>
</binding>
<binding>
<condition>
<property>devices/status/keyboard/shift</property>
</condition>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>1</step>
<min>118.0</min>
<max>137.0</max>
<wrap>true</wrap>
<mask>integer</mask>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolumePickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolumePickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolume</object-name>
<visible>true</visible>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property alias="../../../../params/nav-audio"/>
</binding>
</action>
<action>
<button>3</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<button>4</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>-0.05</step>
<min>0.0</min>
<max>1.0</max>
<resolution>0.05</resolution>
<wrap>true</wrap>
<mask>decimal</mask>
</binding>
</action>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>-1</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
<mask>integer</mask>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>0.05</step>
<min>0.0</min>
<max>1.0</max>
<resolution>0.05</resolution>
<wrap>true</wrap>
<mask>decimal</mask>
</binding>
</action>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>1</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
<mask>integer</mask>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavMHz</object-name>
<visible>true</visible>
<action>
<button>3</button>
<repeatable>false</repeatable>
<binding>
<condition>
<not>
<property>devices/status/keyboard/shift</property>
</not>
</condition>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>-0.05</step>
<min>0.0</min>
<max>1.0</max>
<resolution>0.05</resolution>
<wrap>true</wrap>
<mask>decimal</mask>
</binding>
<binding>
<condition>
<property>devices/status/keyboard/shift</property>
</condition>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>-1</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
<mask>integer</mask>
</binding>
</action>
<action>
<button>4</button>
<repeatable>false</repeatable>
<binding>
<condition>
<not>
<property>devices/status/keyboard/shift</property>
</not>
</condition>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>0.05</step>
<min>0.0</min>
<max>1.0</max>
<resolution>0.05</resolution>
<wrap>true</wrap>
<mask>decimal</mask>
</binding>
<binding>
<condition>
<property>devices/status/keyboard/shift</property>
</condition>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>1</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
<mask>integer</mask>
</binding>
</action>
</animation>
<animation>
@ -975,6 +594,96 @@
</action>
</animation>
<!-- Nav part -->
<animation>
<type>knob</type>
<object-name>NavVolume</object-name>
<property alias="../../params/nav-volume"/>
<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>
<action>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<factor>0.1</factor>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>knob</type>
<object-name>NavKHz</object-name>
<property alias="../../params/nav-frq-standby"/>
<factor>-360</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0320882</x-m>
<y-m>0.058</y-m>
<z-m>-0.012</z-m>
</center>
<action>
<binding>
<condition>
<property alias="../../../../../params/power-comm"/>
</condition>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<factor>0.025</factor>
<min>0.0</min>
<max>1.0</max>
<wrap>true</wrap>
<mask>decimal</mask>
</binding>
</action>
</animation>
<animation>
<type>knob</type>
<object-name>NavMHz</object-name>
<property alias="../../params/nav-frq-standby"/>
<factor>-7</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0320882</x-m>
<y-m>0.058</y-m>
<z-m>-0.012</z-m>
</center>
<action>
<binding>
<condition>
<property alias="../../../../../params/power-comm"/>
</condition>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<factor>1</factor>
<min>118.0</min>
<max>137.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavToggle</object-name>
@ -1002,4 +711,48 @@
</action>
</animation>
<!-- TEXT OSG -->
<text>
<name>textosg</name>
<type type="string">literal</type>
<text type="string">COMM 1 / NAV 1</text>
<draw-text type="bool">true</draw-text>
<font>Helvetica.txf</font>
<character-size type="double">0.014</character-size>
<character-aspect-ratio type="double">1.0</character-aspect-ratio>
<axis-alignment>yz-plane</axis-alignment>
<max-height>0.06</max-height>
<max-width>0.15</max-width>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
<alignment>center-center</alignment>
<offsets>
<x-m> 0.015 </x-m>
<y-m> 0.000 </y-m>
<z-m> 0.015 </z-m>
</offsets>
</text>
<animation>
<type>material</type>
<object-name>textosg</object-name>
<emission>
<red> 0.8 </red>
<green> 0.8 </green>
<blue> 0.0 </blue>
</emission>
</animation>
<animation>
<type>select</type>
<object-name>textosg</object-name>
<condition>
<property>sim/panel-hotspots</property>
</condition>
</animation>
</PropertyList>

View file

@ -1,9 +1,9 @@
<?xml version="1.0" ?>
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<!--
Bendix/King KX155/165 COMM/NAV radio
Use this instrument as COMM2/NAV2 radio
Use this instrument as COMM1/NAV1 radio
Created by Torsten Dreyer, October 2008
@ -12,21 +12,22 @@
flightgear sessions
aircraft.data.add(
"instrumentation/comm[1]/volume",
"instrumentation/comm[1]/frequencies/selected-mhz",
"instrumentation/comm[1]/frequencies/standby-mhz",
"instrumentation/comm[1]/test-btn",
"instrumentation/nav[1]/audio-btn",
"instrumentation/nav[1]/power-btn",
"instrumentation/nav[1]/frequencies/selected-mhz",
"instrumentation/nav[1]/frequencies/standby-mhz",
"instrumentation/comm[0]/volume",
"instrumentation/comm[0]/frequencies/selected-mhz",
"instrumentation/comm[0]/frequencies/standby-mhz",
"instrumentation/comm[0]/test-btn",
"instrumentation/nav[0]/audio-btn",
"instrumentation/nav[0]/power-btn",
"instrumentation/nav[0]/frequencies/selected-mhz",
"instrumentation/nav[0]/frequencies/standby-mhz",
);
-->
<params>
<comm-serviceable>instrumentation/comm[1]/serviceable</comm-serviceable>
<nav-serviceable>instrumentation/nav[1]/serviceable</nav-serviceable>
<power>instrumentation/nav[1]/power-btn</power>
<power-nav>instrumentation/nav[1]/power-btn</power-nav>
<power-comm>instrumentation/comm[1]/power-btn</power-comm>
<comm-frq-swp>instrumentation/comm[1]/frq-swap-btn</comm-frq-swp>
<comm-frq-selected>instrumentation/comm[1]/frequencies/selected-mhz</comm-frq-selected>
@ -45,45 +46,87 @@
<path>kx165.ac</path>
<animation>
<object-name>CommKnobs</object-name>
<object-name>CommKHz</object-name>
<object-name>CommMHz</object-name>
<object-name>CommToggle</object-name>
<object-name>CommVolume</object-name>
<object-name>CommStby</object-name>
<object-name>CommStby100K</object-name>
<object-name>CommStby100M</object-name>
<object-name>CommStby10K</object-name>
<object-name>CommStby10M</object-name>
<object-name>CommStby1M</object-name>
<object-name>CommStbyDot</object-name>
<object-name>CommUse</object-name>
<object-name>CommUse100K</object-name>
<object-name>CommUse100M</object-name>
<object-name>CommUse10K</object-name>
<object-name>CommUse10M</object-name>
<object-name>CommUse1M</object-name>
<object-name>CommUseDot</object-name>
<object-name>NavKnobs</object-name>
<object-name>NavKHz</object-name>
<object-name>NavMHz</object-name>
<object-name>NavToggle</object-name>
<object-name>NavVolume</object-name>
<object-name>NavStby</object-name>
<object-name>NavStby100K</object-name>
<object-name>NavStby100M</object-name>
<object-name>NavStby10K</object-name>
<object-name>NavStby10M</object-name>
<object-name>NavStby1M</object-name>
<object-name>NavStbyDot</object-name>
<object-name>NavUse</object-name>
<object-name>NavUse100K</object-name>
<object-name>NavUse100M</object-name>
<object-name>NavUse10K</object-name>
<object-name>NavUse10M</object-name>
<object-name>NavUse1M</object-name>
<object-name>NavUseDot</object-name>
<object-name>Chassis</object-name>
</animation>
<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 alias="../../../params/comm-serviceable"/>
<property alias="../../../params/nav-serviceable"/>
<property alias="../../../params/power"/>
<and>
<property alias="../../../../params/comm-serviceable"/>
<property alias="../../../../params/power-comm"/>
<greater-than>
<property>systems/electrical/outputs/comm[1]</property>
<value>6.0</value>
</greater-than>
</and>
</condition>
</animation>
<animation>
<type>material</type>
<object-name>CommToggle</object-name>
<object-name>NavToggle</object-name>
<emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>controls/lighting/instruments-norm</factor-prop>
</emission>
<type>select</type>
<object-name>NavUse</object-name>
<object-name>NavStby</object-name>
<condition>
<and>
<property alias="../../../../params/nav-serviceable"/>
<property alias="../../../../params/power-comm"/>
<greater-than>
<property>systems/electrical/outputs/comm[1]</property>
<value>6.0</value>
</greater-than>
</and>
</condition>
</animation>
<animation>
<type>material</type>
<effect>
<inherits-from>Effects/model-transparent</inherits-from>
<object-name>CommUse</object-name>
<object-name>CommStby</object-name>
<object-name>NavUse</object-name>
<object-name>NavStby</object-name>
<emission>
<red>-1.0</red>
<green>-1.0</green>
<blue>-1.0</blue>
<factor-prop alias="../../../params/dimming"/>
<offset>1</offset>
</emission>
</animation>
</effect>
<!-- comm part -->
@ -396,7 +439,23 @@
<!-- knobs and buttons -->
<animation>
<type>rotate</type>
<type>translate</type>
<object-name>NavVolume</object-name>
<property alias="../../params/nav-audio"/>
<factor>0.002</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- actions -->
<!-- Comm part -->
<animation>
<type>knob</type>
<object-name>CommVolume</object-name>
<property alias="../../params/comm-volume"/>
<factor>-270</factor>
@ -410,22 +469,42 @@
<y-m>-0.0620002</y-m>
<z-m>-0.0139999</z-m>
</center>
<action>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<factor>0.1</factor>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
<binding>
<command>property-assign</command>
<property alias="../../../../params/power-comm"/>
<value>1</value>
<condition>
<greater-than>
<property alias="../../../../../../params/comm-volume"/>
<value>0.05</value>
</greater-than>
</condition>
</binding>
<binding>
<command>property-assign</command>
<property alias="../../../../params/power-comm"/>
<value>0</value>
<condition>
<less-than>
<property alias="../../../../../../params/comm-volume"/>
<value>0.05</value>
</less-than>
</condition>
</binding>
</action>
</animation>
<animation>
<type>translate</type>
<object-name>CommVolume</object-name>
<property alias="../../params/comm-test"/>
<factor>0.002</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<type>knob</type>
<object-name>CommKHz</object-name>
<property alias="../../params/comm-frq-standby"/>
<factor>-360</factor>
@ -439,13 +518,28 @@
<y-m>-0.022</y-m>
<z-m>-0.012</z-m>
</center>
<action>
<binding>
<condition>
<property alias="../../../../../params/power-comm"/>
</condition>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<factor>0.025</factor>
<min>0.0</min>
<max>1.0</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
<mask>decimal</mask>
</binding>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>NavKHz</object-name>
<property alias="../../params/nav-frq-standby"/>
<factor>-360</factor>
<type>knob</type>
<object-name>CommMHz</object-name>
<property alias="../../params/comm-frq-standby"/>
<factor>-7</factor>
<axis>
<x>1</x>
<y>0</y>
@ -453,184 +547,17 @@
</axis>
<center>
<x-m>0.0320882</x-m>
<y-m>0.058</y-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 alias="../../params/nav-volume"/>
<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 alias="../../params/nav-audio"/>
<factor>0.002</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- actions -->
<animation>
<type>pick</type>
<object-name>CommVolumePickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
<binding>
<command>property-assign</command>
<property alias="../../../../params/power"/>
<value>0</value>
<condition>
<less-than>
<property alias="../../../../../../params/comm-volume"/>
<value>0.05</value>
</less-than>
<property alias="../../../../../params/power-comm"/>
</condition>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommVolumePickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
<binding>
<command>property-assign</command>
<property alias="../../../../params/power"/>
<value>1</value>
<condition>
<greater-than>
<property alias="../../../../../../params/comm-volume"/>
<value>0.05</value>
</greater-than>
</condition>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommVolume</object-name>
<visible>true</visible>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property alias="../../../../params/comm-test"/>
</binding>
</action>
<action>
<button>3</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
<binding>
<command>property-assign</command>
<property alias="../../../../params/power"/>
<value>0</value>
<condition>
<less-than>
<property alias="../../../../../../params/comm-volume"/>
<value>0.05</value>
</less-than>
</condition>
</binding>
</action>
<action>
<button>4</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
<binding>
<command>property-assign</command>
<property alias="../../../../params/power"/>
<value>1</value>
<condition>
<greater-than>
<property alias="../../../../../../params/comm-volume"/>
<value>0.05</value>
</greater-than>
</condition>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>-0.025</step>
<min>0.0</min>
<max>1.0</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
<mask>decimal</mask>
</binding>
</action>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>-1</step>
<factor>1</factor>
<min>118.0</min>
<max>137.0</max>
<wrap>true</wrap>
@ -639,315 +566,6 @@
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>0.025</step>
<min>0.0</min>
<max>1.0</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
<mask>decimal</mask>
</binding>
</action>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>1</step>
<min>118.0</min>
<max>137.0</max>
<wrap>true</wrap>
<mask>integer</mask>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommMHz</object-name>
<visible>true</visible>
<action>
<button>3</button>
<repeatable>false</repeatable>
<binding>
<condition>
<not>
<property>devices/status/keyboard/shift</property>
</not>
</condition>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>-0.025</step>
<min>0.0</min>
<max>1.0</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
<mask>decimal</mask>
</binding>
<binding>
<condition>
<property>devices/status/keyboard/shift</property>
</condition>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>-1</step>
<min>118.0</min>
<max>137.0</max>
<wrap>true</wrap>
<mask>integer</mask>
</binding>
</action>
<action>
<button>4</button>
<repeatable>false</repeatable>
<binding>
<condition>
<not>
<property>devices/status/keyboard/shift</property>
</not>
</condition>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>0.025</step>
<min>0.0</min>
<max>1.0</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
<mask>decimal</mask>
</binding>
<binding>
<condition>
<property>devices/status/keyboard/shift</property>
</condition>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>1</step>
<min>118.0</min>
<max>137.0</max>
<wrap>true</wrap>
<mask>integer</mask>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolumePickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolumePickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolume</object-name>
<visible>true</visible>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property alias="../../../../params/nav-audio"/>
</binding>
</action>
<action>
<button>3</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<button>4</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>-0.05</step>
<min>0.0</min>
<max>1.0</max>
<resolution>0.05</resolution>
<wrap>true</wrap>
<mask>decimal</mask>
</binding>
</action>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>-1</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
<mask>integer</mask>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>0.05</step>
<min>0.0</min>
<max>1.0</max>
<resolution>0.05</resolution>
<wrap>true</wrap>
<mask>decimal</mask>
</binding>
</action>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>1</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
<mask>integer</mask>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavMHz</object-name>
<visible>true</visible>
<action>
<button>3</button>
<repeatable>false</repeatable>
<binding>
<condition>
<not>
<property>devices/status/keyboard/shift</property>
</not>
</condition>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>-0.05</step>
<min>0.0</min>
<max>1.0</max>
<resolution>0.05</resolution>
<wrap>true</wrap>
<mask>decimal</mask>
</binding>
<binding>
<condition>
<property>devices/status/keyboard/shift</property>
</condition>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>-1</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
<mask>integer</mask>
</binding>
</action>
<action>
<button>4</button>
<repeatable>false</repeatable>
<binding>
<condition>
<not>
<property>devices/status/keyboard/shift</property>
</not>
</condition>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>0.05</step>
<min>0.0</min>
<max>1.0</max>
<resolution>0.05</resolution>
<wrap>true</wrap>
<mask>decimal</mask>
</binding>
<binding>
<condition>
<property>devices/status/keyboard/shift</property>
</condition>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>1</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
<mask>integer</mask>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommToggle</object-name>
@ -975,6 +593,96 @@
</action>
</animation>
<!-- Nav part -->
<animation>
<type>knob</type>
<object-name>NavVolume</object-name>
<property alias="../../params/nav-volume"/>
<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>
<action>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<factor>0.1</factor>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>knob</type>
<object-name>NavKHz</object-name>
<property alias="../../params/nav-frq-standby"/>
<factor>-360</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0320882</x-m>
<y-m>0.058</y-m>
<z-m>-0.012</z-m>
</center>
<action>
<binding>
<condition>
<property alias="../../../../../params/power-comm"/>
</condition>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<factor>0.025</factor>
<min>0.0</min>
<max>1.0</max>
<wrap>true</wrap>
<mask>decimal</mask>
</binding>
</action>
</animation>
<animation>
<type>knob</type>
<object-name>NavMHz</object-name>
<property alias="../../params/nav-frq-standby"/>
<factor>-7</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0320882</x-m>
<y-m>0.058</y-m>
<z-m>-0.012</z-m>
</center>
<action>
<binding>
<condition>
<property alias="../../../../../params/power-comm"/>
</condition>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<factor>1</factor>
<min>118.0</min>
<max>137.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavToggle</object-name>
@ -1002,4 +710,48 @@
</action>
</animation>
<!-- TEXT OSG -->
<text>
<name>textosg</name>
<type type="string">literal</type>
<text type="string">COMM 2 / NAV 2</text>
<draw-text type="bool">true</draw-text>
<font>Helvetica.txf</font>
<character-size type="double">0.014</character-size>
<character-aspect-ratio type="double">1.0</character-aspect-ratio>
<axis-alignment>yz-plane</axis-alignment>
<max-height>0.06</max-height>
<max-width>0.15</max-width>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
<alignment>center-center</alignment>
<offsets>
<x-m> 0.015 </x-m>
<y-m> 0.000 </y-m>
<z-m> 0.015 </z-m>
</offsets>
</text>
<animation>
<type>material</type>
<object-name>textosg</object-name>
<emission>
<red> 0.8 </red>
<green> 0.8 </green>
<blue> 0.0 </blue>
</emission>
</animation>
<animation>
<type>select</type>
<object-name>textosg</object-name>
<condition>
<property>sim/panel-hotspots</property>
</condition>
</animation>
</PropertyList>

File diff suppressed because it is too large Load diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View file

@ -285,7 +285,7 @@
<model>
<name>kx165-1</name>
<path>Aircraft/c172p/Instruments/kx165/kx165-1.xml</path>
<path>Aircraft/Instruments-3d/kx165/kx165-1.xml</path>
<offsets>
<x-m>-0.364</x-m>
<y-m>0.113</y-m>
@ -295,7 +295,7 @@
<model>
<name>kx165-2</name>
<path>Aircraft/c172p/Instruments/kx165/kx165-2.xml</path>
<path>Aircraft/Instruments-3d/kx165/kx165-2.xml</path>
<offsets>
<x-m>-0.364</x-m>
<y-m>0.113</y-m>

View file

@ -201,9 +201,15 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
<ident-audible type="bool">false</ident-audible>
<volume type="double">0.7</volume>
</adf>
<comm n="0">
<power-btn type="bool">1</power-btn>
</comm>
<nav n="0">
<volume type="double">0.7</volume>
</nav>
<comm n="1">
<power-btn type="bool">1</power-btn>
</comm>
<nav n="1">
<volume type="double">0.7</volume>
</nav>

View file

@ -221,9 +221,15 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
<ident-audible type="bool">false</ident-audible>
<volume type="double">0.7</volume>
</adf>
<comm n="0">
<power-btn type="bool">1</power-btn>
</comm>
<nav n="0">
<volume type="double">0.7</volume>
</nav>
<comm n="1">
<power-btn type="bool">1</power-btn>
</comm>
<nav n="1">
<volume type="double">0.7</volume>
</nav>