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>
33 <entry><ind> 0.0</ind> <dep> -60.0</dep></entry>
34 <entry><ind> 1.0</ind> <dep> 0.0</dep></entry>
35 <entry><ind> 2.0</ind> <dep> 60.0</dep></entry>
46 <object-name>cover</object-name>
47 <property>tu154/switches/BKK-test-cover</property>
49 <entry><ind> 0.0</ind> <dep> 10.0</dep></entry>
50 <entry><ind> 1.0</ind> <dep> 110.0</dep></entry>
68 <object-name>hotspot_1</object-name>
69 <visible>false</visible>
72 <repeatable>false</repeatable>
74 <command>nasal</command>
76 interpolate("tu154/switches/BKK-test", 2.0, 0.1 );
77 instruments.bkk_reset();
82 <command>nasal</command>
84 interpolate("tu154/switches/BKK-test", 1.0, 0.1 );
92 <object-name>hotspot_2</object-name>
93 <visible>false</visible>
96 <repeatable>false</repeatable>
98 <command>nasal</command>
100 interpolate("tu154/switches/BKK-test", 0.0, 0.1 );
101 instruments.bkk_reset();
106 <command>nasal</command>
108 interpolate("tu154/switches/BKK-test", 1.0, 0.1 );
118 <object-name>cover_up</object-name>
119 <visible>true</visible>
122 <repeatable>false</repeatable>
124 <command>nasal</command>
126 if( getprop("tu154/switches/BKK-test-cover") == 0.0 ){
127 interpolate("tu154/switches/BKK-test-cover", 1.0, 0.1 );}
128 else {interpolate("tu154/switches/BKK-test-cover", 0.0, 0.1 );}