Tentative fix for random buildings red flickering in some cases
[fg:toms-fgdata.git] / Aircraft / tu154b / Instruments-3d / umrt / umrt1-21_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 <!-- Fuel flow meter UMRT1-21
11 3D instrument for Tu-154 -->
12 <PropertyList>
13  <path>umrt1-21.ac</path>
14 <!-- Internal instruments lighting -->
15 <animation>
16   <type>material</type>
17   <object-name>base</object-name>
18   <object-name>needle</object-name>
19   <emission>
20     <red-prop>tu154/light/instruments/int-red</red-prop>
21     <green-prop>tu154/light/instruments/int-green</green-prop>
22     <blue-prop>tu154/light/instruments/int-blue</blue-prop>
23   </emission>
24 </animation>
25 <!--External panel lighting-->
26 <animation>
27   <type>material</type>
28   <object-name>cover</object-name>
29   <emission>
30     <red-prop>tu154/light/panel/ext-red</red-prop>
31     <green-prop>tu154/light/panel/ext-green</green-prop>
32     <blue-prop>tu154/light/panel/ext-blue</blue-prop>
33   </emission>
34 </animation>
35
36   
37 <!--Needles-->
38 <animation>
39     <type>rotate</type>
40     <object-name>needle</object-name>
41     <property>engines/engine[0]/fuel-flow_pph</property>
42     <!--Fuel flow pph -->
43     <interpolation>
44       <entry><ind>      881.0</ind>     <dep>   -142.0</dep></entry>
45       <entry><ind>      2202.0</ind>    <dep>   -117.0</dep></entry>
46       <entry><ind>      4405.0</ind>    <dep>   -70.0</dep></entry>
47       <entry><ind>      6607.0</ind>    <dep>   -25.0</dep></entry>
48       <entry><ind>      9876.0</ind>    <dep>   21.0</dep></entry>
49       <entry><ind>      11013.0</ind>   <dep>   65.0</dep></entry>
50       <entry><ind>      13215.0</ind>   <dep>   110.0</dep></entry>
51       <entry><ind>      15418.0</ind>   <dep>   154.0</dep></entry>
52     </interpolation>
53     <!--Fuel flow kg/h -->
54 <!--    <interpolation>
55       <entry><ind>      400.0</ind>     <dep>   -142.0</dep></entry>
56       <entry><ind>      1000.0</ind>    <dep>   -117.0</dep></entry>
57       <entry><ind>      2000.0</ind>    <dep>   -70.0</dep></entry>
58       <entry><ind>      3000.0</ind>    <dep>   -25.0</dep></entry>
59       <entry><ind>      4000.0</ind>    <dep>   21.0</dep></entry>
60       <entry><ind>      5000.0</ind>    <dep>   65.0</dep></entry>
61       <entry><ind>      6000.0</ind>    <dep>   110.0</dep></entry>
62       <entry><ind>      7000.0</ind>    <dep>   154.0</dep></entry>
63     </interpolation>-->
64     <axis>
65       <x>-1.0</x>
66       <y>0.0</y>
67       <z>0.0</z>
68     </axis>
69 </animation>
70
71
72 </PropertyList>