Tupolev Tu-154B-2 by Yurik and his team.
[fg:toms-fgdata.git] / Aircraft / tu154b / Instruments-3d / nvu / v-57.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-57 NVU (navigation system) control
11 3D instrument for Tu-154 -->
12 <PropertyList>
13  <path>v-57.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 <!--Knobs-->
38 <animation>
39   <type>pick</type>
40   <object-name>hs_1</object-name>
41   <visible>false</visible>
42   <action>
43     <button>0</button>
44     <repeatable>false</repeatable>
45     <binding>
46       <command>property-toggle</command>
47       <property>tu154/instrumentation/v-57/button-1</property>
48     </binding>
49   </action>
50 </animation>
51 <animation>
52   <type>pick</type>
53   <object-name>hs_2</object-name>
54   <visible>false</visible>
55   <action>
56     <button>0</button>
57     <repeatable>false</repeatable>
58     <binding>
59       <command>property-toggle</command>
60       <property>tu154/instrumentation/v-57/button-2</property>
61     </binding>
62   </action>
63 </animation>
64 <animation>
65   <type>pick</type>
66   <object-name>hs_3</object-name>
67   <visible>false</visible>
68   <action>
69     <button>0</button>
70     <repeatable>false</repeatable>
71     <binding>
72       <command>property-toggle</command>
73       <property>tu154/instrumentation/v-57/button-3</property>
74     </binding>
75   </action>
76 </animation>
77 <animation>
78   <type>pick</type>
79   <object-name>hs_4</object-name>
80   <visible>false</visible>
81   <action>
82     <button>0</button>
83     <repeatable>false</repeatable>
84     <binding>
85       <command>property-toggle</command>
86       <property>tu154/instrumentation/v-57/button-4</property>
87     </binding>
88   </action>
89 </animation>
90 <animation>
91   <type>pick</type>
92   <object-name>hs_5</object-name>
93   <visible>false</visible>
94   <action>
95     <button>0</button>
96     <repeatable>false</repeatable>
97     <binding>
98       <command>property-toggle</command>
99       <property>tu154/instrumentation/v-57/button-5</property>
100     </binding>
101   </action>
102 </animation>
103 <animation>
104   <type>pick</type>
105   <object-name>hs_6</object-name>
106   <visible>false</visible>
107   <action>
108     <button>0</button>
109     <repeatable>false</repeatable>
110     <binding>
111       <command>property-toggle</command>
112       <property>tu154/instrumentation/v-57/button-6</property>
113     </binding>
114   </action>
115 </animation>
116 <!-- Digits I -->
117 <!--*******************************************************************-->
118 <animation>
119   <type>rotate</type>
120   <object-name>ones_1</object-name>
121   <property>tu154/instrumentation/v-57[0]/direction/indicated-wheels_ones</property>
122   <factor>36</factor>
123   <center>
124     <x-m>-0.03059</x-m>
125     <y-m>0</y-m>
126     <z-m>0.01779</z-m>
127   </center>
128   <axis>
129     <x>0.0</x>
130     <y>-1.0</y>
131     <z>0.0</z>
132   </axis>
133 </animation>
134 <animation>
135   <type>rotate</type>
136   <object-name>dec_1</object-name>
137   <property>tu154/instrumentation/v-57[0]/direction/indicated-wheels_dec</property>
138   <interpolation>
139     <entry><ind>        0.0</ind>       <dep>   0.0</dep></entry>
140     <entry><ind>        0.9</ind>       <dep>   0.1</dep></entry>
141     <entry><ind>        1.0</ind>       <dep>   36.0</dep></entry>
142     <entry><ind>        1.9</ind>       <dep>   36.1</dep></entry>
143     <entry><ind>        2.0</ind>       <dep>   72.0</dep></entry>
144     <entry><ind>        2.9</ind>       <dep>   72.1</dep></entry>
145     <entry><ind>        3.0</ind>       <dep>   108.0</dep></entry>
146     <entry><ind>        3.9</ind>       <dep>   108.1</dep></entry>
147     <entry><ind>        4.0</ind>       <dep>   144.0</dep></entry>
148     <entry><ind>        4.9</ind>       <dep>   144.1</dep></entry>
149     <entry><ind>        5.0</ind>       <dep>   180.0</dep></entry>
150     <entry><ind>        5.9</ind>       <dep>   180.1</dep></entry>
151     <entry><ind>        6.0</ind>       <dep>   216.0</dep></entry>
152     <entry><ind>        6.9</ind>       <dep>   216.1</dep></entry>
153     <entry><ind>        7.0</ind>       <dep>   252.0</dep></entry>
154     <entry><ind>        7.9</ind>       <dep>   252.1</dep></entry>
155     <entry><ind>        8.0</ind>       <dep>   288.0</dep></entry>
156     <entry><ind>        8.9</ind>       <dep>   288.1</dep></entry>
157     <entry><ind>        9.0</ind>       <dep>   324.0</dep></entry>
158     <entry><ind>        9.9</ind>       <dep>   324.1</dep></entry>
159     <entry><ind>        9.99</ind>      <dep>   359.9</dep></entry>
160   </interpolation>
161   <center>
162     <x-m>-0.03059</x-m>
163     <y-m>0</y-m>
164     <z-m>0.01779</z-m>
165   </center>
166   <axis>
167     <x>0.0</x>
168     <y>-1.0</y>
169     <z>0.0</z>
170   </axis>
171 </animation>
172
173 <animation>
174   <type>rotate</type>
175   <object-name>hund_1</object-name>
176   <property>tu154/instrumentation/v-57[0]/direction/indicated-wheels_hund</property>
177   <interpolation>
178     <entry><ind>        0.0</ind>       <dep>   0.0</dep></entry>
179     <entry><ind>        0.99</ind>      <dep>   0.1</dep></entry>
180     <entry><ind>        1.0</ind>       <dep>   36.0</dep></entry>
181     <entry><ind>        1.99</ind>      <dep>   36.1</dep></entry>
182     <entry><ind>        2.0</ind>       <dep>   72.0</dep></entry>
183     <entry><ind>        2.99</ind>      <dep>   72.1</dep></entry>
184     <entry><ind>        3.0</ind>       <dep>   108.0</dep></entry>
185     <entry><ind>        3.99</ind>      <dep>   108.1</dep></entry>
186     <entry><ind>        4.0</ind>       <dep>   144.0</dep></entry>
187     <entry><ind>        4.99</ind>      <dep>   144.1</dep></entry>
188     <entry><ind>        5.0</ind>       <dep>   180.0</dep></entry>
189     <entry><ind>        5.99</ind>      <dep>   180.1</dep></entry>
190     <entry><ind>        6.0</ind>       <dep>   216.0</dep></entry>
191     <entry><ind>        6.99</ind>      <dep>   216.1</dep></entry>
192     <entry><ind>        7.0</ind>       <dep>   252.0</dep></entry>
193     <entry><ind>        7.99</ind>      <dep>   252.1</dep></entry>
194     <entry><ind>        8.0</ind>       <dep>   288.0</dep></entry>
195     <entry><ind>        8.99</ind>      <dep>   288.1</dep></entry>
196     <entry><ind>        9.0</ind>       <dep>   324.0</dep></entry>
197     <entry><ind>        9.99</ind>      <dep>   324.1</dep></entry>
198     <entry><ind>        9.999</ind>     <dep>   359.9</dep></entry>
199   </interpolation>
200   <center>
201     <x-m>-0.03059</x-m>
202     <y-m>0</y-m>
203     <z-m>0.01779</z-m>
204   </center>
205   <axis>
206     <x>0.0</x>
207     <y>-1.0</y>
208     <z>0.0</z>
209   </axis>
210 </animation>
211 <!--Digits II-->
212 <!--*******************************************************************-->
213
214 <animation>
215   <type>rotate</type>
216   <object-name>ones_2</object-name>
217   <property>tu154/instrumentation/v-57[0]/fork/indicated-wheels_ones</property>
218   <factor>36</factor>
219   <center>
220     <x-m>-0.03059</x-m>
221     <y-m>0</y-m>
222     <z-m>0.01779</z-m>
223   </center>
224   <axis>
225     <x>0.0</x>
226     <y>-1.0</y>
227     <z>0.0</z>
228   </axis>
229 </animation>
230 <animation>
231   <type>rotate</type>
232   <object-name>dec_2</object-name>
233   <property>tu154/instrumentation/v-57[0]/fork/indicated-wheels_dec</property>
234   <interpolation>
235     <entry><ind>        0.0</ind>       <dep>   0.0</dep></entry>
236     <entry><ind>        0.9</ind>       <dep>   0.1</dep></entry>
237     <entry><ind>        1.0</ind>       <dep>   36.0</dep></entry>
238     <entry><ind>        1.9</ind>       <dep>   36.1</dep></entry>
239     <entry><ind>        2.0</ind>       <dep>   72.0</dep></entry>
240     <entry><ind>        2.9</ind>       <dep>   72.1</dep></entry>
241     <entry><ind>        3.0</ind>       <dep>   108.0</dep></entry>
242     <entry><ind>        3.9</ind>       <dep>   108.1</dep></entry>
243     <entry><ind>        4.0</ind>       <dep>   144.0</dep></entry>
244     <entry><ind>        4.9</ind>       <dep>   144.1</dep></entry>
245     <entry><ind>        5.0</ind>       <dep>   180.0</dep></entry>
246     <entry><ind>        5.9</ind>       <dep>   180.1</dep></entry>
247     <entry><ind>        6.0</ind>       <dep>   216.0</dep></entry>
248     <entry><ind>        6.9</ind>       <dep>   216.1</dep></entry>
249     <entry><ind>        7.0</ind>       <dep>   252.0</dep></entry>
250     <entry><ind>        7.9</ind>       <dep>   252.1</dep></entry>
251     <entry><ind>        8.0</ind>       <dep>   288.0</dep></entry>
252     <entry><ind>        8.9</ind>       <dep>   288.1</dep></entry>
253     <entry><ind>        9.0</ind>       <dep>   324.0</dep></entry>
254     <entry><ind>        9.9</ind>       <dep>   324.1</dep></entry>
255     <entry><ind>        9.99</ind>      <dep>   359.9</dep></entry>
256   </interpolation>
257   <center>
258     <x-m>-0.03059</x-m>
259     <y-m>0</y-m>
260     <z-m>0.01779</z-m>
261   </center>
262   <axis>
263     <x>0.0</x>
264     <y>-1.0</y>
265     <z>0.0</z>
266   </axis>
267 </animation>
268 <animation>
269   <type>rotate</type>
270   <object-name>hund_2</object-name>
271   <property>tu154/instrumentation/v-57[0]/fork/minus-indicated-wheels_ones</property>
272   <factor>36</factor>
273   <center>
274     <x-m>-0.03059</x-m>
275     <y-m>0</y-m>
276     <z-m>0.01779</z-m>
277   </center>
278   <axis>
279     <x>0.0</x>
280     <y>-1.0</y>
281     <z>0.0</z>
282   </axis>
283 </animation>
284 <animation>
285   <type>rotate</type>
286   <object-name>ths_2</object-name>
287   <property>tu154/instrumentation/v-57[0]/fork/minus-indicated-wheels_dec</property>
288   <interpolation>
289     <entry><ind>        0.0</ind>       <dep>   0.0</dep></entry>
290     <entry><ind>        0.9</ind>       <dep>   0.1</dep></entry>
291     <entry><ind>        1.0</ind>       <dep>   36.0</dep></entry>
292     <entry><ind>        1.9</ind>       <dep>   36.1</dep></entry>
293     <entry><ind>        2.0</ind>       <dep>   72.0</dep></entry>
294     <entry><ind>        2.9</ind>       <dep>   72.1</dep></entry>
295     <entry><ind>        3.0</ind>       <dep>   108.0</dep></entry>
296     <entry><ind>        3.9</ind>       <dep>   108.1</dep></entry>
297     <entry><ind>        4.0</ind>       <dep>   144.0</dep></entry>
298     <entry><ind>        4.9</ind>       <dep>   144.1</dep></entry>
299     <entry><ind>        5.0</ind>       <dep>   180.0</dep></entry>
300     <entry><ind>        5.9</ind>       <dep>   180.1</dep></entry>
301     <entry><ind>        6.0</ind>       <dep>   216.0</dep></entry>
302     <entry><ind>        6.9</ind>       <dep>   216.1</dep></entry>
303     <entry><ind>        7.0</ind>       <dep>   252.0</dep></entry>
304     <entry><ind>        7.9</ind>       <dep>   252.1</dep></entry>
305     <entry><ind>        8.0</ind>       <dep>   288.0</dep></entry>
306     <entry><ind>        8.9</ind>       <dep>   288.1</dep></entry>
307     <entry><ind>        9.0</ind>       <dep>   324.0</dep></entry>
308     <entry><ind>        9.9</ind>       <dep>   324.1</dep></entry>
309     <entry><ind>        9.99</ind>      <dep>   359.9</dep></entry>
310   </interpolation>
311   <center>
312     <x-m>-0.03059</x-m>
313     <y-m>0</y-m>
314     <z-m>0.01779</z-m>
315   </center>
316   <axis>
317     <x>0.0</x>
318     <y>-1.0</y>
319     <z>0.0</z>
320   </axis>
321 </animation>
322
323 <!--Hide unuse digits-->
324 <animation>
325   <type>select</type>
326   <object-name>ones_2</object-name>
327   <object-name>dec_2</object-name>
328   <condition>
329     <greater-than>
330       <property>tu154/instrumentation/v-57/fork-deg</property>
331       <value>-1.0</value>
332     </greater-than>
333   </condition>
334 </animation>
335
336 <animation>
337   <type>select</type>
338   <object-name>hund_2</object-name>
339   <object-name>ths_2</object-name>
340   <condition>
341     <less-than>
342       <property>tu154/instrumentation/v-57/fork-deg</property>
343       <value>1.0</value>
344     </less-than>
345   </condition>
346 </animation>
347
348 <!-- Digits III -->
349 <!--*******************************************************************-->
350 <animation>
351   <type>rotate</type>
352   <object-name>ones_3</object-name>
353   <property>tu154/instrumentation/v-57[0]/speed/indicated-wheels_ones</property>
354   <factor>36</factor>
355   <center>
356     <x-m>-0.03059</x-m>
357     <y-m>0</y-m>
358     <z-m>0.01779</z-m>
359   </center>
360   <axis>
361     <x>0.0</x>
362     <y>-1.0</y>
363     <z>0.0</z>
364   </axis>
365 </animation>
366 <animation>
367   <type>rotate</type>
368   <object-name>dec_3</object-name>
369   <property>tu154/instrumentation/v-57[0]/speed/indicated-wheels_dec</property>
370   <interpolation>
371     <entry><ind>        0.0</ind>       <dep>   0.0</dep></entry>
372     <entry><ind>        0.9</ind>       <dep>   0.1</dep></entry>
373     <entry><ind>        1.0</ind>       <dep>   36.0</dep></entry>
374     <entry><ind>        1.9</ind>       <dep>   36.1</dep></entry>
375     <entry><ind>        2.0</ind>       <dep>   72.0</dep></entry>
376     <entry><ind>        2.9</ind>       <dep>   72.1</dep></entry>
377     <entry><ind>        3.0</ind>       <dep>   108.0</dep></entry>
378     <entry><ind>        3.9</ind>       <dep>   108.1</dep></entry>
379     <entry><ind>        4.0</ind>       <dep>   144.0</dep></entry>
380     <entry><ind>        4.9</ind>       <dep>   144.1</dep></entry>
381     <entry><ind>        5.0</ind>       <dep>   180.0</dep></entry>
382     <entry><ind>        5.9</ind>       <dep>   180.1</dep></entry>
383     <entry><ind>        6.0</ind>       <dep>   216.0</dep></entry>
384     <entry><ind>        6.9</ind>       <dep>   216.1</dep></entry>
385     <entry><ind>        7.0</ind>       <dep>   252.0</dep></entry>
386     <entry><ind>        7.9</ind>       <dep>   252.1</dep></entry>
387     <entry><ind>        8.0</ind>       <dep>   288.0</dep></entry>
388     <entry><ind>        8.9</ind>       <dep>   288.1</dep></entry>
389     <entry><ind>        9.0</ind>       <dep>   324.0</dep></entry>
390     <entry><ind>        9.9</ind>       <dep>   324.1</dep></entry>
391     <entry><ind>        9.99</ind>      <dep>   359.9</dep></entry>
392   </interpolation>
393   <center>
394     <x-m>-0.03059</x-m>
395     <y-m>0</y-m>
396     <z-m>0.01779</z-m>
397   </center>
398   <axis>
399     <x>0.0</x>
400     <y>-1.0</y>
401     <z>0.0</z>
402   </axis>
403 </animation>
404
405 <animation>
406   <type>rotate</type>
407   <object-name>hund_3</object-name>
408   <property>tu154/instrumentation/v-57[0]/speed/indicated-wheels_hund</property>
409   <interpolation>
410     <entry><ind>        0.0</ind>       <dep>   0.0</dep></entry>
411     <entry><ind>        0.99</ind>      <dep>   0.1</dep></entry>
412     <entry><ind>        1.0</ind>       <dep>   36.0</dep></entry>
413     <entry><ind>        1.99</ind>      <dep>   36.1</dep></entry>
414     <entry><ind>        2.0</ind>       <dep>   72.0</dep></entry>
415     <entry><ind>        2.99</ind>      <dep>   72.1</dep></entry>
416     <entry><ind>        3.0</ind>       <dep>   108.0</dep></entry>
417     <entry><ind>        3.99</ind>      <dep>   108.1</dep></entry>
418     <entry><ind>        4.0</ind>       <dep>   144.0</dep></entry>
419     <entry><ind>        4.99</ind>      <dep>   144.1</dep></entry>
420     <entry><ind>        5.0</ind>       <dep>   180.0</dep></entry>
421     <entry><ind>        5.99</ind>      <dep>   180.1</dep></entry>
422     <entry><ind>        6.0</ind>       <dep>   216.0</dep></entry>
423     <entry><ind>        6.99</ind>      <dep>   216.1</dep></entry>
424     <entry><ind>        7.0</ind>       <dep>   252.0</dep></entry>
425     <entry><ind>        7.99</ind>      <dep>   252.1</dep></entry>
426     <entry><ind>        8.0</ind>       <dep>   288.0</dep></entry>
427     <entry><ind>        8.99</ind>      <dep>   288.1</dep></entry>
428     <entry><ind>        9.0</ind>       <dep>   324.0</dep></entry>
429     <entry><ind>        9.99</ind>      <dep>   324.1</dep></entry>
430     <entry><ind>        9.999</ind>     <dep>   359.9</dep></entry>
431   </interpolation>
432   <center>
433     <x-m>-0.03059</x-m>
434     <y-m>0</y-m>
435     <z-m>0.01779</z-m>
436   </center>
437   <axis>
438     <x>0.0</x>
439     <y>-1.0</y>
440     <z>0.0</z>
441   </axis>
442 </animation>
443
444
445 <!--Controls-->
446 <!--Manually control of wind speed and direction not implemented yet - only DISS mode now -->
447 <animation>
448   <type>pick</type>
449   <object-name>hs_7</object-name>
450   <visible>false</visible>
451   <action>
452     <button>0</button>
453     <repeatable>true</repeatable>
454     <interval-sec>0.15</interval-sec>
455     <binding>
456       <command>property-adjust</command>
457       <property>tu154/instrumentation/v-57[0]/fork-deg</property>
458       <step>1.0</step>
459       <min>-90.0</min>
460       <max>90.0</max>
461     </binding>
462   </action>
463 </animation>
464 <animation>
465   <type>pick</type>
466   <object-name>hs_7</object-name>
467   <visible>false</visible>
468   <action>
469     <button>1</button>
470     <repeatable>true</repeatable>
471     <interval-sec>0.15</interval-sec>
472     <binding>
473       <command>property-adjust</command>
474       <property>tu154/instrumentation/v-57[0]/fork-deg</property>
475       <step>-1.0</step>
476       <min>-90.0</min>
477       <max>90.0</max>
478     </binding>
479   </action>
480 </animation>
481 <!--Mouse wheel-->
482 <animation>
483   <type>pick</type>
484   <object-name>hs_7</object-name>
485   <visible>false</visible>
486   <action>
487     <button>3</button>
488     <repeatable>false</repeatable>
489     <binding>
490       <command>property-adjust</command>
491       <property>tu154/instrumentation/v-57[0]/fork-deg</property>
492       <step>1.0</step>
493       <min>-90.0</min>
494       <max>90.0</max>
495     </binding>
496   </action>
497 </animation>
498 <animation>
499   <type>pick</type>
500   <object-name>hs_7</object-name>
501   <visible>false</visible>
502   <action>
503     <button>4</button>
504     <repeatable>false</repeatable>
505     <binding>
506       <command>property-adjust</command>
507       <property>tu154/instrumentation/v-57[0]/fork-deg</property>
508       <step>-1.0</step>
509       <min>-90.0</min>
510       <max>90.0</max>
511     </binding>
512   </action>
513 </animation>
514
515
516 </PropertyList>