Tu-154B2 version 3.1:
[fg:toms-fgdata.git] / Aircraft / tu154b / Instruments-3d / ut / ut-7a.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 <!-- Exhaust gas temperature indicator UT-7A-710
11 3D instrument for Tu-154 -->
12 <PropertyList>
13   <params>
14     <egt>fdm/jsbsim/propulsion/engine[0]/egt-filtered</egt>
15   </params>
16
17  <path>ut-7a.ac</path>
18 <!-- Internal instruments lighting -->
19 <animation>
20   <type>material</type>
21   <object-name>base</object-name>
22   <object-name>needle_1</object-name>
23   <object-name>needle_2</object-name>
24   <emission>
25     <red-prop>tu154/light/instruments/int-red</red-prop>
26     <green-prop>tu154/light/instruments/int-green</green-prop>
27     <blue-prop>tu154/light/instruments/int-blue</blue-prop>
28   </emission>
29 </animation>
30
31
32 <!--Needles-->
33 <animation>
34     <type>rotate</type>
35     <object-name>needle_1</object-name>
36     <property alias="../../params/egt"/>
37 <!--Farenheit-->
38 <!--    <interpolation>
39       <entry><ind>      0.0</ind>       <dep>   -134.0</dep></entry>
40       <entry><ind>      1110.7</ind>    <dep>   0.0</dep></entry>
41       <entry><ind>      2190.6</ind>    <dep>   134.0</dep></entry>
42     </interpolation>-->
43 <!--Celsius-->
44     <interpolation>
45       <entry><ind>      0.0</ind>       <dep>   -134.0</dep></entry>
46       <entry><ind>      600.0</ind>     <dep>   0.0</dep></entry>
47       <entry><ind>      1200.0</ind>    <dep>   134.0</dep></entry>
48     </interpolation>
49     <axis>
50       <x>-1.0</x>
51       <y>0.0</y>
52       <z>0.0</z>
53     </axis>
54 </animation>
55 <animation>
56   <type>rotate</type>
57   <object-name>needle_2</object-name>
58   <property alias="../../params/egt"/>
59   <factor>3.6</factor>
60   <offset-deg>180.0</offset-deg>
61   <center>
62     <x-m>0.0</x-m>
63     <y-m>0.0</y-m>
64     <z-m>-0.02104</z-m>
65   </center>
66   <axis>
67     <x>-1.0</x>
68     <y>0.0</y>
69     <z>0.0</z>
70   </axis>
71 </animation>
72
73
74 </PropertyList>