1
0
Fork 0

Updated RDR-160 wxradar to use Vivian's enhancements...

Added a wxradar hotspot file...
Updated Aerostar's radar hotspots
This commit is contained in:
sydadams 2007-08-10 06:24:20 +00:00
parent fd20d330ba
commit 0a92d4c802
5 changed files with 1615 additions and 1376 deletions

View file

@ -5,223 +5,249 @@ Syd Adams
-->
<PropertyList>
<path>RDR160.ac</path>
<path>RDR160.ac</path>
<animation>
<type>material</type>
<object-name>RDR160.screen</object-name>
<emission>
<red>0.8</red>
<green>0.9</green>
<blue>0.8</blue>
<factor-prop>/instrumentation/wxradar/dim</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>RDR160.labels</object-name>
<emission>
<red>0.8</red>
<green>0.4</green>
<blue>0.2</blue>
<factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>RDR160.brt</object-name>
<property>instrumentation/wxradar/dim</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>1</ind><dep>240</dep></entry>
</interpolation>
<center>
<x-m>0</x-m>
<y-m>-0.067</y-m>
<z-m>0.050</z-m>
</center>
<axis>
<x>-1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>RDR160.tilt</object-name>
<property>instrumentation/wxradar/tilt</property>
<interpolation>
<entry><ind>-15</ind><dep>-130</dep></entry>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>15</ind><dep>125</dep></entry>
</interpolation>
<center>
<x-m>0</x-m>
<y-m>0.067</y-m>
<z-m>-0.045</z-m>
</center>
<axis>
<x>-1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>RDR160.power</object-name>
<property>/instrumentation/wxradar/switch-pos</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>1</ind><dep>40</dep></entry>
<entry><ind>2</ind><dep>80</dep></entry>
<entry><ind>3</ind><dep>110</dep></entry>
</interpolation>
<center>
<x-m>0</x-m>
<y-m>-0.067</y-m>
<z-m>-0.041</z-m>
</center>
<axis>
<x>-1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<!-- OSG Pick Animations -->
<animation>
<type>pick</type>
<object-name>brt.up</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/dim</property>
<step>0.05</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>material</type>
<object-name>RDR160.screen</object-name>
<emission>
<red>0.8</red>
<green>0.9</green>
<blue>0.8</blue>
<factor-prop>/instrumentation/wxradar/dim</factor-prop>
</emission>
</animation>
<animation>
<type>pick</type>
<object-name>brt.dwn</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/dim</property>
<step>-0.05</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>material</type>
<object-name>RDR160.labels</object-name>
<emission>
<red>0.8</red>
<green>0.4</green>
<blue>0.2</blue>
<factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
<animation>
<type>pick</type>
<object-name>tilt.up</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/tilt</property>
<step>5.0</step>
<min>-15.0</min>
<max>15.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>tilt.dwn</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/tilt</property>
<step>-5.0</step>
<min>-15.0</min>
<max>15.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>pwr.off</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/switch-pos</property>
<step>-1</step>
<min>0</min>
<max>3</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>pwr.on</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/switch-pos</property>
<step>1</step>
<min>0</min>
<max>3</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>RDR160.rngup</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>instrumentation/wxradar/set-range</property>
<value>1</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>RDR160.rngdwn</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>instrumentation/wxradar/set-range</property>
<value>-1</value>
</binding>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>RDR160.brt</object-name>
<property>instrumentation/wxradar/dim</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>1</ind><dep>240</dep></entry>
</interpolation>
<center>
<x-m>0</x-m>
<y-m>-0.067</y-m>
<z-m>0.050</z-m>
</center>
<axis>
<x>-1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>RDR160.tilt</object-name>
<property>instrumentation/wxradar/tilt</property>
<interpolation>
<entry><ind>-15</ind><dep>-130</dep></entry>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>15</ind><dep>125</dep></entry>
</interpolation>
<center>
<x-m>0</x-m>
<y-m>0.067</y-m>
<z-m>-0.045</z-m>
</center>
<axis>
<x>-1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>RDR160.power</object-name>
<property>/instrumentation/wxradar/switch-pos</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>1</ind><dep>40</dep></entry>
<entry><ind>2</ind><dep>80</dep></entry>
<entry><ind>3</ind><dep>110</dep></entry>
</interpolation>
<center>
<x-m>0</x-m>
<y-m>-0.067</y-m>
<z-m>-0.041</z-m>
</center>
<axis>
<x>-1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<!-- OSG Pick Animations -->
<animation>
<type>pick</type>
<object-name>brt.up</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/dim</property>
<step>0.05</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>brt.dwn</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/dim</property>
<step>-0.05</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>tilt.up</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/tilt</property>
<step>5.0</step>
<min>-15.0</min>
<max>15.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>tilt.dwn</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/tilt</property>
<step>-5.0</step>
<min>-15.0</min>
<max>15.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>pwr.off</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/switch-pos</property>
<step>-1</step>
<min>0</min>
<max>3</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>pwr.on</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/switch-pos</property>
<step>1</step>
<min>0</min>
<max>3</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>RDR160.rngup</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>instrumentation/wxradar/set-range</property>
<value>1</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>RDR160.rngdwn</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>instrumentation/wxradar/set-range</property>
<value>-1</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>RDR160.modeup</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>instrumentation/wxradar/display-controls/data</property>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>RDR160.modedwn</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>instrumentation/wxradar/display-controls/pos</property>
</binding>
</action>
</animation>
</PropertyList>

File diff suppressed because it is too large Load diff

View file

@ -10,16 +10,23 @@
RADAR = props.globals.getNode("/instrumentation/wxradar",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");
RADAR.getNode("echo-texture-path",1).setValue("Aircraft/Instruments/Textures/wxecho.rgb");
RADAR.getNode("serviceable",1).setBoolValue(1);
RADAR.getNode("range",1).setIntValue(10);
RADAR.getNode("range",1).setIntValue(20);
RADAR.getNode("heading-marker",1).setBoolValue(0);
RADAR.getNode("lightning",1).setBoolValue(0);
RADAR.getNode("set-range",1).setIntValue(0);
RADAR.getNode("minimized",1).setBoolValue(0);
RADAR.getNode("switch",1).setValue("off");
RADAR.getNode("switch-pos",1).setIntValue(0);
RADAR.getNode("mode",1).setValue("WX");
RADAR.getNode("lightning",1).setBoolValue(0);
RADAR.getNode("mode-control",1).setIntValue(3);
RADAR.getNode("display-mode",1).setValue("arc");
RADAR.getNode("dim",1).setDoubleValue(0.5);
RADAR.getNode("display-controls/WX",1).setBoolValue(1);
RADAR.getNode("display-controls/data",1).setBoolValue(0);
RADAR.getNode("display-controls/pos",1).setBoolValue(0);
setlistener("/sim/signals/fdm-initialized", func {
FDM_ON = 1;

View file

@ -0,0 +1,186 @@
<?xml version="1.0"?>
<!--RDR 160 WxRadar hotspots-->
<PropertyList>
<name>wxradar hotspots</name>
<w-base>170</w-base>
<h-base>130</h-base>
<w>170</w>
<h>130</h>
<layers>
</layers>
<actions>
<!--
<action>
<name>outline</name>
<button>0</button>
<x>-85</x>
<y>-65</y>
<w>170</w>
<h>130</h>
</action>
-->
<action>
<name>data toggle</name>
<button>0</button>
<x>-73</x>
<y>-2</y>
<w>12</w>
<h>8</h>
<binding>
<command>property-toggle</command>
<property>instrumentation/wxradar/display-controls/data</property>
</binding>
</action>
<action>
<name>pos toggle</name>
<button>0</button>
<x>-73</x>
<y>-20</y>
<w>12</w>
<h>8</h>
<binding>
<command>property-toggle</command>
<property>instrumentation/wxradar/display-controls/pos</property>
</binding>
</action>
<action>
<name>range increase</name>
<button>0</button>
<x>64</x>
<y>-2</y>
<w>12</w>
<h>8</h>
<binding>
<command>property-assign</command>
<property>instrumentation/wxradar/set-range</property>
<value>1</value>
</binding>
</action>
<action>
<name>range decrease</name>
<button>0</button>
<x>64</x>
<y>-20</y>
<w>12</w>
<h>8</h>
<binding>
<command>property-assign</command>
<property>instrumentation/wxradar/set-range</property>
<value>-1</value>
</binding>
</action>
<action>
<name>pwroff</name>
<button>0</button>
<x>-80</x>
<y>-51</y>
<w>12</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/switch-pos</property>
<step>-1</step>
<min>0</min>
<max>3</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>pwron</name>
<button>0</button>
<x>-68</x>
<y>-51</y>
<w>12</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/switch-pos</property>
<step>1</step>
<min>0</min>
<max>3</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>tiltup</name>
<button>0</button>
<x>67</x>
<y>-55</y>
<w>12</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/tilt</property>
<step>5.0</step>
<min>-15.0</min>
<max>15.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>tiltdown</name>
<button>0</button>
<x>55</x>
<y>-55</y>
<w>12</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/tilt</property>
<step>-5.0</step>
<min>-15.0</min>
<max>15.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>brtup</name>
<button>0</button>
<x>-68</x>
<y>39</y>
<w>12</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/dim</property>
<step>0.05</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>brtdwn</name>
<button>0</button>
<x>-80</x>
<y>39</y>
<w>12</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/wxradar/dim</property>
<step>-0.05</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</actions>
</PropertyList>