1
0
Fork 0

Texture change

pick animation update
remove nasal file dependancy
This commit is contained in:
sydadams 2009-04-17 04:17:46 +00:00
parent 9a2e19c234
commit 1336f7b6df
8 changed files with 830 additions and 1261 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View file

@ -1,149 +0,0 @@
<!--
Syd Adams
Comm1 hotspots
-->
<PropertyList>
<name>Comm1 hotspots</name>
<w-base>60</w-base>
<h-base>68</h-base>
<w>60</w>
<h>68</h>
<actions>
<!--
<action>
<name>bezel outline</name>
<x>-30</x>
<y>-34</y>
<w>60</w>
<h>68</h>
</action>
-->
<action>
<name>swap freq</name>
<button>0</button>
<x>17</x>
<y>13</y>
<w>10</w>
<h>10</h>
<repeatable>false</repeatable>
<binding>
<command>property-swap</command>
<property>/instrumentation/VHF-22/comm1</property>
<property>/instrumentation/VHF-22/standby1</property>
</binding>
</action>
<action>
<name>power off</name>
<button>0</button>
<x>-22</x>
<y>-26</y>
<w>8</w>
<h>15</h>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/comm/serviceable</property>
<value>false</value>
</binding>
</action>
<action>
<name>power on</name>
<button>0</button>
<x>-14</x>
<y>-26</y>
<w>8</w>
<h>15</h>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/comm/serviceable</property>
<value>true</value>
</binding>
</action>
<action>
<name>stby down</name>
<button>0</button>
<x>8</x>
<y>-24</y>
<w>9</w>
<h>18</h>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>property-adjust</command>
<property>/instrumentation/VHF-22/standby1</property>
<step>-25</step>
<min>118000</min>
<max>136000</max>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>stby up</name>
<button>0</button>
<x>17</x>
<y>-24</y>
<w>9</w>
<h>18</h>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>property-adjust</command>
<property>/instrumentation/VHF-22/standby1</property>
<step>25</step>
<min>118000</min>
<max>136000</max>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>stby down large</name>
<button>1</button>
<x>8</x>
<y>-24</y>
<w>9</w>
<h>18</h>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>property-adjust</command>
<property>/instrumentation/VHF-22/standby1</property>
<step>-1000</step>
<min>118000</min>
<max>136000</max>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>stby up large</name>
<button>1</button>
<x>17</x>
<x>8</x>
<y>-24</y>
<w>9</w>
<h>18</h>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>property-adjust</command>
<property>/instrumentation/VHF-22/standby1</property>
<step>1000</step>
<min>118000</min>
<max>136000</max>
<wrap>true</wrap>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -20,16 +20,6 @@ Syd Adams
<object-name>freq.004</object-name>
<object-name>freq.005</object-name>
<object-name>freq.006</object-name>
<condition>
<greater-than>
<property>/systems/electrical/outputs/comm</property>
<value>1</value>
</greater-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>stby.001</object-name>
<object-name>stby.002</object-name>
<object-name>stby.003</object-name>
@ -37,20 +27,10 @@ Syd Adams
<object-name>stby.004</object-name>
<object-name>stby.005</object-name>
<object-name>stby.006</object-name>
<condition>
<greater-than>
<property>/systems/electrical/outputs/comm</property>
<value>1</value>
</greater-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>mem.annun</object-name>
<condition>
<greater-than>
<property>/systems/electrical/outputs/comm</property>
<property>systems/electrical/outputs/comm</property>
<value>1</value>
</greater-than>
</condition>
@ -76,14 +56,32 @@ Syd Adams
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>CTL-22.vol</object-name>
<property>instrumentation/comm/volume</property>
<factor>300</factor>
<center>
<x-m>0.0</x-m>
<y-m>-0.014</y-m>
<z-m>-0.018</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- Active Frequency -->
<animation>
<type>textranslate</type>
<object-name>freq.001</object-name>
<property>instrumentation/VHF-22/comm1</property>
<factor>0.000001</factor>
<step>100000</step>
<property>instrumentation/comm/frequencies/selected-mhz</property>
<factor>0.001</factor>
<step>100</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -94,9 +92,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>freq.002</object-name>
<property>instrumentation/VHF-22/comm1</property>
<factor>0.00001</factor>
<step>10000</step>
<property>instrumentation/comm/frequencies/selected-mhz</property>
<factor>0.01</factor>
<step>10</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -107,9 +106,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>freq.003</object-name>
<property>instrumentation/VHF-22/comm1</property>
<factor>0.0001</factor>
<step>1000</step>
<property>instrumentation/comm/frequencies/selected-mhz</property>
<factor>0.1</factor>
<step>1</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -120,9 +120,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>freq.004</object-name>
<property>instrumentation/VHF-22/comm1</property>
<factor>0.001</factor>
<step>100</step>
<property>instrumentation/comm/frequencies/selected-mhz</property>
<factor>1.0</factor>
<step>0.1</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -133,9 +134,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>freq.005</object-name>
<property>instrumentation/VHF-22/comm1</property>
<factor>0.01</factor>
<step>10</step>
<property>instrumentation/comm/frequencies/selected-mhz</property>
<factor>10.0</factor>
<step>0.01</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -146,9 +148,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>freq.006</object-name>
<property>instrumentation/VHF-22/comm1</property>
<factor>0.1</factor>
<step>1</step>
<property>instrumentation/comm/frequencies/selected-mhz</property>
<factor>100.0</factor>
<step>0.001</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -161,9 +164,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>stby.001</object-name>
<property>instrumentation/VHF-22/standby1</property>
<factor>0.000001</factor>
<step>100000</step>
<property>instrumentation/comm/frequencies/standby-mhz</property>
<factor>0.001</factor>
<step>100</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -174,9 +178,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>stby.002</object-name>
<property>instrumentation/VHF-22/standby1</property>
<factor>0.00001</factor>
<step>10000</step>
<property>instrumentation/comm/frequencies/standby-mhz</property>
<factor>0.01</factor>
<step>10</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -187,9 +192,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>stby.003</object-name>
<property>instrumentation/VHF-22/standby1</property>
<factor>0.0001</factor>
<step>1000</step>
<property>instrumentation/comm/frequencies/standby-mhz</property>
<factor>0.1</factor>
<step>1</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -200,9 +206,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>stby.004</object-name>
<property>instrumentation/VHF-22/standby1</property>
<factor>0.001</factor>
<step>100</step>
<property>instrumentation/comm/frequencies/standby-mhz</property>
<factor>1.0</factor>
<step>0.100</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -213,9 +220,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>stby.005</object-name>
<property>instrumentation/VHF-22/standby1</property>
<factor>0.01</factor>
<step>10</step>
<property>instrumentation/comm/frequencies/standby-mhz</property>
<factor>10.0</factor>
<step>0.01</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -226,9 +234,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>stby.006</object-name>
<property>instrumentation/VHF-22/standby1</property>
<factor>0.1</factor>
<step>1</step>
<property>instrumentation/comm/frequencies/standby-mhz</property>
<factor>100.0</factor>
<step>0.001</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -236,31 +245,31 @@ Syd Adams
</axis>
</animation>
<!-- OSG hotspots
<!-- OSG hotspots -->
<animation>
<type>pick</type>
<object-name>CTL-22.xfr</object-name>
<object-name>CTL-22.toggle</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-swap</command>
<property>/instrumentation/comm/frequencies/selected-mhz</property>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<property>instrumentation/comm/frequencies/selected-mhz</property>
<property>instrumentation/comm/frequencies/standby-mhz</property>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>pwr.off</object-name>
<object-name>CTL-22.pwr</object-name>
<action>
<button>0</button>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/comm/serviceable</property>
<property>instrumentation/comm/serviceable</property>
<value>false</value>
</binding>
</action>
@ -268,13 +277,13 @@ Syd Adams
<animation>
<type>pick</type>
<object-name>pwr.on</object-name>
<object-name>CTL-22.pwr</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/comm/serviceable</property>
<property>instrumentation/comm/serviceable</property>
<value>true</value>
</binding>
</action>
@ -282,14 +291,14 @@ Syd Adams
<animation>
<type>pick</type>
<object-name>freq.dwn</object-name>
<object-name>freq1.knob</object-name>
<action>
<button>0</button>
<button>1</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<property>instrumentation/comm/frequencies/standby-mhz</property>
<step>-0.025</step>
<min>118.000</min>
<max>135.975</max>
@ -300,14 +309,14 @@ Syd Adams
<animation>
<type>pick</type>
<object-name>freq.up</object-name>
<object-name>freq1.knob</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<property>instrumentation/comm/frequencies/standby-mhz</property>
<step>0.025</step>
<min>118.000</min>
<max>135.975</max>
@ -318,14 +327,14 @@ Syd Adams
<animation>
<type>pick</type>
<object-name>freq.dwn</object-name>
<object-name>freq.knob</object-name>
<action>
<button>1</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<property>instrumentation/comm/frequencies/standby-mhz</property>
<step>-1.0</step>
<min>118.000</min>
<max>135.975</max>
@ -336,14 +345,14 @@ Syd Adams
<animation>
<type>pick</type>
<object-name>freq.up</object-name>
<object-name>freq.knob</object-name>
<action>
<button>1</button>
<button>0</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<property>instrumentation/comm/frequencies/standby-mhz</property>
<step>1.0</step>
<min>118.000</min>
<max>135.975</max>
@ -351,5 +360,5 @@ Syd Adams
</binding>
</action>
</animation>
-->
</PropertyList>

View file

@ -1,149 +0,0 @@
<!--
Syd Adams
Comm2 hotspots
-->
<PropertyList>
<name>Comm2 hotspots</name>
<w-base>60</w-base>
<h-base>68</h-base>
<w>60</w>
<h>68</h>
<actions>
<!--
<action>
<name>bezel outline</name>
<x>-30</x>
<y>-34</y>
<w>60</w>
<h>68</h>
</action>
-->
<action>
<name>swap freq</name>
<button>0</button>
<x>17</x>
<y>13</y>
<w>10</w>
<h>10</h>
<repeatable>false</repeatable>
<binding>
<command>property-swap</command>
<property>/instrumentation/VHF-22/comm2</property>
<property>/instrumentation/VHF-22/standby2</property>
</binding>
</action>
<action>
<name>power off</name>
<button>0</button>
<x>-22</x>
<y>-26</y>
<w>8</w>
<h>15</h>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/comm/serviceable</property>
<value>false</value>
</binding>
</action>
<action>
<name>power on</name>
<button>0</button>
<x>-14</x>
<y>-26</y>
<w>8</w>
<h>15</h>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/comm/serviceable</property>
<value>true</value>
</binding>
</action>
<action>
<name>stby down</name>
<button>0</button>
<x>8</x>
<y>-24</y>
<w>9</w>
<h>18</h>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>property-adjust</command>
<property>/instrumentation/VHF-22/standby2</property>
<step>-25</step>
<min>118000</min>
<max>136000</max>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>stby up</name>
<button>0</button>
<x>17</x>
<y>-24</y>
<w>9</w>
<h>18</h>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>property-adjust</command>
<property>/instrumentation/VHF-22/standby2</property>
<step>25</step>
<min>118000</min>
<max>136000</max>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>stby down large</name>
<button>1</button>
<x>8</x>
<y>-24</y>
<w>9</w>
<h>18</h>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>property-adjust</command>
<property>/instrumentation/VHF-22/standby2</property>
<step>-1000</step>
<min>118000</min>
<max>136000</max>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>stby up large</name>
<button>1</button>
<x>17</x>
<x>8</x>
<y>-24</y>
<w>9</w>
<h>18</h>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>property-adjust</command>
<property>/instrumentation/VHF-22/standby2</property>
<step>1000</step>
<min>118000</min>
<max>136000</max>
<wrap>true</wrap>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -1,5 +1,5 @@
<?xml version="1.0"?>
<!-- CTL 22 Comm2 Control for VHF-22 tranceiver
<!-- CTL 22 Comm1 Control for VHF-22 tranceiver
Active and preset displayed +
6 frequency memory storage
2.375"W x 2.625"H
@ -20,16 +20,6 @@ Syd Adams
<object-name>freq.004</object-name>
<object-name>freq.005</object-name>
<object-name>freq.006</object-name>
<condition>
<greater-than>
<property>/systems/electrical/outputs/comm</property>
<value>1</value>
</greater-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>stby.001</object-name>
<object-name>stby.002</object-name>
<object-name>stby.003</object-name>
@ -37,20 +27,10 @@ Syd Adams
<object-name>stby.004</object-name>
<object-name>stby.005</object-name>
<object-name>stby.006</object-name>
<condition>
<greater-than>
<property>/systems/electrical/outputs/comm</property>
<value>1</value>
</greater-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>mem.annun</object-name>
<condition>
<greater-than>
<property>/systems/electrical/outputs/comm</property>
<property>systems/electrical/outputs/comm[1]</property>
<value>1</value>
</greater-than>
</condition>
@ -59,7 +39,7 @@ Syd Adams
<animation>
<type>rotate</type>
<object-name>CTL-22.pwr</object-name>
<property>instrumentation/comm/serviceable</property>
<property>instrumentation/comm[1]/serviceable</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>1.0</ind><dep>30</dep></entry>
@ -76,14 +56,32 @@ Syd Adams
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>CTL-22.vol</object-name>
<property>instrumentation/comm[1]/volume</property>
<factor>300</factor>
<center>
<x-m>0.0</x-m>
<y-m>-0.014</y-m>
<z-m>-0.018</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- Active Frequency -->
<animation>
<type>textranslate</type>
<object-name>freq.001</object-name>
<property>instrumentation/VHF-22/comm2</property>
<factor>0.000001</factor>
<step>100000</step>
<property>instrumentation/comm[1]/frequencies/selected-mhz</property>
<factor>0.001</factor>
<step>100</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -94,9 +92,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>freq.002</object-name>
<property>instrumentation/VHF-22/comm2</property>
<factor>0.00001</factor>
<step>10000</step>
<property>instrumentation/comm[1]/frequencies/selected-mhz</property>
<factor>0.01</factor>
<step>10</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -107,9 +106,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>freq.003</object-name>
<property>instrumentation/VHF-22/comm2</property>
<factor>0.0001</factor>
<step>1000</step>
<property>instrumentation/comm[1]/frequencies/selected-mhz</property>
<factor>0.1</factor>
<step>1</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -120,9 +120,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>freq.004</object-name>
<property>instrumentation/VHF-22/comm2</property>
<factor>0.001</factor>
<step>100</step>
<property>instrumentation/comm[1]/frequencies/selected-mhz</property>
<factor>1.0</factor>
<step>0.1</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -133,9 +134,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>freq.005</object-name>
<property>instrumentation/VHF-22/comm2</property>
<factor>0.01</factor>
<step>10</step>
<property>instrumentation/comm[1]/frequencies/selected-mhz</property>
<factor>10.0</factor>
<step>0.01</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -146,9 +148,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>freq.006</object-name>
<property>instrumentation/VHF-22/comm2</property>
<factor>0.1</factor>
<step>1</step>
<property>instrumentation/comm[1]/frequencies/selected-mhz</property>
<factor>100.0</factor>
<step>0.001</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -161,9 +164,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>stby.001</object-name>
<property>instrumentation/VHF-22/standby2</property>
<factor>0.000001</factor>
<step>100000</step>
<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
<factor>0.001</factor>
<step>100</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -174,9 +178,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>stby.002</object-name>
<property>instrumentation/VHF-22/standby2</property>
<factor>0.00001</factor>
<step>10000</step>
<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
<factor>0.01</factor>
<step>10</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -187,9 +192,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>stby.003</object-name>
<property>instrumentation/VHF-22/standby2</property>
<factor>0.0001</factor>
<step>1000</step>
<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
<factor>0.1</factor>
<step>1</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -200,9 +206,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>stby.004</object-name>
<property>instrumentation/VHF-22/standby2</property>
<factor>0.001</factor>
<step>100</step>
<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
<factor>1.0</factor>
<step>0.100</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -213,9 +220,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>stby.005</object-name>
<property>instrumentation/VHF-22/standby2</property>
<factor>0.01</factor>
<step>10</step>
<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
<factor>10.0</factor>
<step>0.01</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -226,9 +234,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>stby.006</object-name>
<property>instrumentation/VHF-22/standby2</property>
<factor>0.1</factor>
<step>1</step>
<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
<factor>100.0</factor>
<step>0.001</step>
<bias>0.0005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -236,31 +245,31 @@ Syd Adams
</axis>
</animation>
<!-- OSG hotspots
<!-- OSG hotspots -->
<animation>
<type>pick</type>
<object-name>CTL-22.xfr</object-name>
<object-name>CTL-22.toggle</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-swap</command>
<property>/instrumentation/comm/frequencies/selected-mhz</property>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<property>instrumentation/comm[1]/frequencies/selected-mhz</property>
<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>pwr.off</object-name>
<object-name>CTL-22.pwr</object-name>
<action>
<button>0</button>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/comm/serviceable</property>
<property>instrumentation/comm[1]/serviceable</property>
<value>false</value>
</binding>
</action>
@ -268,13 +277,13 @@ Syd Adams
<animation>
<type>pick</type>
<object-name>pwr.on</object-name>
<object-name>CTL-22.pwr</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/comm/serviceable</property>
<property>instrumentation/comm[1]/serviceable</property>
<value>true</value>
</binding>
</action>
@ -282,14 +291,14 @@ Syd Adams
<animation>
<type>pick</type>
<object-name>freq.dwn</object-name>
<object-name>freq1.knob</object-name>
<action>
<button>0</button>
<button>1</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
<step>-0.025</step>
<min>118.000</min>
<max>135.975</max>
@ -300,14 +309,14 @@ Syd Adams
<animation>
<type>pick</type>
<object-name>freq.up</object-name>
<object-name>freq1.knob</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
<step>0.025</step>
<min>118.000</min>
<max>135.975</max>
@ -318,14 +327,14 @@ Syd Adams
<animation>
<type>pick</type>
<object-name>freq.dwn</object-name>
<object-name>freq.knob</object-name>
<action>
<button>1</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
<step>-1.0</step>
<min>118.000</min>
<max>135.975</max>
@ -336,14 +345,14 @@ Syd Adams
<animation>
<type>pick</type>
<object-name>freq.up</object-name>
<object-name>freq.knob</object-name>
<action>
<button>1</button>
<button>0</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
<step>1.0</step>
<min>118.000</min>
<max>135.975</max>
@ -351,5 +360,5 @@ Syd Adams
</binding>
</action>
</animation>
-->
</PropertyList>

File diff suppressed because it is too large Load diff

View file

@ -1,38 +0,0 @@
#### VHF-22 tranciever ####
#### Syd Adams ####
var VHF = props.globals.getNode("/instrumentation/VHF-22",1);
var VH1_STBY = VHF.getNode("standby1",1);
var VH2_STBY = VHF.getNode("standby2",1);
var VH1_COMM = VHF.getNode("comm1",1);
var VH2_COMM = VHF.getNode("comm2",1);
var SB1=props.globals.getNode("/instrumentation/comm/frequencies/standby-mhz");
var SB2=props.globals.getNode("/instrumentation/comm[1]/frequencies/standby-mhz");
var COMM1=props.globals.getNode("/instrumentation/comm/frequencies/selected-mhz");
var COMM2=props.globals.getNode("/instrumentation/comm[1]/frequencies/selected-mhz");
setlistener("/sim/signals/fdm-initialized", func {
VH1_STBY.setValue(getprop("/instrumentation/comm/frequencies/standby-mhz")*1000);
VH2_STBY.setValue(getprop("/instrumentation/comm[1]/frequencies/standby-mhz")*1000);
VH1_COMM.setValue(getprop("/instrumentation/comm/frequencies/selected-mhz")*1000);
VH2_COMM.setValue(getprop("/instrumentation/comm[1]/frequencies/selected-mhz")*1000);
print("VHF-22 ... OK");
});
setlistener("/instrumentation/VHF-22/standby1", func(sb1){
SB1.setValue(sb1.getValue() * 0.001);
},0,0);
setlistener("/instrumentation/VHF-22/standby2", func(sb2){
SB2.setValue(sb2.getValue() * 0.001);
},0,0);
setlistener("/instrumentation/VHF-22/comm1", func(cm1){
COMM1.setValue(cm1.getValue() * 0.001);
},0,0);
setlistener("/instrumentation/VHF-22/comm2", func(cm2){
COMM2.setValue(cm2.getValue() * 0.001);
},0,0);