3 #############################################################################
4 # (C) 2007 by Yurik V. Nikiforoff #
5 # yurik@megasignal.com #
7 #############################################################################
10 <!-- IKU-1 heading indicator
11 3D instrument for Tu-154 -->
13 <path>iku-1-cp.ac</path>
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>
48 <!--<property>fdm/jsbsim/instrumentation/tks-debug</property>-->
60 <object-name>white_needle</object-name>
61 <property>tu154/instrumentation/iku-1/indicated-heading-r</property>
71 <object-name>yellow_needle</object-name>
72 <property>tu154/instrumentation/iku-1/indicated-heading-l</property>
85 <object-name>l_handle</object-name>
86 <property>tu154/instrumentation/iku-1/l-mode</property>
88 <entry><ind> 0.0</ind> <dep> 0.0</dep></entry>
89 <entry><ind> 1.0</ind> <dep> 90.0</dep></entry>
104 <object-name>r_handle</object-name>
105 <property>tu154/instrumentation/iku-1/r-mode</property>
107 <entry><ind> 0.0</ind> <dep> 0.0</dep></entry>
108 <entry><ind> 1.0</ind> <dep> 90.0</dep></entry>
122 <!--VOR/ADF indicators-->
125 <object-name>l_src</object-name>
126 <property>tu154/instrumentation/iku-1/l-mode</property>
128 <entry><ind> 0.0</ind> <dep> 0.0</dep></entry>
129 <entry><ind> 1.0</ind> <dep> 120.0</dep></entry>
144 <object-name>r_src</object-name>
145 <property>tu154/instrumentation/iku-1/r-mode</property>
147 <entry><ind> 0.0</ind> <dep> 0.0</dep></entry>
148 <entry><ind> 1.0</ind> <dep> 120.0</dep></entry>
162 <!-- ******************* Controls ********************* -->
166 <object-name>l_handle</object-name>
167 <visible>true</visible>
170 <repeatable>false</repeatable>
172 <command>nasal</command>
174 if( getprop("tu154/instrumentation/iku-1/l-mode") == 0.0 )
175 {interpolate("tu154/instrumentation/iku-1/l-mode", 1.0, 0.1 );}
176 else { interpolate("tu154/instrumentation/iku-1/l-mode", 0.0, 0.1 );}
183 <object-name>l_handle</object-name>
184 <visible>true</visible>
187 <repeatable>false</repeatable>
189 <command>nasal</command>
190 <script>interpolate("tu154/instrumentation/iku-1/l-mode", 1.0, 0.1 );</script>
196 <object-name>l_handle</object-name>
197 <visible>true</visible>
200 <repeatable>false</repeatable>
202 <command>nasal</command>
203 <script>interpolate("tu154/instrumentation/iku-1/l-mode", 0.0, 0.1 );</script>
211 <object-name>r_handle</object-name>
212 <visible>true</visible>
215 <repeatable>false</repeatable>
217 <command>nasal</command>
219 if( getprop("tu154/instrumentation/iku-1/r-mode") == 0.0 ){
220 interpolate("tu154/instrumentation/iku-1/r-mode", 1.0, 0.1 );}
221 else {interpolate("tu154/instrumentation/iku-1/r-mode", 0.0, 0.1 );}
228 <object-name>r_handle</object-name>
229 <visible>true</visible>
232 <repeatable>false</repeatable>
234 <command>nasal</command>
235 <script>interpolate("tu154/instrumentation/iku-1/r-mode", 1.0, 0.1 );</script>
241 <object-name>r_handle</object-name>
242 <visible>true</visible>
245 <repeatable>false</repeatable>
247 <command>nasal</command>
248 <script>interpolate("tu154/instrumentation/iku-1/r-mode", 0.0, 0.1 );</script>