1
0
Fork 0

texture update

pick animation update
remove nasal dependency
This commit is contained in:
sydadams 2009-04-17 04:19:51 +00:00
parent 1336f7b6df
commit b6ccd90066
8 changed files with 917 additions and 1276 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View file

@ -1,149 +0,0 @@
<!--
Syd Adams
Nav1 hotspots
-->
<PropertyList>
<name>Nav 1 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/VIR-32/nav1</property>
<property>/instrumentation/VIR-32/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/nav/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/nav/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/VIR-32/standby1</property>
<step>-5</step>
<min>10800</min>
<max>11800</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/VIR-32/standby1</property>
<step>5</step>
<min>10800</min>
<max>11800</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/VIR-32/standby1</property>
<step>-100</step>
<min>10800</min>
<max>11800</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/VIR-32/standby1</property>
<step>100</step>
<min>10800</min>
<max>11800</max>
<wrap>true</wrap>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -21,36 +21,16 @@ Syd Adams
<object-name>freq.dec</object-name>
<object-name>freq.004</object-name>
<object-name>freq.005</object-name>
<condition>
<greater-than>
<property>/systems/electrical/outputs/nav</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>
<object-name>stby.dec</object-name>
<object-name>stby.004</object-name>
<object-name>stby.005</object-name>
<condition>
<greater-than>
<property>/systems/electrical/outputs/nav</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/nav</property>
<property>systems/electrical/outputs/nav</property>
<value>1</value>
</greater-than>
</condition>
@ -76,14 +56,32 @@ Syd Adams
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>CTL-32.vol</object-name>
<property>instrumentation/nav/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/VIR-32/nav1</property>
<factor>0.00001</factor>
<step>10000</step>
<property>instrumentation/nav/frequencies/selected-mhz</property>
<factor>0.001</factor>
<step>100</step>
<bias>0.005</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/VIR-32/nav1</property>
<factor>0.0001</factor>
<step>1000</step>
<property>instrumentation/nav/frequencies/selected-mhz</property>
<factor>0.01</factor>
<step>10</step>
<bias>0.005</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/VIR-32/nav1</property>
<factor>0.001</factor>
<step>100</step>
<property>instrumentation/nav/frequencies/selected-mhz</property>
<factor>0.1</factor>
<step>1</step>
<bias>0.005</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/VIR-32/nav1</property>
<factor>0.01</factor>
<step>10</step>
<property>instrumentation/nav/frequencies/selected-mhz</property>
<factor>1.0</factor>
<step>0.1</step>
<bias>0.005</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/VIR-32/nav1</property>
<factor>0.1</factor>
<step>1</step>
<property>instrumentation/nav/frequencies/selected-mhz</property>
<factor>10.0</factor>
<step>0.01</step>
<bias>0.005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -148,9 +150,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>stby.001</object-name>
<property>instrumentation/VIR-32/standby1</property>
<factor>0.00001</factor>
<step>10000</step>
<property>instrumentation/nav/frequencies/standby-mhz</property>
<factor>0.001</factor>
<step>100</step>
<bias>0.005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -161,9 +164,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>stby.002</object-name>
<property>instrumentation/VIR-32/standby1</property>
<factor>0.0001</factor>
<step>1000</step>
<property>instrumentation/nav/frequencies/standby-mhz</property>
<factor>0.01</factor>
<step>10</step>
<bias>0.005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -174,9 +178,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>stby.003</object-name>
<property>instrumentation/VIR-32/standby1</property>
<factor>0.001</factor>
<step>100</step>
<property>instrumentation/nav/frequencies/standby-mhz</property>
<factor>0.1</factor>
<step>1</step>
<bias>0.005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -187,9 +192,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>stby.004</object-name>
<property>instrumentation/VIR-32/standby1</property>
<factor>0.01</factor>
<step>10</step>
<property>instrumentation/nav/frequencies/standby-mhz</property>
<factor>1.0</factor>
<step>0.1</step>
<bias>0.005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -200,9 +206,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>stby.005</object-name>
<property>instrumentation/VIR-32/standby1</property>
<factor>0.1</factor>
<step>1</step>
<property>instrumentation/nav/frequencies/standby-mhz</property>
<factor>10.0</factor>
<step>0.01</step>
<bias>0.005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -210,31 +217,31 @@ Syd Adams
</axis>
</animation>
<!-- OSG hotspots
<!-- OSG hotspots -->
<animation>
<type>pick</type>
<object-name>CTL-32.xfr</object-name>
<object-name>CTL-32.toggle</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-swap</command>
<property>/instrumentation/nav/frequencies/selected-mhz</property>
<property>/instrumentation/nav/frequencies/standby-mhz</property>
<property>instrumentation/nav/frequencies/selected-mhz</property>
<property>instrumentation/nav/frequencies/standby-mhz</property>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>pwr.off</object-name>
<object-name>CTL-32.pwr</object-name>
<action>
<button>0</button>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/nav/serviceable</property>
<property>instrumentation/nav/serviceable</property>
<value>false</value>
</binding>
</action>
@ -242,13 +249,13 @@ Syd Adams
<animation>
<type>pick</type>
<object-name>pwr.on</object-name>
<object-name>CTL-32.pwr</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/nav/serviceable</property>
<property>instrumentation/nav/serviceable</property>
<value>true</value>
</binding>
</action>
@ -256,50 +263,86 @@ Syd Adams
<animation>
<type>pick</type>
<object-name>freq.dwn</object-name>
<object-name>CTL-32.vol</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<interval-sec>0.1</interval-sec>
<binding>
<command>property-adjust</command>
<property>/instrumentation/nav/frequencies/standby-mhz</property>
<step>-0.050</step>
<min>108.00</min>
<max>118.00</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>freq.up</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>property-adjust</command>
<property>/instrumentation/nav/frequencies/standby-mhz</property>
<property>instrumentation/nav/volume</property>
<step>0.050</step>
<min>108.00</min>
<max>118.00</max>
<wrap>true</wrap>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>freq.dwn</object-name>
<object-name>CTL-32.vol</object-name>
<action>
<button>1</button>
<repeatable>true</repeatable>
<interval-sec>0.1</interval-sec>
<binding>
<command>property-adjust</command>
<property>instrumentation/nav/volume</property>
<step>-0.050</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>freq1.knob</object-name>
<action>
<button>1</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>property-adjust</command>
<property>/instrumentation/nav/frequencies/standby-mhz</property>
<property>instrumentation/nav/frequencies/standby-mhz</property>
<step>-0.050</step>
<min>108.00</min>
<max>118.000</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<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/nav/frequencies/standby-mhz</property>
<step>0.050</step>
<min>108.00</min>
<max>118.000</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<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/nav/frequencies/standby-mhz</property>
<step>-1.0</step>
<min>108.00</min>
<max>118.00</max>
@ -310,14 +353,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/nav/frequencies/standby-mhz</property>
<property>instrumentation/nav/frequencies/standby-mhz</property>
<step>1.0</step>
<min>108.00</min>
<max>118.000</max>
@ -325,5 +368,5 @@ Syd Adams
</binding>
</action>
</animation>
-->
</PropertyList>

View file

@ -1,149 +0,0 @@
<!--
Syd Adams
Nav2 hotspots
-->
<PropertyList>
<name>Nav 2 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/VIR-32/nav2</property>
<property>/instrumentation/VIR-32/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/nav[1]/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/nav[1]/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/VIR-32/standby2</property>
<step>-5</step>
<min>10800</min>
<max>11800</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/VIR-32/standby2</property>
<step>5</step>
<min>10800</min>
<max>11800</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/VIR-32/standby2</property>
<step>-100</step>
<min>10800</min>
<max>11800</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/VIR-32/standby2</property>
<step>100</step>
<min>10800</min>
<max>11800</max>
<wrap>true</wrap>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -1,5 +1,5 @@
<?xml version="1.0"?>
<!-- CTL 32 Nav2 Control for VIR-32 receiver
<!-- CTL 32 Nav1 Control for VIR-32 receiver
Active and preset displayed +
6 frequency memory storage
2.375"W x 2.625"H
@ -21,36 +21,16 @@ Syd Adams
<object-name>freq.dec</object-name>
<object-name>freq.004</object-name>
<object-name>freq.005</object-name>
<condition>
<greater-than>
<property>/systems/electrical/outputs/nav[1]</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>
<object-name>stby.dec</object-name>
<object-name>stby.004</object-name>
<object-name>stby.005</object-name>
<condition>
<greater-than>
<property>/systems/electrical/outputs/nav[1]</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/nav[1]</property>
<property>systems/electrical/outputs/nav[1]</property>
<value>1</value>
</greater-than>
</condition>
@ -76,14 +56,32 @@ Syd Adams
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>CTL-32.vol</object-name>
<property>instrumentation/nav[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/VIR-32/nav2</property>
<factor>0.00001</factor>
<step>10000</step>
<property>instrumentation/nav[1]/frequencies/selected-mhz</property>
<factor>0.001</factor>
<step>100</step>
<bias>0.005</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/VIR-32/nav2</property>
<factor>0.0001</factor>
<step>1000</step>
<property>instrumentation/nav[1]/frequencies/selected-mhz</property>
<factor>0.01</factor>
<step>10</step>
<bias>0.005</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/VIR-32/nav2</property>
<factor>0.001</factor>
<step>100</step>
<property>instrumentation/nav[1]/frequencies/selected-mhz</property>
<factor>0.1</factor>
<step>1</step>
<bias>0.005</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/VIR-32/nav2</property>
<factor>0.01</factor>
<step>10</step>
<property>instrumentation/nav[1]/frequencies/selected-mhz</property>
<factor>1.0</factor>
<step>0.1</step>
<bias>0.005</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/VIR-32/nav2</property>
<factor>0.1</factor>
<step>1</step>
<property>instrumentation/nav[1]/frequencies/selected-mhz</property>
<factor>10.0</factor>
<step>0.01</step>
<bias>0.005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -148,9 +150,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>stby.001</object-name>
<property>instrumentation/VIR-32/standby2</property>
<factor>0.00001</factor>
<step>10000</step>
<property>instrumentation/nav[1]/frequencies/standby-mhz</property>
<factor>0.001</factor>
<step>100</step>
<bias>0.005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -161,9 +164,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>stby.002</object-name>
<property>instrumentation/VIR-32/standby2</property>
<factor>0.0001</factor>
<step>1000</step>
<property>instrumentation/nav[1]/frequencies/standby-mhz</property>
<factor>0.01</factor>
<step>10</step>
<bias>0.005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -174,9 +178,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>stby.003</object-name>
<property>instrumentation/VIR-32/standby2</property>
<factor>0.001</factor>
<step>100</step>
<property>instrumentation/nav[1]/frequencies/standby-mhz</property>
<factor>0.1</factor>
<step>1</step>
<bias>0.005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -187,9 +192,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>stby.004</object-name>
<property>instrumentation/VIR-32/standby2</property>
<factor>0.01</factor>
<step>10</step>
<property>instrumentation/nav[1]/frequencies/standby-mhz</property>
<factor>1.0</factor>
<step>0.1</step>
<bias>0.005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -200,9 +206,10 @@ Syd Adams
<animation>
<type>textranslate</type>
<object-name>stby.005</object-name>
<property>instrumentation/VIR-32/standby2</property>
<factor>0.1</factor>
<step>1</step>
<property>instrumentation/nav[1]/frequencies/standby-mhz</property>
<factor>10.0</factor>
<step>0.01</step>
<bias>0.005</bias>
<axis>
<x>0</x>
<y>1</y>
@ -210,31 +217,31 @@ Syd Adams
</axis>
</animation>
<!-- OSG hotspots
<!-- OSG hotspots -->
<animation>
<type>pick</type>
<object-name>CTL-32.xfr</object-name>
<object-name>CTL-32.toggle</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-swap</command>
<property>/instrumentation/nav/frequencies/selected-mhz</property>
<property>/instrumentation/nav/frequencies/standby-mhz</property>
<property>instrumentation/nav[1]/frequencies/selected-mhz</property>
<property>instrumentation/nav[1]/frequencies/standby-mhz</property>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>pwr.off</object-name>
<object-name>CTL-32.pwr</object-name>
<action>
<button>0</button>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/nav/serviceable</property>
<property>instrumentation/nav[1]/serviceable</property>
<value>false</value>
</binding>
</action>
@ -242,13 +249,13 @@ Syd Adams
<animation>
<type>pick</type>
<object-name>pwr.on</object-name>
<object-name>CTL-32.pwr</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/nav/serviceable</property>
<property>instrumentation/nav[1]/serviceable</property>
<value>true</value>
</binding>
</action>
@ -256,50 +263,86 @@ Syd Adams
<animation>
<type>pick</type>
<object-name>freq.dwn</object-name>
<object-name>CTL-32.vol</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<interval-sec>0.1</interval-sec>
<binding>
<command>property-adjust</command>
<property>/instrumentation/nav/frequencies/standby-mhz</property>
<step>-0.050</step>
<min>108.00</min>
<max>118.00</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>freq.up</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>property-adjust</command>
<property>/instrumentation/nav/frequencies/standby-mhz</property>
<property>instrumentation/nav[1]/volume</property>
<step>0.050</step>
<min>108.00</min>
<max>118.00</max>
<wrap>true</wrap>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>freq.dwn</object-name>
<object-name>CTL-32.vol</object-name>
<action>
<button>1</button>
<repeatable>true</repeatable>
<interval-sec>0.1</interval-sec>
<binding>
<command>property-adjust</command>
<property>instrumentation/nav[1]/volume</property>
<step>-0.050</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>freq1.knob</object-name>
<action>
<button>1</button>
<repeatable>true</repeatable>
<interval-sec>0.2</interval-sec>
<binding>
<command>property-adjust</command>
<property>/instrumentation/nav/frequencies/standby-mhz</property>
<property>instrumentation/nav[1]/frequencies/standby-mhz</property>
<step>-0.050</step>
<min>108.00</min>
<max>118.000</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<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/nav[1]/frequencies/standby-mhz</property>
<step>0.050</step>
<min>108.00</min>
<max>118.000</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<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/nav[1]/frequencies/standby-mhz</property>
<step>-1.0</step>
<min>108.00</min>
<max>118.00</max>
@ -310,14 +353,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/nav/frequencies/standby-mhz</property>
<property>instrumentation/nav[1]/frequencies/standby-mhz</property>
<step>1.0</step>
<min>108.00</min>
<max>118.000</max>
@ -325,5 +368,5 @@ Syd Adams
</binding>
</action>
</animation>
-->
</PropertyList>

File diff suppressed because it is too large Load diff

View file

@ -1,38 +0,0 @@
#### VIR-22 NAV reciever ####
#### Syd Adams ####
var VIR = props.globals.getNode("/instrumentation/VIR-32",1);
var VR1_STBY = VIR.getNode("standby1",1);
var VR2_STBY = VIR.getNode("standby2",1);
var VR1_NAV = VIR.getNode("nav1",1);
var VR2_NAV = VIR.getNode("nav2",1);
var STBY1=props.globals.getNode("/instrumentation/nav/frequencies/standby-mhz");
var STBY2=props.globals.getNode("/instrumentation/nav[1]/frequencies/standby-mhz");
var NAV1=props.globals.getNode("/instrumentation/nav/frequencies/selected-mhz");
var NAV2=props.globals.getNode("/instrumentation/nav[1]/frequencies/selected-mhz");
setlistener("/sim/signals/fdm-initialized", func {
VR1_STBY.setValue(getprop("/instrumentation/nav/frequencies/standby-mhz")*100);
VR2_STBY.setValue(getprop("/instrumentation/nav[1]/frequencies/standby-mhz")*100);
VR1_NAV.setValue(getprop("/instrumentation/nav/frequencies/selected-mhz")*100);
VR2_NAV.setValue(getprop("/instrumentation/nav[1]/frequencies/selected-mhz")*100);
print("VIR-32 ... OK");
});
setlistener("/instrumentation/VIR-32/standby1", func(sb1){
STBY1.setValue(sb1.getValue() * 0.01);
},0,0);
setlistener("/instrumentation/VIR-32/standby2", func(sb2){
STBY2.setValue(sb2.getValue() * 0.01);
},0,0);
setlistener("/instrumentation/VIR-32/nav1", func(nm1){
NAV1.setValue(nm1.getValue() * 0.01);
},0,0);
setlistener("/instrumentation/VIR-32/nav2", func(nm2){
NAV2.setValue(nm2.getValue() * 0.01);
},0,0);