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 <!-- IAS/groundspeed indicator USVP
11 3D instrument for Tu-154 -->
14 <!-- Internal instruments lighting -->
17 <object-name>base</object-name>
18 <object-name>text</object-name>
19 <object-name>needle</object-name>
20 <object-name>vozd</object-name>
21 <object-name>put</object-name>
22 <object-name>top</object-name>
24 <red-prop>tu154/light/instruments/int-red</red-prop>
25 <green-prop>tu154/light/instruments/int-green</green-prop>
26 <blue-prop>tu154/light/instruments/int-blue</blue-prop>
34 <object-name>needle</object-name>
35 <property>tu154/instrumentation/usvp/speed-fps</property>
36 <factor>0.3950208</factor>
46 <object-name>handle</object-name>
47 <property>tu154/switches/usvp-selector-trans</property>
63 <object-name>hs</object-name>
64 <visible>false</visible>
67 <repeatable>false</repeatable>
69 <command>nasal</command>
71 var sel = getprop("tu154/switches/usvp-selector") or 0;
73 setprop("tu154/switches/usvp-selector", sel);
74 interpolate("tu154/switches/usvp-selector-trans", sel, 0.15);