Tu-154B2 version 3.1:
[fg:toms-fgdata.git] / Aircraft / tu154b / Instruments-3d / ip21 / ip21.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 <!-- Throttle lever indicator IP21-08
11 3D instrument for Tu-154 -->
12 <PropertyList>
13  <params>
14    <throttle>fdm/jsbsim/fcs/at-throttle-cmd-norm[0]</throttle>
15  </params>
16
17  <path>ip21.ac</path>
18 <!-- Internal instruments lighting -->
19 <animation>
20   <type>material</type>
21   <object-name>base</object-name>
22   <object-name>needle</object-name>
23   <emission>
24     <red-prop>tu154/light/instruments/int-red</red-prop>
25     <green-prop>tu154/light/instruments/int-green</green-prop>
26     <blue-prop>tu154/light/instruments/int-blue</blue-prop>
27   </emission>
28 </animation>
29 <!--External panel lighting-->
30 <animation>
31   <type>material</type>
32   <object-name>cover</object-name>
33   <emission>
34     <red-prop>tu154/light/panel/ext-red</red-prop>
35     <green-prop>tu154/light/panel/ext-green</green-prop>
36     <blue-prop>tu154/light/panel/ext-blue</blue-prop>
37   </emission>
38 </animation>
39
40
41 <!--Needles-->
42 <animation>
43     <type>rotate</type>
44     <object-name>needle</object-name>
45     <property alias="../../params/throttle"/>
46     <interpolation>
47       <!--<entry><ind>  0.0</ind>       <dep>   -120.0</dep></entry>--><!--full revers-->
48       <entry><ind>      0.0</ind>       <dep>   -40.0</dep></entry><!--idle-->
49       <entry><ind>      0.57</ind>      <dep>   12.0</dep></entry><!--0.4-->
50       <entry><ind>      0.7</ind>       <dep>   40.0</dep></entry><!--0.6-->
51       <entry><ind>      0.75</ind>      <dep>   53.0</dep></entry><!--0.7-->
52       <entry><ind>      0.84</ind>      <dep>   73.0</dep></entry><!--0.85-->
53       <entry><ind>      0.93</ind>      <dep>   92.0</dep></entry><!--nominal-->
54       <entry><ind>      1.0</ind>       <dep>   108.0</dep></entry><!--miltrust-->
55     </interpolation>
56     <axis>
57       <x>-1.0</x>
58       <y>0.0</y>
59       <z>0.0</z>
60     </axis>
61 </animation>
62
63
64 </PropertyList>