changed wxradar to radar ...
This commit is contained in:
parent
7c9566860d
commit
c07a7c266e
3 changed files with 27 additions and 27 deletions
|
@ -14,7 +14,7 @@ Syd Adams
|
||||||
<red>0.8</red>
|
<red>0.8</red>
|
||||||
<green>0.9</green>
|
<green>0.9</green>
|
||||||
<blue>0.8</blue>
|
<blue>0.8</blue>
|
||||||
<factor-prop>/instrumentation/wxradar/dim</factor-prop>
|
<factor-prop>/instrumentation/radar/dim</factor-prop>
|
||||||
</emission>
|
</emission>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ Syd Adams
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
<object-name>RDR160.brt</object-name>
|
<object-name>RDR160.brt</object-name>
|
||||||
<property>instrumentation/wxradar/dim</property>
|
<property>instrumentation/radar/dim</property>
|
||||||
<interpolation>
|
<interpolation>
|
||||||
<entry><ind>0</ind><dep>0</dep></entry>
|
<entry><ind>0</ind><dep>0</dep></entry>
|
||||||
<entry><ind>1</ind><dep>240</dep></entry>
|
<entry><ind>1</ind><dep>240</dep></entry>
|
||||||
|
@ -52,7 +52,7 @@ Syd Adams
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
<object-name>RDR160.tilt</object-name>
|
<object-name>RDR160.tilt</object-name>
|
||||||
<property>instrumentation/wxradar/tilt</property>
|
<property>instrumentation/radar/tilt</property>
|
||||||
<interpolation>
|
<interpolation>
|
||||||
<entry><ind>-15</ind><dep>-130</dep></entry>
|
<entry><ind>-15</ind><dep>-130</dep></entry>
|
||||||
<entry><ind>0</ind><dep>0</dep></entry>
|
<entry><ind>0</ind><dep>0</dep></entry>
|
||||||
|
@ -73,7 +73,7 @@ Syd Adams
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
<object-name>RDR160.power</object-name>
|
<object-name>RDR160.power</object-name>
|
||||||
<property>/instrumentation/wxradar/switch-pos</property>
|
<property>/instrumentation/radar/switch-pos</property>
|
||||||
<interpolation>
|
<interpolation>
|
||||||
<entry><ind>0</ind><dep>0</dep></entry>
|
<entry><ind>0</ind><dep>0</dep></entry>
|
||||||
<entry><ind>1</ind><dep>40</dep></entry>
|
<entry><ind>1</ind><dep>40</dep></entry>
|
||||||
|
@ -102,7 +102,7 @@ Syd Adams
|
||||||
<repeatable>true</repeatable>
|
<repeatable>true</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>instrumentation/wxradar/dim</property>
|
<property>instrumentation/radar/dim</property>
|
||||||
<step>0.05</step>
|
<step>0.05</step>
|
||||||
<min>0.0</min>
|
<min>0.0</min>
|
||||||
<max>1.0</max>
|
<max>1.0</max>
|
||||||
|
@ -119,7 +119,7 @@ Syd Adams
|
||||||
<repeatable>true</repeatable>
|
<repeatable>true</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>instrumentation/wxradar/dim</property>
|
<property>instrumentation/radar/dim</property>
|
||||||
<step>-0.05</step>
|
<step>-0.05</step>
|
||||||
<min>0.0</min>
|
<min>0.0</min>
|
||||||
<max>1.0</max>
|
<max>1.0</max>
|
||||||
|
@ -136,7 +136,7 @@ Syd Adams
|
||||||
<repeatable>false</repeatable>
|
<repeatable>false</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>instrumentation/wxradar/tilt</property>
|
<property>instrumentation/radar/tilt</property>
|
||||||
<step>5.0</step>
|
<step>5.0</step>
|
||||||
<min>-15.0</min>
|
<min>-15.0</min>
|
||||||
<max>15.0</max>
|
<max>15.0</max>
|
||||||
|
@ -153,7 +153,7 @@ Syd Adams
|
||||||
<repeatable>false</repeatable>
|
<repeatable>false</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>instrumentation/wxradar/tilt</property>
|
<property>instrumentation/radar/tilt</property>
|
||||||
<step>-5.0</step>
|
<step>-5.0</step>
|
||||||
<min>-15.0</min>
|
<min>-15.0</min>
|
||||||
<max>15.0</max>
|
<max>15.0</max>
|
||||||
|
@ -170,7 +170,7 @@ Syd Adams
|
||||||
<repeatable>false</repeatable>
|
<repeatable>false</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>instrumentation/wxradar/switch-pos</property>
|
<property>instrumentation/radar/switch-pos</property>
|
||||||
<step>-1</step>
|
<step>-1</step>
|
||||||
<min>0</min>
|
<min>0</min>
|
||||||
<max>3</max>
|
<max>3</max>
|
||||||
|
@ -187,7 +187,7 @@ Syd Adams
|
||||||
<repeatable>false</repeatable>
|
<repeatable>false</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>instrumentation/wxradar/switch-pos</property>
|
<property>instrumentation/radar/switch-pos</property>
|
||||||
<step>1</step>
|
<step>1</step>
|
||||||
<min>0</min>
|
<min>0</min>
|
||||||
<max>3</max>
|
<max>3</max>
|
||||||
|
@ -204,7 +204,7 @@ Syd Adams
|
||||||
<repeatable>false</repeatable>
|
<repeatable>false</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-assign</command>
|
<command>property-assign</command>
|
||||||
<property>instrumentation/wxradar/set-range</property>
|
<property>instrumentation/radar/set-range</property>
|
||||||
<value>1</value>
|
<value>1</value>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
@ -218,7 +218,7 @@ Syd Adams
|
||||||
<repeatable>false</repeatable>
|
<repeatable>false</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-assign</command>
|
<command>property-assign</command>
|
||||||
<property>instrumentation/wxradar/set-range</property>
|
<property>instrumentation/radar/set-range</property>
|
||||||
<value>-1</value>
|
<value>-1</value>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
@ -232,7 +232,7 @@ Syd Adams
|
||||||
<repeatable>false</repeatable>
|
<repeatable>false</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-toggle</command>
|
<command>property-toggle</command>
|
||||||
<property>instrumentation/wxradar/display-controls/data</property>
|
<property>instrumentation/radar/display-controls/data</property>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
|
@ -245,7 +245,7 @@ Syd Adams
|
||||||
<repeatable>false</repeatable>
|
<repeatable>false</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-toggle</command>
|
<command>property-toggle</command>
|
||||||
<property>instrumentation/wxradar/display-controls/pos</property>
|
<property>instrumentation/radar/display-controls/pos</property>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#### Radar Modes WX ; WXA ; MAP
|
#### Radar Modes WX ; WXA ; MAP
|
||||||
#### Ranges : 10 , 20, 40, 80 , 160
|
#### Ranges : 10 , 20, 40, 80 , 160
|
||||||
|
|
||||||
RADAR = props.globals.getNode("/instrumentation/wxradar",1);
|
RADAR = props.globals.getNode("/instrumentation/radar",1);
|
||||||
FDM_ON = 0;
|
FDM_ON = 0;
|
||||||
P_Str =["off","stby", "tst","on"];
|
P_Str =["off","stby", "tst","on"];
|
||||||
RADAR.getNode("radar-texture-path",1).setValue("Aircraft/Instruments-3d/RDR-160/od_wxradar.rgb");
|
RADAR.getNode("radar-texture-path",1).setValue("Aircraft/Instruments-3d/RDR-160/od_wxradar.rgb");
|
||||||
|
@ -33,14 +33,14 @@ setlistener("/sim/signals/fdm-initialized", func {
|
||||||
print("KING RDR-160 ... OK");
|
print("KING RDR-160 ... OK");
|
||||||
});
|
});
|
||||||
|
|
||||||
setlistener("/instrumentation/wxradar/switch-pos", func {
|
setlistener("/instrumentation/radar/switch-pos", func {
|
||||||
if(FDM_ON != 0){
|
if(FDM_ON != 0){
|
||||||
var swtch = cmdarg().getValue();
|
var swtch = cmdarg().getValue();
|
||||||
RADAR.getNode("switch",1).setValue(P_Str[swtch]);
|
RADAR.getNode("switch",1).setValue(P_Str[swtch]);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
setlistener("/instrumentation/wxradar/set-range", func {
|
setlistener("/instrumentation/radar/set-range", func {
|
||||||
if(FDM_ON != 0){
|
if(FDM_ON != 0){
|
||||||
var rng = RADAR.getNode("range").getValue();
|
var rng = RADAR.getNode("range").getValue();
|
||||||
var num = cmdarg().getValue();
|
var num = cmdarg().getValue();
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
<h>8</h>
|
<h>8</h>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-toggle</command>
|
<command>property-toggle</command>
|
||||||
<property>instrumentation/wxradar/display-controls/data</property>
|
<property>instrumentation/radar/display-controls/data</property>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
<h>8</h>
|
<h>8</h>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-toggle</command>
|
<command>property-toggle</command>
|
||||||
<property>instrumentation/wxradar/display-controls/pos</property>
|
<property>instrumentation/radar/display-controls/pos</property>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@
|
||||||
<h>8</h>
|
<h>8</h>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-assign</command>
|
<command>property-assign</command>
|
||||||
<property>instrumentation/wxradar/set-range</property>
|
<property>instrumentation/radar/set-range</property>
|
||||||
<value>1</value>
|
<value>1</value>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
<h>8</h>
|
<h>8</h>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-assign</command>
|
<command>property-assign</command>
|
||||||
<property>instrumentation/wxradar/set-range</property>
|
<property>instrumentation/radar/set-range</property>
|
||||||
<value>-1</value>
|
<value>-1</value>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
<h>20</h>
|
<h>20</h>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>instrumentation/wxradar/switch-pos</property>
|
<property>instrumentation/radar/switch-pos</property>
|
||||||
<step>-1</step>
|
<step>-1</step>
|
||||||
<min>0</min>
|
<min>0</min>
|
||||||
<max>3</max>
|
<max>3</max>
|
||||||
|
@ -105,7 +105,7 @@
|
||||||
<h>20</h>
|
<h>20</h>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>instrumentation/wxradar/switch-pos</property>
|
<property>instrumentation/radar/switch-pos</property>
|
||||||
<step>1</step>
|
<step>1</step>
|
||||||
<min>0</min>
|
<min>0</min>
|
||||||
<max>3</max>
|
<max>3</max>
|
||||||
|
@ -122,7 +122,7 @@
|
||||||
<h>20</h>
|
<h>20</h>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>instrumentation/wxradar/tilt</property>
|
<property>instrumentation/radar/tilt</property>
|
||||||
<step>5.0</step>
|
<step>5.0</step>
|
||||||
<min>-15.0</min>
|
<min>-15.0</min>
|
||||||
<max>15.0</max>
|
<max>15.0</max>
|
||||||
|
@ -139,7 +139,7 @@
|
||||||
<h>20</h>
|
<h>20</h>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>instrumentation/wxradar/tilt</property>
|
<property>instrumentation/radar/tilt</property>
|
||||||
<step>-5.0</step>
|
<step>-5.0</step>
|
||||||
<min>-15.0</min>
|
<min>-15.0</min>
|
||||||
<max>15.0</max>
|
<max>15.0</max>
|
||||||
|
@ -156,7 +156,7 @@
|
||||||
<h>20</h>
|
<h>20</h>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>instrumentation/wxradar/dim</property>
|
<property>instrumentation/radar/dim</property>
|
||||||
<step>0.05</step>
|
<step>0.05</step>
|
||||||
<min>0.0</min>
|
<min>0.0</min>
|
||||||
<max>1.0</max>
|
<max>1.0</max>
|
||||||
|
@ -173,7 +173,7 @@
|
||||||
<h>20</h>
|
<h>20</h>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
<property>instrumentation/wxradar/dim</property>
|
<property>instrumentation/radar/dim</property>
|
||||||
<step>-0.05</step>
|
<step>-0.05</step>
|
||||||
<min>0.0</min>
|
<min>0.0</min>
|
||||||
<max>1.0</max>
|
<max>1.0</max>
|
||||||
|
|
Loading…
Reference in a new issue