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/steering-limit</property>
33 <entry><ind> 0.0</ind> <dep> -60.0</dep></entry>
34 <entry><ind> 1.0</ind> <dep> 60.0</dep></entry>
45 <object-name>cover</object-name>
46 <property>tu154/switches/steering-limit-cover</property>
48 <entry><ind> 0.0</ind> <dep> 10.0</dep></entry>
49 <entry><ind> 1.0</ind> <dep> 90.0</dep></entry>
67 <object-name>hotspot_1</object-name>
68 <visible>false</visible>
71 <repeatable>false</repeatable>
73 <command>nasal</command>
75 interpolate("tu154/switches/steering-limit", 1.0, 0.1 );
76 setprop("controls/gear/steering", 10.0 );
83 <object-name>hotspot_2</object-name>
84 <visible>false</visible>
87 <repeatable>false</repeatable>
89 <command>nasal</command>
91 interpolate("tu154/switches/steering-limit", 0.0, 0.1 );
92 setprop("controls/gear/steering", 63.0 );
99 <object-name>cover_up</object-name>
100 <visible>true</visible>
103 <repeatable>false</repeatable>
105 <command>nasal</command>
107 if( getprop("tu154/switches/steering-limit-cover") == 0.0 ){
108 interpolate("tu154/switches/steering-limit-cover", 1.0, 0.1 );}
109 else {interpolate("tu154/switches/steering-limit-cover", 0.0, 0.1 );}