3 #############################################################################
4 # (C) 2007 by Yurik V. Nikiforoff #
5 # yurik@megasignal.com #
7 #############################################################################
10 <!-- IKU-1 heading indicator
11 3D instrument for Tu-154 -->
14 <!-- Internal instruments lighting -->
17 <object-name>text</object-name>
18 <object-name>compass</object-name>
19 <object-name>l_handle</object-name>
20 <object-name>r_handle</object-name>
21 <object-name>l_src</object-name>
22 <object-name>r_src</object-name>
23 <object-name>white_needle</object-name>
24 <object-name>yellow_needle</object-name>
26 <red-prop>tu154/light/instruments/int-red</red-prop>
27 <green-prop>tu154/light/instruments/int-green</green-prop>
28 <blue-prop>tu154/light/instruments/int-blue</blue-prop>
32 <!-- External instruments lighting -->
35 <object-name>base</object-name>
37 <red-prop>tu154/light/panel/ext-red</red-prop>
38 <green-prop>tu154/light/panel/ext-green</green-prop>
39 <blue-prop>tu154/light/panel/ext-blue</blue-prop>
46 <object-name>compass</object-name>
47 <property>fdm/jsbsim/instrumentation/bgmk-1</property>
59 <object-name>white_needle</object-name>
60 <property>tu154/instrumentation/iku-1/indicated-heading-r</property>
70 <object-name>yellow_needle</object-name>
71 <property>tu154/instrumentation/iku-1/indicated-heading-l</property>
84 <object-name>l_handle</object-name>
85 <property>tu154/instrumentation/iku-1/l-mode</property>
87 <entry><ind> 0.0</ind> <dep> 0.0</dep></entry>
88 <entry><ind> 1.0</ind> <dep> 90.0</dep></entry>
103 <object-name>r_handle</object-name>
104 <property>tu154/instrumentation/iku-1/r-mode</property>
106 <entry><ind> 0.0</ind> <dep> 0.0</dep></entry>
107 <entry><ind> 1.0</ind> <dep> 90.0</dep></entry>
121 <!--VOR/ADF indicators-->
124 <object-name>l_src</object-name>
125 <property>tu154/instrumentation/iku-1/l-mode</property>
127 <entry><ind> 0.0</ind> <dep> 0.0</dep></entry>
128 <entry><ind> 1.0</ind> <dep> 120.0</dep></entry>
143 <object-name>r_src</object-name>
144 <property>tu154/instrumentation/iku-1/r-mode</property>
146 <entry><ind> 0.0</ind> <dep> 0.0</dep></entry>
147 <entry><ind> 1.0</ind> <dep> 120.0</dep></entry>
161 <!-- ******************* Controls ********************* -->
165 <object-name>l_handle</object-name>
166 <visible>true</visible>
169 <repeatable>false</repeatable>
171 <command>nasal</command>
173 if( getprop("tu154/instrumentation/iku-1/l-mode") == 0.0 )
174 {interpolate("tu154/instrumentation/iku-1/l-mode", 1.0, 0.1 );}
175 else { interpolate("tu154/instrumentation/iku-1/l-mode", 0.0, 0.1 );}
182 <object-name>l_handle</object-name>
183 <visible>true</visible>
186 <repeatable>false</repeatable>
188 <command>nasal</command>
189 <script>interpolate("tu154/instrumentation/iku-1/l-mode", 1.0, 0.1 );</script>
195 <object-name>l_handle</object-name>
196 <visible>true</visible>
199 <repeatable>false</repeatable>
201 <command>nasal</command>
202 <script>interpolate("tu154/instrumentation/iku-1/l-mode", 0.0, 0.1 );</script>
210 <object-name>r_handle</object-name>
211 <visible>true</visible>
214 <repeatable>false</repeatable>
216 <command>nasal</command>
218 if( getprop("tu154/instrumentation/iku-1/r-mode") == 0.0 ){
219 interpolate("tu154/instrumentation/iku-1/r-mode", 1.0, 0.1 );}
220 else {interpolate("tu154/instrumentation/iku-1/r-mode", 0.0, 0.1 );}
227 <object-name>r_handle</object-name>
228 <visible>true</visible>
231 <repeatable>false</repeatable>
233 <command>nasal</command>
234 <script>interpolate("tu154/instrumentation/iku-1/r-mode", 1.0, 0.1 );</script>
240 <object-name>r_handle</object-name>
241 <visible>true</visible>
244 <repeatable>false</repeatable>
246 <command>nasal</command>
247 <script>interpolate("tu154/instrumentation/iku-1/r-mode", 0.0, 0.1 );</script>