Remove old references to /sim/auto-coordination.
[fg:toms-fgdata.git] / Aircraft / pa22 / Models / pa22.xml
1 <?xml version="1.0"?>
2
3 <PropertyList>
4
5   <path>Tri-Pacer.ac</path>
6
7   <nasal>
8     <load>
9     var livery_update = aircraft.livery_update.new("Aircraft/pa22/Models/Liveries");
10     </load>
11
12     <unload>
13     livery_update.stop();
14     </unload>
15   </nasal>
16
17 <!-- Sort objects -->
18
19   <animation>
20     <object-name>aileron_l</object-name>
21     <object-name>aileron_r</object-name>
22     <object-name>arm_lower</object-name>
23     <object-name>arm_upper</object-name>
24     <object-name>baggage_door</object-name>
25     <object-name>baggage_door_lock</object-name>
26     <object-name>brake_lever</object-name>
27     <object-name>cabin</object-name>
28     <object-name>cabin_pass_door</object-name>
29     <object-name>cabin_pilot_door</object-name>
30     <object-name>cabin_pilot_window</object-name>
31     <object-name>cabin_rods</object-name>
32     <object-name>cabin_vent_0</object-name>
33     <object-name>cabin_vent_1</object-name>
34     <object-name>cabin_vent_2</object-name>
35     <object-name>cabin_vent_3</object-name>
36     <object-name>cabin_vent_frame_0</object-name>
37     <object-name>cabin_vent_frame_1</object-name>
38     <object-name>cabin_vent_frame_2</object-name>
39     <object-name>cabin_vent_frame_3</object-name>
40     <object-name>carb_heat</object-name>
41     <object-name>carb_heat_base</object-name>
42     <object-name>copilot_belt</object-name>
43     <object-name>copilot_seat</object-name>
44     <object-name>dome</object-name>
45     <object-name>dome_light</object-name>
46     <object-name>dome_light_switch</object-name>
47     <object-name>drain_sump_l</object-name>
48     <object-name>drain_sump_r</object-name>
49     <object-name>elevator</object-name>
50     <object-name>exhaust</object-name>
51     <object-name>flap_l</object-name>
52     <object-name>flap_r</object-name>
53     <object-name>flaps_handle</object-name>
54     <object-name>fork</object-name>
55     <object-name>front_panel</object-name>
56     <object-name>fuel_crank</object-name>
57     <object-name>fuel_plate</object-name>
58     <object-name>fuselage</object-name>
59     <object-name>fuselage_details</object-name>
60     <object-name>housing</object-name>
61     <object-name>immat</object-name>
62     <object-name>instrument_panel</object-name>
63     <object-name>interconnect</object-name>
64     <object-name>interconnect_base</object-name>
65     <object-name>key</object-name>
66     <object-name>key_chain</object-name>
67     <object-name>key_ring</object-name>
68     <object-name>l_gear</object-name>
69     <object-name>l_gear_rod</object-name>
70     <object-name>landing_reflector</object-name>
71     <object-name>lights</object-name>
72     <object-name>lights_switch</object-name>
73     <object-name>lights_switch_base</object-name>
74     <object-name>link_lower</object-name>
75     <object-name>link_lower_l</object-name>
76     <object-name>link_lower_r</object-name>
77     <object-name>link_rear_l</object-name>
78     <object-name>link_rear_r</object-name>
79     <object-name>link_upper</object-name>
80     <object-name>link_upper_l</object-name>
81     <object-name>link_upper_r</object-name>
82     <object-name>magnetos</object-name>
83     <object-name>master_switch</object-name>
84     <object-name>middle_panel</object-name>
85     <object-name>mixture</object-name>
86     <object-name>mixture_base</object-name>
87     <object-name>nav_light_l</object-name>
88     <object-name>nav_light_l.001</object-name>
89     <object-name>nav_light_r</object-name>
90     <object-name>nav_light_r.001</object-name>
91     <object-name>nav_light_rear</object-name>
92     <object-name>nav_light_rear.001</object-name>
93     <object-name>nav_lights</object-name>
94     <object-name>panel_lights</object-name>
95     <object-name>pant_l</object-name>
96     <object-name>pant_r</object-name>
97     <object-name>pant_s</object-name>
98     <object-name>park_brake</object-name>
99     <object-name>pass_door</object-name>
100     <object-name>pass_door_handle</object-name>
101     <object-name>pass_door_lock</object-name>
102     <object-name>pilot_belt</object-name>
103     <object-name>pilot_door</object-name>
104     <object-name>pilot_door_handle</object-name>
105     <object-name>pilot_door_lock</object-name>
106     <object-name>pilot_seat</object-name>
107     <object-name>pilot_window</object-name>
108     <object-name>pitot</object-name>
109     <object-name>piston_tube</object-name>
110     <object-name>primer</object-name>
111     <object-name>primer_base</object-name>
112     <object-name>prop</object-name>
113     <object-name>prop_cone</object-name>
114     <object-name>r_gear</object-name>
115     <object-name>r_gear_rod</object-name>
116     <object-name>rear_belt</object-name>
117     <object-name>rear_seats</object-name>
118     <object-name>rudder</object-name>
119     <object-name>rudder_pedal_l</object-name>
120     <object-name>rudder_pedal_l.001</object-name>
121     <object-name>rudder_pedal_r</object-name>
122     <object-name>rudder_pedal_r.001</object-name>
123     <object-name>stab_crank</object-name>
124     <object-name>stab_needle</object-name>
125     <object-name>stab_scale</object-name>
126     <object-name>stabilizer</object-name>
127     <object-name>starter</object-name>
128     <object-name>tank_cap_l</object-name>
129     <object-name>tank_cap_r</object-name>
130     <object-name>taxi_reflector</object-name>
131     <object-name>throttle</object-name>
132     <object-name>throttle_base</object-name>
133     <object-name>vent_0</object-name>
134     <object-name>vent_1</object-name>
135     <object-name>vent_2</object-name>
136     <object-name>vent_3</object-name>
137     <object-name>vent_frame_0</object-name>
138     <object-name>vent_frame_1</object-name>
139     <object-name>vent_frame_2</object-name>
140     <object-name>vent_frame_3</object-name>
141     <object-name>wheel_l</object-name>
142     <object-name>wheel_r</object-name>
143     <object-name>wheel_s</object-name>
144     <object-name>wing_l</object-name>
145     <object-name>wing_r</object-name>
146     <object-name>wing_rods</object-name>
147     <object-name>yoke_hubs</object-name>
148     <!-- Transparent -->
149     <object-name>c_glass</object-name>
150     <object-name>c_pass_door_glass</object-name>
151     <object-name>c_pilot_door_glass</object-name>
152     <object-name>c_pilot_window_glass</object-name>
153     <object-name>compass_glass</object-name>
154     <object-name>glass</object-name>
155     <object-name>instrument_glass</object-name>
156     <object-name>labels</object-name>
157     <object-name>landing_light</object-name>
158     <object-name>landing_light_glass</object-name>
159     <object-name>landing_light_spot</object-name>
160     <object-name>lights_switch_down</object-name>
161     <object-name>lights_switch_up</object-name>
162     <object-name>mixture_click</object-name>
163     <object-name>nav_light_green</object-name>
164     <object-name>nav_light_red</object-name>
165     <object-name>nav_light_white</object-name>
166     <object-name>park_brake_click</object-name>
167     <object-name>pass_door_glass</object-name>
168     <object-name>pilot_door_glass</object-name>
169     <object-name>pilot_window_glass</object-name>
170     <object-name>prop_fast</object-name>
171     <object-name>prop_slow</object-name>
172     <object-name>r_glass</object-name>
173     <object-name>r_pass_door_glass</object-name>
174     <object-name>r_pilot_door_glass</object-name>
175     <object-name>r_pilot_window_glass</object-name>
176     <object-name>taxi_light</object-name>
177     <object-name>taxi_light_glass</object-name>
178     <object-name>taxi_light_spot</object-name>
179     <object-name>yoke_l</object-name>
180     <object-name>yoke_r</object-name>
181     <object-name>yoke_rod_l</object-name>
182     <object-name>yoke_rod_r</object-name>
183   </animation>
184
185 <!-- Marker model used in tutorials -->
186
187   <model>
188     <path>Models/Aircraft/marker.xml</path>
189   </model>
190
191 <!-- No shadow -->
192
193   <animation>
194     <type>noshadow</type>
195     <object-name>c_glass</object-name>
196     <object-name>c_pilot_window_glass</object-name>
197     <object-name>c_pilot_door_glass</object-name>
198     <object-name>c_pass_door_glass</object-name>
199     <object-name>glass</object-name>
200     <object-name>landing_light</object-name>
201     <object-name>landing_light_glass</object-name>
202     <object-name>landing_light_spot</object-name>
203     <object-name>lights_switch_down</object-name>
204     <object-name>lights_switch_up</object-name>
205     <object-name>mixture_click</object-name>
206     <object-name>nav_light_green</object-name>
207     <object-name>nav_light_red</object-name>
208     <object-name>nav_light_white</object-name>
209     <object-name>park_brake_click</object-name>
210     <object-name>pilot_window_glass</object-name>
211     <object-name>pilot_door_glass</object-name>
212     <object-name>pass_door_glass</object-name>
213     <object-name>prop_fast</object-name>
214     <object-name>prop_slow</object-name>
215     <object-name>r_glass</object-name>
216     <object-name>r_pilot_window_glass</object-name>
217     <object-name>r_pilot_door_glass</object-name>
218     <object-name>r_pass_door_glass</object-name>
219     <object-name>taxi_light</object-name>
220     <object-name>taxi_light_glass</object-name>
221     <object-name>taxi_light_spot</object-name>
222   </animation>
223
224 <!-- Chrome -->
225
226   <animation>
227     <type>shader</type>
228     <shader>chrome</shader>
229     <texture>glass_shader.png</texture>
230     <object-name>compass_glass</object-name>
231     <object-name>glass</object-name>
232     <object-name>instrument_glass</object-name>
233     <object-name>lights_glass</object-name>
234     <object-name>pilot_window_glass</object-name>
235     <object-name>pilot_door_glass</object-name>
236     <object-name>pass_door_glass</object-name>
237     <object-name>landing_light_glass</object-name>
238     <object-name>taxi_light_glass</object-name>
239   </animation>
240
241   <animation>
242     <type>shader</type>
243     <shader>chrome</shader>
244     <texture>chrome.png</texture>
245     <object-name>pilot_door_lock</object-name>
246     <object-name>passenger_door_lock</object-name>
247     <object-name>baggage_door_lock</object-name>
248     <object-name>piston_tube</object-name>
249   </animation>
250
251   <animation>
252     <type>shader</type>
253     <shader>chrome</shader>
254     <texture>chrome_gold.png</texture>
255     <object-name>drain_sump_l</object-name>
256     <object-name>drain_sump_r</object-name>
257     <object-name>exhaust</object-name>
258   </animation>
259
260   <animation>
261     <type>shader</type>
262     <shader>chrome</shader>
263     <texture>cabin_shader.png</texture>
264     <object-name>c_glass</object-name>
265     <object-name>c_pilot_window_glass</object-name>
266     <object-name>c_pilot_door_glass</object-name>
267     <object-name>c_pass_door_glass</object-name>
268   </animation>
269
270 <!-- Cabin illumination -->
271
272   <animation>
273     <type>material</type>
274     <object-name>arm_lower</object-name>
275     <object-name>arm_upper</object-name>
276     <object-name>brake_lever</object-name>
277     <object-name>cabin</object-name>
278     <object-name>cabin_pass_door</object-name>
279     <object-name>cabin_pilot_door</object-name>
280     <object-name>cabin_pilot_window</object-name>
281     <object-name>cabin_rods</object-name>
282     <object-name>cabin_vent_0</object-name>
283     <object-name>cabin_vent_1</object-name>
284     <object-name>cabin_vent_2</object-name>
285     <object-name>cabin_vent_3</object-name>
286     <object-name>cabin_vent_frame_0</object-name>
287     <object-name>cabin_vent_frame_1</object-name>
288     <object-name>cabin_vent_frame_2</object-name>
289     <object-name>cabin_vent_frame_3</object-name>
290     <object-name>carb_heat</object-name>
291     <object-name>carb_heat_base</object-name>
292     <object-name>copilot_belt</object-name>
293     <object-name>copilot_seat</object-name>
294     <object-name>dome</object-name>
295     <object-name>dome_light_switch</object-name>
296     <object-name>flaps_handle</object-name>
297     <object-name>fuel_crank</object-name>
298     <object-name>fuel_plate</object-name>
299     <object-name>front_panel</object-name>
300     <object-name>immat</object-name>
301     <object-name>instrument_panel</object-name>
302     <object-name>interconnect</object-name>
303     <object-name>interconnect_base</object-name>
304     <object-name>key</object-name>
305     <object-name>key_chain</object-name>
306     <object-name>key_ring</object-name>
307     <object-name>labels</object-name>
308     <object-name>lights_switch</object-name>
309     <object-name>lights_switch_base</object-name>
310     <object-name>magnetos</object-name>
311     <object-name>master_switch</object-name>
312     <object-name>middle_panel</object-name>
313     <object-name>mixture</object-name>
314     <object-name>mixture_base</object-name>
315     <object-name>nav_lights</object-name>
316     <object-name>panel_lights</object-name>
317     <object-name>park_brake</object-name>
318     <object-name>pass_door_handle</object-name>
319     <object-name>pilot</object-name>
320     <object-name>pilot_belt</object-name>
321     <object-name>pilot_door_handle</object-name>
322     <object-name>pilot_seat</object-name>
323     <object-name>primer</object-name>
324     <object-name>primer_base</object-name>
325     <object-name>r_glass</object-name>
326     <object-name>r_pilot_window_glass</object-name>
327     <object-name>r_pilot_door_glass</object-name>
328     <object-name>r_pass_door_glass</object-name>
329     <object-name>rear_belt</object-name>
330     <object-name>rear_seats</object-name>
331     <object-name>rudder_pedal_l</object-name>
332     <object-name>rudder_pedal_l.001</object-name>
333     <object-name>rudder_pedal_r</object-name>
334     <object-name>rudder_pedal_r.001</object-name>
335     <object-name>stab_crank</object-name>
336     <object-name>stab_needle</object-name>
337     <object-name>stab_scale</object-name>
338     <object-name>starter</object-name>
339     <object-name>throttle</object-name>
340     <object-name>throttle_base</object-name>
341     <object-name>yoke_hubs</object-name>
342     <object-name>yoke_l</object-name>
343     <object-name>yoke_r</object-name>
344     <object-name>yoke_rod_l</object-name>
345     <object-name>yoke_rod_r</object-name>
346     <emission>
347       <red>0.03</red>
348       <green>0.03</green>
349       <blue>0.02</blue>
350       <factor-prop>systems/electrical/outputs/cabin-lights</factor-prop>
351     </emission>
352   </animation>
353
354   <animation>
355     <type>material</type>
356     <object-name>dome_light</object-name>
357     <emission>
358       <red>0.08</red>
359       <green>0.08</green>
360       <blue>0.07</blue>
361       <factor-prop>systems/electrical/outputs/cabin-lights</factor-prop>
362     </emission>
363   </animation>
364
365 <!-- Raindrops -->
366
367   <animation>
368     <type>select</type>
369     <object-name>r_glass</object-name>
370     <object-name>r_pilot_window_glass</object-name>
371     <object-name>r_pilot_door_glass</object-name>
372     <object-name>r_pass_door_glass</object-name>
373     <condition>
374       <greater-than>
375         <property>sim/model/rain/raining-norm</property>
376         <value>0.2</value>
377       </greater-than>
378     </condition>
379   </animation>
380
381   <animation>
382     <type>select</type>
383     <object-name>c_glass</object-name>
384     <object-name>c_pilot_window_glass</object-name>
385     <object-name>c_pilot_door_glass</object-name>
386     <object-name>c_pass_door_glass</object-name>
387     <!-- remove propeller so it no obstruct precipitation -->
388     <object-name>prop_fast</object-name>
389     <condition>
390       <property>sim/model/show-canopy</property>
391     </condition>
392   </animation>
393
394   <animation>
395     <type>textranslate</type>
396     <object-name>r_glass</object-name>
397     <object-name>r_pilot_window_glass</object-name>
398     <object-name>r_pilot_door_glass</object-name>
399     <object-name>r_pass_door_glass</object-name>
400     <property>sim/time/elapsed-sec</property>
401     <factor>0.1</factor>
402     <axis>
403       <x>0</x>
404       <y>1</y>
405       <z>0</z>
406     </axis>
407   </animation>
408
409   <animation>
410     <type>blend</type>
411     <object-name>r_glass</object-name>
412     <object-name>r_pilot_window_glass</object-name>
413     <object-name>r_pilot_door_glass</object-name>
414     <object-name>r_pass_door_glass</object-name>
415     <property>sim/model/rain/raining-norm</property>
416     <offset>1.0</offset>
417     <factor>-1.0</factor>
418     <min>0.4</min>
419     <max>0.9</max>
420   </animation>
421
422 <!-- Wheel pants -->
423
424   <animation>
425     <type>select</type>
426     <object-name>pant_s</object-name>
427     <object-name>pant_l</object-name>
428     <object-name>pant_r</object-name>
429     <condition>
430       <property>sim/multiplay/generic/int[6]</property>
431     </condition>
432   </animation>
433
434 <!-- Liveries -->
435
436   <animation>
437     <type>material</type>
438     <object-name>arm_upper</object-name>
439     <object-name>arm_lower</object-name>
440     <object-name>cabin</object-name>
441     <object-name>cabin_pass_door</object-name>
442     <object-name>cabin_pilot_door</object-name>
443     <object-name>cabin_pilot_window</object-name>
444     <object-name>cabin_rods</object-name>
445     <object-name>cabin_vent_0</object-name>
446     <object-name>cabin_vent_1</object-name>
447     <object-name>cabin_vent_2</object-name>
448     <object-name>cabin_vent_3</object-name>
449     <object-name>cabin_vent_frame_0</object-name>
450     <object-name>cabin_vent_frame_1</object-name>
451     <object-name>cabin_vent_frame_2</object-name>
452     <object-name>cabin_vent_frame_3</object-name>
453     <object-name>carb_heat</object-name>
454     <object-name>carb_heat_base</object-name>
455     <object-name>copilot_belt</object-name>
456     <object-name>copilot_seat</object-name>
457     <object-name>dome</object-name>
458     <object-name>dome_light</object-name>
459     <object-name>dome_light_switch</object-name>
460     <object-name>instrument_panel</object-name>
461     <object-name>interconnect</object-name>
462     <object-name>interconnect_base</object-name>
463     <object-name>lights_switch</object-name>
464     <object-name>lights_switch_base</object-name>
465     <object-name>key_chain</object-name>
466     <object-name>master_switch</object-name>
467     <object-name>mixture</object-name>
468     <object-name>nav_lights</object-name>
469     <object-name>panel_lights</object-name>
470     <object-name>park_brake</object-name>
471     <object-name>pass_door_handle</object-name>
472     <object-name>pass_seat</object-name>
473     <object-name>pilot_belt</object-name>
474     <object-name>pilot_door_handle</object-name>
475     <object-name>pilot_seat</object-name>
476     <object-name>rear_belt</object-name>
477     <object-name>rear_seats</object-name>
478     <object-name>stab_crank</object-name>
479     <object-name>stab_scale</object-name>
480     <object-name>starter</object-name>
481     <object-name>throttle</object-name>
482     <object-name>throttle_base</object-name>
483     <object-name>yoke_hubs</object-name>
484     <object-name>yoke_rod_l</object-name>
485     <object-name>yoke_rod_r</object-name>
486     <property-base>sim/model/livery-cabin</property-base>
487     <texture-prop>texture</texture-prop>
488     <texture>Liveries/cabin_red.png</texture>
489   </animation>
490
491   <animation>
492     <type>material</type>
493     <object-name>fuel_crank</object-name>
494     <object-name>fuel_plate</object-name>
495     <property-base>sim/model/livery-fuel-valve</property-base>
496     <texture-prop>texture</texture-prop>
497     <texture>Liveries/fuel_valve_red.png</texture>
498   </animation>
499
500   <animation>
501     <type>material</type>
502     <object-name>baggage_door</object-name>
503     <object-name>fork</object-name>
504     <object-name>housing</object-name>
505     <object-name>fuselage</object-name>
506     <object-name>fuselage_details</object-name>
507     <object-name>l_gear</object-name>
508     <object-name>l_gear_rod</object-name>
509     <object-name>link_lower</object-name>
510     <object-name>link_upper</object-name>
511     <object-name>nav_light_rear</object-name>
512     <object-name>nav_light_rear.001</object-name>
513     <object-name>pass_door</object-name>
514     <object-name>pilot_door</object-name>
515     <object-name>pilot_window</object-name>
516     <object-name>prop</object-name>
517     <object-name>prop_cone</object-name>
518     <object-name>r_gear</object-name>
519     <object-name>r_gear_rod</object-name>
520     <object-name>rudder</object-name>
521     <property-base>sim/model/livery-fuselage</property-base>
522     <texture-prop>texture</texture-prop>
523     <texture>Liveries/fuselage_red.png</texture>
524   </animation>
525
526   <animation>
527     <type>material</type>
528     <object-name>pant_l</object-name>
529     <object-name>pant_r</object-name>
530     <object-name>pant_s</object-name>
531     <object-name>wheel_l</object-name>
532     <object-name>wheel_r</object-name>
533     <object-name>wheel_s</object-name>
534     <property-base>sim/model/livery-wheel-pants</property-base>
535     <texture-prop>texture</texture-prop>
536     <texture>Liveries/wheel_pants_red.png</texture>
537   </animation>
538
539   <animation>
540     <type>material</type>
541     <object-name>alieron_l</object-name>
542     <object-name>alieron_r</object-name>
543     <object-name>elevator</object-name>
544     <object-name>flap_l</object-name>
545     <object-name>flap_r</object-name>
546     <object-name>key</object-name>
547     <object-name>key_ring</object-name>
548     <object-name>lights</object-name>
549     <object-name>magnetos</object-name>
550     <object-name>nav_light_l</object-name>
551     <object-name>nav_light_l.001</object-name>
552     <object-name>nav_light_r</object-name>
553     <object-name>nav_light_r.001</object-name>
554     <object-name>pitot</object-name>
555     <object-name>primer</object-name>
556     <object-name>primer_base</object-name>
557     <object-name>tank_cap_l</object-name>
558     <object-name>tank_cap_r</object-name>
559     <object-name>stabilizer</object-name>
560     <object-name>wing_l</object-name>
561     <object-name>wing_r</object-name>
562     <object-name>wing_rods</object-name>
563     <property-base>sim/model/livery-wings</property-base>
564     <texture-prop>texture</texture-prop>
565     <texture>wings.png</texture>
566   </animation>
567
568 <!-- Yokes transparency -->
569
570   <animation>
571     <type>blend</type>
572     <object-name>yoke_l</object-name>
573     <object-name>yoke_rod_l</object-name>
574     <object-name>yoke_r</object-name>
575     <object-name>yoke_rod_r</object-name>
576     <property>sim/model/yokes-alpha</property>
577   </animation>
578
579   <animation>
580     <type>pick</type>
581     <object-name>yoke_hubs</object-name>
582     <visible>true</visible>
583     <action>
584       <button>0</button>
585       <repeatable>true</repeatable>
586       <interval-sec>0.1</interval-sec>
587       <binding>
588         <command>property-adjust</command>
589         <property>sim/model/yokes-alpha</property>
590         <step>-0.1</step>
591         <min>0</min>
592         <max>1</max>
593       </binding>
594     </action>
595   </animation>
596
597   <animation>
598     <type>pick</type>
599     <object-name>yoke_hubs</object-name>
600     <visible>true</visible>
601     <action>
602       <button>1</button>
603       <repeatable>true</repeatable>
604       <interval-sec>0.1</interval-sec>
605       <binding>
606         <command>property-adjust</command>
607         <property>sim/model/yokes-alpha</property>
608         <step>0.1</step>
609         <min>0</min>
610         <max>1</max>
611       </binding>
612     </action>
613   </animation>
614
615   <animation>
616     <type>pick</type>
617     <object-name>yoke_hubs</object-name>
618     <visible>true</visible>
619     <action>
620       <button>3</button>
621       <repeatable>false</repeatable>
622       <binding>
623         <command>property-adjust</command>
624         <property>sim/model/yokes-alpha</property>
625         <step>-0.1</step>
626         <min>0</min>
627         <max>1</max>
628       </binding>
629     </action>
630   </animation>
631
632   <animation>
633     <type>pick</type>
634     <object-name>yoke_hubs</object-name>
635     <visible>true</visible>
636     <action>
637       <button>4</button>
638       <repeatable>false</repeatable>
639       <binding>
640         <command>property-adjust</command>
641         <property>sim/model/yokes-alpha</property>
642         <step>0.1</step>
643         <min>0</min>
644         <max>1</max>
645       </binding>
646     </action>
647   </animation>
648
649 <!-- Landing and taxi light animation -->
650
651   <animation>
652     <type>select</type>
653     <object-name>landing_light_spot</object-name>
654     <condition>
655       <greater-than>
656         <property>systems/electrical/outputs/landing-light</property>
657         <value>10</value>
658       </greater-than>
659     </condition>
660   </animation>
661
662   <animation>
663     <type>select</type>
664     <object-name>taxi_light_spot</object-name>
665     <condition>
666       <greater-than>
667         <property>systems/electrical/outputs/taxi-lights</property>
668         <value>10</value>
669       </greater-than>
670     </condition>
671   </animation>
672
673   <animation>
674     <type>material</type>
675     <object-name>landing_light_spot</object-name>
676     <emission>
677       <red>0.07</red>
678       <green>0.07</green>
679       <blue>0.06</blue>
680       <factor-prop>systems/electrical/outputs/landing-light</factor-prop>
681     </emission>
682   </animation>
683
684   <animation>
685     <type>material</type>
686     <object-name>taxi_light_spot</object-name>
687     <emission>
688       <red>0.07</red>
689       <green>0.07</green>
690       <blue>0.06</blue>
691       <factor-prop>systems/electrical/outputs/taxi-lights</factor-prop>
692     </emission>
693   </animation>
694
695   <animation>
696     <type>select</type>
697     <object-name>landing_light</object-name>
698     <condition>
699       <greater-than>
700         <property>sim/multiplay/generic/float[1]</property>
701         <value>10</value>
702       </greater-than>
703     </condition>
704   </animation>
705
706   <animation>
707     <type>select</type>
708     <object-name>taxi_light</object-name>
709     <condition>
710       <greater-than>
711         <property>sim/multiplay/generic/float[2]</property>
712         <value>10</value>
713       </greater-than>
714     </condition>
715   </animation>
716
717   <animation>
718     <type>select</type>
719     <object-name>landing_light_glass</object-name>
720     <condition>
721       <less-than-equals>
722         <property>sim/multiplay/generic/float[1]</property>
723         <value>10</value>
724       </less-than-equals>
725     </condition>
726   </animation>
727
728   <animation>
729     <type>select</type>
730     <object-name>taxi_light_glass</object-name>
731     <condition>
732       <less-than-equals>
733         <property>sim/multiplay/generic/float[2]</property>
734         <value>10</value>
735       </less-than-equals>
736     </condition>
737   </animation>
738
739   <animation>
740     <type>material</type>
741     <object-name>landing_light</object-name>
742     <object-name>landing_light_spot</object-name>
743     <object-name>landing_reflector</object-name>
744     <emission>
745       <red>0.07</red>
746       <green>0.07</green>
747       <blue>0.06</blue>
748       <factor-prop>sim/multiplay/generic/float[1]</factor-prop>
749     </emission>
750   </animation>
751
752   <animation>
753     <type>material</type>
754     <object-name>taxi_light</object-name>
755     <object-name>taxi_light_spot</object-name>
756     <object-name>taxi_reflector</object-name>
757     <emission>
758       <red>0.07</red>
759       <green>0.07</green>
760       <blue>0.06</blue>
761       <factor-prop>sim/multiplay/generic/float[2]</factor-prop>
762     </emission>
763   </animation>
764
765   <animation>
766     <type>rotate</type>
767     <object-name>landing_light_spot</object-name>
768     <object-name>taxi_light_spot</object-name>
769     <property>orientation/pitch-deg</property>
770     <factor>-1</factor>
771     <center>
772       <x-m>-10.391</x-m>
773       <y-m>0.0</y-m>
774       <z-m>-0.820</z-m>
775     </center>
776     <axis>
777       <x>0.0</x>
778       <y>1.0</y>
779       <z>0.0</z>
780     </axis>
781   </animation>
782
783   <animation>
784     <type>rotate</type>
785     <object-name>landing_light_spot</object-name>
786     <object-name>taxi_light_spot</object-name>
787     <property>orientation/roll-deg</property>
788     <factor>1</factor>
789     <center>
790       <x-m>0.0</x-m>
791       <y-m>-2.939</y-m>
792       <z-m>-0.820</z-m>
793     </center>
794     <axis>
795       <x>1.0</x>
796       <y>0.0</y>
797       <z>0.0</z>
798     </axis>
799   </animation>
800
801   <animation>
802     <type>translate</type>
803     <object-name>landing_light_spot</object-name>
804     <object-name>taxi_light_spot</object-name>
805     <property>position/altitude-agl-ft</property>
806     <factor>0.25</factor>
807     <axis>
808       <x>-1.0</x>
809       <y>0.0</y>
810       <z>-0.088</z>
811     </axis>
812   </animation>
813
814   <animation>
815     <type>translate</type>
816     <object-name>landing_light_spot</object-name>
817     <object-name>taxi_light_spot</object-name>
818     <property>orientation/pitch-deg</property>
819     <factor>1</factor>
820     <axis>
821       <x>-1.0</x>
822       <y>0.0</y>
823       <z>0.0</z>
824     </axis>
825   </animation>
826
827   <animation>
828     <type>dist-scale</type>
829     <object-name>landing_light_spot</object-name>
830     <object-name>taxi_light_spot</object-name>
831     <factor>0.05</factor>
832     <center>
833       <x-m>-17.662</x-m>
834       <y-m>-2.939</y-m>
835       <z-m>-0.870</z-m>
836     </center>
837   </animation>
838
839   <animation>
840     <type>blend</type>
841     <object-name>landing_light_spot</object-name>
842     <object-name>taxi_light_spot</object-name>
843     <property>sim/model/landing_lights-intensity</property>
844   </animation>
845
846 <!-- Nav lights-->
847
848   <animation>
849     <type>select</type>
850     <object-name>nav_light_green</object-name>
851     <object-name>nav_light_red</object-name>
852     <object-name>nav_light_white</object-name>
853     <condition>
854       <greater-than>
855         <property>sim/multiplay/generic/float[0]</property>
856         <value>10</value>
857       </greater-than>
858     </condition>
859   </animation>
860
861   <animation>
862     <type>material</type>
863     <object-name>nav_light_green</object-name>
864     <object-name>nav_light_l.001</object-name>
865     <object-name>nav_light_r.001</object-name>
866     <object-name>nav_light_red</object-name>
867     <object-name>nav_light_rear.001</object-name>
868     <object-name>nav_light_white</object-name>
869     <emission>
870       <red>0.08</red>
871       <green>0.08</green>
872       <blue>0.08</blue>
873       <factor-prop>sim/multiplay/generic/float[0]</factor-prop>
874     </emission>
875   </animation>
876
877   <animation>
878     <type>dist-scale</type>
879         <object-name>nav_light_green</object-name>
880     <center>
881       <x-m>-0.078</x-m>
882       <y-m>4.255</y-m>
883       <z-m>0.924</z-m>
884     </center>
885         <interpolation>
886           <entry><ind>0</ind><dep>1</dep></entry>
887           <entry><ind>500</ind><dep>5</dep></entry>
888           <entry><ind>16000</ind><dep>20</dep></entry>
889         </interpolation>
890   </animation>
891
892   <animation>
893     <type>dist-scale</type>
894     <object-name>nav_light_red</object-name>
895     <center>
896       <x-m>-0.060</x-m>
897       <y-m>-4.271</y-m>
898       <z-m>0.925</z-m>
899     </center>
900         <interpolation>
901           <entry><ind>0</ind><dep>1</dep></entry>
902           <entry><ind>500</ind><dep>5</dep></entry>
903           <entry><ind>16000</ind><dep>20</dep></entry>
904         </interpolation>
905   </animation>
906
907   <animation>
908     <type>dist-scale</type>
909     <object-name>nav_light_white</object-name>
910     <center>
911       <x-m>4.520</x-m>
912       <y-m>0.000</y-m>
913       <z-m>0.371</z-m>
914     </center>
915         <interpolation>
916           <entry><ind>0</ind><dep>1</dep></entry>
917           <entry><ind>500</ind><dep>5</dep></entry>
918           <entry><ind>16000</ind><dep>20</dep></entry>
919         </interpolation>
920   </animation>
921
922 <!-- Pilot and safety belts-->
923
924   <model>
925     <name>pilot</name>
926     <path>Aircraft/pa22/Models/Pilot/pilot.xml</path>
927     <offsets>
928       <x-m>0.135</x-m>
929       <y-m>-0.204</y-m>
930       <z-m>0.043</z-m>
931     </offsets>
932   </model>
933
934   <animation>
935     <type>select</type>
936     <object-name>pilot</object-name>
937     <object-name>pilot_belt</object-name>
938     <condition>
939       <not-equals>
940         <property>sim/current-view/view-number</property>
941         <value>0</value>
942       </not-equals>
943     </condition>
944   </animation>
945
946   <animation>
947     <type>select</type>
948     <object-name>copilot_belt</object-name>
949     <condition>
950       <not-equals>
951         <property>sim/current-view/name</property>
952         <value>Co-Pilot View</value>
953       </not-equals>
954     </condition>
955   </animation>
956
957 <!-- Immatriculatoin -->
958
959   <model>
960     <path>Aircraft/pa22/Models/Immat/immat.xml</path>
961     <offsets>
962       <x-m> 0.0 </x-m>
963       <y-m> 0.0 </y-m>
964       <z-m> 0.0 </z-m>
965       <roll-deg>    0.0 </roll-deg>
966       <pitch-deg>   0.0 </pitch-deg>
967       <heading-deg> 0.0 </heading-deg>
968     </offsets>
969   </model>
970
971 <!--instrumentation-->
972
973   <model>
974     <name>ai</name>
975     <path>Aircraft/pa22/Models/Instruments/ai/ai.xml</path>
976     <offsets>
977       <x-m>-0.142</x-m>
978       <y-m>-0.161</y-m>
979       <z-m>0.433</z-m>
980       <pitch-deg>-7.0</pitch-deg>
981     </offsets>
982   </model>
983
984   <model>
985     <name>ako64</name>
986     <path>Aircraft/pa22/Models/Instruments/ako64/ako64.xml</path>
987     <offsets>
988       <x-m>-0.143</x-m>
989       <y-m>-0.225</y-m>
990       <z-m>0.477</z-m>
991       <pitch-deg>-7.0</pitch-deg>
992     </offsets>
993   </model>
994
995   <model>
996     <name>adf-receiver</name>
997     <path>Aircraft/pa22/Models/Instruments/analog_adf_receiver/adf.xml</path>
998     <offsets>
999       <x-m>-0.130</x-m>
1000       <y-m>-0.006</y-m>
1001       <z-m>0.331</z-m>
1002       <pitch-deg>-7.0</pitch-deg>
1003     </offsets>
1004   </model>
1005
1006   <model>
1007     <name>alt</name>
1008     <path>Aircraft/pa22/Models/Instruments/alt/alt.xml</path>
1009     <offsets>
1010       <x-m>-0.130</x-m>
1011       <y-m>-0.315</y-m>
1012       <z-m>0.331</z-m>
1013       <pitch-deg>-7.0</pitch-deg>
1014     </offsets>
1015   </model>
1016
1017   <model>
1018     <name>ammetet</name>
1019     <path>Aircraft/pa22/Models/Instruments/ammeter/ammeter.xml</path>
1020     <offsets>
1021       <x-m>-0.140</x-m>
1022       <y-m>0.391</y-m>
1023       <z-m>0.412</z-m>
1024       <pitch-deg>-7.0</pitch-deg>
1025     </offsets>
1026   </model>
1027
1028   <model>
1029     <name>asi</name>
1030     <path>Aircraft/pa22/Models/Instruments/asi/asi.xml</path>
1031     <offsets>
1032       <x-m>-0.140</x-m>
1033       <y-m>-0.386</y-m>
1034       <z-m>0.414</z-m>
1035       <pitch-deg>-7.0</pitch-deg>
1036     </offsets>
1037   </model>
1038
1039   <model>
1040     <name>clock</name>
1041     <path>Aircraft/pa22/Models/Instruments/clock/clock.xml</path>
1042     <offsets>
1043       <x-m>-0.129</x-m>
1044       <y-m>-0.398</y-m>
1045       <z-m>0.328</z-m>
1046       <pitch-deg>-7.0</pitch-deg>
1047     </offsets>
1048   </model>
1049
1050   <model>
1051     <name>compass</name>
1052     <path>Aircraft/pa22/Models/Instruments/compass/compass.xml</path>
1053     <offsets>
1054       <x-m>-0.175</x-m>
1055       <y-m>-0.226</y-m>
1056       <z-m>0.503</z-m>
1057     </offsets>
1058   </model>
1059
1060   <animation>
1061     <type>translate</type>
1062     <object-name>compass</object-name>
1063     <object-name>compass_glass</object-name>
1064     <property>sim/model/move-compass</property>
1065     <factor>0.220</factor>
1066     <axis>
1067       <x>0.0</x>
1068       <y>1.0</y>
1069       <z>0.0</z>
1070     </axis>
1071   </animation>
1072
1073   <model>
1074     <name>dg</name>
1075     <path>Aircraft/pa22/Models/Instruments/dg/dg.xml</path>
1076     <offsets>
1077       <x-m>-0.144</x-m>
1078       <y-m>-0.285</y-m>
1079       <z-m>0.446</z-m>
1080       <pitch-deg>-7.0</pitch-deg>
1081     </offsets>
1082   </model>
1083
1084   <model>
1085     <name>dme</name>
1086     <path>Aircraft/pa22/Models/Instruments/analog_dme/dme.xml</path>
1087     <offsets>
1088       <x-m>-0.126</x-m>
1089       <y-m>-0.006</y-m>
1090       <z-m>0.298</z-m>
1091       <pitch-deg>-7.0</pitch-deg>
1092     </offsets>
1093   </model>
1094
1095   <model>
1096     <name>fuel_indicator_l</name>
1097     <path>Aircraft/pa22/Models/Instruments/fuel_indicator/fuel_indicator_l.xml</path>
1098     <offsets>
1099       <x-m>-0.129</x-m>
1100       <y-m>0.302</y-m>
1101       <z-m>0.326</z-m>
1102       <pitch-deg>-7.0</pitch-deg>
1103     </offsets>
1104   </model>
1105
1106   <model>
1107     <name>fuel_indicator_r</name>
1108     <path>Aircraft/pa22/Models/Instruments/fuel_indicator/fuel_indicator_r.xml</path>
1109     <offsets>
1110       <x-m>-0.129</x-m>
1111       <y-m>0.387</y-m>
1112       <z-m>0.326</z-m>
1113       <pitch-deg>-7.0</pitch-deg>
1114     </offsets>
1115   </model>
1116
1117   <model>
1118     <name>ki206</name>
1119     <path>Aircraft/pa22/Models/Instruments/ki206/ki206.xml</path>
1120     <offsets>
1121       <x-m>-0.145</x-m>
1122       <y-m>-0.050</y-m>
1123       <z-m>0.458</z-m>
1124       <pitch-deg>-7.0</pitch-deg>
1125     </offsets>
1126   </model>
1127
1128   <model>
1129     <name>ki227</name>
1130     <path>Aircraft/pa22/Models/Instruments/ki227/ki227-00.xml</path>
1131     <offsets>
1132       <x-m>-0.145</x-m>
1133       <y-m>0.039</y-m>
1134       <z-m>0.458</z-m>
1135       <pitch-deg>-7.0</pitch-deg>
1136     </offsets>
1137   </model>
1138
1139   <model>
1140     <name>kx170b</name>
1141     <path>Aircraft/pa22/Models/Instruments/kx170b/kx170b.xml</path>
1142     <offsets>
1143       <x-m>-0.136</x-m>
1144       <y-m>-0.006</y-m>
1145       <z-m>0.378</z-m>
1146       <pitch-deg>-7.0</pitch-deg>
1147     </offsets>
1148   </model>
1149
1150   <model>
1151     <name>man</name>
1152     <path>Aircraft/pa22/Models/Instruments/man/man.xml</path>
1153     <offsets>
1154       <x-m>-0.140</x-m>
1155       <y-m>0.222</y-m>
1156       <z-m>0.412</z-m>
1157       <pitch-deg>-7.0</pitch-deg>
1158     </offsets>
1159   </model>
1160
1161   <model>
1162     <name>oat</name>
1163     <path>Aircraft/pa22/Models/Instruments/oat/oat.xml</path>
1164     <offsets>
1165       <x-m>-0.101</x-m>
1166       <y-m>0.437</y-m>
1167       <z-m>0.659</z-m>
1168       <heading-deg>-87.0</heading-deg>
1169       <pitch-deg>7.0</pitch-deg>
1170     </offsets>
1171   </model>
1172
1173   <model>
1174     <name>oil</name>
1175     <path>Aircraft/pa22/Models/Instruments/oil/oil.xml</path>
1176     <offsets>
1177       <x-m>-0.129</x-m>
1178       <y-m>0.132</y-m>
1179       <z-m>0.326</z-m>
1180       <pitch-deg>-7.0</pitch-deg>
1181     </offsets>
1182   </model>
1183
1184   <model>
1185     <name>tachometer</name>
1186     <path>Aircraft/pa22/Models/Instruments/tachometer/tachometer.xml</path>
1187     <offsets>
1188       <x-m>-0.140</x-m>
1189       <y-m>0.134</y-m>
1190       <z-m>0.412</z-m>
1191       <pitch-deg>-7.0</pitch-deg>
1192     </offsets>
1193   </model>
1194
1195   <model>
1196     <name>turn</name>
1197     <path>Aircraft/pa22/Models/Instruments/turn/turn.xml</path>
1198     <offsets>
1199       <x-m>-0.130</x-m>
1200       <y-m>-0.228</y-m>
1201       <z-m>0.331</z-m>
1202       <pitch-deg>-7.0</pitch-deg>
1203     </offsets>
1204   </model>
1205
1206   <model>
1207     <name>vacuum</name>
1208     <path>Aircraft/pa22/Models/Instruments/vacuum/vacuum.xml</path>
1209     <offsets>
1210       <x-m>-0.129</x-m>
1211       <y-m>0.216</y-m>
1212       <z-m>0.326</z-m>
1213       <pitch-deg>-7.0</pitch-deg>
1214     </offsets>
1215   </model>
1216
1217   <model>
1218     <name>vsi</name>
1219     <path>Aircraft/pa22/Models/Instruments/vsi/vsi.xml</path>
1220     <offsets>
1221       <x-m>-0.130</x-m>
1222       <y-m>-0.146</y-m>
1223       <z-m>0.331</z-m>
1224       <pitch-deg>-7.0</pitch-deg>
1225     </offsets>
1226   </model>
1227
1228 <!-- ######################### animations; cabin ########################### -->
1229
1230 <!-- Yokes -->
1231
1232   <animation>
1233     <type>rotate</type>
1234     <object-name>yoke_l</object-name>
1235     <property>controls/flight/aileron</property>
1236     <factor>-40.0</factor>
1237     <center>
1238       <x-m>0.0</x-m>
1239       <y-m>-0.220</y-m>
1240       <z-m>0.249</z-m>
1241     </center>
1242     <axis>
1243       <x>1.0</x>
1244       <y>0.0</y>
1245       <z>0.0</z>
1246     </axis>
1247   </animation>
1248
1249   <animation>
1250     <type>translate</type>
1251     <object-name>yoke_l</object-name>
1252     <object-name>yoke_rod_l</object-name>
1253     <object-name>yoke_r</object-name>
1254     <object-name>yoke_rod_r</object-name>
1255     <property>controls/flight/elevator</property>
1256     <factor>-0.08</factor>
1257     <axis>
1258       <x>1.0</x>
1259       <y>0.0</y>
1260       <z>0.0</z>
1261     </axis>
1262   </animation>
1263
1264   <animation>
1265     <type>rotate</type>
1266     <object-name>yoke_r</object-name>
1267     <property>controls/flight/aileron</property>
1268     <factor>-40.0</factor>
1269     <center>
1270       <x-m>0.0</x-m>
1271       <y-m>0.220</y-m>
1272       <z-m>0.249</z-m>
1273     </center>
1274     <axis>
1275       <x>1.0</x>
1276       <y>0.0</y>
1277       <z>0.0</z>
1278     </axis>
1279   </animation>
1280
1281 <!-- Flaps handle -->
1282
1283   <animation>
1284     <type>rotate</type>
1285     <object-name>flaps_handle</object-name>
1286     <property>surface-positions/flap-pos-norm</property>
1287     <factor>20.0</factor>
1288     <center>
1289       <x-m>0.351</x-m>
1290       <y-m>0.0</y-m>
1291       <z-m>-0.231</z-m>
1292     </center>
1293     <axis>
1294       <x>0.0</x>
1295       <y>1.0</y>
1296       <z>0.0</z>
1297     </axis>
1298   </animation>
1299
1300 <!-- Rudder pedals -->
1301
1302   <animation>
1303     <type>rotate</type>
1304     <object-name>rudder_pedal_l</object-name>
1305     <object-name>rudder_pedal_l.001</object-name>
1306     <property>surface-positions/rudder-pos-norm</property>
1307     <factor>16.0</factor>
1308     <center>
1309       <x-m>-0.469</x-m>
1310       <y-m>0.0</y-m>
1311       <z-m>-0.357</z-m>
1312     </center>
1313     <axis>
1314       <x>0.0</x>
1315       <y>1.0</y>
1316       <z>0.0</z>
1317     </axis>
1318   </animation>
1319
1320   <animation>
1321     <type>rotate</type>
1322     <object-name>rudder_pedal_r</object-name>
1323     <object-name>rudder_pedal_r.001</object-name>
1324     <property>surface-positions/rudder-pos-norm</property>
1325     <factor>-16.0</factor>
1326     <center>
1327       <x-m>-0.469</x-m>
1328       <y-m>0.0</y-m>
1329       <z-m>-0.357</z-m>
1330     </center>
1331     <axis>
1332       <x>0.0</x>
1333       <y>1.0</y>
1334       <z>0.0</z>
1335     </axis>
1336   </animation>
1337
1338 <!-- Stabilizer crank (trim) -->
1339
1340   <animation>
1341     <type>pick</type>
1342     <object-name>stab_crank</object-name>
1343     <object-name>stab_scale</object-name>
1344     <visible>true</visible>
1345     <action>
1346       <button>0</button>
1347       <repeatable>true</repeatable>
1348       <interval-sec>0.02</interval-sec>
1349       <binding>
1350         <command>nasal</command>
1351         <script>controls.elevatorTrim(-1)</script>
1352       </binding>
1353       <mod-up>
1354         <binding>
1355           <command>nasal</command>
1356           <script>controls.elevatorTrim(0)</script>
1357         </binding>
1358       </mod-up>
1359     </action>
1360   </animation>
1361
1362   <animation>
1363     <type>pick</type>
1364     <object-name>stab_crank</object-name>
1365     <object-name>stab_scale</object-name>
1366     <visible>true</visible>
1367     <action>
1368       <button>1</button>
1369       <repeatable>true</repeatable>
1370       <interval-sec>0.02</interval-sec>
1371       <binding>
1372         <command>nasal</command>
1373         <script>controls.elevatorTrim(1)</script>
1374       </binding>
1375       <mod-up>
1376         <binding>
1377           <command>nasal</command>
1378           <script>controls.elevatorTrim(0)</script>
1379         </binding>
1380       </mod-up>
1381     </action>
1382   </animation>
1383
1384   <animation>
1385     <type>pick</type>
1386     <object-name>stab_crank</object-name>
1387     <object-name>stab_scale</object-name>
1388     <visible>true</visible>
1389     <action>
1390       <button>3</button>
1391       <repeatable>false</repeatable>
1392       <binding>
1393         <command>nasal</command>
1394         <script>controls.elevatorTrim(5)</script>
1395       </binding>
1396       <mod-up>
1397         <binding>
1398           <command>nasal</command>
1399           <script>controls.elevatorTrim(0)</script>
1400         </binding>
1401       </mod-up>
1402     </action>
1403   </animation>
1404
1405   <animation>
1406     <type>pick</type>
1407     <object-name>stab_crank</object-name>
1408     <object-name>stab_scale</object-name>
1409     <visible>true</visible>
1410     <action>
1411       <button>4</button>
1412       <repeatable>false</repeatable>
1413       <binding>
1414         <command>nasal</command>
1415         <script>controls.elevatorTrim(-5)</script>
1416       </binding>
1417       <mod-up>
1418         <binding>
1419           <command>nasal</command>
1420           <script>controls.elevatorTrim(0)</script>
1421         </binding>
1422       </mod-up>
1423     </action>
1424   </animation>
1425
1426   <animation>
1427     <type>rotate</type>
1428     <object-name>stab_crank</object-name>
1429     <property>controls/flight/elevator-trim</property>
1430     <factor>-4000</factor>
1431     <center>
1432       <x-m>0.138</x-m>
1433       <y-m>0.0</y-m>
1434       <z-m>0.791</z-m>
1435     </center>
1436     <axis>
1437       <x>0.0</x>
1438       <y>0.0</y>
1439       <z>1.0</z>
1440     </axis>
1441   </animation>
1442
1443   <animation>
1444     <type>translate</type>
1445     <object-name>stab_needle</object-name>
1446     <property>controls/flight/elevator-trim</property>
1447     <factor>0.074</factor>
1448     <axis>
1449       <x>-1.0</x>
1450       <y>0.0</y>
1451       <z>0.1</z>
1452     </axis>
1453   </animation>
1454
1455 <!-- Dome light -->
1456
1457   <animation>
1458     <type>pick</type>
1459     <object-name>dome</object-name>
1460     <object-name>dome_light</object-name>
1461     <object-name>dome_light_switch</object-name>
1462     <visible>true</visible>
1463     <action>
1464       <button>0</button>
1465       <repeatable>false</repeatable>
1466       <binding>
1467         <command>nasal</command>
1468         <script>tripacer.cabin_light_switch()</script>
1469       </binding>
1470       <binding>
1471         <command>property-toggle</command>
1472         <property>sim/sound/switch</property>
1473       </binding>
1474     </action>
1475   </animation>
1476
1477   <animation>
1478     <type>translate</type>
1479     <object-name>dome_light_switch</object-name>
1480     <property>controls/switches/cabin-lights</property>
1481     <factor>0.01</factor>
1482     <axis>
1483       <x>0.0</x>
1484       <y>0.0</y>
1485       <z>1.0</z>
1486     </axis>
1487   </animation>
1488
1489 <!-- Fuel valve -->
1490
1491   <animation>
1492     <type>pick</type>
1493     <object-name>fuel_plate</object-name>
1494     <object-name>fuel_crank</object-name>
1495     <visible>true</visible>
1496     <action>
1497       <button>0</button>
1498       <repeatable>false</repeatable>
1499       <binding>
1500         <command>nasal</command>
1501        <script>tripacer.handle_up();</script>
1502       </binding>
1503       <binding>
1504         <command>property-toggle</command>
1505         <property>sim/sound/switch</property>
1506       </binding>
1507     </action>
1508   </animation>
1509
1510   <animation>
1511     <type>pick</type>
1512     <object-name>fuel_plate</object-name>
1513     <object-name>fuel_crank</object-name>
1514     <visible>true</visible>
1515     <action>
1516       <button>1</button>
1517       <repeatable>false</repeatable>
1518       <binding>
1519         <command>nasal</command>
1520        <script>tripacer.handle_down();</script>
1521       </binding>
1522       <binding>
1523         <command>property-toggle</command>
1524         <property>sim/sound/switch</property>
1525       </binding>
1526     </action>
1527   </animation>
1528
1529   <animation>
1530     <type>pick</type>
1531     <object-name>fuel_plate</object-name>
1532     <object-name>fuel_crank</object-name>
1533     <visible>true</visible>
1534     <action>
1535       <button>3</button>
1536       <repeatable>false</repeatable>
1537       <binding>
1538         <command>nasal</command>
1539        <script>tripacer.handle_down();</script>
1540       </binding>
1541       <binding>
1542         <command>property-toggle</command>
1543         <property>sim/sound/switch</property>
1544       </binding>
1545     </action>
1546   </animation>
1547
1548   <animation>
1549     <type>pick</type>
1550     <object-name>fuel_plate</object-name>
1551     <object-name>fuel_crank</object-name>
1552     <visible>true</visible>
1553     <action>
1554       <button>4</button>
1555       <repeatable>false</repeatable>
1556       <binding>
1557         <command>nasal</command>
1558        <script>tripacer.handle_up();</script>
1559       </binding>
1560       <binding>
1561         <command>property-toggle</command>
1562         <property>sim/sound/switch</property>
1563       </binding>
1564     </action>
1565   </animation>
1566
1567   <animation>
1568     <type>rotate</type>
1569     <object-name>fuel_crank</object-name>
1570     <property>controls/fuel/fuel-valve-pos</property>
1571     <interpolation>
1572       <entry>
1573         <ind>-1</ind>
1574         <dep>0</dep>
1575       </entry>
1576       <entry>
1577         <ind>0</ind>
1578         <dep>120</dep>
1579       </entry>
1580       <entry>
1581         <ind>1</ind>
1582         <dep>240</dep>
1583       </entry>
1584     </interpolation>
1585     <axis>
1586       <x1-m>-0.089</x1-m>
1587       <y1-m>-0.428</y1-m>
1588       <z1-m>-0.004</z1-m>
1589       <x2-m>-0.089</x2-m>
1590       <y2-m>-0.401</y2-m>
1591       <z2-m>-0.003</z2-m>
1592     </axis>
1593   </animation>
1594
1595 <!-- Interconnect control (auto coordination) -->
1596
1597   <animation>
1598     <type>pick</type>
1599     <object-name>interconnect</object-name>
1600     <object-name>interconnect_base</object-name>
1601     <visible>true</visible>
1602     <action>
1603       <button>0</button>
1604       <repeatable>false</repeatable>
1605       <binding>
1606         <command>nasal</command>
1607         <script>tripacer.auto_coordination_switch()</script>
1608       </binding>
1609     </action>
1610   </animation>
1611
1612   <animation>
1613     <type>pick</type>
1614     <object-name>interconnect</object-name>
1615     <object-name>interconnect_base</object-name>
1616     <visible>true</visible>
1617     <action>
1618       <button>3</button>
1619       <repeatable>false</repeatable>
1620       <binding>
1621         <command>nasal</command>
1622         <script>tripacer.auto_coordination_switch(0)</script>
1623       </binding>
1624     </action>
1625   </animation>
1626
1627   <animation>
1628     <type>pick</type>
1629     <object-name>interconnect</object-name>
1630     <object-name>interconnect_base</object-name>
1631     <visible>true</visible>
1632     <action>
1633       <button>4</button>
1634       <repeatable>false</repeatable>
1635       <binding>
1636         <command>nasal</command>
1637         <script>tripacer.auto_coordination_switch(1)</script>
1638       </binding>
1639     </action>
1640   </animation>
1641
1642   <animation>
1643     <type>translate</type>
1644     <object-name>interconnect</object-name>
1645     <property>controls/flight/auto-coordination</property>
1646     <factor>0.05</factor>    
1647     <axis>
1648       <x>1.0</x>
1649       <y>0.0</y>
1650       <z>0.0</z>
1651     </axis>
1652   </animation>
1653
1654 <!-- Nav/Instrument lights -->
1655
1656   <animation>
1657     <type>pick</type>
1658     <object-name>nav_lights</object-name>
1659     <visible>true</visible>
1660     <action>
1661       <button>0</button>
1662       <repeatable>true</repeatable>
1663       <interval-sec>0.1</interval-sec>
1664       <binding>
1665         <command>nasal</command>
1666         <script>tripacer.panel_light_factor_switch(-10)</script>
1667       </binding>
1668     </action>
1669   </animation>
1670
1671   <animation>
1672     <type>pick</type>
1673     <object-name>nav_lights</object-name>
1674     <visible>true</visible>
1675     <action>
1676       <button>1</button>
1677       <repeatable>true</repeatable>
1678       <interval-sec>0.1</interval-sec>
1679       <binding>
1680         <command>nasal</command>
1681         <script>tripacer.panel_light_factor_switch(10)</script>
1682       </binding>
1683     </action>
1684   </animation>
1685
1686   <animation>
1687     <type>pick</type>
1688     <object-name>nav_lights</object-name>
1689     <visible>true</visible>
1690     <action>
1691       <button>3</button>
1692       <repeatable>false</repeatable>
1693       <binding>
1694         <command>nasal</command>
1695         <script>tripacer.panel_light_factor_switch(-10)</script>
1696       </binding>
1697     </action>
1698   </animation>
1699
1700   <animation>
1701     <type>pick</type>
1702     <object-name>nav_lights</object-name>
1703     <visible>true</visible>
1704     <action>
1705       <button>4</button>
1706       <repeatable>false</repeatable>
1707       <binding>
1708         <command>nasal</command>
1709         <script>tripacer.panel_light_factor_switch(10)</script>
1710       </binding>
1711     </action>
1712   </animation>
1713
1714 <!-- Parking brake -->
1715
1716   <animation>
1717     <type>pick</type>
1718     <object-name>park_brake</object-name>
1719     <object-name>park_brake_click</object-name>
1720     <visible>true</visible>
1721     <action>
1722       <button>0</button>
1723       <repeatable>false</repeatable>
1724       <binding>
1725         <command>property-toggle</command>
1726         <property>controls/gear/brake-parking</property>
1727       </binding>
1728     </action>
1729   </animation>
1730
1731   <animation>
1732     <type>pick</type>
1733     <object-name>park_brake</object-name>
1734     <object-name>park_brake_click</object-name>
1735     <visible>true</visible>
1736     <action>
1737       <button>3</button>
1738       <repeatable>false</repeatable>
1739       <binding>
1740         <command>property-adjust</command>
1741         <property>controls/gear/brake-parking</property>
1742         <step>-1</step>
1743         <min>0</min>
1744       </binding>
1745     </action>
1746   </animation>
1747
1748   <animation>
1749     <type>pick</type>
1750     <object-name>park_brake</object-name>
1751     <object-name>park_brake_click</object-name>
1752     <visible>true</visible>
1753     <action>
1754       <button>4</button>
1755       <repeatable>false</repeatable>
1756       <binding>
1757         <command>property-adjust</command>
1758         <property>controls/gear/brake-parking</property>
1759         <step>1</step>
1760         <max>1</max>
1761       </binding>
1762     </action>
1763   </animation>
1764
1765   <animation>
1766     <type>translate</type>
1767     <object-name>park_brake</object-name>
1768     <property>controls/gear/brake-parking</property>
1769     <factor>0.03</factor>    
1770     <axis>
1771       <x>1.0</x>
1772       <y>0.0</y>
1773       <z>0.0</z>
1774     </axis>
1775   </animation>
1776
1777 <!-- Landing/taxi lights -->
1778
1779   <animation>
1780     <type>pick</type>
1781     <object-name>lights_switch_up</object-name>
1782     <visible>true</visible>
1783     <action>
1784       <button>0</button>
1785       <repeatable>false</repeatable>
1786       <binding>
1787         <command>nasal</command>
1788         <script>tripacer.landing_taxi_lights_switch(-1)</script>
1789       </binding>
1790     </action>
1791   </animation>
1792
1793   <animation>
1794     <type>pick</type>
1795     <object-name>lights_switch_down</object-name>
1796     <visible>true</visible>
1797     <action>
1798       <button>0</button>
1799       <repeatable>false</repeatable>
1800       <binding>
1801         <command>nasal</command>
1802         <script>tripacer.landing_taxi_lights_switch(1)</script>
1803       </binding>
1804     </action>
1805   </animation>
1806
1807   <animation>
1808     <type>pick</type>
1809     <object-name>lights_switch_up</object-name>
1810     <object-name>lights_switch_down</object-name>
1811     <visible>true</visible>
1812     <action>
1813       <button>3</button>
1814       <repeatable>false</repeatable>
1815       <binding>
1816         <command>nasal</command>
1817         <script>tripacer.landing_taxi_lights_switch(-1)</script>
1818       </binding>
1819     </action>
1820   </animation>
1821
1822   <animation>
1823     <type>pick</type>
1824     <object-name>lights_switch_up</object-name>
1825     <object-name>lights_switch_down</object-name>
1826     <visible>true</visible>
1827     <action>
1828       <button>4</button>
1829       <repeatable>false</repeatable>
1830       <binding>
1831         <command>nasal</command>
1832         <script>tripacer.landing_taxi_lights_switch(1)</script>
1833       </binding>
1834     </action>
1835   </animation>
1836
1837   <animation>
1838     <type>rotate</type>
1839     <object-name>lights_switch</object-name>
1840     <property>controls/switches/landing-taxi-lights</property>
1841     <interpolation>
1842       <entry><ind>0</ind><dep>-45</dep></entry>
1843       <entry><ind>1</ind><dep>0</dep></entry>
1844       <entry><ind>2</ind><dep>45</dep></entry>
1845     </interpolation>
1846     <center>
1847       <x-m>-0.1325</x-m>
1848       <y-m>0.0</y-m>
1849       <z-m>0.247</z-m>
1850     </center>
1851     <axis>
1852       <x>0.0</x>
1853       <y>1.0</y>
1854       <z>0.0</z>
1855     </axis>
1856   </animation>
1857
1858 <!-- Carburetor heat -->
1859
1860   <animation>
1861     <type>pick</type>
1862     <object-name>carb_heat</object-name>
1863     <object-name>carb_heat_base</object-name>
1864     <visible>true</visible>
1865     <action>
1866       <button>0</button>
1867       <repeatable>false</repeatable>
1868       <binding>
1869         <command>property-toggle</command>
1870         <property>controls/anti-ice/engine/carb-heat</property>
1871       </binding>
1872     </action>
1873   </animation>
1874
1875   <animation>
1876     <type>pick</type>
1877     <object-name>carb_heat</object-name>
1878     <object-name>carb_heat_base</object-name>
1879     <visible>true</visible>
1880     <action>
1881       <button>3</button>
1882       <repeatable>false</repeatable>
1883       <binding>
1884         <command>property-adjust</command>
1885         <property>controls/anti-ice/engine/carb-heat</property>
1886         <step>-1</step>
1887         <min>0</min>
1888       </binding>
1889     </action>
1890   </animation>
1891
1892   <animation>
1893     <type>pick</type>
1894     <object-name>carb_heat</object-name>
1895     <object-name>carb_heat_base</object-name>
1896     <visible>true</visible>
1897     <action>
1898       <button>4</button>
1899       <repeatable>false</repeatable>
1900       <binding>
1901         <command>property-adjust</command>
1902         <property>controls/anti-ice/engine/carb-heat</property>
1903         <step>1</step>
1904         <max>1</max>
1905       </binding>
1906     </action>
1907   </animation>
1908
1909   <animation>
1910     <type>translate</type>
1911     <object-name>carb_heat</object-name>
1912     <property>controls/anti-ice/engine/carb-heat</property>
1913     <factor>0.02</factor>    
1914     <axis>
1915       <x>1.0</x>
1916       <y>0.0</y>
1917       <z>0.0</z>
1918     </axis>
1919   </animation>
1920
1921 <!-- Magnetos and key-->
1922
1923   <animation>
1924     <type>pick</type>
1925     <object-name>magnetos</object-name>
1926     <object-name>key</object-name>
1927     <visible>true</visible>
1928     <action>
1929       <button>0</button>
1930       <repeatable>false</repeatable>
1931       <binding>
1932         <command>property-adjust</command>
1933         <property>controls/engines/engine/magnetos</property>
1934         <step>1</step>
1935         <min>0</min>
1936         <max>3</max>
1937       </binding>
1938     </action>
1939   </animation>
1940
1941   <animation>
1942     <type>pick</type>
1943     <object-name>magnetos</object-name>
1944     <object-name>key</object-name>
1945     <visible>true</visible>
1946     <action>
1947       <button>1</button>
1948       <repeatable>false</repeatable>
1949       <binding>
1950         <command>property-adjust</command>
1951         <property>controls/engines/engine/magnetos</property>
1952         <step>-1</step>
1953         <min>0</min>
1954         <max>3</max>
1955       </binding>
1956     </action>
1957   </animation>
1958
1959   <animation>
1960     <type>pick</type>
1961     <object-name>magnetos</object-name>
1962     <object-name>key</object-name>
1963     <visible>true</visible>
1964     <action>
1965       <button>3</button>
1966       <repeatable>false</repeatable>
1967       <binding>
1968         <command>property-adjust</command>
1969         <property>controls/engines/engine/magnetos</property>
1970         <step>1</step>
1971         <min>0</min>
1972         <max>3</max>
1973       </binding>
1974     </action>
1975   </animation>
1976
1977   <animation>
1978     <type>pick</type>
1979     <object-name>magnetos</object-name>
1980     <object-name>key</object-name>
1981     <visible>true</visible>
1982     <action>
1983       <button>4</button>
1984       <repeatable>false</repeatable>
1985       <binding>
1986         <command>property-adjust</command>
1987         <property>controls/engines/engine/magnetos</property>
1988         <step>-1</step>
1989         <min>0</min>
1990         <max>3</max>
1991       </binding>
1992     </action>
1993   </animation>
1994
1995   <animation>
1996     <type>rotate</type>
1997     <object-name>key</object-name>
1998     <property>controls/engines/engine/magnetos</property>
1999     <interpolation>
2000       <entry>
2001         <ind>0</ind>
2002         <dep>0</dep>
2003       </entry>
2004       <entry>
2005         <ind>1</ind>
2006         <dep>40</dep>
2007       </entry>
2008       <entry>
2009         <ind>2</ind>
2010         <dep>70</dep>
2011       </entry>
2012       <entry>
2013         <ind>3</ind>
2014         <dep>120</dep>
2015       </entry>
2016     </interpolation>
2017     <center>
2018       <x-m>0.0</x-m>
2019       <y-m>-0.063</y-m>
2020       <z-m>0.244</z-m>
2021     </center>
2022     <axis>
2023       <x>-1.0</x>
2024       <y>0.0</y>
2025       <z>0.0</z>
2026     </axis>
2027   </animation>
2028
2029
2030
2031   <animation>
2032     <type>rotate</type>
2033     <object-name>key_chain</object-name>
2034     <property>orientation/pitch-deg</property>
2035     <factor>1</factor>
2036     <center>
2037       <x-m>-0.102</x-m>
2038       <y-m>0.0</y-m>
2039       <z-m>0.214</z-m>
2040     </center>
2041     <axis>
2042       <x>0.0</x>
2043       <y>-1.0</y>
2044       <z>0.0</z>
2045     </axis>
2046   </animation>
2047
2048   <animation>
2049     <type>rotate</type>
2050     <object-name>key_chain</object-name>
2051     <property>orientation/roll-deg</property>
2052     <factor>1</factor>
2053     <center>
2054       <x-m>0.0</x-m>
2055       <y-m>-0.063</y-m>
2056       <z-m>0.229</z-m>
2057     </center>
2058     <axis>
2059       <x>1.0</x>
2060       <y>0.0</y>
2061       <z>0.0</z>
2062     </axis>
2063   </animation>
2064
2065 <!-- Throttle -->
2066
2067   <animation>
2068     <type>pick</type>
2069     <object-name>throttle</object-name>
2070     <object-name>throttle_base</object-name>
2071     <visible>true</visible>
2072     <action>
2073       <button>0</button>
2074       <repeatable>true</repeatable>
2075       <interval-sec>0.1</interval-sec>
2076       <binding>
2077         <command>nasal</command>
2078         <script>controls.adjThrottle(2)</script>
2079       </binding>
2080     </action>
2081   </animation>
2082
2083   <animation>
2084     <type>pick</type>
2085     <object-name>throttle</object-name>
2086     <object-name>throttle_base</object-name>
2087     <visible>true</visible>
2088     <action>
2089       <button>1</button>
2090       <repeatable>true</repeatable>
2091       <interval-sec>0.1</interval-sec>
2092       <binding>
2093         <command>nasal</command>
2094         <script>controls.adjThrottle(-2)</script>
2095       </binding>
2096     </action>
2097   </animation>
2098
2099   <animation>
2100     <type>pick</type>
2101     <object-name>throttle</object-name>
2102     <object-name>throttle_base</object-name>
2103     <visible>true</visible>
2104     <action>
2105       <button>3</button>
2106       <repeatable>false</repeatable>
2107       <binding>
2108         <command>nasal</command>
2109         <script>controls.adjThrottle(4)</script>
2110       </binding>
2111     </action>
2112   </animation>
2113
2114   <animation>
2115     <type>pick</type>
2116     <object-name>throttle</object-name>
2117     <object-name>throttle_base</object-name>
2118     <visible>true</visible>
2119     <action>
2120       <button>4</button>
2121       <repeatable>false</repeatable>
2122       <binding>
2123         <command>nasal</command>
2124         <script>controls.adjThrottle(-4)</script>
2125       </binding>
2126     </action>
2127   </animation>
2128
2129   <animation>
2130     <type>translate</type>
2131     <object-name>throttle</object-name>
2132     <property>controls/engines/engine/throttle</property>
2133     <factor>-0.09</factor>    
2134     <axis>
2135       <x>1.0</x>
2136       <y>0.0</y>
2137       <z>0.0</z>
2138     </axis>
2139   </animation>
2140
2141 <!-- Mixture -->
2142
2143   <animation>
2144     <type>pick</type>
2145     <object-name>mixture</object-name>
2146     <object-name>mixture_base</object-name>
2147     <object-name>mixture_click</object-name>
2148     <visible>true</visible>
2149     <action>
2150       <button>0</button>
2151       <repeatable>true</repeatable>
2152       <interval-sec>0.1</interval-sec>
2153       <binding>
2154         <command>nasal</command>
2155         <script>controls.adjMixture(2)</script>
2156       </binding>
2157     </action>
2158   </animation>
2159
2160   <animation>
2161     <type>pick</type>
2162     <object-name>mixture</object-name>
2163     <object-name>mixture_base</object-name>
2164     <object-name>mixture_click</object-name>
2165     <visible>true</visible>
2166     <action>
2167       <button>1</button>
2168       <repeatable>true</repeatable>
2169       <interval-sec>0.1</interval-sec>
2170       <binding>
2171         <command>nasal</command>
2172         <script>controls.adjMixture(-2)</script>
2173       </binding>
2174     </action>
2175   </animation>
2176
2177   <animation>
2178     <type>pick</type>
2179     <object-name>mixture</object-name>
2180     <object-name>mixture_base</object-name>
2181     <object-name>mixture_click</object-name>
2182     <visible>true</visible>
2183     <action>
2184       <button>3</button>
2185       <repeatable>false</repeatable>
2186       <binding>
2187         <command>nasal</command>
2188         <script>controls.adjMixture(4)</script>
2189       </binding>
2190     </action>
2191   </animation>
2192
2193   <animation>
2194     <type>pick</type>
2195     <object-name>mixture</object-name>
2196     <object-name>mixture_base</object-name>
2197     <object-name>mixture_click</object-name>
2198     <visible>true</visible>
2199     <action>
2200       <button>4</button>
2201       <repeatable>false</repeatable>
2202       <binding>
2203         <command>nasal</command>
2204         <script>controls.adjMixture(-4)</script>
2205       </binding>
2206     </action>
2207   </animation>
2208
2209   <animation>
2210     <type>translate</type>
2211     <object-name>mixture</object-name>
2212     <property>controls/engines/engine/mixture</property>
2213     <factor>-0.077</factor>    
2214     <axis>
2215       <x>1.0</x>
2216       <y>0.0</y>
2217       <z>0.0</z>
2218     </axis>
2219   </animation>
2220
2221 <!-- Primer -->
2222
2223   <animation>
2224     <type>pick</type>
2225     <object-name>primer</object-name>
2226     <object-name>primer_base</object-name>
2227     <visible>true</visible>
2228     <action>
2229       <button>0</button>
2230       <repeatable>false</repeatable>
2231       <binding>
2232         <command>property-toggle</command>
2233         <property>sim/model/primer-pos</property>
2234       </binding>
2235       <binding>
2236         <command>nasal</command>
2237         <script>tripacer.primer_pump_switch()</script>
2238       </binding>
2239     </action>
2240   </animation>
2241
2242   <animation>
2243     <type>translate</type>
2244     <object-name>primer</object-name>
2245     <property>sim/model/primer-pos</property>
2246     <factor>0.02</factor>    
2247     <axis>
2248       <x>1.0</x>
2249       <y>0.0</y>
2250       <z>0.0</z>
2251     </axis>
2252   </animation>
2253
2254 <!-- Brake lever -->
2255 <!--FIXME: brake leveler should rotate only when both brakes are applied -->
2256   <animation>
2257     <type>rotate</type>
2258     <object-name>brake_lever</object-name>
2259     <property>controls/gear/brake-left</property>
2260     <factor>15</factor>
2261     <center>
2262       <x-m>-0.163</x-m>
2263       <y-m>0.0</y-m>
2264       <z-m>0.240</z-m>
2265     </center>
2266     <axis>
2267       <x>0.0</x>
2268       <y>-1.0</y>
2269       <z>0.0</z>
2270     </axis>
2271   </animation>
2272
2273   <animation>
2274     <type>rotate</type>
2275     <object-name>brake_lever</object-name>
2276     <property>controls/gear/brake-right</property>
2277     <factor>15</factor>
2278     <center>
2279       <x-m>-0.163</x-m>
2280       <y-m>0.0</y-m>
2281       <z-m>0.240</z-m>
2282     </center>
2283     <axis>
2284       <x>0.0</x>
2285       <y>-1.0</y>
2286       <z>0.0</z>
2287     </axis>
2288   </animation>
2289
2290 <!-- Master switch -->
2291
2292   <animation>
2293     <type>pick</type>
2294     <object-name>master_switch</object-name>
2295     <visible>true</visible>
2296     <action>
2297       <button>0</button>
2298       <repeatable>false</repeatable>
2299       <binding>
2300         <command>nasal</command>
2301         <script>tripacer.master_switch();</script>
2302       </binding>
2303       <binding>
2304         <command>property-toggle</command>
2305         <property>sim/sound/switch</property>
2306       </binding>
2307     </action>
2308   </animation>
2309
2310 <!-- Starter -->
2311
2312   <animation>
2313     <type>pick</type>
2314     <object-name>starter</object-name>
2315     <visible>true</visible>
2316     <action>
2317       <button>0</button>
2318       <repeatable>false</repeatable>
2319       <binding>
2320         <command>nasal</command>
2321         <script>tripacer.start_switch(1)</script>
2322       </binding>
2323       <binding>
2324         <command>property-toggle</command>
2325         <property>sim/sound/switch</property>
2326       </binding>
2327       <mod-up>
2328         <binding>
2329           <command>nasal</command>
2330           <script>tripacer.start_switch(0)</script>
2331         </binding>
2332         <binding>
2333           <command>property-toggle</command>
2334           <property>sim/sound/switch</property>
2335         </binding>
2336       </mod-up>
2337     </action>
2338   </animation>
2339
2340 <!-- ####################### animations; airframe ########################## -->
2341
2342 <!-- Ailerons -->
2343
2344   <animation>
2345     <type>rotate</type>
2346     <object-name>aileron_l</object-name>
2347     <object-name>link_upper_l</object-name>
2348     <object-name>link_lower_l</object-name>
2349     <property>surface-positions/left-aileron-pos-norm</property>
2350     <factor>15.0</factor>
2351     <axis>
2352       <x1-m>1.061</x1-m>
2353       <y1-m>-3.671</y1-m>
2354       <z1-m>0.817</z1-m>
2355       <x2-m>1.061</x2-m>
2356       <y2-m>-1.856</y2-m>
2357       <z2-m>0.724</z2-m>
2358     </axis>
2359   </animation>
2360
2361   <animation>
2362     <type>rotate</type>
2363     <object-name>link_upper_l</object-name>
2364     <property>surface-positions/left-aileron-pos-norm</property>
2365     <factor>12.0</factor>
2366     <center>
2367       <x-m>1.086</x-m>
2368       <y-m>0.0</y-m>
2369       <z-m>0.891</z-m>
2370     </center>
2371     <axis>
2372       <x>0.0</x>
2373       <y>-1.0</y>
2374       <z>0.0</z>
2375     </axis>
2376   </animation>
2377
2378   <animation>
2379     <type>rotate</type>
2380     <object-name>link_lower_l</object-name>
2381     <property>surface-positions/left-aileron-pos-norm</property>
2382     <factor>12.0</factor>
2383     <center>
2384       <x-m>1.086</x-m>
2385       <y-m>0.0</y-m>
2386       <z-m>0.687</z-m>
2387     </center>
2388     <axis>
2389       <x>0.0</x>
2390       <y>-1.0</y>
2391       <z>0.0</z>
2392     </axis>
2393   </animation>
2394
2395   <animation>
2396     <type>rotate</type>
2397     <object-name>aileron_r</object-name>
2398     <object-name>link_upper_r</object-name>
2399     <object-name>link_lower_r</object-name>
2400     <property>surface-positions/right-aileron-pos-norm</property>
2401     <factor>15.0</factor>
2402     <axis>
2403       <x1-m>1.061</x1-m>
2404       <y1-m>1.856</y1-m>
2405       <z1-m>0.724</z1-m>
2406       <x2-m>1.061</x2-m>
2407       <y2-m>3.671</y2-m>
2408       <z2-m>0.817</z2-m>
2409     </axis>
2410   </animation>
2411
2412   <animation>
2413     <type>rotate</type>
2414     <object-name>link_upper_r</object-name>
2415     <property>surface-positions/left-aileron-pos-norm</property>
2416     <factor>12.0</factor>
2417     <center>
2418       <x-m>1.086</x-m>
2419       <y-m>0.0</y-m>
2420       <z-m>0.891</z-m>
2421     </center>
2422     <axis>
2423       <x>0.0</x>
2424       <y>1.0</y>
2425       <z>0.0</z>
2426     </axis>
2427   </animation>
2428
2429   <animation>
2430     <type>rotate</type>
2431     <object-name>link_lower_r</object-name>
2432     <property>surface-positions/left-aileron-pos-norm</property>
2433     <factor>12.0</factor>
2434     <center>
2435       <x-m>1.086</x-m>
2436       <y-m>0.0</y-m>
2437       <z-m>0.687</z-m>
2438     </center>
2439     <axis>
2440       <x>0.0</x>
2441       <y>1.0</y>
2442       <z>0.0</z>
2443     </axis>
2444   </animation>
2445
2446 <!-- Flaps -->
2447
2448   <animation>
2449     <type>rotate</type>
2450     <object-name>flap_l</object-name>
2451     <property>surface-positions/flap-pos-norm</property>
2452     <factor>40.0</factor>
2453     <axis>
2454       <x1-m>1.061</x1-m>
2455       <y1-m>-1.846</y1-m>
2456       <z1-m>0.724</z1-m>
2457       <x2-m>1.061</x2-m>
2458       <y2-m>-0.555</y2-m>
2459       <z2-m>0.667</z2-m>
2460     </axis>
2461   </animation>
2462
2463   <animation>
2464     <type>rotate</type>
2465     <object-name>flap_r</object-name>
2466     <property>surface-positions/flap-pos-norm</property>
2467     <factor>40.0</factor>
2468     <axis>
2469       <x1-m>1.061</x1-m>
2470       <y1-m>0.555</y1-m>
2471       <z1-m>0.667</z1-m>
2472       <x2-m>1.061</x2-m>
2473       <y2-m>1.846</y2-m>
2474       <z2-m>0.724</z2-m>
2475     </axis>
2476   </animation>
2477
2478   <animation>
2479     <type>translate</type>
2480     <object-name>flap_l</object-name>
2481     <object-name>flap_r</object-name>
2482     <property>surface-positions/flap-pos-norm</property>
2483     <factor>0.04</factor>
2484     <axis>
2485       <x>1.0</x>
2486       <y>0.0</y>
2487       <z>0.0</z>
2488     </axis>
2489   </animation>
2490
2491 <!-- Elevator -->
2492
2493   <animation>
2494     <type>rotate</type>
2495     <object-name>elevator</object-name>
2496     <property>surface-positions/elevator-pos-norm</property>
2497     <interpolation>
2498       <entry>
2499         <ind>-1.0</ind>
2500         <dep>-24</dep>
2501       </entry>
2502       <entry>
2503         <ind>0.0</ind>
2504         <dep>0</dep>
2505       </entry>
2506       <entry>
2507         <ind>1.0</ind>
2508         <dep>12</dep>
2509       </entry>
2510     </interpolation>
2511     <center>
2512       <x-m>3.848</x-m>
2513       <y-m>0.0</y-m>
2514       <z-m>0.255</z-m>
2515     </center>
2516     <axis>
2517       <x>0.0</x>
2518       <y>1.0</y>
2519       <z>0.0</z>
2520     </axis>
2521   </animation>
2522
2523 <!-- FIXME: elevator trim should rotate stabilazer and elevator, not elevator only -->
2524
2525 <!--  <animation>
2526     <type>rotate</type>
2527     <object-name>stabilizer</object-name>
2528     <property>controls/flight/elevator-trim</property>
2529     <interpolation>
2530       <entry>
2531         <ind>-1.0</ind>
2532         <dep>-6.5</dep>
2533       </entry>
2534       <entry>
2535         <ind>0.0</ind>
2536         <dep>0</dep>
2537       </entry>
2538       <entry>
2539         <ind>1.0</ind>
2540         <dep>1</dep>
2541       </entry>
2542     </interpolation>
2543     <center>
2544       <x-m>3.833</x-m>
2545       <y-m>0.0</y-m>
2546       <z-m>0.263</z-m>
2547     </center>
2548     <axis>
2549       <x>0.0</x>
2550       <y>1.0</y>
2551       <z>0.0</z>
2552     </axis>
2553   </animation> -->
2554
2555 <!-- Rudder -->
2556
2557   <animation>
2558     <type>rotate</type>
2559     <object-name>rudder</object-name>
2560     <object-name>nav_light_rear</object-name>
2561     <object-name>nav_light_rear.001</object-name>
2562     <property>surface-positions/rudder-pos-norm</property>
2563     <factor>16.0</factor>
2564     <center>
2565       <x-m>3.993</x-m>
2566       <y-m>0.0</y-m>
2567       <z-m>0.0</z-m>
2568     </center>
2569     <axis>
2570       <x>0.0</x>
2571       <y>0.0</y>
2572       <z>1.0</z>
2573     </axis>
2574   </animation>
2575
2576   <animation>
2577     <type>translate</type>
2578     <object-name>link_rear_l</object-name>
2579     <property>surface-positions/rudder-pos-norm</property>
2580     <factor>0.02</factor>
2581     <axis>
2582       <x>1.0</x>
2583       <y>0.0</y>
2584       <z>0.0</z>
2585     </axis>
2586   </animation>
2587
2588   <animation>
2589     <type>translate</type>
2590     <object-name>link_rear_r</object-name>
2591     <property>surface-positions/rudder-pos-norm</property>
2592     <factor>0.02</factor>
2593     <axis>
2594       <x>-1.0</x>
2595       <y>0.0</y>
2596       <z>0.0</z>
2597     </axis>
2598   </animation>
2599
2600 <!-- Steering gear -->
2601
2602   <animation>
2603     <type>rotate</type>
2604     <object-name>link_upper</object-name>
2605     <object-name>link_lower</object-name>
2606     <object-name>fork</object-name>
2607     <object-name>wheel_s</object-name>
2608     <object-name>pant_s</object-name>
2609     <property>surface-positions/rudder-pos-norm</property>
2610     <factor>-40.0</factor>
2611     <center>
2612       <x-m>-1.197</x-m>
2613       <y-m>0.0</y-m>
2614       <z-m>0.0</z-m>
2615     </center>
2616     <axis>
2617       <x>0.0</x>
2618       <y>0.0</y>
2619       <z>1.0</z>
2620     </axis>
2621   </animation>
2622
2623   <animation>
2624     <type>translate</type>
2625     <object-name>piston_tube</object-name>
2626     <object-name>link_upper</object-name>
2627     <object-name>link_lower</object-name>
2628     <object-name>fork</object-name>
2629     <object-name>wheel_s</object-name>
2630     <object-name>pant_s</object-name>
2631     <property>gear/gear[0]/compression-norm</property>
2632     <factor>0.16</factor>
2633     <axis>
2634       <x>0.0</x>
2635       <y>0.0</y>
2636       <z>1.0</z>
2637     </axis>
2638   </animation>
2639
2640   <animation>
2641     <type>rotate</type>
2642     <object-name>link_upper</object-name>
2643     <property>gear/gear[0]/compression-norm</property>
2644     <factor>-34.0</factor>
2645     <center>
2646       <x-m>-1.0</x-m>
2647       <y-m>0.0</y-m>
2648       <z-m>-0.622</z-m>
2649     </center>
2650     <axis>
2651       <x>0.0</x>
2652       <y>1.0</y>
2653       <z>0.0</z>
2654     </axis>
2655   </animation>
2656
2657   <animation>
2658     <type>rotate</type>
2659     <object-name>link_lower</object-name>
2660     <property>gear/gear[0]/compression-norm</property>
2661     <factor>20.0</factor>
2662     <center>
2663       <x-m>-1.0</x-m>
2664       <y-m>0.0</y-m>
2665       <z-m>-0.622</z-m>
2666     </center>
2667     <axis>
2668       <x>0.0</x>
2669       <y>1.0</y>
2670       <z>0.0</z>
2671     </axis>
2672   </animation>
2673
2674 <!--Left gear-->
2675
2676   <animation>
2677     <type>rotate</type>
2678     <object-name>wheel_l</object-name>
2679     <object-name>l_gear</object-name>
2680     <object-name>l_gear_rod</object-name>
2681     <object-name>pant_l</object-name>
2682     <property>gear/gear[1]/compression-norm</property>
2683     <factor>-7.0</factor>
2684     <center>
2685       <x-m>0.095</x-m>
2686       <y-m>-0.187</y-m>
2687       <z-m>-0.428</z-m>
2688     </center>
2689     <axis>
2690       <x>1.0</x>
2691       <y>0.0</y>
2692       <z>0.0</z>
2693     </axis>
2694   </animation>
2695
2696 <!--Right gear-->
2697
2698   <animation>
2699     <type>rotate</type>
2700     <object-name>wheel_r</object-name>
2701     <object-name>r_gear</object-name>
2702     <object-name>r_gear_rod</object-name>
2703     <object-name>pant_r</object-name>
2704     <property>gear/gear[2]/compression-norm</property>
2705     <factor>7.0</factor>
2706     <center>
2707       <x-m>0.095</x-m>
2708       <y-m>0.187</y-m>
2709       <z-m>-0.428</z-m>
2710     </center>
2711     <axis>
2712       <x>1.0</x>
2713       <y>0.0</y>
2714       <z>0.0</z>
2715     </axis>
2716   </animation>
2717
2718 <!-- Tyre smoke and water spray animation -->
2719
2720   <model>
2721     <path>Aircraft/pa22/Models/Tyre-smoke/tyre-smoke-nose.xml</path>
2722     <name>tyre-smoke-nose</name>
2723     <offsets>
2724       <x-m>-1.197</x-m>
2725       <y-m>0</y-m>
2726       <z-m>-1.179</z-m>
2727     </offsets>
2728   </model>
2729
2730   <model>
2731     <path>Aircraft/pa22/Models/Tyre-smoke/tyre-smoke-port.xml</path>
2732     <name>tyre-smoke-port</name>
2733     <offsets>
2734       <x-m>0.495</x-m>
2735       <y-m>-1.053</y-m>
2736       <z-m>-1.129</z-m>
2737     </offsets>
2738   </model>
2739
2740   <model>
2741     <path>Aircraft/pa22/Models/Tyre-smoke/tyre-smoke-stbd.xml</path>
2742     <name>tyre-smoke-stbd</name>
2743     <offsets>
2744       <x-m>0.495</x-m>
2745       <y-m>1.053</y-m>
2746       <z-m>-1.129</z-m>
2747     </offsets>
2748   </model>
2749
2750   <model>
2751     <path>Aircraft/Generic/Effects/rain-nose.xml</path>
2752     <name>rain-nose</name>
2753     <offsets>
2754       <x-m>-1.197</x-m>
2755       <y-m>0</y-m>
2756       <z-m>-1.179</z-m>
2757     </offsets>
2758   </model>
2759
2760   <model>
2761     <path>Aircraft/Generic/Effects/rain-port.xml</path>
2762     <name>rain-port</name>
2763     <offsets>
2764       <x-m>0.495</x-m>
2765       <y-m>-1.053</y-m>
2766       <z-m>-1.129</z-m>
2767     </offsets>
2768   </model>
2769
2770   <model>
2771     <path>Aircraft/Generic/Effects/rain-stbd.xml</path>
2772     <name>rain-stbd</name>
2773     <offsets>
2774       <x-m>0.495</x-m>
2775       <y-m>1.053</y-m>
2776       <z-m>-1.129</z-m>
2777     </offsets>
2778   </model>
2779
2780   <model>
2781     <path>Aircraft/Generic/Effects/rain-tail.xml</path>
2782     <name>rain-tail</name>
2783     <offsets>
2784       <x-m>4.0</x-m>
2785       <y-m>0</y-m>
2786       <z-m>-1.2</z-m>
2787     </offsets>
2788   </model>
2789
2790 <!-- Pilot's door -->
2791
2792   <animation>
2793     <type>pick</type>
2794     <object-name>pilot_door_handle</object-name>
2795     <object-name>pilot_door_lock</object-name>
2796     <object-name>pilot_door</object-name>
2797     <object-name>cabin_pilot_door</object-name>
2798     <visible>true</visible>
2799     <action>
2800       <button>0</button>
2801       <repeatable>false</repeatable>
2802       <binding>
2803         <command>nasal</command>
2804        <script>tripacer.pilot_door.toggle();</script>
2805       </binding>
2806     </action>
2807   </animation>
2808
2809   <animation>
2810     <type>pick</type>
2811     <object-name>pilot_door_handle</object-name>
2812     <object-name>pilot_door_lock</object-name>
2813     <object-name>pilot_door</object-name>
2814     <object-name>cabin_pilot_door</object-name>
2815     <visible>true</visible>
2816     <action>
2817       <button>3</button>
2818       <repeatable>false</repeatable>
2819       <binding>
2820         <command>nasal</command>
2821        <script>tripacer.pilot_door.open();</script>
2822       </binding>
2823     </action>
2824   </animation>
2825
2826   <animation>
2827     <type>pick</type>
2828     <object-name>pilot_door_handle</object-name>
2829     <object-name>pilot_door_lock</object-name>
2830     <object-name>pilot_door</object-name>
2831     <object-name>cabin_pilot_door</object-name>
2832     <visible>true</visible>
2833     <action>
2834       <button>4</button>
2835       <repeatable>false</repeatable>
2836       <binding>
2837         <command>nasal</command>
2838        <script>tripacer.pilot_door.close();</script>
2839       </binding>
2840     </action>
2841   </animation>
2842
2843   <animation>
2844     <type>rotate</type>
2845     <object-name>pilot_door_handle</object-name>
2846     <property>sim/model/door-positions/pilot_door/position-norm</property>
2847     <interpolation>
2848       <entry>
2849         <ind>0.0</ind>
2850         <dep>0.0</dep>
2851       </entry>
2852        <entry>
2853         <ind>0.2</ind>
2854         <dep>20.0</dep>
2855       </entry>     
2856       <entry>
2857         <ind>0.4</ind>
2858         <dep>0.0</dep>
2859       </entry>
2860       <entry>
2861         <ind>1</ind>
2862         <dep>0.0</dep>
2863       </entry>
2864     </interpolation>
2865     <center>
2866       <x-m>0.263</x-m>
2867       <y-m>0.0</y-m>
2868       <z-m>0.189</z-m>
2869     </center>
2870     <axis>
2871       <x>0.0</x>
2872       <y>1.0</y>
2873       <z>0.0</z>
2874     </axis>
2875   </animation>
2876
2877   <animation>
2878     <type>rotate</type>
2879     <object-name>pilot_door</object-name>
2880     <object-name>c_pilot_door_glass</object-name>
2881     <object-name>r_pilot_door_glass</object-name>
2882     <object-name>cabin_pilot_door</object-name>
2883     <object-name>pilot_door_glass</object-name>
2884     <object-name>pilot_door_handle</object-name>
2885     <object-name>pilot_door_lock</object-name>
2886     <object-name>vent_2</object-name>
2887     <object-name>vent_frame_2</object-name>
2888     <object-name>cabin_vent_2</object-name>
2889     <object-name>cabin_vent_frame_2</object-name>
2890     <property>sim/model/door-positions/pilot_door/position-norm</property>
2891     <interpolation>
2892       <entry>
2893         <ind>0.0</ind>
2894         <dep>0.0</dep>
2895       </entry>
2896       <entry>
2897         <ind>0.1</ind>
2898         <dep>0.0</dep>
2899       </entry>
2900       <entry>
2901         <ind>0.2</ind>
2902         <dep>-1.0</dep>
2903       </entry>
2904       <entry>
2905         <ind>1</ind>
2906         <dep>-60.0</dep>
2907       </entry>
2908     </interpolation>
2909     <axis>
2910       <x1-m>-0.106</x1-m>
2911       <y1-m>0.484</y1-m>
2912       <z1-m>0.267</z1-m>
2913       <x2-m>-0.220</x2-m>
2914       <y2-m>0.474</y2-m>
2915       <z2-m>-0.235</z2-m>
2916     </axis>
2917   </animation>
2918
2919 <!-- Passenger's door -->
2920
2921   <animation>
2922     <type>pick</type>
2923     <object-name>pass_door_handle</object-name>
2924     <object-name>pass_door_lock</object-name>
2925     <object-name>pass_door</object-name>
2926     <object-name>cabin_pass_door</object-name>
2927     <visible>true</visible>
2928     <action>
2929       <button>0</button>
2930       <repeatable>false</repeatable>
2931       <binding>
2932         <command>nasal</command>
2933        <script>tripacer.passenger_door.toggle();</script>
2934       </binding>
2935     </action>
2936   </animation>
2937
2938   <animation>
2939     <type>pick</type>
2940     <object-name>pass_door_handle</object-name>
2941     <object-name>pass_door_lock</object-name>
2942     <object-name>pass_door</object-name>
2943     <object-name>cabin_pass_door</object-name>
2944     <visible>true</visible>
2945     <action>
2946       <button>3</button>
2947       <repeatable>false</repeatable>
2948       <binding>
2949         <command>nasal</command>
2950        <script>tripacer.passenger_door.open();</script>
2951       </binding>
2952     </action>
2953   </animation>
2954
2955   <animation>
2956     <type>pick</type>
2957     <object-name>pass_door_handle</object-name>
2958     <object-name>pass_door_lock</object-name>
2959     <object-name>pass_door</object-name>
2960     <object-name>cabin_pass_door</object-name>
2961     <visible>true</visible>
2962     <action>
2963       <button>4</button>
2964       <repeatable>false</repeatable>
2965       <binding>
2966         <command>nasal</command>
2967        <script>tripacer.passenger_door.close();</script>
2968       </binding>
2969     </action>
2970   </animation>
2971
2972   <animation>
2973     <type>rotate</type>
2974     <object-name>pass_door_handle</object-name>
2975     <property>sim/model/door-positions/passenger_door/position-norm</property>
2976     <interpolation>
2977       <entry>
2978         <ind>0.0</ind>
2979         <dep>0.0</dep>
2980       </entry>
2981        <entry>
2982         <ind>0.2</ind>
2983         <dep>20.0</dep>
2984       </entry>     
2985       <entry>
2986         <ind>0.4</ind>
2987         <dep>0.0</dep>
2988       </entry>
2989       <entry>
2990         <ind>1</ind>
2991         <dep>0.0</dep>
2992       </entry>
2993     </interpolation>
2994     <center>
2995       <x-m>0.930</x-m>
2996       <y-m>0.0</y-m>
2997       <z-m>0.195</z-m>
2998     </center>
2999     <axis>
3000       <x>0.0</x>
3001       <y>1.0</y>
3002       <z>0.0</z>
3003     </axis>
3004   </animation>
3005
3006   <animation>
3007     <type>rotate</type>
3008     <object-name>pass_door</object-name>
3009     <object-name>cabin_pass_door</object-name>
3010     <object-name>pass_door_glass</object-name>
3011     <object-name>c_pass_door_glass</object-name>
3012     <object-name>r_pass_door_glass</object-name>
3013     <object-name>pass_door_handle</object-name>
3014     <object-name>pass_door_lock</object-name>
3015     <object-name>vent_1</object-name>
3016     <object-name>vent_frame_1</object-name>
3017     <object-name>cabin_vent_1</object-name>
3018     <object-name>cabin_vent_frame_1</object-name>
3019     <property>sim/model/door-positions/passenger_door/position-norm</property>
3020     <interpolation>
3021       <entry>
3022         <ind>0.0</ind>
3023         <dep>0.0</dep>
3024       </entry>
3025       <entry>
3026         <ind>0.1</ind>
3027         <dep>0.0</dep>
3028       </entry>
3029       <entry>
3030         <ind>0.2</ind>
3031         <dep>1.0</dep>
3032       </entry>
3033       <entry>
3034         <ind>1</ind>
3035         <dep>70.0</dep>
3036       </entry>
3037     </interpolation>
3038     <axis>
3039       <x1-m>0.617</x1-m>
3040       <y1-m>-0.500</y1-m>
3041       <z1-m>0.223</z1-m>
3042       <x2-m>0.535</x2-m>
3043       <y2-m>-0.467</y2-m>
3044       <z2-m>-0.265</z2-m>
3045     </axis>
3046   </animation>
3047
3048 <!-- Baggage door -->
3049
3050   <animation>
3051     <type>pick</type>
3052     <object-name>baggage_door</object-name>
3053     <object-name>baggage_door_lock</object-name>
3054     <visible>true</visible>
3055     <action>
3056       <button>0</button>
3057       <repeatable>false</repeatable>
3058       <binding>
3059         <command>nasal</command>
3060        <script>tripacer.baggage_door.toggle();</script>
3061       </binding>
3062     </action>
3063   </animation>
3064
3065   <animation>
3066     <type>pick</type>
3067     <object-name>baggage_door</object-name>
3068     <object-name>baggage_door_lock</object-name>
3069     <visible>true</visible>
3070     <action>
3071       <button>3</button>
3072       <repeatable>false</repeatable>
3073       <binding>
3074         <command>nasal</command>
3075        <script>tripacer.baggage_door.open();</script>
3076       </binding>
3077     </action>
3078   </animation>
3079
3080   <animation>
3081     <type>pick</type>
3082     <object-name>baggage_door</object-name>
3083     <object-name>baggage_door_lock</object-name>
3084     <visible>true</visible>
3085     <action>
3086       <button>4</button>
3087       <repeatable>false</repeatable>
3088       <binding>
3089         <command>nasal</command>
3090        <script>tripacer.baggage_door.close();</script>
3091       </binding>
3092     </action>
3093   </animation>
3094
3095   <animation>
3096     <type>rotate</type>
3097     <object-name>baggage_door</object-name>
3098     <object-name>baggage_door_lock</object-name>
3099     <property>sim/model/door-positions/baggage_door/position-norm</property>
3100     <interpolation>
3101       <entry>
3102         <ind>0.0</ind>
3103         <dep>0.0</dep>
3104       </entry>
3105       <entry>
3106         <ind>1</ind>
3107         <dep>-90.0</dep>
3108       </entry>
3109     </interpolation>
3110     <axis>
3111       <x1-m>1.294</x1-m>
3112       <y1-m>0.468</y1-m>
3113       <z1-m>-0.015</z1-m>
3114       <x2-m>1.216</x2-m>
3115       <y2-m>0.427</y2-m>
3116       <z2-m>-0.279</z2-m>
3117     </axis>
3118   </animation>
3119
3120 <!-- Pilot's window -->
3121
3122   <animation>
3123     <type>pick</type>
3124     <object-name>arm_upper</object-name>
3125     <object-name>arm_lower</object-name>
3126     <object-name>pilot_window</object-name>
3127     <object-name>cabin_pilot_window</object-name>
3128     <visible>true</visible>
3129     <action>
3130       <button>0</button>
3131       <repeatable>false</repeatable>
3132       <binding>
3133         <command>nasal</command>
3134        <script>tripacer.pilot_window.toggle();</script>
3135       </binding>
3136     </action>
3137   </animation>
3138
3139   <animation>
3140     <type>pick</type>
3141     <object-name>arm_upper</object-name>
3142     <object-name>arm_lower</object-name>
3143     <object-name>pilot_window</object-name>
3144     <object-name>cabin_pilot_window</object-name>
3145     <visible>true</visible>
3146     <action>
3147       <button>3</button>
3148       <repeatable>false</repeatable>
3149       <binding>
3150         <command>nasal</command>
3151        <script>tripacer.pilot_window.open();</script>
3152       </binding>
3153     </action>
3154   </animation>
3155
3156   <animation>
3157     <type>pick</type>
3158     <object-name>arm_upper</object-name>
3159     <object-name>arm_lower</object-name>
3160     <object-name>pilot_window</object-name>
3161     <object-name>cabin_pilot_window</object-name>
3162     <visible>true</visible>
3163     <action>
3164       <button>4</button>
3165       <repeatable>false</repeatable>
3166       <binding>
3167         <command>nasal</command>
3168        <script>tripacer.pilot_window.close();</script>
3169       </binding>
3170     </action>
3171   </animation>
3172
3173   <animation>
3174     <type>rotate</type>
3175     <object-name>pilot_window</object-name>
3176     <object-name>cabin_pilot_window</object-name>
3177     <object-name>pilot_window_glass</object-name>
3178     <object-name>c_pilot_window_glass</object-name>
3179     <object-name>r_pilot_window_glass</object-name>
3180     <property>sim/model/door-positions/pilot_window/position-norm</property>
3181     <interpolation>
3182       <entry>
3183         <ind>0.0</ind>
3184         <dep>0.0</dep>
3185       </entry>
3186       <entry>
3187         <ind>0.4</ind>
3188         <dep>1.9</dep>
3189       </entry>
3190       <entry>
3191         <ind>0.5</ind>
3192         <dep>3.0</dep>
3193       </entry>
3194       <entry>
3195         <ind>0.6</ind>
3196         <dep>4.9</dep>
3197       </entry>
3198       <entry>
3199         <ind>0.7</ind>
3200         <dep>8.2</dep>
3201       </entry>
3202       <entry>
3203         <ind>0.8</ind>
3204         <dep>12.5</dep>
3205       </entry>
3206       <entry>
3207         <ind>0.9</ind>
3208         <dep>15.7</dep>
3209       </entry>
3210       <entry>
3211         <ind>1.0</ind>
3212         <dep>16.2</dep>
3213       </entry>
3214     </interpolation>
3215     <center>
3216       <x-m>0.0</x-m>
3217       <y-m>-0.440</y-m>
3218       <z-m>0.663</z-m>
3219     </center>
3220     <axis>
3221       <x>-1.0</x>
3222       <y>0.0</y>
3223       <z>0.0</z>
3224     </axis>
3225   </animation>
3226
3227   <animation>
3228     <type>rotate</type>
3229     <object-name>arm_lower</object-name>
3230     <property>sim/model/door-positions/pilot_window/position-norm</property>
3231     <interpolation>
3232       <entry>
3233         <ind>0.0</ind>
3234         <dep>0.0</dep>
3235       </entry>
3236       <entry>
3237         <ind>1.0</ind>
3238         <dep>218.0</dep>
3239       </entry>
3240     </interpolation>
3241     <center>
3242       <x-m>0.0</x-m>
3243       <y-m>-0.464</y-m>
3244       <z-m>0.274</z-m>
3245     </center>
3246     <axis>
3247       <x>1.0</x>
3248       <y>0.0</y>
3249       <z>0.0</z>
3250     </axis>
3251   </animation>
3252
3253   <animation>
3254     <type>rotate</type>
3255     <object-name>arm_upper</object-name>
3256     <property>sim/model/door-positions/pilot_window/position-norm</property>
3257     <interpolation>
3258       <entry>
3259         <ind>0.0</ind>
3260         <dep>0.0</dep>
3261       </entry>
3262       <entry>
3263         <ind>1.0</ind>
3264         <dep>218.0</dep>
3265       </entry>
3266     </interpolation>
3267     <center>
3268       <x-m>0.0</x-m>
3269       <y-m>-0.464</y-m>
3270       <z-m>0.274</z-m>
3271     </center>
3272     <axis>
3273       <x>1.0</x>
3274       <y>0.0</y>
3275       <z>0.0</z>
3276     </axis>
3277   </animation>
3278
3279   <animation>
3280     <type>rotate</type>
3281     <object-name>arm_upper</object-name>
3282     <property>sim/model/door-positions/pilot_window/position-norm</property>
3283     <interpolation>
3284       <entry>
3285         <ind>0.0</ind>
3286         <dep>0.0</dep>
3287       </entry>
3288        <entry>
3289         <ind>0.2</ind>
3290         <dep>3.0</dep>
3291       </entry>     
3292       <entry>
3293         <ind>0.4</ind>
3294         <dep>9.5</dep>
3295       </entry>
3296       <entry>
3297         <ind>0.5</ind>
3298         <dep>17.0</dep>
3299       </entry>
3300       <entry>
3301         <ind>0.6</ind>
3302         <dep>31.0</dep>
3303       </entry>
3304       <entry>
3305         <ind>0.7</ind>
3306         <dep>57.0</dep>
3307       </entry>
3308       <entry>
3309         <ind>0.8</ind>
3310         <dep>96.0</dep>
3311       </entry>
3312       <entry>
3313         <ind>0.9</ind>
3314         <dep>138.0</dep>
3315       </entry>
3316       <entry>
3317         <ind>1.0</ind>
3318         <dep>180.0</dep>
3319       </entry>
3320     </interpolation>
3321     <center>
3322       <x-m>0.0</x-m>
3323       <y-m>-0.431</y-m>
3324       <z-m>0.234</z-m>
3325     </center>
3326     <axis>
3327       <x>-1.0</x>
3328       <y>0.0</y>
3329       <z>0.0</z>
3330     </axis>
3331   </animation>
3332
3333 <!-- Cabin vents -->
3334
3335   <animation>
3336     <type>pick</type>
3337     <object-name>vent_0</object-name>
3338     <object-name>vent_frame_0</object-name>
3339     <object-name>cabin_vent_0</object-name>
3340     <object-name>cabin_vent_frame_0</object-name>
3341     <visible>true</visible>
3342     <action>
3343       <button>0</button>
3344       <repeatable>false</repeatable>
3345       <binding>
3346         <command>nasal</command>
3347        <script>tripacer.vent0.toggle();</script>
3348       </binding>
3349     </action>
3350   </animation>
3351
3352   <animation>
3353     <type>pick</type>
3354     <object-name>vent_0</object-name>
3355     <object-name>vent_frame_0</object-name>
3356     <object-name>cabin_vent_0</object-name>
3357     <object-name>cabin_vent_frame_0</object-name>
3358     <visible>true</visible>
3359     <action>
3360       <button>3</button>
3361       <repeatable>false</repeatable>
3362       <binding>
3363         <command>nasal</command>
3364        <script>tripacer.vent0.open();</script>
3365       </binding>
3366     </action>
3367   </animation>
3368
3369   <animation>
3370     <type>pick</type>
3371     <object-name>vent_0</object-name>
3372     <object-name>vent_frame_0</object-name>
3373     <object-name>cabin_vent_0</object-name>
3374     <object-name>cabin_vent_frame_0</object-name>
3375     <visible>true</visible>
3376     <action>
3377       <button>4</button>
3378       <repeatable>false</repeatable>
3379       <binding>
3380         <command>nasal</command>
3381        <script>tripacer.vent0.close();</script>
3382       </binding>
3383     </action>
3384   </animation>
3385
3386   <animation>
3387     <type>rotate</type>
3388     <object-name>vent_0</object-name>
3389     <object-name>cabin_vent_0</object-name>
3390     <property>sim/model/door-positions/vent[0]/position-norm</property>
3391     <interpolation>
3392       <entry>
3393         <ind>0.0</ind>
3394         <dep>0.0</dep>
3395       </entry>
3396       <entry>
3397         <ind>1</ind>
3398         <dep>-30.0</dep>
3399       </entry>
3400     </interpolation>
3401     <axis>
3402       <x1-m>0.258</x1-m>
3403       <y1-m>-0.474</y1-m>
3404       <z1-m>0.338</z1-m>
3405       <x2-m>0.258</x2-m>
3406       <y2-m>-0.476</y2-m>
3407       <z2-m>0.324</z2-m>
3408     </axis>
3409   </animation>
3410
3411   <animation>
3412     <type>pick</type>
3413     <object-name>vent_1</object-name>
3414     <object-name>vent_frame_1</object-name>
3415     <object-name>cabin_vent_1</object-name>
3416     <object-name>cabin_vent_frame_1</object-name>
3417     <visible>true</visible>
3418     <action>
3419       <button>0</button>
3420       <repeatable>false</repeatable>
3421       <binding>
3422         <command>nasal</command>
3423        <script>tripacer.vent1.toggle();</script>
3424       </binding>
3425     </action>
3426   </animation>
3427
3428   <animation>
3429     <type>pick</type>
3430     <object-name>vent_1</object-name>
3431     <object-name>vent_frame_1</object-name>
3432     <object-name>cabin_vent_1</object-name>
3433     <object-name>cabin_vent_frame_1</object-name>
3434     <visible>true</visible>
3435     <action>
3436       <button>3</button>
3437       <repeatable>false</repeatable>
3438       <binding>
3439         <command>nasal</command>
3440        <script>tripacer.vent1.open();</script>
3441       </binding>
3442     </action>
3443   </animation>
3444
3445   <animation>
3446     <type>pick</type>
3447     <object-name>vent_1</object-name>
3448     <object-name>vent_frame_1</object-name>
3449     <object-name>cabin_vent_1</object-name>
3450     <object-name>cabin_vent_frame_1</object-name>
3451     <visible>true</visible>
3452     <action>
3453       <button>4</button>
3454       <repeatable>false</repeatable>
3455       <binding>
3456         <command>nasal</command>
3457        <script>tripacer.vent1.close();</script>
3458       </binding>
3459     </action>
3460   </animation>
3461
3462   <animation>
3463     <type>rotate</type>
3464     <object-name>vent_1</object-name>
3465     <object-name>cabin_vent_1</object-name>
3466     <property>sim/model/door-positions/vent[1]/position-norm</property>
3467     <interpolation>
3468       <entry>
3469         <ind>0.0</ind>
3470         <dep>0.0</dep>
3471       </entry>
3472       <entry>
3473         <ind>1</ind>
3474         <dep>-30.0</dep>
3475       </entry>
3476     </interpolation>
3477     <axis>
3478       <x1-m>0.785</x1-m>
3479       <y1-m>-0.473</y1-m>
3480       <z1-m>0.338</z1-m>
3481       <x2-m>0.785</x2-m>
3482       <y2-m>-0.476</y2-m>
3483       <z2-m>0.323</z2-m>
3484     </axis>
3485   </animation>
3486
3487   <animation>
3488     <type>pick</type>
3489     <object-name>vent_2</object-name>
3490     <object-name>vent_frame_2</object-name>
3491     <object-name>cabin_vent_2</object-name>
3492     <object-name>cabin_vent_frame_2</object-name>
3493     <visible>true</visible>
3494     <action>
3495       <button>0</button>
3496       <repeatable>false</repeatable>
3497       <binding>
3498         <command>nasal</command>
3499        <script>tripacer.vent2.toggle();</script>
3500       </binding>
3501     </action>
3502   </animation>
3503
3504   <animation>
3505     <type>pick</type>
3506     <object-name>vent_2</object-name>
3507     <object-name>vent_frame_2</object-name>
3508     <object-name>cabin_vent_2</object-name>
3509     <object-name>cabin_vent_frame_2</object-name>
3510     <visible>true</visible>
3511     <action>
3512       <button>3</button>
3513       <repeatable>false</repeatable>
3514       <binding>
3515         <command>nasal</command>
3516        <script>tripacer.vent2.open();</script>
3517       </binding>
3518     </action>
3519   </animation>
3520
3521   <animation>
3522     <type>pick</type>
3523     <object-name>vent_2</object-name>
3524     <object-name>vent_frame_2</object-name>
3525     <object-name>cabin_vent_2</object-name>
3526     <object-name>cabin_vent_frame_2</object-name>
3527     <visible>true</visible>
3528     <action>
3529       <button>4</button>
3530       <repeatable>false</repeatable>
3531       <binding>
3532         <command>nasal</command>
3533        <script>tripacer.vent2.close();</script>
3534       </binding>
3535     </action>
3536   </animation>
3537
3538   <animation>
3539     <type>rotate</type>
3540     <object-name>vent_2</object-name>
3541     <object-name>cabin_vent_2</object-name>
3542     <property>sim/model/door-positions/vent[2]/position-norm</property>
3543     <interpolation>
3544       <entry>
3545         <ind>0.0</ind>
3546         <dep>0.0</dep>
3547       </entry>
3548       <entry>
3549         <ind>1</ind>
3550         <dep>30.0</dep>
3551       </entry>
3552     </interpolation>
3553     <axis>
3554       <x1-m>0.016</x1-m>
3555       <y1-m>0.472</y1-m>