Added hotspots and nasal file for the b1900d trancievers ... didnt realize they only had OSG hotspots...
and nasal control because the <bias> tag doesn't seem to work here
This commit is contained in:
parent
3d33af624f
commit
89467fe9ca
10 changed files with 838 additions and 207 deletions
149
Aircraft/Instruments-3d/VHF-22/ctl22-com1-hotspot.xml
Normal file
149
Aircraft/Instruments-3d/VHF-22/ctl22-com1-hotspot.xml
Normal file
|
@ -0,0 +1,149 @@
|
|||
<!--
|
||||
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>
|
|
@ -81,10 +81,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>freq.001</object-name>
|
||||
<property>instrumentation/comm/frequencies/selected-mhz</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VHF-22/comm1</property>
|
||||
<factor>0.000001</factor>
|
||||
<step>100000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -95,10 +94,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>freq.002</object-name>
|
||||
<property>instrumentation/comm/frequencies/selected-mhz</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VHF-22/comm1</property>
|
||||
<factor>0.00001</factor>
|
||||
<step>10000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -109,10 +107,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>freq.003</object-name>
|
||||
<property>instrumentation/comm/frequencies/selected-mhz</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<bias>0.00005</bias>
|
||||
<property>instrumentation/VHF-22/comm1</property>
|
||||
<factor>0.0001</factor>
|
||||
<step>1000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -123,10 +120,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>freq.004</object-name>
|
||||
<property>instrumentation/comm/frequencies/selected-mhz</property>
|
||||
<factor>1.0</factor>
|
||||
<step>0.1</step>
|
||||
<bias>0.00005</bias>
|
||||
<property>instrumentation/VHF-22/comm1</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -137,10 +133,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>freq.005</object-name>
|
||||
<property>instrumentation/comm/frequencies/selected-mhz</property>
|
||||
<factor>10.0</factor>
|
||||
<step>0.01</step>
|
||||
<bias>0.00005</bias>
|
||||
<property>instrumentation/VHF-22/comm1</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -151,10 +146,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>freq.006</object-name>
|
||||
<property>instrumentation/comm/frequencies/selected-mhz</property>
|
||||
<factor>100.0</factor>
|
||||
<step>0.001</step>
|
||||
<bias>0.00005</bias>
|
||||
<property>instrumentation/VHF-22/comm1</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -167,10 +161,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>stby.001</object-name>
|
||||
<property>instrumentation/comm/frequencies/standby-mhz</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<bias>0.00005</bias>
|
||||
<property>instrumentation/VHF-22/standby1</property>
|
||||
<factor>0.000001</factor>
|
||||
<step>100000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -181,10 +174,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>stby.002</object-name>
|
||||
<property>instrumentation/comm/frequencies/standby-mhz</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<bias>0.00005</bias>
|
||||
<property>instrumentation/VHF-22/standby1</property>
|
||||
<factor>0.00001</factor>
|
||||
<step>10000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -195,10 +187,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>stby.003</object-name>
|
||||
<property>instrumentation/comm/frequencies/standby-mhz</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<bias>0.00005</bias>
|
||||
<property>instrumentation/VHF-22/standby1</property>
|
||||
<factor>0.0001</factor>
|
||||
<step>1000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -209,10 +200,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>stby.004</object-name>
|
||||
<property>instrumentation/comm/frequencies/standby-mhz</property>
|
||||
<factor>1.0</factor>
|
||||
<step>0.1</step>
|
||||
<bias>0.00005</bias>
|
||||
<property>instrumentation/VHF-22/standby1</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -223,10 +213,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>stby.005</object-name>
|
||||
<property>instrumentation/comm/frequencies/standby-mhz</property>
|
||||
<factor>10.0</factor>
|
||||
<step>0.01</step>
|
||||
<bias>0.00005</bias>
|
||||
<property>instrumentation/VHF-22/standby1</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -237,10 +226,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>stby.006</object-name>
|
||||
<property>instrumentation/comm/frequencies/standby-mhz</property>
|
||||
<factor>100.0</factor>
|
||||
<step>0.001</step>
|
||||
<bias>0.00005</bias>
|
||||
<property>instrumentation/VHF-22/standby1</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -248,7 +236,7 @@ Syd Adams
|
|||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- OSG hotspots -->
|
||||
<!-- OSG hotspots
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -363,5 +351,5 @@ Syd Adams
|
|||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
-->
|
||||
</PropertyList>
|
149
Aircraft/Instruments-3d/VHF-22/ctl22-com2-hotspot.xml
Normal file
149
Aircraft/Instruments-3d/VHF-22/ctl22-com2-hotspot.xml
Normal file
|
@ -0,0 +1,149 @@
|
|||
<!--
|
||||
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>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- CTL 22 Comm1 Control for VHF-22 tranceiver
|
||||
<!-- CTL 22 Comm2 Control for VHF-22 tranceiver
|
||||
Active and preset displayed +
|
||||
6 frequency memory storage
|
||||
2.375"W x 2.625"H
|
||||
|
@ -22,7 +22,7 @@ Syd Adams
|
|||
<object-name>freq.006</object-name>
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>/systems/electrical/outputs/comm[1]</property>
|
||||
<property>/systems/electrical/outputs/comm</property>
|
||||
<value>1</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
|
@ -39,7 +39,7 @@ Syd Adams
|
|||
<object-name>stby.006</object-name>
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>/systems/electrical/outputs/comm[1]</property>
|
||||
<property>/systems/electrical/outputs/comm</property>
|
||||
<value>1</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
|
@ -50,7 +50,7 @@ Syd Adams
|
|||
<object-name>mem.annun</object-name>
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>/systems/electrical/outputs/comm[1]</property>
|
||||
<property>/systems/electrical/outputs/comm</property>
|
||||
<value>1</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
|
@ -59,7 +59,7 @@ Syd Adams
|
|||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>CTL-22.pwr</object-name>
|
||||
<property>instrumentation/comm[1]/serviceable</property>
|
||||
<property>instrumentation/comm/serviceable</property>
|
||||
<interpolation>
|
||||
<entry><ind>0</ind><dep>0</dep></entry>
|
||||
<entry><ind>1.0</ind><dep>30</dep></entry>
|
||||
|
@ -81,10 +81,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>freq.001</object-name>
|
||||
<property>instrumentation/comm[1]/frequencies/selected-mhz</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VHF-22/comm2</property>
|
||||
<factor>0.000001</factor>
|
||||
<step>100000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -95,10 +94,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>freq.002</object-name>
|
||||
<property>instrumentation/comm[1]/frequencies/selected-mhz</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VHF-22/comm2</property>
|
||||
<factor>0.00001</factor>
|
||||
<step>10000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -109,10 +107,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>freq.003</object-name>
|
||||
<property>instrumentation/comm[1]/frequencies/selected-mhz</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VHF-22/comm2</property>
|
||||
<factor>0.0001</factor>
|
||||
<step>1000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -123,10 +120,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>freq.004</object-name>
|
||||
<property>instrumentation/comm[1]/frequencies/selected-mhz</property>
|
||||
<factor>1.0</factor>
|
||||
<step>0.1</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VHF-22/comm2</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -137,10 +133,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>freq.005</object-name>
|
||||
<property>instrumentation/comm[1]/frequencies/selected-mhz</property>
|
||||
<factor>10.0</factor>
|
||||
<step>0.01</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VHF-22/comm2</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -151,10 +146,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>freq.006</object-name>
|
||||
<property>instrumentation/comm[1]/frequencies/selected-mhz</property>
|
||||
<factor>100.0</factor>
|
||||
<step>0.001</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VHF-22/comm2</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -167,10 +161,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>stby.001</object-name>
|
||||
<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VHF-22/standby2</property>
|
||||
<factor>0.000001</factor>
|
||||
<step>100000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -181,10 +174,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>stby.002</object-name>
|
||||
<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VHF-22/standby2</property>
|
||||
<factor>0.00001</factor>
|
||||
<step>10000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -195,10 +187,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>stby.003</object-name>
|
||||
<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VHF-22/standby2</property>
|
||||
<factor>0.0001</factor>
|
||||
<step>1000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -209,10 +200,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>stby.004</object-name>
|
||||
<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
|
||||
<factor>1.0</factor>
|
||||
<step>0.1</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VHF-22/standby2</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -223,10 +213,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>stby.005</object-name>
|
||||
<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
|
||||
<factor>10.0</factor>
|
||||
<step>0.01</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VHF-22/standby2</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -237,10 +226,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>stby.006</object-name>
|
||||
<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
|
||||
<factor>100.0</factor>
|
||||
<step>0.001</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VHF-22/standby2</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -248,7 +236,7 @@ Syd Adams
|
|||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- OSG hotspots -->
|
||||
<!-- OSG hotspots
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -258,8 +246,8 @@ Syd Adams
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-swap</command>
|
||||
<property>/instrumentation/comm[1]/frequencies/selected-mhz</property>
|
||||
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
|
||||
<property>/instrumentation/comm/frequencies/selected-mhz</property>
|
||||
<property>/instrumentation/comm/frequencies/standby-mhz</property>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -272,7 +260,7 @@ Syd Adams
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/instrumentation/comm[1]/serviceable</property>
|
||||
<property>/instrumentation/comm/serviceable</property>
|
||||
<value>false</value>
|
||||
</binding>
|
||||
</action>
|
||||
|
@ -286,7 +274,7 @@ Syd Adams
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/instrumentation/comm[1]/serviceable</property>
|
||||
<property>/instrumentation/comm/serviceable</property>
|
||||
<value>true</value>
|
||||
</binding>
|
||||
</action>
|
||||
|
@ -301,7 +289,7 @@ Syd Adams
|
|||
<interval-sec>0.2</interval-sec>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
|
||||
<property>/instrumentation/comm/frequencies/standby-mhz</property>
|
||||
<step>-0.025</step>
|
||||
<min>118.000</min>
|
||||
<max>135.975</max>
|
||||
|
@ -319,7 +307,7 @@ Syd Adams
|
|||
<interval-sec>0.2</interval-sec>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
|
||||
<property>/instrumentation/comm/frequencies/standby-mhz</property>
|
||||
<step>0.025</step>
|
||||
<min>118.000</min>
|
||||
<max>135.975</max>
|
||||
|
@ -337,7 +325,7 @@ Syd Adams
|
|||
<interval-sec>0.2</interval-sec>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
|
||||
<property>/instrumentation/comm/frequencies/standby-mhz</property>
|
||||
<step>-1.0</step>
|
||||
<min>118.000</min>
|
||||
<max>135.975</max>
|
||||
|
@ -355,7 +343,7 @@ Syd Adams
|
|||
<interval-sec>0.2</interval-sec>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
|
||||
<property>/instrumentation/comm/frequencies/standby-mhz</property>
|
||||
<step>1.0</step>
|
||||
<min>118.000</min>
|
||||
<max>135.975</max>
|
||||
|
@ -363,5 +351,5 @@ Syd Adams
|
|||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
-->
|
||||
</PropertyList>
|
38
Aircraft/Instruments-3d/VHF-22/vhf22.nas
Normal file
38
Aircraft/Instruments-3d/VHF-22/vhf22.nas
Normal file
|
@ -0,0 +1,38 @@
|
|||
#### 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);
|
149
Aircraft/Instruments-3d/VIR-32/ctl32-nav1-hotspot.xml
Normal file
149
Aircraft/Instruments-3d/VIR-32/ctl32-nav1-hotspot.xml
Normal file
|
@ -0,0 +1,149 @@
|
|||
<!--
|
||||
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>
|
|
@ -81,10 +81,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>freq.001</object-name>
|
||||
<property>instrumentation/nav/frequencies/selected-mhz</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VIR-32/nav1</property>
|
||||
<factor>0.00001</factor>
|
||||
<step>10000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -95,10 +94,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>freq.002</object-name>
|
||||
<property>instrumentation/nav/frequencies/selected-mhz</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VIR-32/nav1</property>
|
||||
<factor>0.0001</factor>
|
||||
<step>1000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -109,10 +107,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>freq.003</object-name>
|
||||
<property>instrumentation/nav/frequencies/selected-mhz</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VIR-32/nav1</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -123,10 +120,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>freq.004</object-name>
|
||||
<property>instrumentation/nav/frequencies/selected-mhz</property>
|
||||
<factor>1.0</factor>
|
||||
<step>0.1</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VIR-32/nav1</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -137,10 +133,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>freq.005</object-name>
|
||||
<property>instrumentation/nav/frequencies/selected-mhz</property>
|
||||
<factor>10.0</factor>
|
||||
<step>0.01</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VIR-32/nav1</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -153,10 +148,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>stby.001</object-name>
|
||||
<property>instrumentation/nav/frequencies/standby-mhz</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VIR-32/standby1</property>
|
||||
<factor>0.00001</factor>
|
||||
<step>10000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -167,10 +161,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>stby.002</object-name>
|
||||
<property>instrumentation/nav/frequencies/standby-mhz</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VIR-32/standby1</property>
|
||||
<factor>0.0001</factor>
|
||||
<step>1000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -181,10 +174,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>stby.003</object-name>
|
||||
<property>instrumentation/nav/frequencies/standby-mhz</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VIR-32/standby1</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -195,10 +187,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>stby.004</object-name>
|
||||
<property>instrumentation/nav/frequencies/standby-mhz</property>
|
||||
<factor>1.0</factor>
|
||||
<step>0.1</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VIR-32/standby1</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -209,10 +200,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>stby.005</object-name>
|
||||
<property>instrumentation/nav/frequencies/standby-mhz</property>
|
||||
<factor>10.0</factor>
|
||||
<step>0.01</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VIR-32/standby1</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -220,7 +210,7 @@ Syd Adams
|
|||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- OSG hotspots -->
|
||||
<!-- OSG hotspots
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -335,5 +325,5 @@ Syd Adams
|
|||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
-->
|
||||
</PropertyList>
|
149
Aircraft/Instruments-3d/VIR-32/ctl32-nav2-hotspot.xml
Normal file
149
Aircraft/Instruments-3d/VIR-32/ctl32-nav2-hotspot.xml
Normal file
|
@ -0,0 +1,149 @@
|
|||
<!--
|
||||
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>
|
|
@ -49,7 +49,10 @@ Syd Adams
|
|||
<type>select</type>
|
||||
<object-name>mem.annun</object-name>
|
||||
<condition>
|
||||
<property>instrumentation/nav[1]/serviceable</property>
|
||||
<greater-than>
|
||||
<property>/systems/electrical/outputs/nav[1]</property>
|
||||
<value>1</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
|
@ -78,10 +81,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>freq.001</object-name>
|
||||
<property>instrumentation/nav[1]/frequencies/selected-mhz</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VIR-32/nav2</property>
|
||||
<factor>0.00001</factor>
|
||||
<step>10000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -92,10 +94,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>freq.002</object-name>
|
||||
<property>instrumentation/nav[1]/frequencies/selected-mhz</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VIR-32/nav2</property>
|
||||
<factor>0.0001</factor>
|
||||
<step>1000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -106,10 +107,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>freq.003</object-name>
|
||||
<property>instrumentation/nav[1]/frequencies/selected-mhz</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VIR-32/nav2</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -120,10 +120,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>freq.004</object-name>
|
||||
<property>instrumentation/nav[1]/frequencies/selected-mhz</property>
|
||||
<factor>1.0</factor>
|
||||
<step>0.1</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VIR-32/nav2</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -134,10 +133,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>freq.005</object-name>
|
||||
<property>instrumentation/nav[1]/frequencies/selected-mhz</property>
|
||||
<factor>10.0</factor>
|
||||
<step>0.01</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VIR-32/nav2</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -150,10 +148,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>stby.001</object-name>
|
||||
<property>instrumentation/nav[1]/frequencies/standby-mhz</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VIR-32/standby2</property>
|
||||
<factor>0.00001</factor>
|
||||
<step>10000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -164,10 +161,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>stby.002</object-name>
|
||||
<property>instrumentation/nav[1]/frequencies/standby-mhz</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VIR-32/standby2</property>
|
||||
<factor>0.0001</factor>
|
||||
<step>1000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -178,10 +174,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>stby.003</object-name>
|
||||
<property>instrumentation/nav[1]/frequencies/standby-mhz</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VIR-32/standby2</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -192,10 +187,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>stby.004</object-name>
|
||||
<property>instrumentation/nav[1]/frequencies/standby-mhz</property>
|
||||
<factor>1.0</factor>
|
||||
<step>0.1</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VIR-32/standby2</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -206,10 +200,9 @@ Syd Adams
|
|||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>stby.005</object-name>
|
||||
<property>instrumentation/nav[1]/frequencies/standby-mhz</property>
|
||||
<factor>10.0</factor>
|
||||
<step>0.01</step>
|
||||
<bias>0.0005</bias>
|
||||
<property>instrumentation/VIR-32/standby2</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
|
@ -217,7 +210,7 @@ Syd Adams
|
|||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- OSG hotspots -->
|
||||
<!-- OSG hotspots
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
|
@ -227,8 +220,8 @@ Syd Adams
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-swap</command>
|
||||
<property>/instrumentation/nav[1]/frequencies/selected-mhz</property>
|
||||
<property>/instrumentation/nav[1]/frequencies/standby-mhz</property>
|
||||
<property>/instrumentation/nav/frequencies/selected-mhz</property>
|
||||
<property>/instrumentation/nav/frequencies/standby-mhz</property>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
@ -241,7 +234,7 @@ Syd Adams
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/instrumentation/nav[1]/serviceable</property>
|
||||
<property>/instrumentation/nav/serviceable</property>
|
||||
<value>false</value>
|
||||
</binding>
|
||||
</action>
|
||||
|
@ -255,7 +248,7 @@ Syd Adams
|
|||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/instrumentation/nav[1]/serviceable</property>
|
||||
<property>/instrumentation/nav/serviceable</property>
|
||||
<value>true</value>
|
||||
</binding>
|
||||
</action>
|
||||
|
@ -270,7 +263,7 @@ Syd Adams
|
|||
<interval-sec>0.2</interval-sec>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/nav[1]/frequencies/standby-mhz</property>
|
||||
<property>/instrumentation/nav/frequencies/standby-mhz</property>
|
||||
<step>-0.050</step>
|
||||
<min>108.00</min>
|
||||
<max>118.00</max>
|
||||
|
@ -288,7 +281,7 @@ Syd Adams
|
|||
<interval-sec>0.2</interval-sec>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/nav[1]/frequencies/standby-mhz</property>
|
||||
<property>/instrumentation/nav/frequencies/standby-mhz</property>
|
||||
<step>0.050</step>
|
||||
<min>108.00</min>
|
||||
<max>118.00</max>
|
||||
|
@ -306,7 +299,7 @@ Syd Adams
|
|||
<interval-sec>0.2</interval-sec>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/nav[1]/frequencies/standby-mhz</property>
|
||||
<property>/instrumentation/nav/frequencies/standby-mhz</property>
|
||||
<step>-1.0</step>
|
||||
<min>108.00</min>
|
||||
<max>118.00</max>
|
||||
|
@ -324,13 +317,13 @@ Syd Adams
|
|||
<interval-sec>0.2</interval-sec>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/nav[1]/frequencies/standby-mhz</property>
|
||||
<property>/instrumentation/nav/frequencies/standby-mhz</property>
|
||||
<step>1.0</step>
|
||||
<min>108.00</min>
|
||||
<max>118.00</max>
|
||||
<max>118.000</max>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
-->
|
||||
</PropertyList>
|
38
Aircraft/Instruments-3d/VIR-32/vir32.nas
Normal file
38
Aircraft/Instruments-3d/VIR-32/vir32.nas
Normal file
|
@ -0,0 +1,38 @@
|
|||
#### 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);
|
Loading…
Reference in a new issue