3 #############################################################################
4 # (C) 2007 by Yurik V. Nikiforoff - port for FGFS, FDM, #
5 # 2d & 3d instruments, animations, systems and over. #
6 # yurik@megasignal.com #
7 #############################################################################
11 3D instrument for Tu-154 -->
14 <!--External panel lighting-->
17 <object-name>base</object-name>
19 <red-prop>tu154/light/panel/ext-red</red-prop>
20 <green-prop>tu154/light/panel/ext-green</green-prop>
21 <blue-prop>tu154/light/panel/ext-blue</blue-prop>
25 <!-- Internal instruments lighting -->
28 <object-name>text</object-name>
29 <object-name>handle_1</object-name>
30 <object-name>handle_2</object-name>
31 <object-name>handle_3</object-name>
32 <object-name>handle_4</object-name>
33 <object-name>handle_5</object-name>
35 <red-prop>tu154/light/instruments/int-red</red-prop>
36 <green-prop>tu154/light/instruments/int-green</green-prop>
37 <blue-prop>tu154/light/instruments/int-blue</blue-prop>
43 <object-name>handle_1</object-name>
44 <property>tu154/instrumentation/skawk/handle-1</property>
46 <entry><ind> 0.0</ind> <dep> -90.0</dep></entry>
47 <entry><ind> 7.0</ind> <dep> 120.0</dep></entry>
49 <visible>true</visible>
52 <command>property-adjust</command>
53 <property>tu154/instrumentation/skawk/handle-1</property>
71 <object-name>handle_2</object-name>
72 <property>tu154/instrumentation/skawk/handle-2</property>
74 <entry><ind> 0.0</ind> <dep> -120.0</dep></entry>
75 <entry><ind> 7.0</ind> <dep> 90.0</dep></entry>
79 <command>property-adjust</command>
80 <property>tu154/instrumentation/skawk/handle-2</property>
98 <object-name>handle_3</object-name>
99 <property>tu154/instrumentation/skawk/handle-3</property>
101 <entry><ind> 0.0</ind> <dep> -90.0</dep></entry>
102 <entry><ind> 7.0</ind> <dep> 120.0</dep></entry>
106 <command>property-adjust</command>
107 <property>tu154/instrumentation/skawk/handle-3</property>
125 <object-name>handle_4</object-name>
126 <property>tu154/instrumentation/skawk/handle-4</property>
128 <entry><ind> 0.0</ind> <dep> -120.0</dep></entry>
129 <entry><ind> 7.0</ind> <dep> 90.0</dep></entry>
133 <command>property-adjust</command>
134 <property>tu154/instrumentation/skawk/handle-4</property>
153 <object-name>handle_5</object-name>
154 <property>tu154/instrumentation/skawk/handle-5</property>
156 <entry><ind> 0.0</ind> <dep> -120.0</dep></entry>
157 <entry><ind> 7.0</ind> <dep> 90.0</dep></entry>
161 <command>property-adjust</command>
162 <property>tu154/instrumentation/skawk/handle-5</property>
169 <command>set-tooltip</command>
170 <tooltip-id>squawk-mode</tooltip-id>
171 <label>Transponder mode: %s</label>
172 <property>tu154/instrumentation/skawk/handle-5</property>
173 <mapping>nasal</mapping>
175 var modes = ['on', 'standby', 'altitude', 'ground'];
176 return modes[arg[0]];