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

File diff suppressed because it is too large Load diff

View file

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