Tu-154B2 version 3.1:
[fg:toms-fgdata.git] / Aircraft / tu154b / Instruments-3d / ite / ite-2t.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 <!-- Turbine turn indicator ITE-2t (two needles)
11 3D instrument for Tu-154 -->
12 <PropertyList>
13  <params>
14    <n1>/fdm/jsbsim/propulsion/engine[0]/n1-rna-filtered</n1>
15    <n2>engines/engine[0]/n2</n2>
16  </params>
17
18  <path>ite-2t.ac</path>
19 <!-- Internal instruments lighting -->
20 <animation>
21   <type>material</type>
22   <object-name>base</object-name>
23   <object-name>needle_1</object-name>
24   <object-name>needle_2</object-name>
25   <emission>
26     <red-prop>tu154/light/instruments/int-red</red-prop>
27     <green-prop>tu154/light/instruments/int-green</green-prop>
28     <blue-prop>tu154/light/instruments/int-blue</blue-prop>
29   </emission>
30 </animation>
31
32
33 <!--Needles-->
34
35 <animation>
36     <type>rotate</type>
37     <object-name>needle_1</object-name>
38     <property alias="../../params/n2"/>
39     <interpolation>
40       <entry><ind>      0.0</ind>       <dep>   51.0</dep></entry>
41       <entry><ind>      60.0</ind>      <dep>   236.0</dep></entry>
42       <entry><ind>      100.0</ind>     <dep>   360.0</dep></entry>
43       <entry><ind>      110.0</ind>     <dep>   392.0</dep></entry>
44     </interpolation>
45     <axis>
46       <x>-1.0</x>
47       <y>0.0</y>
48       <z>0.0</z>
49     </axis>
50 </animation>
51
52 <animation>
53   <type>rotate</type>
54   <object-name>needle_2</object-name>
55   <property alias="../../params/n1"/>
56   <interpolation>
57     <entry><ind>        0.0</ind>       <dep>   51.0</dep></entry>
58     <entry><ind>        60.0</ind>      <dep>   236.0</dep></entry>
59     <entry><ind>        100.0</ind>     <dep>   360.0</dep></entry>
60     <entry><ind>        110.0</ind>     <dep>   392.0</dep></entry>
61   </interpolation>
62   <axis>
63     <x>-1.0</x>
64     <y>0.0</y>
65     <z>0.0</z>
66   </axis>
67 </animation>
68
69
70 </PropertyList>