Tu-154B2 version 3.1:
[fg:toms-fgdata.git] / Aircraft / tu154b / Instruments-3d / ush / ush.xml
1 <?xml version="1.0"?>
2 <!--
3     #############################################################################
4     #    (C) 2006 by Yurik V. Nikiforoff - port for FGFS,  FDM,                 #
5     #   2d & 3d instruments, animations, systems and over.                      #
6     #           yurik@megasignal.com                                            #
7     #############################################################################         
8     -->
9
10 <!-- Heading indicator USH
11 3D instrument for Tu-154 -->
12 <PropertyList>
13  <path>ush.ac</path>
14 <!-- Internal instruments lighting -->
15 <animation>
16   <type>material</type>
17   <object-name>index</object-name>
18   <object-name>compass</object-name>
19   <object-name>needle_1</object-name>
20   <object-name>needle_2</object-name>
21   <emission>
22     <red-prop>tu154/light/instruments/int-red</red-prop>
23     <green-prop>tu154/light/instruments/int-green</green-prop>
24     <blue-prop>tu154/light/instruments/int-blue</blue-prop>
25   </emission>
26 </animation>
27
28 <!--External panel lighting-->
29 <animation>
30   <type>material</type>
31   <object-name>base</object-name>
32   <emission>
33     <red-prop>tu154/light/panel/ext-red</red-prop>
34     <green-prop>tu154/light/panel/ext-green</green-prop>
35     <blue-prop>tu154/light/panel/ext-blue</blue-prop>
36   </emission>
37 </animation>
38
39   
40 <!--Needles-->
41 <animation>
42     <type>rotate</type>
43     <object-name>needle_1</object-name>
44     <object-name>needle_2</object-name>
45     <property>fdm/jsbsim/instrumentation/ga3-corrected-1</property>
46     <axis>
47       <x>-1.0</x>
48       <y>0.0</y>
49       <z>0.0</z>
50     </axis>
51 </animation>
52
53 <animation>
54   <type>rotate</type>
55   <object-name>index</object-name>
56   <property>fdm/jsbsim/instrumentation/ga3-corrected-2</property>
57   <axis>
58     <x>-1.0</x>
59     <y>0.0</y>
60     <z>0.0</z>
61   </axis>
62 </animation>
63
64 <animation>
65   <type>rotate</type>
66   <object-name>needle_2</object-name>
67   <property>fdm/jsbsim/instrumentation/nvu/drift-angle</property>
68   <axis>
69     <x>-1.0</x>
70     <y>0.0</y>
71     <z>0.0</z>
72   </axis>
73 </animation>
74
75 <!--mk lamp-->
76 <animation>
77   <type>select</type>
78   <object-name>mk</object-name>
79     <condition>
80      <equals>
81       <property>tu154/switches/pu-11-gpk</property>
82       <value>1.0</value>
83      </equals>
84   </condition>
85 </animation>
86 <!--gpk lamp-->
87 <animation>
88   <type>select</type>
89   <object-name>gpk</object-name>
90   <condition>
91     <equals>
92       <property>tu154/switches/pu-11-gpk</property>
93       <value>0.0</value>
94     </equals>
95   </condition>
96 </animation>
97 <!--ak lamp-->
98 <animation>
99   <type>select</type>
100   <object-name>ak</object-name>
101   <condition>
102     <equals>
103       <property>tu154/switches/pu-11-gpk</property>
104       <value>-1.0</value>
105     </equals>
106   </condition>
107 </animation>
108
109
110 </PropertyList>