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 #############################################################################
10 <!-- AZS type 3 with cover
11 3D instrument for Tu-154 -->
14 <!--External panel lighting-->
17 <object-name>base</object-name>
18 <object-name>handle</object-name>
19 <object-name>cover_up</object-name>
21 <red-prop>tu154/light/panel/ext-red</red-prop>
22 <green-prop>tu154/light/panel/ext-green</green-prop>
23 <blue-prop>tu154/light/panel/ext-blue</blue-prop>
30 <object-name>handle</object-name>
31 <property>tu154/switches/BKK-test</property>
42 <object-name>cover</object-name>
43 <property>tu154/switches/BKK-test-cover</property>
45 <offset-deg>10</offset-deg>
62 <object-name>hotspot_1</object-name>
63 <visible>false</visible>
66 <repeatable>false</repeatable>
68 <command>nasal</command>
70 interpolate("tu154/switches/BKK-test", 1, 0.1 );
71 instruments.bkk_reset(2);
76 <command>nasal</command>
78 interpolate("tu154/switches/BKK-test", 0, 0.1 );
86 <object-name>hotspot_2</object-name>
87 <visible>false</visible>
90 <repeatable>false</repeatable>
92 <command>nasal</command>
94 interpolate("tu154/switches/BKK-test", -1, 0.1 );
95 instruments.bkk_reset(1);
100 <command>nasal</command>
102 interpolate("tu154/switches/BKK-test", 0, 0.1 );
112 <object-name>cover_up</object-name>
113 <visible>true</visible>
116 <repeatable>false</repeatable>
118 <command>nasal</command>
120 if( getprop("tu154/switches/BKK-test-cover") == 0.0 ){
121 interpolate("tu154/switches/BKK-test-cover", 1.0, 0.1 );}
122 else {interpolate("tu154/switches/BKK-test-cover", 0.0, 0.1 );}