Merge branch 'master' of gitorious.org:fg/fgdata
[fg:toms-fgdata.git] / Aircraft / tu154b / Instruments-3d / indicators / ind_8.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 <!-- indicators on central panel
11 3D instrument for Tu-154 -->
12 <PropertyList>
13  <path>ind_8.ac</path>
14 <!--External panel lighting-->
15 <!--<animation>
16   <type>material</type>
17   <object-name>cover_1</object-name>
18   <object-name>cover_2</object-name>
19   <object-name>cover_3</object-name>
20   <object-name>cover_4</object-name>
21   <object-name>cover_5</object-name>
22   <emission>
23     <red-prop>tu154/light/panel/ext-red</red-prop>
24     <green-prop>tu154/light/panel/ext-green</green-prop>
25     <blue-prop>tu154/light/panel/ext-blue</blue-prop>
26   </emission>
27 </animation>-->
28
29 <effect>
30  <inherits-from>Effects/model-transparent</inherits-from>
31   <object-name>cover_1</object-name>
32   <object-name>cover_2</object-name>
33   <object-name>cover_3</object-name>
34   <object-name>cover_4</object-name>
35   <object-name>cover_5</object-name>
36 </effect>
37
38 <!--Indicators-->
39 <animation>
40   <type>material</type>
41   <object-name>text_1</object-name>
42   <emission>
43     <red>1.0</red>
44     <green>1.0</green>
45     <blue>1.0</blue>
46     <factor-prop>tu154/systems/warning/rvrn/state</factor-prop>
47   </emission>
48 </animation>
49 <animation>
50   <type>material</type>
51   <object-name>text_2</object-name>
52   <emission>
53     <red>1.0</red>
54     <green>1.0</green>
55     <blue>1.0</blue>
56     <factor-prop>tu154/systems/electrical/indicators/rudder-trim-neutral</factor-prop>
57   </emission>
58 </animation>
59 <animation>
60   <type>material</type>
61   <object-name>text_3</object-name>
62   <emission>
63     <red>1.0</red>
64     <green>1.0</green>
65     <blue>1.0</blue>
66     <factor-prop>tu154/systems/electrical/indicators/aileron-trim-neutral</factor-prop>
67   </emission>
68 </animation>
69 <animation>
70   <type>material</type>
71   <object-name>text_4</object-name>
72   <emission>
73     <red>1.0</red>
74     <green>1.0</green>
75     <blue>1.0</blue>
76     <factor-prop>tu154/systems/electrical/indicators/elevator-trim-neutral</factor-prop>
77   </emission>
78 </animation>
79
80 <!--Check lamps procedure-->
81 <animation>
82   <type>material</type>
83   <object-name>text_1</object-name>
84   <object-name>text_2</object-name>
85   <object-name>text_3</object-name>
86   <object-name>text_4</object-name>
87   <condition>
88     <property>tu154/systems/electrical/checking-lamps/main-panel</property>
89   </condition>
90   <emission>
91     <red>1.0</red>
92     <green>1.0</green>
93     <blue>1.0</blue>
94     <factor-prop>tu154/systems/electrical/checking-lamps/main-panel</factor-prop>
95   </emission>
96 </animation>
97
98 <!--Controls-->
99 <animation>
100   <type>pick</type>
101   <object-name>hs_1</object-name>
102   <visible>false</visible>
103   <action>
104     <button>0</button>
105     <repeatable>false</repeatable>
106     <binding>
107       <command>property-assign</command>
108       <property>controls/flight/rudder-trim</property>
109       <value>0.0</value>
110     </binding>
111   </action>
112 </animation>
113 <animation>
114   <type>pick</type>
115   <object-name>hs_2</object-name>
116   <visible>false</visible>
117   <action>
118     <button>0</button>
119     <repeatable>false</repeatable>
120     <binding>
121       <command>property-assign</command>
122       <property>controls/flight/aileron-trim</property>
123       <value>0.0</value>
124     </binding>
125   </action>
126 </animation>
127 <animation>
128   <type>pick</type>
129   <object-name>hs_3</object-name>
130   <visible>false</visible>
131   <action>
132     <button>0</button>
133     <repeatable>false</repeatable>
134     <binding>
135       <command>property-assign</command>
136       <property>controls/flight/elevator-trim</property>
137       <value>0.0</value>
138     </binding>
139   </action>
140 </animation>
141
142
143 </PropertyList>