1
0
Fork 0

changed wxradar to radar ...

This commit is contained in:
sydadams 2007-12-18 07:13:10 +00:00
parent 7c9566860d
commit c07a7c266e
3 changed files with 27 additions and 27 deletions

View file

@ -14,7 +14,7 @@ Syd Adams
<red>0.8</red>
<green>0.9</green>
<blue>0.8</blue>
<factor-prop>/instrumentation/wxradar/dim</factor-prop>
<factor-prop>/instrumentation/radar/dim</factor-prop>
</emission>
</animation>
@ -32,7 +32,7 @@ Syd Adams
<animation>
<type>rotate</type>
<object-name>RDR160.brt</object-name>
<property>instrumentation/wxradar/dim</property>
<property>instrumentation/radar/dim</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>1</ind><dep>240</dep></entry>
@ -52,7 +52,7 @@ Syd Adams
<animation>
<type>rotate</type>
<object-name>RDR160.tilt</object-name>
<property>instrumentation/wxradar/tilt</property>
<property>instrumentation/radar/tilt</property>
<interpolation>
<entry><ind>-15</ind><dep>-130</dep></entry>
<entry><ind>0</ind><dep>0</dep></entry>
@ -73,7 +73,7 @@ Syd Adams
<animation>
<type>rotate</type>
<object-name>RDR160.power</object-name>
<property>/instrumentation/wxradar/switch-pos</property>
<property>/instrumentation/radar/switch-pos</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>1</ind><dep>40</dep></entry>
@ -102,7 +102,7 @@ Syd Adams
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/dim</property>
<property>instrumentation/radar/dim</property>
<step>0.05</step>
<min>0.0</min>
<max>1.0</max>
@ -119,7 +119,7 @@ Syd Adams
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/dim</property>
<property>instrumentation/radar/dim</property>
<step>-0.05</step>
<min>0.0</min>
<max>1.0</max>
@ -136,7 +136,7 @@ Syd Adams
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/tilt</property>
<property>instrumentation/radar/tilt</property>
<step>5.0</step>
<min>-15.0</min>
<max>15.0</max>
@ -153,7 +153,7 @@ Syd Adams
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/tilt</property>
<property>instrumentation/radar/tilt</property>
<step>-5.0</step>
<min>-15.0</min>
<max>15.0</max>
@ -170,7 +170,7 @@ Syd Adams
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/switch-pos</property>
<property>instrumentation/radar/switch-pos</property>
<step>-1</step>
<min>0</min>
<max>3</max>
@ -187,7 +187,7 @@ Syd Adams
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/switch-pos</property>
<property>instrumentation/radar/switch-pos</property>
<step>1</step>
<min>0</min>
<max>3</max>
@ -204,7 +204,7 @@ Syd Adams
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>instrumentation/wxradar/set-range</property>
<property>instrumentation/radar/set-range</property>
<value>1</value>
</binding>
</action>
@ -218,7 +218,7 @@ Syd Adams
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>instrumentation/wxradar/set-range</property>
<property>instrumentation/radar/set-range</property>
<value>-1</value>
</binding>
</action>
@ -232,7 +232,7 @@ Syd Adams
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>instrumentation/wxradar/display-controls/data</property>
<property>instrumentation/radar/display-controls/data</property>
</binding>
</action>
</animation>
@ -245,7 +245,7 @@ Syd Adams
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>instrumentation/wxradar/display-controls/pos</property>
<property>instrumentation/radar/display-controls/pos</property>
</binding>
</action>
</animation>

View file

@ -7,7 +7,7 @@
#### Radar Modes WX ; WXA ; MAP
#### Ranges : 10 , 20, 40, 80 , 160
RADAR = props.globals.getNode("/instrumentation/wxradar",1);
RADAR = props.globals.getNode("/instrumentation/radar",1);
FDM_ON = 0;
P_Str =["off","stby", "tst","on"];
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");
});
setlistener("/instrumentation/wxradar/switch-pos", func {
setlistener("/instrumentation/radar/switch-pos", func {
if(FDM_ON != 0){
var swtch = cmdarg().getValue();
RADAR.getNode("switch",1).setValue(P_Str[swtch]);
}
});
setlistener("/instrumentation/wxradar/set-range", func {
setlistener("/instrumentation/radar/set-range", func {
if(FDM_ON != 0){
var rng = RADAR.getNode("range").getValue();
var num = cmdarg().getValue();

View file

@ -34,7 +34,7 @@
<h>8</h>
<binding>
<command>property-toggle</command>
<property>instrumentation/wxradar/display-controls/data</property>
<property>instrumentation/radar/display-controls/data</property>
</binding>
</action>
@ -47,7 +47,7 @@
<h>8</h>
<binding>
<command>property-toggle</command>
<property>instrumentation/wxradar/display-controls/pos</property>
<property>instrumentation/radar/display-controls/pos</property>
</binding>
</action>
@ -60,7 +60,7 @@
<h>8</h>
<binding>
<command>property-assign</command>
<property>instrumentation/wxradar/set-range</property>
<property>instrumentation/radar/set-range</property>
<value>1</value>
</binding>
</action>
@ -74,7 +74,7 @@
<h>8</h>
<binding>
<command>property-assign</command>
<property>instrumentation/wxradar/set-range</property>
<property>instrumentation/radar/set-range</property>
<value>-1</value>
</binding>
</action>
@ -88,7 +88,7 @@
<h>20</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/switch-pos</property>
<property>instrumentation/radar/switch-pos</property>
<step>-1</step>
<min>0</min>
<max>3</max>
@ -105,7 +105,7 @@
<h>20</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/switch-pos</property>
<property>instrumentation/radar/switch-pos</property>
<step>1</step>
<min>0</min>
<max>3</max>
@ -122,7 +122,7 @@
<h>20</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/tilt</property>
<property>instrumentation/radar/tilt</property>
<step>5.0</step>
<min>-15.0</min>
<max>15.0</max>
@ -139,7 +139,7 @@
<h>20</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/tilt</property>
<property>instrumentation/radar/tilt</property>
<step>-5.0</step>
<min>-15.0</min>
<max>15.0</max>
@ -156,7 +156,7 @@
<h>20</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/dim</property>
<property>instrumentation/radar/dim</property>
<step>0.05</step>
<min>0.0</min>
<max>1.0</max>
@ -173,7 +173,7 @@
<h>20</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/dim</property>
<property>instrumentation/radar/dim</property>
<step>-0.05</step>
<min>0.0</min>
<max>1.0</max>