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/long-control</property>
33 <offset-deg>60</offset-deg>
43 <object-name>cover</object-name>
44 <property>tu154/switches/long-control-cover</property>
46 <offset-deg>10</offset-deg>
63 <object-name>hotspot_1</object-name>
64 <visible>false</visible>
67 <repeatable>false</repeatable>
69 <command>nasal</command>
71 interpolate("tu154/switches/long-control", 0, 0.1 );
72 setprop("fdm/jsbsim/ap/suu-enable", 0 );
79 <object-name>hotspot_2</object-name>
80 <visible>false</visible>
83 <repeatable>false</repeatable>
85 <command>nasal</command>
87 interpolate("tu154/switches/long-control", 1, 0.1 );
88 setprop("fdm/jsbsim/ap/suu-enable", 1 );
95 <object-name>cover_up</object-name>
96 <visible>true</visible>
99 <repeatable>false</repeatable>
101 <command>nasal</command>
103 if( getprop("tu154/switches/long-control-cover") == 0.0 ){
104 interpolate("tu154/switches/long-control-cover", 1.0, 0.1 );}
105 else {interpolate("tu154/switches/long-control-cover", 0.0, 0.1 );}