Tentative fix for random buildings red flickering in some cases
[fg:toms-fgdata.git] / Aircraft / tu154b / Instruments-3d / ite / ite-2t_1.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  <path>ite-2t.ac</path>
14 <!-- Internal instruments lighting -->
15 <animation>
16   <type>material</type>
17   <object-name>base</object-name>
18   <object-name>needle_1</object-name>
19   <object-name>needle_2</object-name>
20   <emission>
21     <red-prop>tu154/light/instruments/int-red</red-prop>
22     <green-prop>tu154/light/instruments/int-green</green-prop>
23     <blue-prop>tu154/light/instruments/int-blue</blue-prop>
24   </emission>
25 </animation>
26
27   
28 <!--Needles-->
29
30 <animation>
31     <type>rotate</type>
32     <object-name>needle_1</object-name>
33     <property>/fdm/jsbsim/propulsion/engine[0]/n1-rna-filtered</property>
34     <interpolation>
35       <entry><ind>      0.0</ind>       <dep>   51.0</dep></entry>
36       <entry><ind>      60.0</ind>      <dep>   236.0</dep></entry>
37       <entry><ind>      100.0</ind>     <dep>   360.0</dep></entry>
38       <entry><ind>      110.0</ind>     <dep>   392.0</dep></entry>
39     </interpolation>
40     <axis>
41       <x>-1.0</x>
42       <y>0.0</y>
43       <z>0.0</z>
44     </axis>
45 </animation>
46
47 <animation>
48   <type>rotate</type>
49   <object-name>needle_2</object-name>
50   <property>engines/engine[0]/n2</property>
51   <interpolation>
52     <entry><ind>        0.0</ind>       <dep>   51.0</dep></entry>
53     <entry><ind>        60.0</ind>      <dep>   236.0</dep></entry>
54     <entry><ind>        100.0</ind>     <dep>   360.0</dep></entry>
55     <entry><ind>        110.0</ind>     <dep>   392.0</dep></entry>
56   </interpolation>
57   <axis>
58     <x>-1.0</x>
59     <y>0.0</y>
60     <z>0.0</z>
61   </axis>
62 </animation>
63
64
65 </PropertyList>