Updated c172p with 8.33kHz radio stack
https://github.com/c172p-team/c172p/commits/release/2019.1 184e0083293de474c7944b34b8ac71c5e12380fc
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
@ -2,8 +2,8 @@
|
||||||
<PropertyList>
|
<PropertyList>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Bendix/King KX155/165 COMM/NAV radio
|
Bendix/King KX155/165 COM/NAV radio
|
||||||
Use this instrument as COMM1/NAV1 radio
|
Use this instrument as COM1/NAV1 radio
|
||||||
|
|
||||||
Created by Torsten Dreyer, October 2008
|
Created by Torsten Dreyer, October 2008
|
||||||
|
|
||||||
|
@ -39,6 +39,7 @@
|
||||||
<comm-dial-mhz>instrumentation/comm[0]/frequencies/dial-mhz</comm-dial-mhz>
|
<comm-dial-mhz>instrumentation/comm[0]/frequencies/dial-mhz</comm-dial-mhz>
|
||||||
<comm-volume>instrumentation/comm[0]/volume-selected</comm-volume>
|
<comm-volume>instrumentation/comm[0]/volume-selected</comm-volume>
|
||||||
<comm-test>instrumentation/comm[0]/test-btn</comm-test>
|
<comm-test>instrumentation/comm[0]/test-btn</comm-test>
|
||||||
|
<channel-mode-selector>instrumentation/comm[0]/channel-mode-selector</channel-mode-selector>
|
||||||
<nav-frq-swp>instrumentation/nav[0]/frq-swap-btn</nav-frq-swp>
|
<nav-frq-swp>instrumentation/nav[0]/frq-swap-btn</nav-frq-swp>
|
||||||
<nav-frq-selected>instrumentation/nav[0]/frequencies/selected-mhz</nav-frq-selected>
|
<nav-frq-selected>instrumentation/nav[0]/frequencies/selected-mhz</nav-frq-selected>
|
||||||
<nav-frq-standby>instrumentation/nav[0]/frequencies/standby-mhz</nav-frq-standby>
|
<nav-frq-standby>instrumentation/nav[0]/frequencies/standby-mhz</nav-frq-standby>
|
||||||
|
@ -52,41 +53,40 @@
|
||||||
|
|
||||||
<effect>
|
<effect>
|
||||||
<inherits-from>../../../../Effects/interior/lm-kx165-1r</inherits-from>
|
<inherits-from>../../../../Effects/interior/lm-kx165-1r</inherits-from>
|
||||||
<object-name>CommKnobs</object-name>
|
<object-name>COMknobKHZ</object-name>
|
||||||
<object-name>CommVolume</object-name>
|
<object-name>COMknobMHZ</object-name>
|
||||||
<object-name>NavKnobs</object-name>
|
<object-name>COMxfer</object-name>
|
||||||
<object-name>NavVolume</object-name>
|
<object-name>COMvol</object-name>
|
||||||
<object-name>CommKHz</object-name>
|
<object-name>COMchan</object-name>
|
||||||
<object-name>CommMHz</object-name>
|
<object-name>NAVknobKHZ</object-name>
|
||||||
<object-name>CommToggle</object-name>
|
<object-name>NAVknobMHZ</object-name>
|
||||||
<object-name>CommVolume</object-name>
|
<object-name>NAVxfer</object-name>
|
||||||
<object-name>NavKHz</object-name>
|
<object-name>NAVmode</object-name>
|
||||||
<object-name>NavMHz</object-name>
|
<object-name>NAVvol</object-name>
|
||||||
<object-name>NavToggle</object-name>
|
|
||||||
<object-name>NavVolume</object-name>
|
|
||||||
</effect>
|
</effect>
|
||||||
<effect>
|
<effect>
|
||||||
<inherits-from>../../../../Effects/interior/lm-kx165-1</inherits-from>
|
<inherits-from>../../../../Effects/interior/lm-kx165-1</inherits-from>
|
||||||
<object-name>CommToggle</object-name>
|
<object-name>COMxfer</object-name>
|
||||||
<object-name>NavToggle</object-name>
|
<object-name>COMchan</object-name>
|
||||||
<object-name>Chassis</object-name>
|
<object-name>NAVxfer</object-name>
|
||||||
|
<object-name>NAVmode</object-name>
|
||||||
|
<object-name>KX165</object-name>
|
||||||
</effect>
|
</effect>
|
||||||
|
|
||||||
<effect>
|
<effect>
|
||||||
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
|
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
|
||||||
<object-name>CommUse</object-name>
|
|
||||||
<object-name>CommStby</object-name>
|
|
||||||
<object-name>NavUse</object-name>
|
|
||||||
<object-name>NavStby</object-name>
|
|
||||||
<object-name>CommStby100K</object-name>
|
<object-name>CommStby100K</object-name>
|
||||||
<object-name>CommStby100M</object-name>
|
<object-name>CommStby100M</object-name>
|
||||||
<object-name>CommStby10K</object-name>
|
<object-name>CommStby10K</object-name>
|
||||||
<object-name>CommStby10M</object-name>
|
<object-name>CommStby10M</object-name>
|
||||||
|
<object-name>CommStby1K</object-name>
|
||||||
<object-name>CommStby1M</object-name>
|
<object-name>CommStby1M</object-name>
|
||||||
<object-name>CommStbyDot</object-name>
|
<object-name>CommStbyDot</object-name>
|
||||||
<object-name>CommUse100K</object-name>
|
<object-name>CommUse100K</object-name>
|
||||||
<object-name>CommUse100M</object-name>
|
<object-name>CommUse100M</object-name>
|
||||||
<object-name>CommUse10K</object-name>
|
<object-name>CommUse10K</object-name>
|
||||||
<object-name>CommUse10M</object-name>
|
<object-name>CommUse10M</object-name>
|
||||||
|
<object-name>CommUse1K</object-name>
|
||||||
<object-name>CommUse1M</object-name>
|
<object-name>CommUse1M</object-name>
|
||||||
<object-name>CommUseDot</object-name>
|
<object-name>CommUseDot</object-name>
|
||||||
<object-name>NavStby100K</object-name>
|
<object-name>NavStby100K</object-name>
|
||||||
|
@ -101,25 +101,23 @@
|
||||||
<object-name>NavUse10M</object-name>
|
<object-name>NavUse10M</object-name>
|
||||||
<object-name>NavUse1M</object-name>
|
<object-name>NavUse1M</object-name>
|
||||||
<object-name>NavUseDot</object-name>
|
<object-name>NavUseDot</object-name>
|
||||||
|
<object-name>KX165Line</object-name>
|
||||||
|
<object-name>Screen</object-name>
|
||||||
</effect>
|
</effect>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>material</type>
|
<type>material</type>
|
||||||
<object-name>CommToggle</object-name>
|
<object-name>KX165</object-name>
|
||||||
<object-name>NavToggle</object-name>
|
<object-name>COMknobKHZ</object-name>
|
||||||
<object-name>Chassis</object-name>
|
<object-name>COMknobMHZ</object-name>
|
||||||
<object-name>CommKnobs</object-name>
|
<object-name>COMxfer</object-name>
|
||||||
<object-name>CommVolume</object-name>
|
<object-name>COMchan</object-name>
|
||||||
<object-name>NavKnobs</object-name>
|
<object-name>COMvol</object-name>
|
||||||
<object-name>NavVolume</object-name>
|
<object-name>NAVknobKHZ</object-name>
|
||||||
<object-name>CommKHz</object-name>
|
<object-name>NAVknobMHZ</object-name>
|
||||||
<object-name>CommMHz</object-name>
|
<object-name>NAVxfer</object-name>
|
||||||
<object-name>CommToggle</object-name>
|
<object-name>NAVmode</object-name>
|
||||||
<object-name>CommVolume</object-name>
|
<object-name>NAVvol</object-name>
|
||||||
<object-name>NavKHz</object-name>
|
|
||||||
<object-name>NavMHz</object-name>
|
|
||||||
<object-name>NavToggle</object-name>
|
|
||||||
<object-name>NavVolume</object-name>
|
|
||||||
<condition>
|
<condition>
|
||||||
<not>
|
<not>
|
||||||
<property>/sim/rendering/shaders/skydome</property>
|
<property>/sim/rendering/shaders/skydome</property>
|
||||||
|
@ -132,99 +130,80 @@
|
||||||
</emission>
|
</emission>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<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>
|
<animation>
|
||||||
<type>material</type>
|
<type>material</type>
|
||||||
<object-name>CommKnobs</object-name>
|
<object-name>COMknobKHZ</object-name>
|
||||||
<object-name>CommKHz</object-name>
|
<object-name>COMknobMHZ</object-name>
|
||||||
<object-name>CommMHz</object-name>
|
<object-name>COMxfer</object-name>
|
||||||
<object-name>CommToggle</object-name>
|
<object-name>COMchan</object-name>
|
||||||
<object-name>CommVolume</object-name>
|
<object-name>COMvol</object-name>
|
||||||
<object-name>CommStby</object-name>
|
|
||||||
<object-name>CommStby100K</object-name>
|
<object-name>CommStby100K</object-name>
|
||||||
<object-name>CommStby100M</object-name>
|
<object-name>CommStby100M</object-name>
|
||||||
<object-name>CommStby10K</object-name>
|
<object-name>CommStby10K</object-name>
|
||||||
<object-name>CommStby10M</object-name>
|
<object-name>CommStby10M</object-name>
|
||||||
|
<object-name>CommStby1K</object-name>
|
||||||
<object-name>CommStby1M</object-name>
|
<object-name>CommStby1M</object-name>
|
||||||
<object-name>CommStbyDot</object-name>
|
<object-name>CommStbyDot</object-name>
|
||||||
<object-name>CommUse</object-name>
|
|
||||||
<object-name>CommUse100K</object-name>
|
<object-name>CommUse100K</object-name>
|
||||||
<object-name>CommUse100M</object-name>
|
<object-name>CommUse100M</object-name>
|
||||||
<object-name>CommUse10K</object-name>
|
<object-name>CommUse10K</object-name>
|
||||||
<object-name>CommUse10M</object-name>
|
<object-name>CommUse10M</object-name>
|
||||||
|
<object-name>CommUse1K</object-name>
|
||||||
<object-name>CommUse1M</object-name>
|
<object-name>CommUse1M</object-name>
|
||||||
<object-name>CommUseDot</object-name>
|
<object-name>CommUseDot</object-name>
|
||||||
<object-name>NavKnobs</object-name>
|
<object-name>NAVknobKHZ</object-name>
|
||||||
<object-name>NavKHz</object-name>
|
<object-name>NAVknobMHZ</object-name>
|
||||||
<object-name>NavMHz</object-name>
|
<object-name>NAVxfer</object-name>
|
||||||
<object-name>NavToggle</object-name>
|
<object-name>NAVmode</object-name>
|
||||||
<object-name>NavVolume</object-name>
|
<object-name>NAVvol</object-name>
|
||||||
<object-name>NavStby</object-name>
|
|
||||||
<object-name>NavStby100K</object-name>
|
<object-name>NavStby100K</object-name>
|
||||||
<object-name>NavStby100M</object-name>
|
<object-name>NavStby100M</object-name>
|
||||||
<object-name>NavStby10K</object-name>
|
<object-name>NavStby10K</object-name>
|
||||||
<object-name>NavStby10M</object-name>
|
<object-name>NavStby10M</object-name>
|
||||||
<object-name>NavStby1M</object-name>
|
<object-name>NavStby1M</object-name>
|
||||||
<object-name>NavStbyDot</object-name>
|
<object-name>NavStbyDot</object-name>
|
||||||
<object-name>NavUse</object-name>
|
|
||||||
<object-name>NavUse100K</object-name>
|
<object-name>NavUse100K</object-name>
|
||||||
<object-name>NavUse100M</object-name>
|
<object-name>NavUse100M</object-name>
|
||||||
<object-name>NavUse10K</object-name>
|
<object-name>NavUse10K</object-name>
|
||||||
<object-name>NavUse10M</object-name>
|
<object-name>NavUse10M</object-name>
|
||||||
<object-name>NavUse1M</object-name>
|
<object-name>NavUse1M</object-name>
|
||||||
<object-name>NavUseDot</object-name>
|
<object-name>NavUseDot</object-name>
|
||||||
<object-name>Chassis</object-name>
|
<object-name>KX165Line</object-name>
|
||||||
|
<object-name>KX165</object-name>
|
||||||
|
<object-name>Screen</object-name>
|
||||||
<property-base>/sim/instrumentation/comm[0]</property-base>
|
<property-base>/sim/instrumentation/comm[0]</property-base>
|
||||||
<texture-prop>texture-file</texture-prop>
|
<texture-prop>texture-file</texture-prop>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>select</type>
|
<type>select</type>
|
||||||
<object-name>CommUse</object-name>
|
<object-name>CommStby100K</object-name>
|
||||||
<object-name>CommStby</object-name>
|
<object-name>CommStby100M</object-name>
|
||||||
<object-name>NavUse</object-name>
|
<object-name>CommStby10K</object-name>
|
||||||
<object-name>NavStby</object-name>
|
<object-name>CommStby10M</object-name>
|
||||||
|
<object-name>CommStby1K</object-name>
|
||||||
|
<object-name>CommStby1M</object-name>
|
||||||
|
<object-name>CommStbyDot</object-name>
|
||||||
|
<object-name>CommUse100K</object-name>
|
||||||
|
<object-name>CommUse100M</object-name>
|
||||||
|
<object-name>CommUse10K</object-name>
|
||||||
|
<object-name>CommUse10M</object-name>
|
||||||
|
<object-name>CommUse1K</object-name>
|
||||||
|
<object-name>CommUse1M</object-name>
|
||||||
|
<object-name>CommUseDot</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>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>KX165Line</object-name>
|
||||||
<condition>
|
<condition>
|
||||||
<property>/sim/model/c172p/lighting/comm0-power</property>
|
<property>/sim/model/c172p/lighting/comm0-power</property>
|
||||||
</condition>
|
</condition>
|
||||||
|
@ -232,8 +211,10 @@
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>material</type>
|
<type>material</type>
|
||||||
<object-name>CommToggle</object-name>
|
<object-name>COMxfer</object-name>
|
||||||
<object-name>NavToggle</object-name>
|
<object-name>COMchan</object-name>
|
||||||
|
<object-name>NAVxfer</object-name>
|
||||||
|
<object-name>NAVmode</object-name>
|
||||||
<condition>
|
<condition>
|
||||||
<not>
|
<not>
|
||||||
<property>sim/rendering/rembrandt/enabled</property>
|
<property>sim/rendering/rembrandt/enabled</property>
|
||||||
|
@ -249,10 +230,33 @@
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>material</type>
|
<type>material</type>
|
||||||
<object-name>CommUse</object-name>
|
<object-name>CommStby100K</object-name>
|
||||||
<object-name>CommStby</object-name>
|
<object-name>CommStby100M</object-name>
|
||||||
<object-name>NavUse</object-name>
|
<object-name>CommStby10K</object-name>
|
||||||
<object-name>NavStby</object-name>
|
<object-name>CommStby10M</object-name>
|
||||||
|
<object-name>CommStby1K</object-name>
|
||||||
|
<object-name>CommStby1M</object-name>
|
||||||
|
<object-name>CommStbyDot</object-name>
|
||||||
|
<object-name>CommUse100K</object-name>
|
||||||
|
<object-name>CommUse100M</object-name>
|
||||||
|
<object-name>CommUse10K</object-name>
|
||||||
|
<object-name>CommUse10M</object-name>
|
||||||
|
<object-name>CommUse1K</object-name>
|
||||||
|
<object-name>CommUse1M</object-name>
|
||||||
|
<object-name>CommUseDot</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>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>KX165Line</object-name>
|
||||||
<condition>
|
<condition>
|
||||||
<and>
|
<and>
|
||||||
<not>
|
<not>
|
||||||
|
@ -271,20 +275,45 @@
|
||||||
<factor-prop>/sim/model/c172p/lighting/comm0</factor-prop>
|
<factor-prop>/sim/model/c172p/lighting/comm0</factor-prop>
|
||||||
</emission>
|
</emission>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<effect>
|
<effect>
|
||||||
<inherits-from>Effects/model-transparent</inherits-from>
|
<inherits-from>Effects/model-transparent</inherits-from>
|
||||||
<object-name>CommUse</object-name>
|
<object-name>CommStby100K</object-name>
|
||||||
<object-name>CommStby</object-name>
|
<object-name>CommStby100M</object-name>
|
||||||
<object-name>NavUse</object-name>
|
<object-name>CommStby10K</object-name>
|
||||||
<object-name>NavStby</object-name>
|
<object-name>CommStby10M</object-name>
|
||||||
|
<object-name>CommStby1K</object-name>
|
||||||
|
<object-name>CommStby1M</object-name>
|
||||||
|
<object-name>CommStbyDot</object-name>
|
||||||
|
<object-name>CommUse100K</object-name>
|
||||||
|
<object-name>CommUse100M</object-name>
|
||||||
|
<object-name>CommUse10K</object-name>
|
||||||
|
<object-name>CommUse10M</object-name>
|
||||||
|
<object-name>CommUse1K</object-name>
|
||||||
|
<object-name>CommUse1M</object-name>
|
||||||
|
<object-name>CommUseDot</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>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>KX165Line</object-name>
|
||||||
|
<object-name>Screen</object-name>
|
||||||
</effect>
|
</effect>
|
||||||
|
|
||||||
<!-- Comm part -->
|
<!-- Comm part -->
|
||||||
<animation>
|
<animation>
|
||||||
<type>translate</type>
|
<type>translate</type>
|
||||||
<object-name>CommToggle</object-name>
|
<object-name>COMxfer</object-name>
|
||||||
<property alias="../../params/comm-frq-swp"/>
|
<property alias="../../params/comm-frq-swp"/>
|
||||||
<factor>-0.004</factor>
|
<factor>-0.003</factor>
|
||||||
<axis>
|
<axis>
|
||||||
<x>1</x>
|
<x>1</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
|
@ -361,6 +390,20 @@
|
||||||
<z>0</z>
|
<z>0</z>
|
||||||
</axis>
|
</axis>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>textranslate</type>
|
||||||
|
<object-name>CommUse1K</object-name>
|
||||||
|
<property alias="../../params/comm-frq-selected"/>
|
||||||
|
<step>0.001</step>
|
||||||
|
<factor>100</factor>
|
||||||
|
<bias>0.0001</bias>
|
||||||
|
<axis>
|
||||||
|
<x>1</x>
|
||||||
|
<y>0</y>
|
||||||
|
<z>0</z>
|
||||||
|
</axis>
|
||||||
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>textranslate</type>
|
<type>textranslate</type>
|
||||||
|
@ -431,13 +474,27 @@
|
||||||
<z>0</z>
|
<z>0</z>
|
||||||
</axis>
|
</axis>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>textranslate</type>
|
||||||
|
<object-name>CommStby1K</object-name>
|
||||||
|
<property alias="../../params/comm-frq-standby"/>
|
||||||
|
<step>0.001</step>
|
||||||
|
<factor>100</factor>
|
||||||
|
<bias>0.0001</bias>
|
||||||
|
<axis>
|
||||||
|
<x>1</x>
|
||||||
|
<y>0</y>
|
||||||
|
<z>0</z>
|
||||||
|
</axis>
|
||||||
|
</animation>
|
||||||
|
|
||||||
<!-- NAV part -->
|
<!-- NAV part -->
|
||||||
<animation>
|
<animation>
|
||||||
<type>translate</type>
|
<type>translate</type>
|
||||||
<object-name>NavToggle</object-name>
|
<object-name>NAVxfer</object-name>
|
||||||
<property alias="../../params/nav-frq-swp"/>
|
<property alias="../../params/nav-frq-swp"/>
|
||||||
<factor>-0.004</factor>
|
<factor>-0.003</factor>
|
||||||
<axis>
|
<axis>
|
||||||
<x>1</x>
|
<x>1</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
|
@ -588,7 +645,7 @@
|
||||||
<!-- Knobs and buttons -->
|
<!-- Knobs and buttons -->
|
||||||
<animation>
|
<animation>
|
||||||
<type>translate</type>
|
<type>translate</type>
|
||||||
<object-name>NavVolume</object-name>
|
<object-name>NAVvol</object-name>
|
||||||
<property alias="../../params/nav-audio"/>
|
<property alias="../../params/nav-audio"/>
|
||||||
<factor>0.002</factor>
|
<factor>0.002</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -602,7 +659,7 @@
|
||||||
<!-- Comm part -->
|
<!-- Comm part -->
|
||||||
<animation>
|
<animation>
|
||||||
<type>knob</type>
|
<type>knob</type>
|
||||||
<object-name>CommVolume</object-name>
|
<object-name>COMvol</object-name>
|
||||||
<property alias="../../params/comm-volume"/>
|
<property alias="../../params/comm-volume"/>
|
||||||
<factor>-65</factor>
|
<factor>-65</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -611,9 +668,9 @@
|
||||||
<z>0</z>
|
<z>0</z>
|
||||||
</axis>
|
</axis>
|
||||||
<center>
|
<center>
|
||||||
<x-m>-0.35003</x-m>
|
<x-m>-0.34939</x-m>
|
||||||
<y-m> 0.05092</y-m>
|
<y-m> 0.05082</y-m>
|
||||||
<z-m> 0.06991</z-m>
|
<z-m> 0.07122</z-m>
|
||||||
</center>
|
</center>
|
||||||
<action>
|
<action>
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -684,9 +741,33 @@
|
||||||
</hovered>
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>translate</type>
|
||||||
|
<object-name>COMknobKHZ</object-name>
|
||||||
|
<factor>0.005</factor>
|
||||||
|
<property>instrumentation/comm[0]/channel-mode-selector</property>
|
||||||
|
<axis>
|
||||||
|
<x>1</x>
|
||||||
|
<y>0</y>
|
||||||
|
<z>0</z>
|
||||||
|
</axis>
|
||||||
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>translate</type>
|
||||||
|
<object-name>COMchan</object-name>
|
||||||
|
<factor>-0.001</factor>
|
||||||
|
<property>instrumentation/comm[0]/channel-button</property>
|
||||||
|
<axis>
|
||||||
|
<x>1</x>
|
||||||
|
<y>0</y>
|
||||||
|
<z>0</z>
|
||||||
|
</axis>
|
||||||
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>knob</type>
|
<type>knob</type>
|
||||||
<object-name>CommKHz</object-name>
|
<object-name>COMknobKHZ</object-name>
|
||||||
<property alias="/params/comm-dial-khz"/>
|
<property alias="/params/comm-dial-khz"/>
|
||||||
<factor>-0.25</factor>
|
<factor>-0.25</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -695,24 +776,11 @@
|
||||||
<z>0</z>
|
<z>0</z>
|
||||||
</axis>
|
</axis>
|
||||||
<center>
|
<center>
|
||||||
<x-m>-0.34721</x-m>
|
<x-m>-0.34726</x-m>
|
||||||
<y-m> 0.09092</y-m>
|
<y-m> 0.09337</y-m>
|
||||||
<z-m> 0.07191</z-m>
|
<z-m> 0.07401</z-m>
|
||||||
</center>
|
</center>
|
||||||
<action>
|
<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>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property alias="/params/comm-dial-khz"/>
|
<property alias="/params/comm-dial-khz"/>
|
||||||
|
@ -721,23 +789,52 @@
|
||||||
<max>1440</max>
|
<max>1440</max>
|
||||||
<wrap>true</wrap>
|
<wrap>true</wrap>
|
||||||
</binding>
|
</binding>
|
||||||
|
</action>
|
||||||
|
<increase>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>
|
||||||
|
c172p.increment(0, 1);
|
||||||
|
</script>
|
||||||
|
</binding>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>c172p.click("kx165-1-dial")</script>
|
<script>c172p.click("kx165-1-dial")</script>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</increase>
|
||||||
|
<decrease>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>
|
||||||
|
c172p.increment(0, -1);
|
||||||
|
</script>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>c172p.click("kx165-1-dial")</script>
|
||||||
|
</binding>
|
||||||
|
</decrease>
|
||||||
|
<shift-action>
|
||||||
|
<repeatable>0</repeatable>
|
||||||
|
<binding>
|
||||||
|
<command>property-cycle</command>
|
||||||
|
<property>instrumentation/comm[0]/channel-mode-selector</property>
|
||||||
|
<value>0</value>
|
||||||
|
<value>1</value>
|
||||||
|
</binding>
|
||||||
|
</shift-action>
|
||||||
<hovered>
|
<hovered>
|
||||||
<binding>
|
<binding>
|
||||||
<command>set-tooltip</command>
|
<command>set-tooltip</command>
|
||||||
<tooltip-id>comm1-kHz</tooltip-id>
|
<tooltip-id>comm1-kHz</tooltip-id>
|
||||||
<label>Adjust COM1 kHz</label>
|
<label>Adjust COM1 kHz; Shift click to toggle 8.33</label>
|
||||||
</binding>
|
</binding>
|
||||||
</hovered>
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>knob</type>
|
<type>knob</type>
|
||||||
<object-name>CommMHz</object-name>
|
<object-name>COMknobMHZ</object-name>
|
||||||
<property alias="/params/comm-dial-mhz"/>
|
<property alias="/params/comm-dial-mhz"/>
|
||||||
<factor>-0.25</factor>
|
<factor>-0.25</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -746,9 +843,9 @@
|
||||||
<z>0</z>
|
<z>0</z>
|
||||||
</axis>
|
</axis>
|
||||||
<center>
|
<center>
|
||||||
<x-m>-0.34721</x-m>
|
<x-m>-0.34954</x-m>
|
||||||
<y-m> 0.09092</y-m>
|
<y-m> 0.09337</y-m>
|
||||||
<z-m> 0.07191</z-m>
|
<z-m> 0.07401</z-m>
|
||||||
</center>
|
</center>
|
||||||
<action>
|
<action>
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -759,7 +856,7 @@
|
||||||
<property alias="/params/comm-frq-standby"/>
|
<property alias="/params/comm-frq-standby"/>
|
||||||
<factor>1</factor>
|
<factor>1</factor>
|
||||||
<min>118.0</min>
|
<min>118.0</min>
|
||||||
<max>137.0</max>
|
<max>136.99167</max>
|
||||||
<wrap>true</wrap>
|
<wrap>true</wrap>
|
||||||
<mask>integer</mask>
|
<mask>integer</mask>
|
||||||
</binding>
|
</binding>
|
||||||
|
@ -787,7 +884,7 @@
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<type>pick</type>
|
||||||
<object-name>CommToggle</object-name>
|
<object-name>COMxfer</object-name>
|
||||||
<visible>true</visible>
|
<visible>true</visible>
|
||||||
<action>
|
<action>
|
||||||
<button>0</button>
|
<button>0</button>
|
||||||
|
@ -830,7 +927,7 @@
|
||||||
<!-- Nav part -->
|
<!-- Nav part -->
|
||||||
<animation>
|
<animation>
|
||||||
<type>knob</type>
|
<type>knob</type>
|
||||||
<object-name>NavVolume</object-name>
|
<object-name>NAVvol</object-name>
|
||||||
<property alias="../../params/nav-volume"/>
|
<property alias="../../params/nav-volume"/>
|
||||||
<factor>-65</factor>
|
<factor>-65</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -839,9 +936,9 @@
|
||||||
<z>0</z>
|
<z>0</z>
|
||||||
</axis>
|
</axis>
|
||||||
<center>
|
<center>
|
||||||
<x-m>-0.35003</x-m>
|
<x-m>-0.34939</x-m>
|
||||||
<y-m> 0.13092</y-m>
|
<y-m> 0.13118</y-m>
|
||||||
<z-m>0.06991</z-m>
|
<z-m> 0.07122</z-m>
|
||||||
</center>
|
</center>
|
||||||
<action>
|
<action>
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -890,7 +987,7 @@
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>knob</type>
|
<type>knob</type>
|
||||||
<object-name>NavKHz</object-name>
|
<object-name>NAVknobKHZ</object-name>
|
||||||
<property alias="/params/nav-dial-khz"/>
|
<property alias="/params/nav-dial-khz"/>
|
||||||
<factor>-0.25</factor>
|
<factor>-0.25</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -899,9 +996,9 @@
|
||||||
<z>0</z>
|
<z>0</z>
|
||||||
</axis>
|
</axis>
|
||||||
<center>
|
<center>
|
||||||
<x-m>-0.34568</x-m>
|
<x-m>-0.34726</x-m>
|
||||||
<y-m> 0.17092</y-m>
|
<y-m> 0.17527</y-m>
|
||||||
<z-m> 0.07191</z-m>
|
<z-m> 0.07401</z-m>
|
||||||
</center>
|
</center>
|
||||||
<action>
|
<action>
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -941,7 +1038,7 @@
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>knob</type>
|
<type>knob</type>
|
||||||
<object-name>NavMHz</object-name>
|
<object-name>NAVknobMHZ</object-name>
|
||||||
<property alias="/params/nav-dial-mhz"/>
|
<property alias="/params/nav-dial-mhz"/>
|
||||||
<factor>-0.25</factor>
|
<factor>-0.25</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -950,9 +1047,9 @@
|
||||||
<z>0</z>
|
<z>0</z>
|
||||||
</axis>
|
</axis>
|
||||||
<center>
|
<center>
|
||||||
<x-m>-0.34568</x-m>
|
<x-m>-0.34954</x-m>
|
||||||
<y-m> 0.17092</y-m>
|
<y-m> 0.17527</y-m>
|
||||||
<z-m> 0.07191</z-m>
|
<z-m> 0.07401</z-m>
|
||||||
</center>
|
</center>
|
||||||
<action>
|
<action>
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -991,7 +1088,7 @@
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<type>pick</type>
|
||||||
<object-name>NavToggle</object-name>
|
<object-name>NAVxfer</object-name>
|
||||||
<visible>true</visible>
|
<visible>true</visible>
|
||||||
<action>
|
<action>
|
||||||
<button>0</button>
|
<button>0</button>
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
<PropertyList>
|
<PropertyList>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Bendix/King KX155/165 COMM/NAV radio
|
Bendix/King KX155/165 COM/NAV radio
|
||||||
Use this instrument as COMM1/NAV1 radio
|
Use this instrument as COM1/NAV1 radio
|
||||||
|
|
||||||
Created by Torsten Dreyer, October 2008
|
Created by Torsten Dreyer, October 2008
|
||||||
|
|
||||||
|
@ -39,6 +39,7 @@
|
||||||
<comm-dial-mhz>instrumentation/comm[1]/frequencies/dial-mhz</comm-dial-mhz>
|
<comm-dial-mhz>instrumentation/comm[1]/frequencies/dial-mhz</comm-dial-mhz>
|
||||||
<comm-volume>instrumentation/comm[1]/volume-selected</comm-volume>
|
<comm-volume>instrumentation/comm[1]/volume-selected</comm-volume>
|
||||||
<comm-test>instrumentation/comm[1]/test-btn</comm-test>
|
<comm-test>instrumentation/comm[1]/test-btn</comm-test>
|
||||||
|
<channel-mode-selector>instrumentation/comm[1]/channel-mode-selector</channel-mode-selector>
|
||||||
<nav-frq-swp>instrumentation/nav[1]/frq-swap-btn</nav-frq-swp>
|
<nav-frq-swp>instrumentation/nav[1]/frq-swap-btn</nav-frq-swp>
|
||||||
<nav-frq-selected>instrumentation/nav[1]/frequencies/selected-mhz</nav-frq-selected>
|
<nav-frq-selected>instrumentation/nav[1]/frequencies/selected-mhz</nav-frq-selected>
|
||||||
<nav-frq-standby>instrumentation/nav[1]/frequencies/standby-mhz</nav-frq-standby>
|
<nav-frq-standby>instrumentation/nav[1]/frequencies/standby-mhz</nav-frq-standby>
|
||||||
|
@ -52,41 +53,40 @@
|
||||||
|
|
||||||
<effect>
|
<effect>
|
||||||
<inherits-from>../../../../Effects/interior/lm-kx165-2r</inherits-from>
|
<inherits-from>../../../../Effects/interior/lm-kx165-2r</inherits-from>
|
||||||
<object-name>CommKnobs</object-name>
|
<object-name>COMknobKHZ</object-name>
|
||||||
<object-name>CommVolume</object-name>
|
<object-name>COMknobMHZ</object-name>
|
||||||
<object-name>NavKnobs</object-name>
|
<object-name>COMxfer</object-name>
|
||||||
<object-name>NavVolume</object-name>
|
<object-name>COMvol</object-name>
|
||||||
<object-name>CommKHz</object-name>
|
<object-name>COMchan</object-name>
|
||||||
<object-name>CommMHz</object-name>
|
<object-name>NAVknobKHZ</object-name>
|
||||||
<object-name>CommToggle</object-name>
|
<object-name>NAVknobMHZ</object-name>
|
||||||
<object-name>CommVolume</object-name>
|
<object-name>NAVxfer</object-name>
|
||||||
<object-name>NavKHz</object-name>
|
<object-name>NAVmode</object-name>
|
||||||
<object-name>NavMHz</object-name>
|
<object-name>NAVvol</object-name>
|
||||||
<object-name>NavToggle</object-name>
|
|
||||||
<object-name>NavVolume</object-name>
|
|
||||||
</effect>
|
</effect>
|
||||||
<effect>
|
<effect>
|
||||||
<inherits-from>../../../../Effects/interior/lm-kx165-2</inherits-from>
|
<inherits-from>../../../../Effects/interior/lm-kx165-2</inherits-from>
|
||||||
<object-name>CommToggle</object-name>
|
<object-name>COMxfer</object-name>
|
||||||
<object-name>NavToggle</object-name>
|
<object-name>COMchan</object-name>
|
||||||
<object-name>Chassis</object-name>
|
<object-name>NAVxfer</object-name>
|
||||||
|
<object-name>NAVmode</object-name>
|
||||||
|
<object-name>KX165</object-name>
|
||||||
</effect>
|
</effect>
|
||||||
|
|
||||||
<effect>
|
<effect>
|
||||||
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
|
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
|
||||||
<object-name>CommUse</object-name>
|
|
||||||
<object-name>CommStby</object-name>
|
|
||||||
<object-name>NavUse</object-name>
|
|
||||||
<object-name>NavStby</object-name>
|
|
||||||
<object-name>CommStby100K</object-name>
|
<object-name>CommStby100K</object-name>
|
||||||
<object-name>CommStby100M</object-name>
|
<object-name>CommStby100M</object-name>
|
||||||
<object-name>CommStby10K</object-name>
|
<object-name>CommStby10K</object-name>
|
||||||
<object-name>CommStby10M</object-name>
|
<object-name>CommStby10M</object-name>
|
||||||
|
<object-name>CommStby1K</object-name>
|
||||||
<object-name>CommStby1M</object-name>
|
<object-name>CommStby1M</object-name>
|
||||||
<object-name>CommStbyDot</object-name>
|
<object-name>CommStbyDot</object-name>
|
||||||
<object-name>CommUse100K</object-name>
|
<object-name>CommUse100K</object-name>
|
||||||
<object-name>CommUse100M</object-name>
|
<object-name>CommUse100M</object-name>
|
||||||
<object-name>CommUse10K</object-name>
|
<object-name>CommUse10K</object-name>
|
||||||
<object-name>CommUse10M</object-name>
|
<object-name>CommUse10M</object-name>
|
||||||
|
<object-name>CommUse1K</object-name>
|
||||||
<object-name>CommUse1M</object-name>
|
<object-name>CommUse1M</object-name>
|
||||||
<object-name>CommUseDot</object-name>
|
<object-name>CommUseDot</object-name>
|
||||||
<object-name>NavStby100K</object-name>
|
<object-name>NavStby100K</object-name>
|
||||||
|
@ -101,25 +101,23 @@
|
||||||
<object-name>NavUse10M</object-name>
|
<object-name>NavUse10M</object-name>
|
||||||
<object-name>NavUse1M</object-name>
|
<object-name>NavUse1M</object-name>
|
||||||
<object-name>NavUseDot</object-name>
|
<object-name>NavUseDot</object-name>
|
||||||
|
<object-name>KX165Line</object-name>
|
||||||
|
<object-name>Screen</object-name>
|
||||||
</effect>
|
</effect>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>material</type>
|
<type>material</type>
|
||||||
<object-name>CommToggle</object-name>
|
<object-name>KX165</object-name>
|
||||||
<object-name>NavToggle</object-name>
|
<object-name>COMknobKHZ</object-name>
|
||||||
<object-name>Chassis</object-name>
|
<object-name>COMknobMHZ</object-name>
|
||||||
<object-name>CommKnobs</object-name>
|
<object-name>COMxfer</object-name>
|
||||||
<object-name>CommVolume</object-name>
|
<object-name>COMchan</object-name>
|
||||||
<object-name>NavKnobs</object-name>
|
<object-name>COMvol</object-name>
|
||||||
<object-name>NavVolume</object-name>
|
<object-name>NAVknobKHZ</object-name>
|
||||||
<object-name>CommKHz</object-name>
|
<object-name>NAVknobMHZ</object-name>
|
||||||
<object-name>CommMHz</object-name>
|
<object-name>NAVxfer</object-name>
|
||||||
<object-name>CommToggle</object-name>
|
<object-name>NAVmode</object-name>
|
||||||
<object-name>CommVolume</object-name>
|
<object-name>NAVvol</object-name>
|
||||||
<object-name>NavKHz</object-name>
|
|
||||||
<object-name>NavMHz</object-name>
|
|
||||||
<object-name>NavToggle</object-name>
|
|
||||||
<object-name>NavVolume</object-name>
|
|
||||||
<condition>
|
<condition>
|
||||||
<not>
|
<not>
|
||||||
<property>/sim/rendering/shaders/skydome</property>
|
<property>/sim/rendering/shaders/skydome</property>
|
||||||
|
@ -132,99 +130,80 @@
|
||||||
</emission>
|
</emission>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<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>
|
<animation>
|
||||||
<type>material</type>
|
<type>material</type>
|
||||||
<object-name>CommKnobs</object-name>
|
<object-name>COMknobKHZ</object-name>
|
||||||
<object-name>CommKHz</object-name>
|
<object-name>COMknobMHZ</object-name>
|
||||||
<object-name>CommMHz</object-name>
|
<object-name>COMxfer</object-name>
|
||||||
<object-name>CommToggle</object-name>
|
<object-name>COMchan</object-name>
|
||||||
<object-name>CommVolume</object-name>
|
<object-name>COMvol</object-name>
|
||||||
<object-name>CommStby</object-name>
|
|
||||||
<object-name>CommStby100K</object-name>
|
<object-name>CommStby100K</object-name>
|
||||||
<object-name>CommStby100M</object-name>
|
<object-name>CommStby100M</object-name>
|
||||||
<object-name>CommStby10K</object-name>
|
<object-name>CommStby10K</object-name>
|
||||||
<object-name>CommStby10M</object-name>
|
<object-name>CommStby10M</object-name>
|
||||||
|
<object-name>CommStby1K</object-name>
|
||||||
<object-name>CommStby1M</object-name>
|
<object-name>CommStby1M</object-name>
|
||||||
<object-name>CommStbyDot</object-name>
|
<object-name>CommStbyDot</object-name>
|
||||||
<object-name>CommUse</object-name>
|
|
||||||
<object-name>CommUse100K</object-name>
|
<object-name>CommUse100K</object-name>
|
||||||
<object-name>CommUse100M</object-name>
|
<object-name>CommUse100M</object-name>
|
||||||
<object-name>CommUse10K</object-name>
|
<object-name>CommUse10K</object-name>
|
||||||
<object-name>CommUse10M</object-name>
|
<object-name>CommUse10M</object-name>
|
||||||
|
<object-name>CommUse1K</object-name>
|
||||||
<object-name>CommUse1M</object-name>
|
<object-name>CommUse1M</object-name>
|
||||||
<object-name>CommUseDot</object-name>
|
<object-name>CommUseDot</object-name>
|
||||||
<object-name>NavKnobs</object-name>
|
<object-name>NAVknobKHZ</object-name>
|
||||||
<object-name>NavKHz</object-name>
|
<object-name>NAVknobMHZ</object-name>
|
||||||
<object-name>NavMHz</object-name>
|
<object-name>NAVxfer</object-name>
|
||||||
<object-name>NavToggle</object-name>
|
<object-name>NAVmode</object-name>
|
||||||
<object-name>NavVolume</object-name>
|
<object-name>NAVvol</object-name>
|
||||||
<object-name>NavStby</object-name>
|
|
||||||
<object-name>NavStby100K</object-name>
|
<object-name>NavStby100K</object-name>
|
||||||
<object-name>NavStby100M</object-name>
|
<object-name>NavStby100M</object-name>
|
||||||
<object-name>NavStby10K</object-name>
|
<object-name>NavStby10K</object-name>
|
||||||
<object-name>NavStby10M</object-name>
|
<object-name>NavStby10M</object-name>
|
||||||
<object-name>NavStby1M</object-name>
|
<object-name>NavStby1M</object-name>
|
||||||
<object-name>NavStbyDot</object-name>
|
<object-name>NavStbyDot</object-name>
|
||||||
<object-name>NavUse</object-name>
|
|
||||||
<object-name>NavUse100K</object-name>
|
<object-name>NavUse100K</object-name>
|
||||||
<object-name>NavUse100M</object-name>
|
<object-name>NavUse100M</object-name>
|
||||||
<object-name>NavUse10K</object-name>
|
<object-name>NavUse10K</object-name>
|
||||||
<object-name>NavUse10M</object-name>
|
<object-name>NavUse10M</object-name>
|
||||||
<object-name>NavUse1M</object-name>
|
<object-name>NavUse1M</object-name>
|
||||||
<object-name>NavUseDot</object-name>
|
<object-name>NavUseDot</object-name>
|
||||||
<object-name>Chassis</object-name>
|
<object-name>KX165Line</object-name>
|
||||||
|
<object-name>KX165</object-name>
|
||||||
|
<object-name>Screen</object-name>
|
||||||
<property-base>/sim/instrumentation/comm[1]</property-base>
|
<property-base>/sim/instrumentation/comm[1]</property-base>
|
||||||
<texture-prop>texture-file</texture-prop>
|
<texture-prop>texture-file</texture-prop>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>select</type>
|
<type>select</type>
|
||||||
<object-name>CommUse</object-name>
|
<object-name>CommStby100K</object-name>
|
||||||
<object-name>CommStby</object-name>
|
<object-name>CommStby100M</object-name>
|
||||||
<object-name>NavUse</object-name>
|
<object-name>CommStby10K</object-name>
|
||||||
<object-name>NavStby</object-name>
|
<object-name>CommStby10M</object-name>
|
||||||
|
<object-name>CommStby1K</object-name>
|
||||||
|
<object-name>CommStby1M</object-name>
|
||||||
|
<object-name>CommStbyDot</object-name>
|
||||||
|
<object-name>CommUse100K</object-name>
|
||||||
|
<object-name>CommUse100M</object-name>
|
||||||
|
<object-name>CommUse10K</object-name>
|
||||||
|
<object-name>CommUse10M</object-name>
|
||||||
|
<object-name>CommUse1K</object-name>
|
||||||
|
<object-name>CommUse1M</object-name>
|
||||||
|
<object-name>CommUseDot</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>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>KX165Line</object-name>
|
||||||
<condition>
|
<condition>
|
||||||
<property>/sim/model/c172p/lighting/comm1-power</property>
|
<property>/sim/model/c172p/lighting/comm1-power</property>
|
||||||
</condition>
|
</condition>
|
||||||
|
@ -232,8 +211,10 @@
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>material</type>
|
<type>material</type>
|
||||||
<object-name>CommToggle</object-name>
|
<object-name>COMxfer</object-name>
|
||||||
<object-name>NavToggle</object-name>
|
<object-name>COMchan</object-name>
|
||||||
|
<object-name>NAVxfer</object-name>
|
||||||
|
<object-name>NAVmode</object-name>
|
||||||
<condition>
|
<condition>
|
||||||
<not>
|
<not>
|
||||||
<property>sim/rendering/rembrandt/enabled</property>
|
<property>sim/rendering/rembrandt/enabled</property>
|
||||||
|
@ -249,10 +230,33 @@
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>material</type>
|
<type>material</type>
|
||||||
<object-name>CommUse</object-name>
|
<object-name>CommStby100K</object-name>
|
||||||
<object-name>CommStby</object-name>
|
<object-name>CommStby100M</object-name>
|
||||||
<object-name>NavUse</object-name>
|
<object-name>CommStby10K</object-name>
|
||||||
<object-name>NavStby</object-name>
|
<object-name>CommStby10M</object-name>
|
||||||
|
<object-name>CommStby1K</object-name>
|
||||||
|
<object-name>CommStby1M</object-name>
|
||||||
|
<object-name>CommStbyDot</object-name>
|
||||||
|
<object-name>CommUse100K</object-name>
|
||||||
|
<object-name>CommUse100M</object-name>
|
||||||
|
<object-name>CommUse10K</object-name>
|
||||||
|
<object-name>CommUse10M</object-name>
|
||||||
|
<object-name>CommUse1K</object-name>
|
||||||
|
<object-name>CommUse1M</object-name>
|
||||||
|
<object-name>CommUseDot</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>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>KX165Line</object-name>
|
||||||
<condition>
|
<condition>
|
||||||
<and>
|
<and>
|
||||||
<not>
|
<not>
|
||||||
|
@ -271,20 +275,45 @@
|
||||||
<factor-prop>/sim/model/c172p/lighting/comm1</factor-prop>
|
<factor-prop>/sim/model/c172p/lighting/comm1</factor-prop>
|
||||||
</emission>
|
</emission>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<effect>
|
<effect>
|
||||||
<inherits-from>Effects/model-transparent</inherits-from>
|
<inherits-from>Effects/model-transparent</inherits-from>
|
||||||
<object-name>CommUse</object-name>
|
<object-name>CommStby100K</object-name>
|
||||||
<object-name>CommStby</object-name>
|
<object-name>CommStby100M</object-name>
|
||||||
<object-name>NavUse</object-name>
|
<object-name>CommStby10K</object-name>
|
||||||
<object-name>NavStby</object-name>
|
<object-name>CommStby10M</object-name>
|
||||||
|
<object-name>CommStby1K</object-name>
|
||||||
|
<object-name>CommStby1M</object-name>
|
||||||
|
<object-name>CommStbyDot</object-name>
|
||||||
|
<object-name>CommUse100K</object-name>
|
||||||
|
<object-name>CommUse100M</object-name>
|
||||||
|
<object-name>CommUse10K</object-name>
|
||||||
|
<object-name>CommUse10M</object-name>
|
||||||
|
<object-name>CommUse1K</object-name>
|
||||||
|
<object-name>CommUse1M</object-name>
|
||||||
|
<object-name>CommUseDot</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>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>KX165Line</object-name>
|
||||||
|
<object-name>Screen</object-name>
|
||||||
</effect>
|
</effect>
|
||||||
|
|
||||||
<!-- Comm part -->
|
<!-- comm part -->
|
||||||
<animation>
|
<animation>
|
||||||
<type>translate</type>
|
<type>translate</type>
|
||||||
<object-name>CommToggle</object-name>
|
<object-name>COMxfer</object-name>
|
||||||
<property alias="../../params/comm-frq-swp"/>
|
<property alias="../../params/comm-frq-swp"/>
|
||||||
<factor>-0.004</factor>
|
<factor>-0.003</factor>
|
||||||
<axis>
|
<axis>
|
||||||
<x>1</x>
|
<x>1</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
|
@ -361,6 +390,20 @@
|
||||||
<z>0</z>
|
<z>0</z>
|
||||||
</axis>
|
</axis>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>textranslate</type>
|
||||||
|
<object-name>CommUse1K</object-name>
|
||||||
|
<property alias="../../params/comm-frq-selected"/>
|
||||||
|
<step>0.001</step>
|
||||||
|
<factor>100</factor>
|
||||||
|
<bias>0.0001</bias>
|
||||||
|
<axis>
|
||||||
|
<x>1</x>
|
||||||
|
<y>0</y>
|
||||||
|
<z>0</z>
|
||||||
|
</axis>
|
||||||
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>textranslate</type>
|
<type>textranslate</type>
|
||||||
|
@ -431,13 +474,27 @@
|
||||||
<z>0</z>
|
<z>0</z>
|
||||||
</axis>
|
</axis>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>textranslate</type>
|
||||||
|
<object-name>CommStby1K</object-name>
|
||||||
|
<property alias="../../params/comm-frq-standby"/>
|
||||||
|
<step>0.001</step>
|
||||||
|
<factor>100</factor>
|
||||||
|
<bias>0.0001</bias>
|
||||||
|
<axis>
|
||||||
|
<x>1</x>
|
||||||
|
<y>0</y>
|
||||||
|
<z>0</z>
|
||||||
|
</axis>
|
||||||
|
</animation>
|
||||||
|
|
||||||
<!-- NAV part -->
|
<!-- NAV part -->
|
||||||
<animation>
|
<animation>
|
||||||
<type>translate</type>
|
<type>translate</type>
|
||||||
<object-name>NavToggle</object-name>
|
<object-name>NAVxfer</object-name>
|
||||||
<property alias="../../params/nav-frq-swp"/>
|
<property alias="../../params/nav-frq-swp"/>
|
||||||
<factor>-0.004</factor>
|
<factor>-0.003</factor>
|
||||||
<axis>
|
<axis>
|
||||||
<x>1</x>
|
<x>1</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
|
@ -585,10 +642,9 @@
|
||||||
</axis>
|
</axis>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<!-- Knobs and buttons -->
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>translate</type>
|
<type>translate</type>
|
||||||
<object-name>NavVolume</object-name>
|
<object-name>NAVvol</object-name>
|
||||||
<property alias="../../params/nav-audio"/>
|
<property alias="../../params/nav-audio"/>
|
||||||
<factor>0.002</factor>
|
<factor>0.002</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -597,12 +653,12 @@
|
||||||
<z>0</z>
|
<z>0</z>
|
||||||
</axis>
|
</axis>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<!-- Actions -->
|
<!-- Actions -->
|
||||||
<!-- Comm part -->
|
<!-- Comm part -->
|
||||||
<animation>
|
<animation>
|
||||||
<type>knob</type>
|
<type>knob</type>
|
||||||
<object-name>CommVolume</object-name>
|
<object-name>COMvol</object-name>
|
||||||
<property alias="../../params/comm-volume"/>
|
<property alias="../../params/comm-volume"/>
|
||||||
<factor>-65</factor>
|
<factor>-65</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -611,9 +667,9 @@
|
||||||
<z>0</z>
|
<z>0</z>
|
||||||
</axis>
|
</axis>
|
||||||
<center>
|
<center>
|
||||||
<x-m>-0.34509</x-m>
|
<x-m>-0.34939</x-m>
|
||||||
<y-m> 0.05097</y-m>
|
<y-m> 0.05132</y-m>
|
||||||
<z-m> 0.01597</z-m>
|
<z-m> 0.01737</z-m>
|
||||||
</center>
|
</center>
|
||||||
<action>
|
<action>
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -684,9 +740,33 @@
|
||||||
</hovered>
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>translate</type>
|
||||||
|
<object-name>COMknobKHZ</object-name>
|
||||||
|
<factor>0.005</factor>
|
||||||
|
<property>instrumentation/comm[1]/channel-mode-selector</property>
|
||||||
|
<axis>
|
||||||
|
<x>1</x>
|
||||||
|
<y>0</y>
|
||||||
|
<z>0</z>
|
||||||
|
</axis>
|
||||||
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>translate</type>
|
||||||
|
<object-name>COMchan</object-name>
|
||||||
|
<factor>-0.001</factor>
|
||||||
|
<property>instrumentation/comm[1]/channel-button</property>
|
||||||
|
<axis>
|
||||||
|
<x>1</x>
|
||||||
|
<y>0</y>
|
||||||
|
<z>0</z>
|
||||||
|
</axis>
|
||||||
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>knob</type>
|
<type>knob</type>
|
||||||
<object-name>CommKHz</object-name>
|
<object-name>COMknobKHZ</object-name>
|
||||||
<property alias="/params/comm-dial-khz"/>
|
<property alias="/params/comm-dial-khz"/>
|
||||||
<factor>-0.25</factor>
|
<factor>-0.25</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -695,24 +775,11 @@
|
||||||
<z>0</z>
|
<z>0</z>
|
||||||
</axis>
|
</axis>
|
||||||
<center>
|
<center>
|
||||||
<x-m>-0.34727</x-m>
|
<x-m>-0.34726</x-m>
|
||||||
<y-m> 0.09097</y-m>
|
<y-m> 0.09336</y-m>
|
||||||
<z-m> 0.01797</z-m>
|
<z-m> 0.02016</z-m>
|
||||||
</center>
|
</center>
|
||||||
<action>
|
<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>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property alias="/params/comm-dial-khz"/>
|
<property alias="/params/comm-dial-khz"/>
|
||||||
|
@ -721,23 +788,52 @@
|
||||||
<max>1440</max>
|
<max>1440</max>
|
||||||
<wrap>true</wrap>
|
<wrap>true</wrap>
|
||||||
</binding>
|
</binding>
|
||||||
|
</action>
|
||||||
|
<increase>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>
|
||||||
|
c172p.increment(1, 1);
|
||||||
|
</script>
|
||||||
|
</binding>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>c172p.click("kx165-2-dial")</script>
|
<script>c172p.click("kx165-2-dial")</script>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</increase>
|
||||||
|
<decrease>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>
|
||||||
|
c172p.increment(1, -1);
|
||||||
|
</script>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>c172p.click("kx165-2-dial")</script>
|
||||||
|
</binding>
|
||||||
|
</decrease>
|
||||||
|
<shift-action>
|
||||||
|
<repeatable>0</repeatable>
|
||||||
|
<binding>
|
||||||
|
<command>property-cycle</command>
|
||||||
|
<property>instrumentation/comm[1]/channel-mode-selector</property>
|
||||||
|
<value>0</value>
|
||||||
|
<value>1</value>
|
||||||
|
</binding>
|
||||||
|
</shift-action>
|
||||||
<hovered>
|
<hovered>
|
||||||
<binding>
|
<binding>
|
||||||
<command>set-tooltip</command>
|
<command>set-tooltip</command>
|
||||||
<tooltip-id>comm2-kHz</tooltip-id>
|
<tooltip-id>comm2-kHz</tooltip-id>
|
||||||
<label>Adjust COM2 kHz</label>
|
<label>Adjust COM2 kHz; Shift click to toggle 8.33</label>
|
||||||
</binding>
|
</binding>
|
||||||
</hovered>
|
</hovered>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>knob</type>
|
<type>knob</type>
|
||||||
<object-name>CommMHz</object-name>
|
<object-name>COMknobMHZ</object-name>
|
||||||
<property alias="/params/comm-dial-mhz"/>
|
<property alias="/params/comm-dial-mhz"/>
|
||||||
<factor>-0.25</factor>
|
<factor>-0.25</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -746,9 +842,9 @@
|
||||||
<z>0</z>
|
<z>0</z>
|
||||||
</axis>
|
</axis>
|
||||||
<center>
|
<center>
|
||||||
<x-m>-0.34727</x-m>
|
<x-m>-0.34954</x-m>
|
||||||
<y-m> 0.09097</y-m>
|
<y-m> 0.09337</y-m>
|
||||||
<z-m> 0.01797</z-m>
|
<z-m> 0.02016</z-m>
|
||||||
</center>
|
</center>
|
||||||
<action>
|
<action>
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -759,7 +855,7 @@
|
||||||
<property alias="/params/comm-frq-standby"/>
|
<property alias="/params/comm-frq-standby"/>
|
||||||
<factor>1</factor>
|
<factor>1</factor>
|
||||||
<min>118.0</min>
|
<min>118.0</min>
|
||||||
<max>137.0</max>
|
<max>136.99167</max>
|
||||||
<wrap>true</wrap>
|
<wrap>true</wrap>
|
||||||
<mask>integer</mask>
|
<mask>integer</mask>
|
||||||
</binding>
|
</binding>
|
||||||
|
@ -787,7 +883,7 @@
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<type>pick</type>
|
||||||
<object-name>CommToggle</object-name>
|
<object-name>COMxfer</object-name>
|
||||||
<visible>true</visible>
|
<visible>true</visible>
|
||||||
<action>
|
<action>
|
||||||
<button>0</button>
|
<button>0</button>
|
||||||
|
@ -821,7 +917,7 @@
|
||||||
<hovered>
|
<hovered>
|
||||||
<binding>
|
<binding>
|
||||||
<command>set-tooltip</command>
|
<command>set-tooltip</command>
|
||||||
<tooltip-id>comm2-toggle</tooltip-id>
|
<tooltip-id>comm1-toggle</tooltip-id>
|
||||||
<label>Swap COM2 frequencies</label>
|
<label>Swap COM2 frequencies</label>
|
||||||
</binding>
|
</binding>
|
||||||
</hovered>
|
</hovered>
|
||||||
|
@ -830,7 +926,7 @@
|
||||||
<!-- Nav part -->
|
<!-- Nav part -->
|
||||||
<animation>
|
<animation>
|
||||||
<type>knob</type>
|
<type>knob</type>
|
||||||
<object-name>NavVolume</object-name>
|
<object-name>NAVvol</object-name>
|
||||||
<property alias="../../params/nav-volume"/>
|
<property alias="../../params/nav-volume"/>
|
||||||
<factor>-65</factor>
|
<factor>-65</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -839,9 +935,9 @@
|
||||||
<z>0</z>
|
<z>0</z>
|
||||||
</axis>
|
</axis>
|
||||||
<center>
|
<center>
|
||||||
<x-m>-0.35009</x-m>
|
<x-m>-0.34939</x-m>
|
||||||
<y-m> 0.13097</y-m>
|
<y-m> 0.13118</y-m>
|
||||||
<z-m> 0.01597</z-m>
|
<z-m> 0.01737</z-m>
|
||||||
</center>
|
</center>
|
||||||
<action>
|
<action>
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -866,7 +962,7 @@
|
||||||
<hovered>
|
<hovered>
|
||||||
<binding>
|
<binding>
|
||||||
<command>set-tooltip</command>
|
<command>set-tooltip</command>
|
||||||
<tooltip-id>nav2-volume</tooltip-id>
|
<tooltip-id>nav1-volume</tooltip-id>
|
||||||
<label>%s</label>
|
<label>%s</label>
|
||||||
<measure-text>NAV2 Volume: 100% ; Ident disabled (Shift + click to pull)</measure-text>
|
<measure-text>NAV2 Volume: 100% ; Ident disabled (Shift + click to pull)</measure-text>
|
||||||
<property alias="../../../../params/nav-volume"/>
|
<property alias="../../../../params/nav-volume"/>
|
||||||
|
@ -890,7 +986,7 @@
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>knob</type>
|
<type>knob</type>
|
||||||
<object-name>NavKHz</object-name>
|
<object-name>NAVknobKHZ</object-name>
|
||||||
<property alias="/params/nav-dial-khz"/>
|
<property alias="/params/nav-dial-khz"/>
|
||||||
<factor>-0.25</factor>
|
<factor>-0.25</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -899,9 +995,9 @@
|
||||||
<z>0</z>
|
<z>0</z>
|
||||||
</axis>
|
</axis>
|
||||||
<center>
|
<center>
|
||||||
<x-m>-0.34574</x-m>
|
<x-m>-0.34726</x-m>
|
||||||
<y-m> 0.17097</y-m>
|
<y-m> 0.17527</y-m>
|
||||||
<z-m> 0.01797</z-m>
|
<z-m> 0.02016</z-m>
|
||||||
</center>
|
</center>
|
||||||
<action>
|
<action>
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -933,7 +1029,7 @@
|
||||||
<hovered>
|
<hovered>
|
||||||
<binding>
|
<binding>
|
||||||
<command>set-tooltip</command>
|
<command>set-tooltip</command>
|
||||||
<tooltip-id>nav2-kHz</tooltip-id>
|
<tooltip-id>nav1-kHz</tooltip-id>
|
||||||
<label>Adjust NAV2 kHz</label>
|
<label>Adjust NAV2 kHz</label>
|
||||||
</binding>
|
</binding>
|
||||||
</hovered>
|
</hovered>
|
||||||
|
@ -941,7 +1037,7 @@
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>knob</type>
|
<type>knob</type>
|
||||||
<object-name>NavMHz</object-name>
|
<object-name>NAVknobMHZ</object-name>
|
||||||
<property alias="/params/nav-dial-mhz"/>
|
<property alias="/params/nav-dial-mhz"/>
|
||||||
<factor>-0.25</factor>
|
<factor>-0.25</factor>
|
||||||
<axis>
|
<axis>
|
||||||
|
@ -950,9 +1046,9 @@
|
||||||
<z>0</z>
|
<z>0</z>
|
||||||
</axis>
|
</axis>
|
||||||
<center>
|
<center>
|
||||||
<x-m>-0.34574</x-m>
|
<x-m>-0.34954</x-m>
|
||||||
<y-m> 0.17097</y-m>
|
<y-m> 0.17527</y-m>
|
||||||
<z-m> 0.01797</z-m>
|
<z-m> 0.02016</z-m>
|
||||||
</center>
|
</center>
|
||||||
<action>
|
<action>
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -991,7 +1087,7 @@
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<type>pick</type>
|
||||||
<object-name>NavToggle</object-name>
|
<object-name>NAVxfer</object-name>
|
||||||
<visible>true</visible>
|
<visible>true</visible>
|
||||||
<action>
|
<action>
|
||||||
<button>0</button>
|
<button>0</button>
|
||||||
|
@ -1008,7 +1104,7 @@
|
||||||
</binding>
|
</binding>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>c172p.click("kx165-2")</script>
|
<script>c172p.click("kx165-1")</script>
|
||||||
</binding>
|
</binding>
|
||||||
<mod-up>
|
<mod-up>
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -1025,7 +1121,7 @@
|
||||||
<hovered>
|
<hovered>
|
||||||
<binding>
|
<binding>
|
||||||
<command>set-tooltip</command>
|
<command>set-tooltip</command>
|
||||||
<tooltip-id>nav2-toggle</tooltip-id>
|
<tooltip-id>nav1-toggle</tooltip-id>
|
||||||
<label>Swap NAV2 frequencies</label>
|
<label>Swap NAV2 frequencies</label>
|
||||||
</binding>
|
</binding>
|
||||||
</hovered>
|
</hovered>
|
||||||
|
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 41 KiB |
|
@ -15,7 +15,7 @@ MATERIAL "exterior-parts.003" rgb 0.640 0.640 0.640 amb 1.000 1.000 1.000 emis
|
||||||
MATERIAL "mat_antenna" rgb 0.712 0.712 0.712 amb 0.890 0.890 0.890 emis 0.000 0.000 0.000 spec 0.500 0.500 0.500 shi 12 trans 0.000
|
MATERIAL "mat_antenna" rgb 0.712 0.712 0.712 amb 0.890 0.890 0.890 emis 0.000 0.000 0.000 spec 0.500 0.500 0.500 shi 12 trans 0.000
|
||||||
MATERIAL "glass-exterior" rgb 0.648 1.000 0.709 amb 1.000 1.000 1.000 emis 0.000 0.000 0.000 spec 0.599 1.000 1.000 shi 12 trans 0.800
|
MATERIAL "glass-exterior" rgb 0.648 1.000 0.709 amb 1.000 1.000 1.000 emis 0.000 0.000 0.000 spec 0.599 1.000 1.000 shi 12 trans 0.800
|
||||||
MATERIAL "Material.Glass" rgb 1.000 1.000 1.000 amb 1.000 1.000 1.000 emis 0.000 0.000 0.000 spec 1.000 1.000 1.000 shi 12 trans 0.655
|
MATERIAL "Material.Glass" rgb 1.000 1.000 1.000 amb 1.000 1.000 1.000 emis 0.000 0.000 0.000 spec 1.000 1.000 1.000 shi 12 trans 0.655
|
||||||
MATERIAL "Panel.Glass" rgb 0.014 0.014 0.014 amb 0.500 0.500 0.500 emis 0.000 0.000 0.000 spec 0.844 0.844 0.844 shi 5 trans 0.850
|
MATERIAL "Panel.Glass.001" rgb 0.014 0.014 0.014 amb 0.500 0.500 0.500 emis 0.000 0.000 0.000 spec 0.844 0.844 0.844 shi 5 trans 0.850
|
||||||
MATERIAL "mat_panels_rack_base" rgb 0.800 0.684 0.600 amb 1.000 1.000 1.000 emis 0.000 0.000 0.000 spec 0.216 0.216 0.216 shi 2 trans 0.000
|
MATERIAL "mat_panels_rack_base" rgb 0.800 0.684 0.600 amb 1.000 1.000 1.000 emis 0.000 0.000 0.000 spec 0.216 0.216 0.216 shi 2 trans 0.000
|
||||||
MATERIAL "visors" rgb 0.640 0.640 0.640 amb 1.000 1.000 1.000 emis 0.000 0.000 0.000 spec 0.500 0.500 0.500 shi 12 trans 0.000
|
MATERIAL "visors" rgb 0.640 0.640 0.640 amb 1.000 1.000 1.000 emis 0.000 0.000 0.000 spec 0.500 0.500 0.500 shi 12 trans 0.000
|
||||||
MATERIAL "glareshield" rgb 0.012 0.012 0.012 amb 1.000 1.000 1.000 emis 0.000 0.000 0.000 spec 0.776 0.776 0.776 shi 64 trans 0.000
|
MATERIAL "glareshield" rgb 0.012 0.012 0.012 amb 1.000 1.000 1.000 emis 0.000 0.000 0.000 spec 0.776 0.776 0.776 shi 64 trans 0.000
|
||||||
|
@ -71208,7 +71208,7 @@ kids 0
|
||||||
OBJECT poly
|
OBJECT poly
|
||||||
name "glass_panel"
|
name "glass_panel"
|
||||||
data 10
|
data 10
|
||||||
Circle.014
|
Circle.015
|
||||||
crease 180.0
|
crease 180.0
|
||||||
numvert 513
|
numvert 513
|
||||||
-0.36977 0.02208 0.06724
|
-0.36977 0.02208 0.06724
|
||||||
|
@ -71690,14 +71690,6 @@ numvert 513
|
||||||
-0.34967 0.03191 -0.11597
|
-0.34967 0.03191 -0.11597
|
||||||
-0.34967 0.05254 -0.18965
|
-0.34967 0.05254 -0.18965
|
||||||
-0.34967 0.03198 -0.18957
|
-0.34967 0.03198 -0.18957
|
||||||
-0.34967 0.10657 -0.03593
|
|
||||||
-0.34967 0.08589 -0.03593
|
|
||||||
-0.34967 0.10652 -0.1096
|
|
||||||
-0.34967 0.08597 -0.10952
|
|
||||||
-0.34967 0.10657 -0.11597
|
|
||||||
-0.34967 0.08589 -0.11597
|
|
||||||
-0.34967 0.10652 -0.18965
|
|
||||||
-0.34967 0.08597 -0.18957
|
|
||||||
-0.35218 -0.08221 -0.05833
|
-0.35218 -0.08221 -0.05833
|
||||||
-0.35218 -0.10049 -0.05833
|
-0.35218 -0.10049 -0.05833
|
||||||
-0.35218 -0.08225 -0.14815
|
-0.35218 -0.08225 -0.14815
|
||||||
|
@ -71724,6 +71716,14 @@ numvert 513
|
||||||
-0.35648 0.03007 -0.40629
|
-0.35648 0.03007 -0.40629
|
||||||
-0.35648 0.03569 -0.43268
|
-0.35648 0.03569 -0.43268
|
||||||
-0.35648 0.03009 -0.43265
|
-0.35648 0.03009 -0.43265
|
||||||
|
-0.34911 0.10568 -0.03567
|
||||||
|
-0.34911 0.08624 -0.03567
|
||||||
|
-0.34911 0.10563 -0.18902
|
||||||
|
-0.34911 0.08632 -0.18894
|
||||||
|
-0.34911 0.05151 -0.03567
|
||||||
|
-0.34911 0.03207 -0.03567
|
||||||
|
-0.34911 0.05146 -0.18902
|
||||||
|
-0.34911 0.03215 -0.18894
|
||||||
numsurf 25
|
numsurf 25
|
||||||
SURF 0X10
|
SURF 0X10
|
||||||
mat 16
|
mat 16
|
||||||
|
@ -72261,58 +72261,58 @@ refs 4
|
||||||
SURF 0X0
|
SURF 0X0
|
||||||
mat 16
|
mat 16
|
||||||
refs 4
|
refs 4
|
||||||
480 0.238006 0.987558
|
480 0.815238 0.320389
|
||||||
482 0.238277 0.73561
|
482 0.815598 0.01324
|
||||||
481 0.307519 0.735342
|
481 0.876815 0.012935
|
||||||
479 0.307657 0.987558
|
479 0.876815 0.32041
|
||||||
SURF 0X0
|
|
||||||
mat 16
|
|
||||||
refs 4
|
|
||||||
484 0.876815 0.265151
|
|
||||||
486 0.877086 0.013203
|
|
||||||
485 0.946328 0.012935
|
|
||||||
483 0.946466 0.265151
|
|
||||||
SURF 0X0
|
|
||||||
mat 16
|
|
||||||
refs 4
|
|
||||||
488 0.815238 0.320389
|
|
||||||
490 0.815598 0.01324
|
|
||||||
489 0.876815 0.012935
|
|
||||||
487 0.876815 0.32041
|
|
||||||
SURF 0X0
|
SURF 0X0
|
||||||
mat 16
|
mat 16
|
||||||
refs 10
|
refs 10
|
||||||
496 0.723538 0.260261
|
488 0.723538 0.260261
|
||||||
497 0.723538 0.035975
|
489 0.723538 0.035975
|
||||||
498 0.742945 0.012935
|
490 0.742945 0.012935
|
||||||
491 0.796492 0.013389
|
483 0.796492 0.013389
|
||||||
492 0.815238 0.035939
|
484 0.815238 0.035939
|
||||||
499 0.815238 0.070373
|
491 0.815238 0.070373
|
||||||
500 0.815238 0.128039
|
492 0.815238 0.128039
|
||||||
493 0.815238 0.26154
|
485 0.815238 0.26154
|
||||||
494 0.798547 0.281905
|
486 0.798547 0.281905
|
||||||
495 0.741095 0.281905
|
487 0.741095 0.281905
|
||||||
SURF 0X0
|
SURF 0X0
|
||||||
mat 16
|
mat 16
|
||||||
refs 4
|
refs 4
|
||||||
502 0.948794 1
|
494 0.948794 1
|
||||||
504 0.949094 0.49508
|
496 0.949094 0.49508
|
||||||
503 1 0.494542
|
495 1 0.494542
|
||||||
501 1 0.999999
|
493 1 0.999999
|
||||||
SURF 0X0
|
SURF 0X0
|
||||||
mat 16
|
mat 16
|
||||||
refs 4
|
refs 4
|
||||||
506 0.946466 0.327345
|
498 0.946466 0.327345
|
||||||
508 0.946624 0.013271
|
500 0.946624 0.013271
|
||||||
507 0.973496 0.012935
|
499 0.973496 0.012935
|
||||||
505 0.973496 0.327342
|
497 0.973496 0.327342
|
||||||
SURF 0X0
|
SURF 0X0
|
||||||
mat 16
|
mat 16
|
||||||
refs 4
|
refs 4
|
||||||
510 0.307657 0.825695
|
502 0.307657 0.825695
|
||||||
512 0.307771 0.735433
|
504 0.307771 0.735433
|
||||||
511 0.326626 0.735342
|
503 0.326626 0.735342
|
||||||
509 0.326626 0.825702
|
501 0.326626 0.825702
|
||||||
|
SURF 0X0
|
||||||
|
mat 16
|
||||||
|
refs 4
|
||||||
|
506 0.001415 0.764058
|
||||||
|
508 0.199701 0.764334
|
||||||
|
507 0.198987 0.841427
|
||||||
|
505 0.002351 0.841606
|
||||||
|
SURF 0X0
|
||||||
|
mat 16
|
||||||
|
refs 4
|
||||||
|
510 0.001415 0.764058
|
||||||
|
512 0.199701 0.764334
|
||||||
|
511 0.198987 0.841427
|
||||||
|
509 0.002351 0.841606
|
||||||
kids 0
|
kids 0
|
||||||
OBJECT group
|
OBJECT group
|
||||||
name "GROUP_FrontPanels"
|
name "GROUP_FrontPanels"
|
||||||
|
|
|
@ -164,31 +164,48 @@
|
||||||
<z-m> 0.08948</z-m>
|
<z-m> 0.08948</z-m>
|
||||||
<heading-deg>-19.0</heading-deg>
|
<heading-deg>-19.0</heading-deg>
|
||||||
</offsets>
|
</offsets>
|
||||||
<condition>
|
</model>
|
||||||
<not>
|
<animation>
|
||||||
<equals>
|
<type>translate</type>
|
||||||
<property alias="/params/bushkit"/>
|
<object-name>Garmin196-GPS-non-Canvas</object-name>
|
||||||
<value>4</value>
|
<property>/Interior/Panel/Instruments/garmin196/move</property>
|
||||||
</equals>
|
<factor>0.1</factor>
|
||||||
</not>
|
<axis>
|
||||||
</condition>
|
<x>0.0</x>
|
||||||
|
<y>1.0</y>
|
||||||
|
<z>0.0</z>
|
||||||
|
</axis>
|
||||||
|
</animation>
|
||||||
|
|
||||||
|
<!-- Canvas local Garmin 196 GPS -->
|
||||||
|
<!--<model>
|
||||||
|
<name>Garmin196-GPS</name>
|
||||||
|
<path>Interior/Panel/garmin196/garmin196.xml</path>
|
||||||
|
<offsets>
|
||||||
|
<x-m>-0.4</x-m>
|
||||||
|
<y-m>0.36</y-m>
|
||||||
|
<z-m>0.205</z-m>
|
||||||
|
<heading-deg>-12.0</heading-deg>
|
||||||
|
</offsets>
|
||||||
</model>
|
</model>
|
||||||
<model>
|
<model>
|
||||||
<name>Garmin196-GPS-non-Canvas</name>
|
<name>Garmin196-GPS-support</name>
|
||||||
<path>Interior/Panel/Instruments/garmin196/garmin196.xml</path>
|
<path>Interior/Panel/garmin196/garmin196_support.xml</path>
|
||||||
<offsets>
|
<offsets>
|
||||||
<x-m>-0.305</x-m>
|
<x-m>-0.4</x-m>
|
||||||
<y-m> 0.36584</y-m>
|
<y-m>0.36</y-m>
|
||||||
<z-m> 0.08948</z-m>
|
<z-m>0.205</z-m>
|
||||||
<heading-deg>-19.0</heading-deg>
|
<heading-deg>-12.0</heading-deg>
|
||||||
</offsets>
|
</offsets>
|
||||||
<condition>
|
|
||||||
<equals>
|
|
||||||
<property alias="/params/bushkit"/>
|
|
||||||
<value>4</value>
|
|
||||||
</equals>
|
|
||||||
</condition>
|
|
||||||
</model>
|
</model>
|
||||||
|
<animation>
|
||||||
|
<type>select</type>
|
||||||
|
<object-name>Garmin196-GPS</object-name>
|
||||||
|
<object-name>Garmin196-GPS-support</object-name>
|
||||||
|
<condition>
|
||||||
|
<property>/sim/model/c172p/garmin196-visible</property>
|
||||||
|
</condition>
|
||||||
|
</animation>-->
|
||||||
|
|
||||||
<model>
|
<model>
|
||||||
<name>GPS-Model</name>
|
<name>GPS-Model</name>
|
||||||
|
@ -316,36 +333,6 @@
|
||||||
</condition>
|
</condition>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<!-- Canvas local Garmin 196 GPS -->
|
|
||||||
<!--<model>
|
|
||||||
<name>Garmin196-GPS</name>
|
|
||||||
<path>Interior/Panel/garmin196/garmin196.xml</path>
|
|
||||||
<offsets>
|
|
||||||
<x-m>-0.4</x-m>
|
|
||||||
<y-m>0.36</y-m>
|
|
||||||
<z-m>0.205</z-m>
|
|
||||||
<heading-deg>-12.0</heading-deg>
|
|
||||||
</offsets>
|
|
||||||
</model>
|
|
||||||
<model>
|
|
||||||
<name>Garmin196-GPS-support</name>
|
|
||||||
<path>Interior/Panel/garmin196/garmin196_support.xml</path>
|
|
||||||
<offsets>
|
|
||||||
<x-m>-0.4</x-m>
|
|
||||||
<y-m>0.36</y-m>
|
|
||||||
<z-m>0.205</z-m>
|
|
||||||
<heading-deg>-12.0</heading-deg>
|
|
||||||
</offsets>
|
|
||||||
</model>
|
|
||||||
<animation>
|
|
||||||
<type>select</type>
|
|
||||||
<object-name>Garmin196-GPS</object-name>
|
|
||||||
<object-name>Garmin196-GPS-support</object-name>
|
|
||||||
<condition>
|
|
||||||
<property>/sim/model/c172p/garmin196-visible</property>
|
|
||||||
</condition>
|
|
||||||
</animation>-->
|
|
||||||
|
|
||||||
<nasal>
|
<nasal>
|
||||||
<load>
|
<load>
|
||||||
var livery_update = aircraft.livery_update.new(
|
var livery_update = aircraft.livery_update.new(
|
||||||
|
|
|
@ -45,6 +45,7 @@ aircraft.data.add(
|
||||||
"instrumentation/comm[0]/frequencies/dial-khz",
|
"instrumentation/comm[0]/frequencies/dial-khz",
|
||||||
"instrumentation/comm[0]/frequencies/dial-mhz",
|
"instrumentation/comm[0]/frequencies/dial-mhz",
|
||||||
"instrumentation/comm[0]/test-btn",
|
"instrumentation/comm[0]/test-btn",
|
||||||
|
"instrumentation/comm[0]/channel-mode-selector",
|
||||||
"instrumentation/nav[0]/ident-audible",
|
"instrumentation/nav[0]/ident-audible",
|
||||||
"instrumentation/nav[0]/power-btn",
|
"instrumentation/nav[0]/power-btn",
|
||||||
"instrumentation/nav[0]/volume",
|
"instrumentation/nav[0]/volume",
|
||||||
|
@ -64,6 +65,7 @@ aircraft.data.add(
|
||||||
"instrumentation/comm[1]/frequencies/dial-khz",
|
"instrumentation/comm[1]/frequencies/dial-khz",
|
||||||
"instrumentation/comm[1]/frequencies/dial-mhz",
|
"instrumentation/comm[1]/frequencies/dial-mhz",
|
||||||
"instrumentation/comm[1]/test-btn",
|
"instrumentation/comm[1]/test-btn",
|
||||||
|
"instrumentation/comm[0]/channel-mode-selector",
|
||||||
"instrumentation/nav[1]/ident-audible",
|
"instrumentation/nav[1]/ident-audible",
|
||||||
"instrumentation/nav[1]/power-btn",
|
"instrumentation/nav[1]/power-btn",
|
||||||
"instrumentation/nav[1]/volume",
|
"instrumentation/nav[1]/volume",
|
||||||
|
|
43
Aircraft/c172p/Nasal/kx165a.nas
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
# Code to handle 8.33 khz for the KX165A radio
|
||||||
|
var increment = func(index, direction) {
|
||||||
|
var selector = getprop("instrumentation/comm[" ~ index ~ "]/channel-mode-selector");
|
||||||
|
if (selector == 1) {
|
||||||
|
setprop("instrumentation/comm[" ~ index ~ "]/frequencies/standby-channel", getprop("instrumentation/comm[" ~ index ~ "]/frequencies/standby-channel") + direction);
|
||||||
|
} elsif (selector == 0) {
|
||||||
|
setprop("instrumentation/comm[" ~ index ~ "]/frequencies/standby-channel", getprop("instrumentation/comm[" ~ index ~ "]/frequencies/standby-channel") + (direction * 4));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
setlistener("/instrumentation/comm[0]/channel-mode-selector", func() {
|
||||||
|
if (getprop("/instrumentation/comm[0]/channel-mode-selector") == 0) {
|
||||||
|
var result = math.round(getprop("/instrumentation/comm[0]/frequencies/standby-channel") / 4) * 4;
|
||||||
|
setprop("/instrumentation/comm[0]/frequencies/standby-channel", result);
|
||||||
|
|
||||||
|
var result = math.round(getprop("/instrumentation/comm[0]/frequencies/selected-channel") / 4) * 4;
|
||||||
|
setprop("/instrumentation/comm[0]/frequencies/selected-channel", result);
|
||||||
|
}
|
||||||
|
}, 0, 0);
|
||||||
|
|
||||||
|
setlistener("/instrumentation/comm[1]/channel-mode-selector", func() {
|
||||||
|
if (getprop("/instrumentation/comm[1]/channel-mode-selector") == 0) {
|
||||||
|
var result = math.round(getprop("/instrumentation/comm[1]/frequencies/standby-channel") / 4) * 4;
|
||||||
|
setprop("/instrumentation/comm[1]/frequencies/standby-channel", result);
|
||||||
|
|
||||||
|
var result = math.round(getprop("/instrumentation/comm[1]/frequencies/selected-channel") / 4) * 4;
|
||||||
|
setprop("/instrumentation/comm[1]/frequencies/selected-channel", result);
|
||||||
|
}
|
||||||
|
}, 0, 0);
|
||||||
|
|
||||||
|
var hackListener = setlistener("/sim/signals/fdm-initialized", func() {
|
||||||
|
# a dirty hack but it works. It triggers the above setlisteners on startup (passing the startup argument did not work)
|
||||||
|
# in case a 8.33 frequency has been saved but 25k is selected on startup
|
||||||
|
var selector = getprop("instrumentation/comm[0]/channel-mode-selector");
|
||||||
|
setprop("/instrumentation/comm[0]/channel-mode-selector", 2);
|
||||||
|
setprop("/instrumentation/comm[0]/channel-mode-selector", selector);
|
||||||
|
var selector = getprop("instrumentation/comm[1]/channel-mode-selector");
|
||||||
|
setprop("/instrumentation/comm[1]/channel-mode-selector", 2);
|
||||||
|
setprop("/instrumentation/comm[1]/channel-mode-selector", selector);
|
||||||
|
|
||||||
|
# after the first startup we don't need this
|
||||||
|
removelistener(hackListener);
|
||||||
|
});
|
|
@ -123,25 +123,26 @@ var tiedown_left_updater = TiedownPositionUpdater.new("left");
|
||||||
var tiedown_right_updater = TiedownPositionUpdater.new("right");
|
var tiedown_right_updater = TiedownPositionUpdater.new("right");
|
||||||
var tiedown_tail_updater = TiedownPositionUpdater.new("tail");
|
var tiedown_tail_updater = TiedownPositionUpdater.new("tail");
|
||||||
|
|
||||||
setlistener("/sim/model/c172p/securing/tiedownL-visible", func (node) {
|
setlistener("/sim/signals/fdm-initialized", func {
|
||||||
tiedown_left_updater.enable_or_disable(node.getValue());
|
setlistener("/sim/model/c172p/securing/tiedownL-visible", func (node) {
|
||||||
}, 1, 0);
|
tiedown_left_updater.enable_or_disable(node.getValue());
|
||||||
|
}, 1, 0);
|
||||||
|
|
||||||
setlistener("/sim/model/c172p/securing/tiedownR-visible", func (node) {
|
setlistener("/sim/model/c172p/securing/tiedownR-visible", func (node) {
|
||||||
tiedown_right_updater.enable_or_disable(node.getValue());
|
tiedown_right_updater.enable_or_disable(node.getValue());
|
||||||
}, 1, 0);
|
}, 1, 0);
|
||||||
|
|
||||||
setlistener("/sim/model/c172p/securing/tiedownT-visible", func (node) {
|
setlistener("/sim/model/c172p/securing/tiedownT-visible", func (node) {
|
||||||
tiedown_tail_updater.enable_or_disable(node.getValue());
|
tiedown_tail_updater.enable_or_disable(node.getValue());
|
||||||
}, 1, 0);
|
}, 1, 0);
|
||||||
|
|
||||||
setlistener("/fdm/jsbsim/damage/repairing", func (node) {
|
|
||||||
# When the aircraft has been repaired (value is switched back
|
|
||||||
# to 0), compute the new initial length of the tiedowns
|
|
||||||
if (!node.getValue()) {
|
|
||||||
tiedown_left_updater.init_ref_length();
|
|
||||||
tiedown_right_updater.init_ref_length();
|
|
||||||
tiedown_tail_updater.init_ref_length();
|
|
||||||
}
|
|
||||||
}, 0, 0);
|
|
||||||
|
|
||||||
|
setlistener("/fdm/jsbsim/damage/repairing", func (node) {
|
||||||
|
# When the aircraft has been repaired (value is switched back
|
||||||
|
# to 0), compute the new initial length of the tiedowns
|
||||||
|
if (!node.getValue()) {
|
||||||
|
tiedown_left_updater.init_ref_length();
|
||||||
|
tiedown_right_updater.init_ref_length();
|
||||||
|
tiedown_tail_updater.init_ref_length();
|
||||||
|
}
|
||||||
|
}, 0, 0);
|
||||||
|
});
|
||||||
|
|
|
@ -183,6 +183,16 @@ Extra weight and drag due to bush wheels, floats and aircraft with 180 hp engine
|
||||||
</switch>
|
</switch>
|
||||||
</channel>
|
</channel>
|
||||||
|
|
||||||
|
<channel name="GPS-placement">
|
||||||
|
<switch name="gps-placement">
|
||||||
|
<default value="0"/>
|
||||||
|
<test logic="AND" value="1">
|
||||||
|
bushkit EQ 4
|
||||||
|
</test>
|
||||||
|
<output>/Interior/Panel/Instruments/garmin196/move</output>
|
||||||
|
</switch>
|
||||||
|
</channel>
|
||||||
|
|
||||||
<channel name="JSBSim hydrodynamics integration">
|
<channel name="JSBSim hydrodynamics integration">
|
||||||
<fcs_function name="tmp/floats-enabled-norm">
|
<fcs_function name="tmp/floats-enabled-norm">
|
||||||
<function>
|
<function>
|
||||||
|
|
|
@ -142,11 +142,13 @@ file, these values will be used (they are hardcoded).
|
||||||
<comm-radio>
|
<comm-radio>
|
||||||
<name>comm</name>
|
<name>comm</name>
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
|
<eight-point-three>1</eight-point-three>
|
||||||
</comm-radio>
|
</comm-radio>
|
||||||
|
|
||||||
<comm-radio>
|
<comm-radio>
|
||||||
<name>comm</name>
|
<name>comm</name>
|
||||||
<number>1</number>
|
<number>1</number>
|
||||||
|
<eight-point-three>1</eight-point-three>
|
||||||
</comm-radio>
|
</comm-radio>
|
||||||
|
|
||||||
<nav-radio>
|
<nav-radio>
|
||||||
|
|
|
@ -764,6 +764,7 @@ http://forum.flightgear.org/viewtopic.php?f=4&t=25157
|
||||||
<dial-mhz type="int">0</dial-mhz>
|
<dial-mhz type="int">0</dial-mhz>
|
||||||
</frequencies>
|
</frequencies>
|
||||||
<volume-selected type="double">0.7</volume-selected>
|
<volume-selected type="double">0.7</volume-selected>
|
||||||
|
<channel-mode-selector type="bool">1</channel-mode-selector>
|
||||||
</comm>
|
</comm>
|
||||||
<comm n="1">
|
<comm n="1">
|
||||||
<power-btn type="bool">1</power-btn>
|
<power-btn type="bool">1</power-btn>
|
||||||
|
@ -772,6 +773,7 @@ http://forum.flightgear.org/viewtopic.php?f=4&t=25157
|
||||||
<dial-mhz type="int">0</dial-mhz>
|
<dial-mhz type="int">0</dial-mhz>
|
||||||
</frequencies>
|
</frequencies>
|
||||||
<volume-selected type="double">0.7</volume-selected>
|
<volume-selected type="double">0.7</volume-selected>
|
||||||
|
<channel-mode-selector type="bool">1</channel-mode-selector>
|
||||||
</comm>
|
</comm>
|
||||||
<nav n="0">
|
<nav n="0">
|
||||||
<volume type="double">0.7</volume>
|
<volume type="double">0.7</volume>
|
||||||
|
@ -944,6 +946,7 @@ http://forum.flightgear.org/viewtopic.php?f=4&t=25157
|
||||||
<file>Nasal/tanks.nas</file>
|
<file>Nasal/tanks.nas</file>
|
||||||
<file>Nasal/kma20.nas</file>
|
<file>Nasal/kma20.nas</file>
|
||||||
<file>Nasal/ki266.nas</file>
|
<file>Nasal/ki266.nas</file>
|
||||||
|
<file>Nasal/kx165a.nas</file>
|
||||||
<file>Nasal/engine.nas</file>
|
<file>Nasal/engine.nas</file>
|
||||||
<file>Nasal/avionics.nas</file>
|
<file>Nasal/avionics.nas</file>
|
||||||
<file>Nasal/interior-lighting.nas</file>
|
<file>Nasal/interior-lighting.nas</file>
|
||||||
|
|