Tupolev Tu-154B-2 by Yurik and his team.
[fg:toms-fgdata.git] / Aircraft / tu154b / Instruments-3d / nvu / v-140.xml
1 <?xml version="1.0"?>
2 <!--
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     #############################################################################         
8     -->
9
10 <!-- V-140 NVU (navigation system) control
11 3D instrument for Tu-154 -->
12 <PropertyList>
13  <path>v-140.ac</path>
14 <!--External panel lighting-->
15 <animation>
16   <type>material</type>
17   <object-name>base</object-name>
18     <emission>
19     <red-prop>tu154/light/panel/ext-red</red-prop>
20     <green-prop>tu154/light/panel/ext-green</green-prop>
21     <blue-prop>tu154/light/panel/ext-blue</blue-prop>
22   </emission>
23 </animation>
24
25 <!-- Internal instruments lighting -->
26 <animation>
27   <type>material</type>
28   <object-name>text</object-name>
29   <object-name>digits</object-name>
30   <emission>
31     <red-prop>tu154/light/instruments/int-red</red-prop>
32     <green-prop>tu154/light/instruments/int-green</green-prop>
33     <blue-prop>tu154/light/instruments/int-blue</blue-prop>
34   </emission>
35 </animation>
36
37 <!--Indicators-->
38 <animation>
39   <type>material</type>
40   <object-name>I</object-name>
41   <object-name>II</object-name>
42   <emission>
43     <red>1.0</red>
44     <green>1.0</green>
45     <blue>1.0</blue>
46     <factor-prop>tu154/systems/electrical/checking-lamps/lamps-power</factor-prop>
47   </emission>
48 </animation>
49
50 <animation>
51   <type>select</type>
52   <object-name>I</object-name>
53   <condition>
54     <property>tu154/instrumentation/v-140/lamp-I</property>
55   </condition>
56 </animation>
57 <animation>
58   <type>select</type>
59   <object-name>II</object-name>
60   <condition>
61     <property>tu154/instrumentation/v-140/lamp-II</property>
62   </condition>
63 </animation>
64 <!-- Digits I -->
65 <animation>
66   <type>rotate</type>
67   <object-name>dig_1_min</object-name>
68   <property>tu154/instrumentation/v-140[0]/I/min</property>
69   <factor>36</factor>
70   <center>
71     <x-m>-0.02611</x-m>
72     <y-m>0</y-m>
73     <z-m>0.02395</z-m>
74   </center>
75   <axis>
76     <x>0.0</x>
77     <y>-1.0</y>
78     <z>0.0</z>
79   </axis>
80 </animation>
81 <animation>
82   <type>rotate</type>
83   <object-name>dig_1_ones</object-name>
84   <property>tu154/instrumentation/v-140[0]/I/ones</property>
85   <interpolation>
86     <entry><ind>        0.0</ind>       <dep>   0.0</dep></entry>
87     <entry><ind>        0.9</ind>       <dep>   0.1</dep></entry>
88     <entry><ind>        1.0</ind>       <dep>   36.0</dep></entry>
89     <entry><ind>        1.9</ind>       <dep>   36.1</dep></entry>
90     <entry><ind>        2.0</ind>       <dep>   72.0</dep></entry>
91     <entry><ind>        2.9</ind>       <dep>   72.1</dep></entry>
92     <entry><ind>        3.0</ind>       <dep>   108.0</dep></entry>
93     <entry><ind>        3.9</ind>       <dep>   108.1</dep></entry>
94     <entry><ind>        4.0</ind>       <dep>   144.0</dep></entry>
95     <entry><ind>        4.9</ind>       <dep>   144.1</dep></entry>
96     <entry><ind>        5.0</ind>       <dep>   180.0</dep></entry>
97     <entry><ind>        5.9</ind>       <dep>   180.1</dep></entry>
98     <entry><ind>        6.0</ind>       <dep>   216.0</dep></entry>
99     <entry><ind>        6.9</ind>       <dep>   216.1</dep></entry>
100     <entry><ind>        7.0</ind>       <dep>   252.0</dep></entry>
101     <entry><ind>        7.9</ind>       <dep>   252.1</dep></entry>
102     <entry><ind>        8.0</ind>       <dep>   288.0</dep></entry>
103     <entry><ind>        8.9</ind>       <dep>   288.1</dep></entry>
104     <entry><ind>        9.0</ind>       <dep>   324.0</dep></entry>
105     <entry><ind>        9.9</ind>       <dep>   324.1</dep></entry>
106     <entry><ind>        9.99</ind>      <dep>   359.9</dep></entry>
107   </interpolation>
108   <center>
109     <x-m>-0.02611</x-m>
110     <y-m>0</y-m>
111     <z-m>0.02395</z-m>
112   </center>
113   <axis>
114     <x>0.0</x>
115     <y>-1.0</y>
116     <z>0.0</z>
117   </axis>
118 </animation>
119
120 <animation>
121   <type>rotate</type>
122   <object-name>dig_1_dec</object-name>
123   <property>tu154/instrumentation/v-140[0]/I/dec</property>
124   <interpolation>
125     <entry><ind>        0.0</ind>       <dep>   0.0</dep></entry>
126     <entry><ind>        0.99</ind>      <dep>   0.1</dep></entry>
127     <entry><ind>        1.0</ind>       <dep>   36.0</dep></entry>
128     <entry><ind>        1.99</ind>      <dep>   36.1</dep></entry>
129     <entry><ind>        2.0</ind>       <dep>   72.0</dep></entry>
130     <entry><ind>        2.99</ind>      <dep>   72.1</dep></entry>
131     <entry><ind>        3.0</ind>       <dep>   108.0</dep></entry>
132     <entry><ind>        3.99</ind>      <dep>   108.1</dep></entry>
133     <entry><ind>        4.0</ind>       <dep>   144.0</dep></entry>
134     <entry><ind>        4.99</ind>      <dep>   144.1</dep></entry>
135     <entry><ind>        5.0</ind>       <dep>   180.0</dep></entry>
136     <entry><ind>        5.99</ind>      <dep>   180.1</dep></entry>
137     <entry><ind>        6.0</ind>       <dep>   216.0</dep></entry>
138     <entry><ind>        6.99</ind>      <dep>   216.1</dep></entry>
139     <entry><ind>        7.0</ind>       <dep>   252.0</dep></entry>
140     <entry><ind>        7.99</ind>      <dep>   252.1</dep></entry>
141     <entry><ind>        8.0</ind>       <dep>   288.0</dep></entry>
142     <entry><ind>        8.99</ind>      <dep>   288.1</dep></entry>
143     <entry><ind>        9.0</ind>       <dep>   324.0</dep></entry>
144     <entry><ind>        9.99</ind>      <dep>   324.1</dep></entry>
145     <entry><ind>        9.999</ind>     <dep>   359.9</dep></entry>
146   </interpolation>
147   <center>
148     <x-m>-0.02611</x-m>
149     <y-m>0</y-m>
150     <z-m>0.02395</z-m>
151   </center>
152   <axis>
153     <x>0.0</x>
154     <y>-1.0</y>
155     <z>0.0</z>
156   </axis>
157 </animation>
158
159 <animation>
160   <type>rotate</type>
161   <object-name>dig_1_hund</object-name>
162   <property>tu154/instrumentation/v-140[0]/I/hund</property>
163   <interpolation>
164     <entry><ind>        0.0</ind>       <dep>   0.0</dep></entry>
165     <entry><ind>        0.999</ind>     <dep>   0.1</dep></entry>
166     <entry><ind>        1.0</ind>       <dep>   36.0</dep></entry>
167     <entry><ind>        1.999</ind>     <dep>   36.1</dep></entry>
168     <entry><ind>        2.0</ind>       <dep>   72.0</dep></entry>
169     <entry><ind>        2.999</ind>     <dep>   72.1</dep></entry>
170     <entry><ind>        3.0</ind>       <dep>   108.0</dep></entry>
171     <entry><ind>        3.999</ind>     <dep>   108.1</dep></entry>
172     <entry><ind>        4.0</ind>       <dep>   144.0</dep></entry>
173     <entry><ind>        4.999</ind>     <dep>   144.1</dep></entry>
174     <entry><ind>        5.0</ind>       <dep>   180.0</dep></entry>
175     <entry><ind>        5.999</ind>     <dep>   180.1</dep></entry>
176     <entry><ind>        6.0</ind>       <dep>   216.0</dep></entry>
177     <entry><ind>        6.999</ind>     <dep>   216.1</dep></entry>
178     <entry><ind>        7.0</ind>       <dep>   252.0</dep></entry>
179     <entry><ind>        7.999</ind>     <dep>   252.1</dep></entry>
180     <entry><ind>        8.0</ind>       <dep>   288.0</dep></entry>
181     <entry><ind>        8.999</ind>     <dep>   288.1</dep></entry>
182     <entry><ind>        9.0</ind>       <dep>   324.0</dep></entry>
183     <entry><ind>        9.999</ind>     <dep>   324.1</dep></entry>
184     <entry><ind>        9.9999</ind>    <dep>   359.9</dep></entry>
185   </interpolation>
186   <center>
187     <x-m>-0.02611</x-m>
188     <y-m>0</y-m>
189     <z-m>0.02395</z-m>
190   </center>
191   <axis>
192     <x>0.0</x>
193     <y>-1.0</y>
194     <z>0.0</z>
195   </axis>
196 </animation>
197 <!-- Digits II -->
198 <animation>
199   <type>rotate</type>
200   <object-name>dig_2_min</object-name>
201   <property>tu154/instrumentation/v-140[0]/II/min</property>
202   <factor>36</factor>
203   <center>
204     <x-m>-0.02611</x-m>
205     <y-m>0</y-m>
206     <z-m>-0.02095</z-m>
207   </center>
208   <axis>
209     <x>0.0</x>
210     <y>-1.0</y>
211     <z>0.0</z>
212   </axis>
213 </animation>
214 <animation>
215   <type>rotate</type>
216   <object-name>dig_2_ones</object-name>
217   <property>tu154/instrumentation/v-140[0]/II/ones</property>
218   <interpolation>
219     <entry><ind>        0.0</ind>       <dep>   0.0</dep></entry>
220     <entry><ind>        0.9</ind>       <dep>   0.1</dep></entry>
221     <entry><ind>        1.0</ind>       <dep>   36.0</dep></entry>
222     <entry><ind>        1.9</ind>       <dep>   36.1</dep></entry>
223     <entry><ind>        2.0</ind>       <dep>   72.0</dep></entry>
224     <entry><ind>        2.9</ind>       <dep>   72.1</dep></entry>
225     <entry><ind>        3.0</ind>       <dep>   108.0</dep></entry>
226     <entry><ind>        3.9</ind>       <dep>   108.1</dep></entry>
227     <entry><ind>        4.0</ind>       <dep>   144.0</dep></entry>
228     <entry><ind>        4.9</ind>       <dep>   144.1</dep></entry>
229     <entry><ind>        5.0</ind>       <dep>   180.0</dep></entry>
230     <entry><ind>        5.9</ind>       <dep>   180.1</dep></entry>
231     <entry><ind>        6.0</ind>       <dep>   216.0</dep></entry>
232     <entry><ind>        6.9</ind>       <dep>   216.1</dep></entry>
233     <entry><ind>        7.0</ind>       <dep>   252.0</dep></entry>
234     <entry><ind>        7.9</ind>       <dep>   252.1</dep></entry>
235     <entry><ind>        8.0</ind>       <dep>   288.0</dep></entry>
236     <entry><ind>        8.9</ind>       <dep>   288.1</dep></entry>
237     <entry><ind>        9.0</ind>       <dep>   324.0</dep></entry>
238     <entry><ind>        9.9</ind>       <dep>   324.1</dep></entry>
239     <entry><ind>        9.99</ind>      <dep>   359.9</dep></entry>
240   </interpolation>
241   <center>
242     <x-m>-0.02611</x-m>
243     <y-m>0</y-m>
244     <z-m>-0.02095</z-m>
245   </center>
246   <axis>
247     <x>0.0</x>
248     <y>-1.0</y>
249     <z>0.0</z>
250   </axis>
251 </animation>
252
253 <animation>
254   <type>rotate</type>
255   <object-name>dig_2_dec</object-name>
256   <property>tu154/instrumentation/v-140[0]/II/dec</property>
257   <interpolation>
258     <entry><ind>        0.0</ind>       <dep>   0.0</dep></entry>
259     <entry><ind>        0.99</ind>      <dep>   0.1</dep></entry>
260     <entry><ind>        1.0</ind>       <dep>   36.0</dep></entry>
261     <entry><ind>        1.99</ind>      <dep>   36.1</dep></entry>
262     <entry><ind>        2.0</ind>       <dep>   72.0</dep></entry>
263     <entry><ind>        2.99</ind>      <dep>   72.1</dep></entry>
264     <entry><ind>        3.0</ind>       <dep>   108.0</dep></entry>
265     <entry><ind>        3.99</ind>      <dep>   108.1</dep></entry>
266     <entry><ind>        4.0</ind>       <dep>   144.0</dep></entry>
267     <entry><ind>        4.99</ind>      <dep>   144.1</dep></entry>
268     <entry><ind>        5.0</ind>       <dep>   180.0</dep></entry>
269     <entry><ind>        5.99</ind>      <dep>   180.1</dep></entry>
270     <entry><ind>        6.0</ind>       <dep>   216.0</dep></entry>
271     <entry><ind>        6.99</ind>      <dep>   216.1</dep></entry>
272     <entry><ind>        7.0</ind>       <dep>   252.0</dep></entry>
273     <entry><ind>        7.99</ind>      <dep>   252.1</dep></entry>
274     <entry><ind>        8.0</ind>       <dep>   288.0</dep></entry>
275     <entry><ind>        8.99</ind>      <dep>   288.1</dep></entry>
276     <entry><ind>        9.0</ind>       <dep>   324.0</dep></entry>
277     <entry><ind>        9.99</ind>      <dep>   324.1</dep></entry>
278     <entry><ind>        9.999</ind>     <dep>   359.9</dep></entry>
279   </interpolation>
280   <center>
281     <x-m>-0.02611</x-m>
282     <y-m>0</y-m>
283     <z-m>-0.02095</z-m>
284   </center>
285   <axis>
286     <x>0.0</x>
287     <y>-1.0</y>
288     <z>0.0</z>
289   </axis>
290 </animation>
291
292 <animation>
293   <type>rotate</type>
294   <object-name>dig_2_hund</object-name>
295   <property>tu154/instrumentation/v-140[0]/II/hund</property>
296   <interpolation>
297     <entry><ind>        0.0</ind>       <dep>   0.0</dep></entry>
298     <entry><ind>        0.999</ind>     <dep>   0.1</dep></entry>
299     <entry><ind>        1.0</ind>       <dep>   36.0</dep></entry>
300     <entry><ind>        1.999</ind>     <dep>   36.1</dep></entry>
301     <entry><ind>        2.0</ind>       <dep>   72.0</dep></entry>
302     <entry><ind>        2.999</ind>     <dep>   72.1</dep></entry>
303     <entry><ind>        3.0</ind>       <dep>   108.0</dep></entry>
304     <entry><ind>        3.999</ind>     <dep>   108.1</dep></entry>
305     <entry><ind>        4.0</ind>       <dep>   144.0</dep></entry>
306     <entry><ind>        4.999</ind>     <dep>   144.1</dep></entry>
307     <entry><ind>        5.0</ind>       <dep>   180.0</dep></entry>
308     <entry><ind>        5.999</ind>     <dep>   180.1</dep></entry>
309     <entry><ind>        6.0</ind>       <dep>   216.0</dep></entry>
310     <entry><ind>        6.999</ind>     <dep>   216.1</dep></entry>
311     <entry><ind>        7.0</ind>       <dep>   252.0</dep></entry>
312     <entry><ind>        7.999</ind>     <dep>   252.1</dep></entry>
313     <entry><ind>        8.0</ind>       <dep>   288.0</dep></entry>
314     <entry><ind>        8.999</ind>     <dep>   288.1</dep></entry>
315     <entry><ind>        9.0</ind>       <dep>   324.0</dep></entry>
316     <entry><ind>        9.999</ind>     <dep>   324.1</dep></entry>
317     <entry><ind>        9.9999</ind>    <dep>   359.9</dep></entry>
318   </interpolation>
319   <center>
320     <x-m>-0.02611</x-m>
321     <y-m>0</y-m>
322     <z-m>-0.02095</z-m>
323   </center>
324   <axis>
325     <x>0.0</x>
326     <y>-1.0</y>
327     <z>0.0</z>
328   </axis>
329 </animation>
330
331
332 <!--Knobs-->
333
334 <animation>
335   <type>pick</type>
336   <object-name>hs_1</object-name>
337   <visible>false</visible>
338   <action>
339     <button>0</button>
340     <repeatable>true</repeatable>
341     <interval-sec>0.15</interval-sec>
342     <binding>
343       <command>nasal</command>
344       <script>instruments.nvu_set_zpu_1(1)</script>
345     </binding>
346   </action>
347 </animation>
348 <animation>
349   <type>pick</type>
350   <object-name>hs_2</object-name>
351   <visible>false</visible>
352   <action>
353     <button>0</button>
354     <repeatable>false</repeatable>
355     <binding>
356       <command>nasal</command>
357       <script>instruments.nvu_toggle_multiplier(2)</script>
358     </binding>
359   </action>
360 </animation>
361 <animation>
362   <type>pick</type>
363   <object-name>hs_3</object-name>
364   <visible>false</visible>
365   <action>
366     <button>0</button>
367     <repeatable>true</repeatable>
368     <interval-sec>0.15</interval-sec>
369     <binding>
370       <command>nasal</command>
371       <script>instruments.nvu_set_zpu_1(-1)</script>
372     </binding>
373   </action>
374 </animation>
375 <animation>
376   <type>pick</type>
377   <object-name>hs_4</object-name>
378   <visible>false</visible>
379   <action>
380     <button>0</button>
381     <repeatable>true</repeatable>
382     <interval-sec>0.15</interval-sec>
383     <binding>
384       <command>nasal</command>
385       <script>instruments.nvu_set_zpu_2(1)</script>
386     </binding>
387   </action>
388 </animation>
389 <animation>
390   <type>pick</type>
391   <object-name>hs_5</object-name>
392   <visible>false</visible>
393   <action>
394     <button>0</button>
395     <repeatable>false</repeatable>
396     <binding>
397       <command>nasal</command>
398       <script>instruments.nvu_toggle_multiplier(3)</script>
399     </binding>
400   </action>
401 </animation>
402 <animation>
403   <type>pick</type>
404   <object-name>hs_6</object-name>
405   <visible>false</visible>
406   <action>
407     <button>0</button>
408     <repeatable>true</repeatable>
409     <interval-sec>0.15</interval-sec>
410     <binding>
411       <command>nasal</command>
412       <script>instruments.nvu_set_zpu_2(-1)</script>
413     </binding>
414   </action>
415 </animation>
416
417 </PropertyList>