3 #############################################################################
4 # (C) 2008 by Yurik V. Nikiforoff - port for FGFS, FDM, #
5 # 2d & 3d instruments, animations, systems and over. #
6 # yurik@megasignal.com #
7 #############################################################################
10 <!-- Light switches block
11 3D instrument for Tu-154 -->
14 <!--External panel lighting-->
17 <object-name>handle_1</object-name>
18 <object-name>handle_2</object-name>
19 <object-name>handle_3</object-name>
20 <object-name>base_1</object-name>
21 <object-name>base_2</object-name>
22 <object-name>base_3</object-name>
23 <object-name>base_4</object-name>
25 <red-prop>tu154/light/panel/ext-red</red-prop>
26 <green-prop>tu154/light/panel/ext-green</green-prop>
27 <blue-prop>tu154/light/panel/ext-blue</blue-prop>
34 <object-name>handle_1</object-name>
35 <property>tu154/switches/bano</property>
37 <entry><ind> 0.0</ind> <dep> -60.0</dep></entry>
38 <entry><ind> 1.0</ind> <dep> 60.0</dep></entry>
48 <object-name>handle_2</object-name>
49 <property>tu154/switches/omi</property>
51 <entry><ind> 0.0</ind> <dep> -60.0</dep></entry>
52 <entry><ind> 1.0</ind> <dep> 60.0</dep></entry>
62 <object-name>handle_3</object-name>
63 <property>tu154/switches/gauge-light</property>
65 <entry><ind> 0.0</ind> <dep> -60.0</dep></entry>
66 <entry><ind> 1.0</ind> <dep> 60.0</dep></entry>
78 <object-name>hotspot_1</object-name>
79 <visible>false</visible>
82 <repeatable>false</repeatable>
84 <command>nasal</command>
86 interpolate("tu154/switches/bano", 1.0, 0.1 );
93 <object-name>hotspot_2</object-name>
94 <visible>false</visible>
97 <repeatable>false</repeatable>
99 <command>nasal</command>
101 interpolate("tu154/switches/bano", 0.0, 0.1 );
108 <object-name>hotspot_3</object-name>
109 <visible>false</visible>
112 <repeatable>false</repeatable>
114 <command>nasal</command>
116 interpolate("tu154/switches/omi", 1.0, 0.1 );
117 warning.strobe_control(1);
124 <object-name>hotspot_4</object-name>
125 <visible>false</visible>
128 <repeatable>false</repeatable>
130 <command>nasal</command>
132 interpolate("tu154/switches/omi", 0.0, 0.1 );
133 warning.strobe_control(0);
140 <object-name>hotspot_5</object-name>
141 <visible>false</visible>
144 <repeatable>false</repeatable>
146 <command>nasal</command>
148 interpolate("tu154/switches/gauge-light", 1.0, 0.1 );
155 <object-name>hotspot_6</object-name>
156 <visible>false</visible>
159 <repeatable>false</repeatable>
161 <command>nasal</command>
163 interpolate("tu154/switches/gauge-light", 0.0, 0.1 );