Tentative fix for random buildings red flickering in some cases
[fg:toms-fgdata.git] / Aircraft / tu154b / Instruments-3d / ite / ite-2t_3.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 <animation>
30     <type>rotate</type>
31     <object-name>needle_1</object-name>
32     <property>/fdm/jsbsim/propulsion/engine[2]/n1-rna-filtered</property>
33     <interpolation>
34       <entry><ind>      0.0</ind>       <dep>   51.0</dep></entry>
35       <entry><ind>      60.0</ind>      <dep>   236.0</dep></entry>
36       <entry><ind>      100.0</ind>     <dep>   360.0</dep></entry>
37       <entry><ind>      110.0</ind>     <dep>   392.0</dep></entry>
38     </interpolation>
39     <axis>
40       <x>-1.0</x>
41       <y>0.0</y>
42       <z>0.0</z>
43     </axis>
44 </animation>
45 <animation>
46   <type>rotate</type>
47   <object-name>needle_2</object-name>
48   <property>engines/engine[2]/n2</property>
49   <interpolation>
50     <entry><ind>        0.0</ind>       <dep>   51.0</dep></entry>
51     <entry><ind>        60.0</ind>      <dep>   236.0</dep></entry>
52     <entry><ind>        100.0</ind>     <dep>   360.0</dep></entry>
53     <entry><ind>        110.0</ind>     <dep>   392.0</dep></entry>
54   </interpolation>
55   <axis>
56     <x>-1.0</x>
57     <y>0.0</y>
58     <z>0.0</z>
59   </axis>
60 </animation>
61
62
63 </PropertyList>