-update HSI and TACAN panel
[fg:toms-fgdata.git] / Aircraft / C130 / Models / Interior / Panel / Instruments / Tacan / tacan.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <PropertyList>
4
5   <path>tacan.ac</path>
6
7   <animation>
8     <object-name>fond</object-name>
9     <object-name>test-lamp</object-name>
10     <object-name>visses</object-name>
11     <object-name>vol-knob</object-name>
12     <object-name>test-button</object-name>
13     <object-name>tenth-knob</object-name>
14     <object-name>xy-knob</object-name>
15     <object-name>unit-knob</object-name>
16     <object-name>select-knob</object-name>
17     <object-name>drum-1</object-name>
18     <object-name>drum-2</object-name>
19     <object-name>drum-3</object-name>
20     <object-name>x-sign</object-name>
21     <object-name>y-sign</object-name>
22     <object-name>clic-tenth-L</object-name>
23     <object-name>clic-tenth-R</object-name>
24     <object-name>clic-xy-L</object-name>
25     <object-name>clic-xy-R</object-name>
26     <object-name>clic-unit-L</object-name>
27     <object-name>clic-unit-R</object-name>
28     <object-name>clic-select-L</object-name>
29     <object-name>clic-select-R</object-name>
30     <object-name>clic-vol-L</object-name>
31     <object-name>clic-vol-R</object-name>
32
33     <object-name>vitre</object-name>
34   </animation>
35
36   <animation>
37     <type>noshadow</type>
38     <object-name>vitre</object-name>
39   </animation>
40
41   <animation>\r
42     <type>shader</type>\r
43     <shader>chrome</shader>\r
44     <texture>shader.png</texture>\r
45     <object-name>vitre</object-name>
46   </animation>\r
47 \r
48   <animation>
49     <type>material</type>
50     <object-name>drum-1</object-name>
51     <object-name>drum-2</object-name>
52     <object-name>drum-3</object-name>
53     <object-name>x-sign</object-name>
54     <object-name>y-sign</object-name>
55     <object-name>vol-knob</object-name>
56     <object-name>test-button</object-name>
57     <object-name>tenth-knob</object-name>
58     <object-name>xy-knob</object-name>
59     <object-name>unit-knob</object-name>
60     <object-name>select-knob</object-name>
61     <emission>
62       <red>   0.8 </red>
63       <green> 0.7 </green>
64       <blue>  0.5 </blue>
65       <factor-prop>/controls/lighting/instruments-norm</factor-prop>
66     </emission>
67   </animation>
68
69
70   <animation>
71     <type>textranslate</type>
72     <object-name>drum-1</object-name>
73     <property>instrumentation/tacan/frequencies/selected-channel[1]</property>
74     <factor>0.1</factor>
75     <offset>-1</offset>
76     <center>
77       <x-m> 0 </x-m>
78       <y-m> 0 </y-m>
79       <z-m> 0 </z-m>
80     </center>
81     <axis>
82       <x>  0 </x>
83       <y> -1 </y>
84       <z>  0 </z>
85     </axis>
86   </animation>
87
88   <animation>
89     <type>textranslate</type>
90     <object-name>drum-2</object-name>
91     <property>instrumentation/tacan/frequencies/selected-channel[2]</property>
92     <factor>0.1</factor>
93     <offset>-1</offset>
94     <center>
95       <x-m> 0 </x-m>
96       <y-m> 0 </y-m>
97       <z-m> 0 </z-m>
98     </center>
99     <axis>
100       <x>  0 </x>
101       <y> -1 </y>
102       <z>  0 </z>
103     </axis>
104   </animation>
105
106   <animation>
107     <type>textranslate</type>
108     <object-name>drum-3</object-name>
109     <property>instrumentation/tacan/frequencies/selected-channel[3]</property>
110     <factor>0.1</factor>
111     <offset>-1</offset>
112     <center>
113       <x-m> 0 </x-m>
114       <y-m> 0 </y-m>
115       <z-m> 0 </z-m>
116     </center>
117     <axis>
118       <x>  0 </x>
119       <y> -1 </y>
120       <z>  0 </z>
121     </axis>
122   </animation>
123
124   <animation>
125     <type>select</type>
126     <object-name>y-sign</object-name>
127     <condition>
128       <equals>
129         <property>instrumentation/tacan/frequencies/selected-channel[4]</property>
130         <value>Y</value>
131       </equals>
132     </condition>
133   </animation>
134
135   <animation>
136     <type>select</type>
137     <object-name>x-sign</object-name>
138     <condition>
139       <equals>
140         <property>instrumentation/tacan/frequencies/selected-channel[4]</property>
141         <value>X</value>
142       </equals>
143     </condition>
144   </animation>
145
146 <!-- Comming soon
147   <animation>
148     <name>All-Tenth</name>
149     <object-name>tenth-knob</object-name>
150     <object-name>clic-tenth-L</object-name>
151     <object-name>clic-tenth-R</object-name>
152   </animation>
153
154   <animation>
155     <rotate>
156     <object-name>All-Tenth</object-name>
157     <property>?</property>
158     <axis>
159       <x> 0 </x>
160       <y> 0 </y>
161       <z> 1 </z>
162     </axis>
163   </animation>
164
165   <animation>
166     <name>All-Xy</name>
167     <object-name>xy-knob</object-name>
168     <object-name>clic-xy-L</object-name>
169     <object-name>clic-xy-R</object-name>
170   </animation>
171
172   <animation>
173     <rotate>
174     <object-name>All-Xy</object-name>
175     <property>?</property>
176     <axis>
177       <x> 0 </x>
178       <y> 0 </y>
179       <z> 1 </z>
180     </axis>
181   </animation>
182
183   <animation>
184     <name>All-Unit</name>
185     <object-name>unit-knob</object-name>
186     <object-name>clic-unit-L</object-name>
187     <object-name>clic-unit-R</object-name>
188   </animation>
189
190   <animation>
191     <rotate>
192     <object-name>All-Unit</object-name>
193     <property>?</property>
194     <axis>
195       <x> 0 </x>
196       <y> 0 </y>
197       <z> 1 </z>
198     </axis>
199   </animation>
200
201   <animation>
202     <name>All-Select</name>
203     <object-name>unit-select</object-name>
204     <object-name>clic-select-L</object-name>
205     <object-name>clic-select-R</object-name>
206   </animation>
207
208   <animation>
209     <rotate>
210     <object-name>All-Select</object-name>
211     <property>?</property>
212     <axis>
213       <x> 0 </x>
214       <y> 0 </y>
215       <z> 1 </z>
216     </axis>
217   </animation>
218
219   <animation>
220     <name>All-Vol</name>
221     <object-name>vol-knob</object-name>
222     <object-name>clic-vol-L</object-name>
223     <object-name>clic-vol-R</object-name>
224   </animation>
225
226   <animation>
227     <rotate>
228     <object-name>All-Vol</object-name>
229     <property>?</property>
230     <axis>
231       <x> 0 </x>
232       <y> 0 </y>
233       <z> 1 </z>
234     </axis>
235   </animation>
236 -->
237
238   <!-- Hot spot -->
239   <animation>
240     <type>pick</type>
241     <object-name>clic-tenth-L</object-name>
242     <visible>false</visible>
243     <action>
244       <button>0</button>
245       <repeatable>true</repeatable>
246       <!--
247         comming soon
248       -->
249     </action>
250   </animation>
251
252   <animation>
253     <type>pick</type>
254     <object-name>clic-tenth-R</object-name>
255     <visible>false</visible>
256     <action>
257       <button>0</button>
258       <repeatable>true</repeatable>
259       <!--
260         comming soon
261       -->
262     </action>
263   </animation>
264
265   <animation>
266     <type>pick</type>
267     <object-name>clic-xy-L</object-name>
268     <visible>false</visible>
269     <action>
270       <button>0</button>
271       <repeatable>true</repeatable>
272       <!--
273         comming soon
274       -->
275     </action>
276   </animation>
277
278   <animation>
279     <type>pick</type>
280     <object-name>clic-xy-R</object-name>
281     <visible>false</visible>
282     <action>
283       <button>0</button>
284       <repeatable>true</repeatable>
285       <!--
286         comming soon
287       -->
288     </action>
289   </animation>
290
291   <animation>
292     <type>pick</type>
293     <object-name>clic-unit-L</object-name>
294     <visible>false</visible>
295     <action>
296       <button>0</button>
297       <repeatable>true</repeatable>
298       <!--
299         comming soon
300       -->
301     </action>
302   </animation>
303
304   <animation>
305     <type>pick</type>
306     <object-name>clic-unit-R</object-name>
307     <visible>false</visible>
308     <action>
309       <button>0</button>
310       <repeatable>true</repeatable>
311       <!--
312         comming soon
313       -->
314     </action>
315   </animation>
316
317   <animation>
318     <type>pick</type>
319     <object-name>clic-select-L</object-name>
320     <visible>false</visible>
321     <action>
322       <button>0</button>
323       <repeatable>true</repeatable>
324       <!--
325         comming soon
326       -->
327     </action>
328   </animation>
329
330   <animation>
331     <type>pick</type>
332     <object-name>clic-select-R</object-name>
333     <visible>false</visible>
334     <action>
335       <button>0</button>
336       <repeatable>true</repeatable>
337       <!--
338         comming soon
339       -->
340     </action>
341   </animation>
342
343   <animation>
344     <type>pick</type>
345     <object-name>clic-vol-L</object-name>
346     <visible>false</visible>
347     <action>
348       <button>0</button>
349       <repeatable>true</repeatable>
350       <!--
351         comming soon
352       -->
353     </action>
354   </animation>
355
356   <animation>
357     <type>pick</type>
358     <object-name>clic-vol-R</object-name>
359     <visible>false</visible>
360     <action>
361       <button>0</button>
362       <repeatable>true</repeatable>
363       <!--
364         comming soon
365       -->
366     </action>
367   </animation>
368
369 </PropertyList>