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 <!-- Comm radio control
11 3D instrument for Tu-154 -->
14 <freq>instrumentation/comm[0]/frequencies/selected-mhz</freq>
15 <volume>instrumentation/comm[0]/volume</volume>
21 <inherits-from>Effects/model-transparent</inherits-from>
22 <object-name>base</object-name>
27 <object-name>d1_night</object-name>
28 <object-name>d2_night</object-name>
29 <object-name>digits_night</object-name>
32 <property>tu154/light/instruments/int-red</property>
40 <object-name>d1</object-name>
41 <object-name>d2</object-name>
42 <object-name>digits</object-name>
45 <property>tu154/light/instruments/int-red</property>
51 <!-- Internal instruments lighting -->
54 <object-name>d1_night</object-name>
55 <object-name>d2_night</object-name>
56 <object-name>digits_night</object-name>
64 <object-name>dig_f_hi</object-name>
65 <object-name>dig_f_hi_night</object-name>
69 <property alias="../../../../../params/freq"/>
71 <property alias="../../../../../../params/freq"/>
75 <entry><ind> 108</ind> <dep> 0</dep></entry>
76 <entry><ind> 137</ind> <dep> 360</dep></entry>
92 <object-name>dig_f_low</object-name>
93 <object-name>dig_f_low_night</object-name>
94 <property alias="../../params/freq"/>
111 <object-name>c1</object-name>
112 <visible>true</visible>
115 <command>property-adjust</command>
116 <property alias="../../../../params/freq"/>
126 <object-name>c2</object-name>
127 <visible>true</visible>
130 <command>property-adjust</command>
131 <property alias="../../../../params/freq"/>
133 <factor>0.025</factor>
144 <object-name>c3</object-name>
145 <visible>true</visible>
148 <command>property-adjust</command>
149 <property alias="../../../../params/volume"/>
157 <command>set-tooltip</command>
158 <tooltip-id>comm-volume</tooltip-id>
159 <label>Volume: %d%%</label>
160 <property alias="../../../../params/volume"/>
161 <mapping>nasal</mapping>
162 <script>return int(arg[0] * 100)</script>