Add radio type TR1133. This was the standard RAF VHF radio during WWII and after. Under a UK contract, Bendix produced a re-engineered version, the SCR-522. The two radios were functionally identical, and shared a common cockpit control box.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
This commit is contained in:
parent
cc37e63561
commit
cc53219cb9
5 changed files with 7658 additions and 0 deletions
232
Aircraft/Instruments-3d/TR1133/Dialogs/radios.xml
Normal file
232
Aircraft/Instruments-3d/TR1133/Dialogs/radios.xml
Normal file
|
@ -0,0 +1,232 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<name>radios</name>
|
||||
<width>550</width>
|
||||
<modal>false</modal>
|
||||
<layout>vbox</layout>
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<empty>
|
||||
<stretch>1</stretch>
|
||||
</empty>
|
||||
|
||||
<text>
|
||||
<label>Radio Frequencies</label>
|
||||
</text>
|
||||
|
||||
<empty>
|
||||
<stretch>1</stretch>
|
||||
</empty>
|
||||
|
||||
<button>
|
||||
<pref-width>16</pref-width>
|
||||
<pref-height>16</pref-height>
|
||||
<legend></legend>
|
||||
<keynum>27</keynum>
|
||||
<border>2</border>
|
||||
<binding>
|
||||
<command>dialog-close</command>
|
||||
</binding>
|
||||
</button>
|
||||
</group>
|
||||
|
||||
<hrule/>
|
||||
|
||||
<group>
|
||||
<layout>vbox</layout>
|
||||
<text>
|
||||
<label>Selected</label>
|
||||
</text>
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<text>
|
||||
<label>Channel</label>
|
||||
</text>
|
||||
<text>
|
||||
<label>Frequency</label>
|
||||
</text>
|
||||
</group>
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<text>
|
||||
<!--<label>xxxxxxx</label>-->
|
||||
<label>Channel</label>
|
||||
<live>true</live>
|
||||
<!--<format>%.2f</format>-->
|
||||
<property>systems/comm/SCR-522C/frequencies/channel</property>
|
||||
</text>
|
||||
<text>
|
||||
<!--<label>xxxxxxx</label>-->
|
||||
<label>MHz</label>
|
||||
<live>true</live>
|
||||
<format>%.2f</format>
|
||||
<property>/instrumentation/comm[0]/frequencies/selected-mhz</property>
|
||||
</text>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
<hrule/>
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<text>
|
||||
<label>Channel Assignment</label>
|
||||
</text>
|
||||
</group>
|
||||
|
||||
<group>
|
||||
<layout>table</layout>
|
||||
|
||||
<!-- headers -->
|
||||
|
||||
<!--<text>
|
||||
<row>0</row>
|
||||
<col>4</col>
|
||||
<label>Standby</label>
|
||||
</text>-->
|
||||
|
||||
|
||||
<!-- Dummy label to stretch table, as layout manager doesn't handle labels well -->
|
||||
<text>
|
||||
<row>0</row>
|
||||
<col>6</col>
|
||||
<label></label>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<row>1</row>
|
||||
<col>0</col>
|
||||
<halign>right</halign>
|
||||
<label>A</label>
|
||||
</text>
|
||||
|
||||
<input>
|
||||
<name>channel A</name>
|
||||
<row>1</row>
|
||||
<col>1</col>
|
||||
<width>75</width>
|
||||
<height>25</height>
|
||||
<label>MHz</label>
|
||||
<property>/instrumentation/comm/channels/A-mhz</property>
|
||||
</input>
|
||||
|
||||
<text>
|
||||
<row>1</row>
|
||||
<col>3</col>
|
||||
<halign>right</halign>
|
||||
<label>B</label>
|
||||
</text>
|
||||
|
||||
<input>
|
||||
<name>channel B</name>
|
||||
<row>1</row>
|
||||
<col>4</col>
|
||||
<width>75</width>
|
||||
<height>25</height>
|
||||
<label>MHz</label>
|
||||
<property>/instrumentation/comm/channels/B-mhz</property>
|
||||
</input>
|
||||
|
||||
<text>
|
||||
<row>2</row>
|
||||
<col>0</col>
|
||||
<halign>right</halign>
|
||||
<label>C</label>
|
||||
</text>
|
||||
|
||||
<input>
|
||||
<name>channel C</name>
|
||||
<row>2</row>
|
||||
<col>1</col>
|
||||
<width>75</width>
|
||||
<height>25</height>
|
||||
<label>MHz</label>
|
||||
<property>/instrumentation/comm/channels/C-mhz</property>
|
||||
</input>
|
||||
|
||||
<text>
|
||||
<row>2</row>
|
||||
<col>3</col>
|
||||
<halign>right</halign>
|
||||
<label>D</label>
|
||||
</text>
|
||||
|
||||
<input>
|
||||
<name>channel D</name>
|
||||
<row>2</row>
|
||||
<col>4</col>
|
||||
<width>75</width>
|
||||
<height>25</height>
|
||||
<label>MHz</label>
|
||||
<property>/instrumentation/comm/channels/D-mhz</property>
|
||||
</input>
|
||||
|
||||
</group>
|
||||
|
||||
<hrule/>
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<button>
|
||||
<legend>ATC Services in range</legend>
|
||||
<binding>
|
||||
<command>ATC-freq-search</command>
|
||||
</binding>
|
||||
</button>
|
||||
</group>
|
||||
|
||||
<hrule/>
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<default-padding>6</default-padding>
|
||||
<empty>
|
||||
<stretch>true</stretch>
|
||||
</empty>
|
||||
|
||||
<button>
|
||||
<legend>OK</legend>
|
||||
<default>true</default>
|
||||
<equal>true</equal>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>dialog-close</command>
|
||||
</binding>
|
||||
</button>
|
||||
|
||||
<button>
|
||||
<legend>Apply</legend>
|
||||
<equal>true</equal>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
</button>
|
||||
|
||||
<button>
|
||||
<legend>Reset</legend>
|
||||
<equal>true</equal>
|
||||
<binding>
|
||||
<command>dialog-update</command>
|
||||
</binding>
|
||||
</button>
|
||||
|
||||
<button>
|
||||
<legend>Cancel</legend>
|
||||
<equal>true</equal>
|
||||
<key>Esc</key>
|
||||
<binding>
|
||||
<command>dialog-close</command>
|
||||
</binding>
|
||||
</button>
|
||||
|
||||
<empty>
|
||||
<stretch>true</stretch>
|
||||
</empty>
|
||||
</group>
|
||||
|
||||
|
||||
</PropertyList>
|
112
Aircraft/Instruments-3d/TR1133/Nasal/TR1133.nas
Normal file
112
Aircraft/Instruments-3d/TR1133/Nasal/TR1133.nas
Normal file
|
@ -0,0 +1,112 @@
|
|||
#####################################################################################
|
||||
# This script provides the gui to set up the TR1133 radio #
|
||||
# #
|
||||
# Author Vivian Meazza June 2011 #
|
||||
#####################################################################################
|
||||
|
||||
# ================================ Initalize ======================================
|
||||
# Make sure all needed properties are present and accounted
|
||||
# for, and that they have sane default values.
|
||||
|
||||
var channelA_node = props.globals.initNode("instrumentation/comm/channels/A-mhz", 0, "DOUBLE");
|
||||
var channelB_node = props.globals.initNode("instrumentation/comm/channels/B-mhz", 0, "DOUBLE");
|
||||
var channelC_node = props.globals.initNode("instrumentation/comm/channels/C-mhz", 0, "DOUBLE");
|
||||
var channelD_node = props.globals.initNode("instrumentation/comm/channels/D-mhz", 0, "DOUBLE");
|
||||
|
||||
var channel_selected_node = props.globals.initNode("systems/comm/SCR-522C/frequencies/channel-selected", 0, "INT");
|
||||
var tr_node = props.globals.initNode("systems/comm/SCR-522C/tr", 1, "INT");
|
||||
props.globals.initNode("systems/comm/SCR-522C/frequencies/channel", "", "STRING");
|
||||
|
||||
var comm_selected_node = props.globals.getNode("instrumentation/comm/frequencies/selected-mhz", 1);
|
||||
var comm_standby_node = props.globals.getNode("instrumentation/comm/frequencies/standby-mhz", 1);
|
||||
var comm1_selected_node = props.globals.getNode("instrumentation/comm[1]/frequencies/selected-mhz", 1);
|
||||
var comm1_standby_node = props.globals.getNode("instrumentation/comm[1]/frequencies/standby-mhz", 1);
|
||||
|
||||
var radio_dlg = gui.Dialog.new("dialog","Aircraft/Instruments-3d/TR1133/Dialogs/radios.xml");
|
||||
|
||||
var channel = ["OFF","A","B","C","D"];
|
||||
#getprop("systems/comm/SCR-522C/frequencies/channel", 1);
|
||||
setprop("systems/comm/SCR-522C/frequencies/channel", channel[channel_selected_node.getValue()]);
|
||||
|
||||
var TR1133_init = func(){
|
||||
|
||||
print ("initializing TR1133 ...");
|
||||
|
||||
var channelA_init = comm_selected_node.getValue();
|
||||
var channelB_init = comm_standby_node.getValue();
|
||||
var channelC_init = comm1_selected_node.getValue();
|
||||
var channelD_init = comm1_standby_node.getValue();
|
||||
|
||||
channelA_node.setValue(channelA_init);
|
||||
channelB_node.setValue(channelB_init);
|
||||
channelC_node.setValue(channelC_init);
|
||||
channelD_node.setValue(channelD_init);
|
||||
|
||||
comm_selected_node.setValue(0);
|
||||
comm_standby_node.setValue(0);
|
||||
comm1_selected_node.setValue(0);
|
||||
comm1_standby_node.setValue(0);
|
||||
|
||||
# Disable the menu item "Equipment > radio" so we use our own gui: " > Radio".
|
||||
print("Disabling Menu: Equipment -> Radios GUI use Spitfire -> Radio");
|
||||
gui.menuEnable("radio",0);
|
||||
|
||||
|
||||
# =============================== listeners ===============================
|
||||
#
|
||||
|
||||
setlistener("systems/comm/SCR-522C/frequencies/channel-selected", func(n) {
|
||||
var channel_no = n.getValue();
|
||||
|
||||
if (channel_no == nil) channel_no = 0;
|
||||
|
||||
# print("channel", channel_no, " ", channel[channel_no]);
|
||||
setprop("systems/comm/SCR-522C/frequencies/channel", channel[channel_no]);
|
||||
},
|
||||
1,
|
||||
0); #end listener
|
||||
|
||||
setlistener("systems/comm/SCR-522C/tr", func(t) {
|
||||
var tr = t.getValue();
|
||||
# print("tr ",tr);
|
||||
|
||||
if (tr == nil) tr = 1;
|
||||
|
||||
if (tr == 0)
|
||||
setprop("instrumentation/comm/ptt", 1);
|
||||
else
|
||||
setprop("instrumentation/comm/ptt", 0);
|
||||
|
||||
|
||||
},
|
||||
1,
|
||||
0); # end listener
|
||||
|
||||
print("... done");
|
||||
|
||||
}#end func initialize
|
||||
|
||||
setlistener("sim/signals/fdm-initialized", TR1133_init);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
BIN
Aircraft/Instruments-3d/TR1133/SCR-522C.rgb
Normal file
BIN
Aircraft/Instruments-3d/TR1133/SCR-522C.rgb
Normal file
Binary file not shown.
6782
Aircraft/Instruments-3d/TR1133/TR1133.ac
Normal file
6782
Aircraft/Instruments-3d/TR1133/TR1133.ac
Normal file
File diff suppressed because it is too large
Load diff
532
Aircraft/Instruments-3d/TR1133/TR1133.xml
Normal file
532
Aircraft/Instruments-3d/TR1133/TR1133.xml
Normal file
|
@ -0,0 +1,532 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!-- The TR1133 was the progenitor of the SCR-522C. This is a mild rework of the
|
||||
generic SCR-522C -->
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<path>TR1133.ac</path>
|
||||
|
||||
<animation>
|
||||
<type>range</type>
|
||||
<min-m>0</min-m>
|
||||
<max-m>25</max-m>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<visible>true</visible>
|
||||
<object-name>SCR-522C-OFF</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
|
||||
<value>0</value>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/instrumentation/comm[0]/frequencies/selected-mhz</property>
|
||||
<value>0</value>
|
||||
</binding>
|
||||
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>SCR-522C-OFF</object-name>
|
||||
<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
|
||||
<interpolation>
|
||||
<entry>
|
||||
<ind>0</ind>
|
||||
<dep>-0.005</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>1</ind>
|
||||
<dep>0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>2</ind>
|
||||
<dep>0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>3</ind>
|
||||
<dep>0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>4</ind>
|
||||
<dep>0</dep>
|
||||
</entry>
|
||||
</interpolation>
|
||||
<center>
|
||||
<x-m>-0.00</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>-0.0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<z>1</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>SCR-522C-T-base</object-name>
|
||||
<object-name>SCR-522C-T-sw-handle</object-name>
|
||||
<object-name>SCR-522C-T-stem</object-name>
|
||||
<property>/systems/comm/SCR-522C/tr</property>
|
||||
<interpolation>
|
||||
<entry>
|
||||
<ind>0</ind>
|
||||
<dep>15</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>1</ind>
|
||||
<dep>0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>2</ind>
|
||||
<dep>-15</dep>
|
||||
</entry>
|
||||
</interpolation>
|
||||
<center>
|
||||
<x-m>-0.00</x-m>
|
||||
<y-m>-0.01</y-m>
|
||||
<z-m>0.05</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<visible>true</visible>
|
||||
<object-name>SCR-522C-A</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/instrumentation/comm[0]/frequencies/selected-mhz</property>
|
||||
<property>/instrumentation/comm/channels/A-mhz</property>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>SCR-522C-A</object-name>
|
||||
<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
|
||||
<interpolation>
|
||||
<entry>
|
||||
<ind>0</ind>
|
||||
<dep>0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>1</ind>
|
||||
<dep>-0.005</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>2</ind>
|
||||
<dep>0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>3</ind>
|
||||
<dep>0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>4</ind>
|
||||
<dep>0</dep>
|
||||
</entry>
|
||||
</interpolation>
|
||||
<center>
|
||||
<x-m>-0.00</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>-0.0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<z>1</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<visible>true</visible>
|
||||
<object-name>SCR-522C-B</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
|
||||
<value>2</value>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/instrumentation/comm[0]/frequencies/selected-mhz</property>
|
||||
<property>/instrumentation/comm/channels/B-mhz</property>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>SCR-522C-B</object-name>
|
||||
<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
|
||||
<interpolation>
|
||||
<entry>
|
||||
<ind>0</ind>
|
||||
<dep>0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>1</ind>
|
||||
<dep>0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>2</ind>
|
||||
<dep>-0.005</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>3</ind>
|
||||
<dep>0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>4</ind>
|
||||
<dep>0</dep>
|
||||
</entry>
|
||||
</interpolation>
|
||||
<center>
|
||||
<x-m>-0.00</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>-0.0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<z>1</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<visible>true</visible>
|
||||
<object-name>SCR-522C-C</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
|
||||
<value>3</value>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/instrumentation/comm[0]/frequencies/selected-mhz</property>
|
||||
<property>/instrumentation/comm/channels/C-mhz</property>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>SCR-522C-C</object-name>
|
||||
<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
|
||||
<interpolation>
|
||||
<entry>
|
||||
<ind>0</ind>
|
||||
<dep>-0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>1</ind>
|
||||
<dep>-0.0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>2</ind>
|
||||
<dep>0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>3</ind>
|
||||
<dep>-0.005</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>4</ind>
|
||||
<dep>0</dep>
|
||||
</entry>
|
||||
</interpolation>
|
||||
<center>
|
||||
<x-m>-0.00</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>-0.0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<z>1</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<visible>true</visible>
|
||||
<object-name>SCR-522C-D</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
|
||||
<value>4</value>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/instrumentation/comm[0]/frequencies/selected-mhz</property>
|
||||
<property>/instrumentation/comm/channels/D-mhz</property>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>SCR-522C-D</object-name>
|
||||
<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
|
||||
<interpolation>
|
||||
<entry>
|
||||
<ind>0</ind>
|
||||
<dep>-0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>1</ind>
|
||||
<dep>-0.0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>2</ind>
|
||||
<dep>0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>3</ind>
|
||||
<dep>0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>4</ind>
|
||||
<dep>-0.005</dep>
|
||||
</entry>
|
||||
</interpolation>
|
||||
<center>
|
||||
<x-m>-0.00</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>-0.0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<z>1</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>SCR-522C-lamp-A</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>SCR-522C-lamp-B</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
|
||||
<value>2</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>SCR-522C-lamp-C</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
|
||||
<value>3</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>SCR-522C-lamp-D</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
|
||||
<value>4</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<visible>false</visible>
|
||||
<object-name>Pick0</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/systems/comm/SCR-522C/tr</property>
|
||||
<value>0</value>
|
||||
</binding>
|
||||
<mod-up>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/systems/comm/SCR-522C/tr</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
</mod-up>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<visible>false</visible>
|
||||
<object-name>Pick1</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/systems/comm/SCR-522C/tr</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<visible>false</visible>
|
||||
<object-name>Pick2</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/systems/comm/SCR-522C/tr</property>
|
||||
<value>2</value>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>SCR-522C-lamp-T</object-name>
|
||||
<condition>
|
||||
<and>
|
||||
<greater-than>
|
||||
<property>/systems/comm/SCR-522C/tr</property>
|
||||
<value>0</value>
|
||||
</greater-than>
|
||||
<greater-than>
|
||||
<property>/systems/comm/SCR-522C/frequencies/channel-selected</property>
|
||||
<value>0</value>
|
||||
</greater-than>
|
||||
<not>
|
||||
<property>/instrumentation/comm[0]/ptt</property>
|
||||
</not>
|
||||
<not>
|
||||
<property>/instrumentation/comm[1]/ptt</property>
|
||||
</not>
|
||||
</and>
|
||||
</condition>
|
||||
</animation><!-- -->
|
||||
|
||||
<!--<animation>
|
||||
<type>translate</type>
|
||||
<object-name>SCR-522C-light-cont-1</object-name>
|
||||
<property>/systems/comm/SCR-522C/channel-dimmer</property>
|
||||
<interpolation>
|
||||
<entry>
|
||||
<ind>0</ind>
|
||||
<dep>0.005</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>1.0</ind>
|
||||
<dep>0</dep>
|
||||
</entry>
|
||||
</interpolation>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>SCR-522C-light-cont-2</object-name>
|
||||
<property>/systems/comm/SCR-522C/tr-dimmer</property>
|
||||
<interpolation>
|
||||
<entry>
|
||||
<ind>0</ind>
|
||||
<dep>0.005</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>1.0</ind>
|
||||
<dep>0</dep>
|
||||
</entry>
|
||||
</interpolation>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>-->
|
||||
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>SCR-522C-top</object-name>
|
||||
<object-name>SCR-522C-box</object-name>
|
||||
<object-name>SCR-522C-A</object-name>
|
||||
<object-name>SCR-522C-B</object-name>
|
||||
<object-name>SCR-522C-C</object-name>
|
||||
<object-name>SCR-522C-D</object-name>
|
||||
<object-name>SCR-522C-T-base</object-name>
|
||||
<object-name>SCR-522C-T-sw-handle</object-name>
|
||||
<object-name>SCR-522C-T-stem</object-name>
|
||||
<object-name>SCR-522C-light-cont-2</object-name>
|
||||
<object-name>SCR-522C-light-cont-1</object-name>
|
||||
<object-name>SCR-522C-OFF</object-name>
|
||||
<object-name>right-outer-bracket</object-name>
|
||||
<object-name>left-inner-bracket</object-name>
|
||||
<object-name>left-outer-bracket</object-name>
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>/controls/lighting/panel-norm</property>
|
||||
<value>0</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
<emission>
|
||||
<factor-prop>/controls/lighting/panel-norm</factor-prop>
|
||||
<red>0.75</red>
|
||||
<green>0.25</green>
|
||||
<blue>0.25</blue>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
|
||||
</PropertyList>
|
Loading…
Reference in a new issue