Pilatus PC 12/47 : Adding a livery "Orange", improved dashboard.
[fg:toms-fgdata.git] / Aircraft / PC-12 / Models / pc12.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <PropertyList>
4
5   <path>pc12.ac</path>
6
7   <nasal>
8     <load>
9       var livery_update = aircraft.livery_update.new("Aircraft/PC-12/Models/Liveries", 10);
10
11       var self = cmdarg();
12
13       var float_0 = self.getNode("sim/multiplay/generic/float[0]", 1);
14       var float_1 = self.getNode("sim/multiplay/generic/float[1]", 1);
15       
16       var crew_door = self.getNode("sim/model/door-positions/crew/position-norm", 1);
17       var passenger_door = self.getNode("sim/model/door-positions/passenger/position-norm", 1);
18       
19       crew_door.alias(float_0);
20       passenger_door.alias(float_1);
21     </load>
22
23     <unload>
24       livery_update.stop();
25       crew_door.unalias();
26       passenger_door.unalias();
27     </unload>
28   </nasal>
29
30   <animation>
31     <!-- Objets opaques -->
32     <object-name>fuselage</object-name>
33     <object-name>ailes</object-name>
34     <object-name>aileronG</object-name>
35     <object-name>aileronD</object-name>
36     <object-name>voletG</object-name>
37     <object-name>voletD</object-name>
38     <object-name>porteAG</object-name>
39     <object-name>porteAD</object-name>
40     <object-name>porteG</object-name>
41     <object-name>porteD</object-name>
42     <object-name>ailes2</object-name>
43     <object-name>profondeur</object-name>
44     <object-name>direction</object-name>
45     <object-name>ailes3</object-name>
46     <object-name>antennes</object-name>
47     <object-name>bol</object-name>
48     <object-name>porte</object-name>
49     <object-name>baie</object-name>
50     <object-name>ajout</object-name>
51     <object-name>bosse</object-name>
52     
53     <object-name>helice</object-name>
54     <object-name>axeA</object-name>
55     <object-name>roueA</object-name>
56     <object-name>axeG</object-name>
57     <object-name>roueG</object-name>
58     <object-name>axeD</object-name>
59     <object-name>roueD</object-name>
60     <object-name>echappe</object-name>
61
62     <!-- Objets transparents -->
63     <object-name>vitres</object-name>
64     <object-name>vitrebaie</object-name>
65     <object-name>propblur</object-name>
66     <object-name>propdisc</object-name>
67   </animation>
68
69   <animation>
70     <type>material</type>
71     <object-name>fuselage</object-name>
72     <object-name>ailes</object-name>
73     <object-name>aileronG</object-name>
74     <object-name>aileronD</object-name>
75     <object-name>voletG</object-name>
76     <object-name>voletD</object-name>
77     <object-name>porteAG</object-name>
78     <object-name>porteAD</object-name>
79     <object-name>porteG</object-name>
80     <object-name>porteD</object-name>
81     <object-name>ailes2</object-name>
82     <object-name>profondeur</object-name>
83     <object-name>direction</object-name>
84     <object-name>ailes3</object-name>
85     <object-name>antennes</object-name>
86     <object-name>bol</object-name>
87     <object-name>porte</object-name>
88     <object-name>baie</object-name>
89     <object-name>ajout</object-name>
90     <object-name>bosse</object-name>
91     
92     <object-name>helice</object-name>
93     <object-name>axeA</object-name>
94     <object-name>roueA</object-name>
95     <object-name>axeG</object-name>
96     <object-name>roueG</object-name>
97     <object-name>axeD</object-name>
98     <object-name>roueD</object-name>
99     <object-name>echappe</object-name>
100
101     <property-base>sim/model/livery</property-base>
102     <texture-prop>texture</texture-prop>
103     <texture>texture.png</texture>
104     <specular>
105       <red-prop>specular/red</red-prop>
106       <green-prop>specular/green</green-prop>
107       <blue-prop>specular/blue</blue-prop>
108     </specular>
109   </animation>
110
111   <effect>
112     <inherits-from>Aircraft/Generic/Effects/Fuselagereflect</inherits-from>
113     <object-name>fuselage</object-name>
114     <object-name>ailes</object-name>
115     <object-name>aileronG</object-name>
116     <object-name>aileronD</object-name>
117     <object-name>voletG</object-name>
118     <object-name>voletD</object-name>
119     <object-name>porteAG</object-name>
120     <object-name>porteAD</object-name>
121     <object-name>porteG</object-name>
122     <object-name>porteD</object-name>
123     <object-name>ailes2</object-name>
124     <object-name>profondeur</object-name>
125     <object-name>direction</object-name>
126     <object-name>ailes3</object-name>
127     <object-name>antennes</object-name>
128     <object-name>bol</object-name>
129     <object-name>porte</object-name>
130     <object-name>baie</object-name>
131     <object-name>ajout</object-name>
132     <object-name>bosse</object-name>
133   </effect>
134
135   <!-- working for Rembrandt -->
136   <effect>
137     <inherits-from>Aircraft/PC-12/Models/Effects/Glass/glass</inherits-from>
138     <object-name>vitres</object-name>
139     <object-name>vitrebaie</object-name>
140   </effect>
141   
142   <effect>
143     <inherits-from>Effects/model-transparent</inherits-from>
144     <object-name>vitres</object-name>
145     <object-name>vitrebaie</object-name>
146     <object-name>propdisc</object-name>
147     <object-name>propblur</object-name>
148   </effect>
149   
150   <!-- Une ombre pour OSG -->
151   <model>
152     <path>Aircraft/PC-12/Models/shadow.xml</path>
153     <offsets>
154       <x-m>  0.00 </x-m>
155       <y-m>  0.00 </y-m>
156       <z-m> -2.05 </z-m>
157     </offsets>
158   </model>
159
160   <!-- Interieur -->
161   <model>
162     <path>Aircraft/PC-12/Models/Interior/interior.xml</path>
163   </model>
164
165   <!-- Cranking effects
166   <model>
167     <path>Aircraft/PC-12/Models/Effects/cranking/cranking.xml</path>
168     <offsets>
169       <x-m> -3.467 </x-m>
170       <y-m>  0.348 </y-m>
171       <z-m> -0.823 </z-m>
172       <pitch-deg> 45 </pitch-deg>
173     </offsets>
174   </model>
175
176   <model>
177     <path>Aircraft/PC-12/Models/Effects/cranking/cranking.xml</path>
178     <offsets>
179       <x-m> -3.537 </x-m>
180       <y-m>  0.348 </y-m>
181       <z-m> -0.813 </z-m>
182       <pitch-deg> 45 </pitch-deg>
183     </offsets>
184   </model>
185
186   <model>
187     <path>Aircraft/PC-12/Models/Effects/cranking/cranking.xml</path>
188     <offsets>
189       <x-m> -3.607 </x-m>
190       <y-m>  0.348 </y-m>
191       <z-m> -0.803 </z-m>
192       <pitch-deg> 45 </pitch-deg>
193     </offsets>
194   </model> -->
195
196   <!-- Effets sur le sol -->
197   <!-- Roue avant -->
198   <model>
199     <path>Aircraft/PC-12/Models/Effects/ground/ground0.xml</path>
200     <offsets>
201       <x-m> -4.68439 </x-m>
202       <y-m>  0.00000 </y-m>
203       <z-m> -2.02835 </z-m>
204     </offsets>
205   </model>
206
207   <!-- Roue gauche -->
208   <model>
209     <path>Aircraft/PC-12/Models/Effects/ground/ground1.xml</path>
210     <offsets>
211       <x-m> -1.22521 </x-m>
212       <y-m> -2.24719 </y-m>
213       <z-m> -2.11304 </z-m>
214     </offsets>
215   </model>
216
217   <!-- Roue droite -->
218   <model>
219     <path>Aircraft/PC-12/Models/Effects/ground/ground2.xml</path>
220     <offsets>
221       <x-m> -1.22521 </x-m>
222       <y-m>  2.24719 </y-m>
223       <z-m> -2.11304 </z-m>
224     </offsets>
225   </model>
226
227   <!-- L'hélice --> 
228   <animation>
229     <name>HeliceComplete</name>
230     <object-name>propdisc</object-name>
231     <object-name>propblur</object-name>
232     <object-name>helice</object-name>
233     <object-name>bol</object-name>
234   </animation>
235
236   <!-- Séléction de l'objet visible en fonction des rpm -->
237   <animation>
238     <type>select</type>
239     <object-name>propdisc</object-name>
240     <condition>
241       <greater-than>
242         <property>engines/engine[0]/rpm</property>
243         <value>1500</value>
244       </greater-than>
245     </condition>
246   </animation>
247
248   <animation>
249     <type>select</type>
250     <object-name>propblur</object-name>
251     <condition>
252     <and>
253       <greater-than>
254         <property>engines/engine[0]/rpm</property>
255         <value>600.000</value>
256       </greater-than>
257       <less-than>
258         <property>engines/engine[0]/rpm</property>
259         <value>1500.001</value>
260       </less-than>
261     </and>
262     </condition>
263   </animation>
264
265   <animation>
266     <type>select</type>
267     <object-name>helice</object-name>
268     <condition>
269       <less-than>
270         <property>engines/engine[0]/rpm</property>
271         <value>1500</value>
272       </less-than>
273     </condition>
274   </animation>
275
276   <animation>
277     <type>spin</type>
278     <object-name>HeliceComplete</object-name>
279     <condition>
280       <greater-than>
281         <property>engines/engine[0]/rpm</property>
282         <value> 10 </value>
283       </greater-than>
284     </condition>
285     <property>engines/engine[0]/rpm</property>
286     <factor> 1 </factor>
287     <center>
288       <x-m> -6.72862 </x-m>
289       <y-m>  0.00000 </y-m>
290       <z-m> -0.40130 </z-m>
291     </center>
292     <axis>
293       <x> -1 </x>
294       <y>  0 </y>
295       <z>  0 </z>
296     </axis>
297   </animation>
298
299   <!-- Gouverne de profondeur -->
300   <animation>
301     <type>rotate</type>
302     <object-name>profondeur</object-name>
303     <property>surface-positions/elevator-pos-norm</property>
304     <factor> 15 </factor>
305     <center>
306       <x-m> 6.43203 </x-m>
307       <y-m> 0.00000 </y-m>
308       <z-m> 1.94410 </z-m>
309     </center>
310     <axis>
311       <x> 0 </x>
312       <y> 1 </y>
313       <z> 0 </z>
314     </axis>
315   </animation>
316
317   <!-- Gouverne de direction -->
318   <animation>
319     <type>rotate</type>
320     <object-name>direction</object-name>
321     <property>surface-positions/rudder-pos-norm</property>
322     <factor> -15 </factor>
323     <axis>
324       <x1-m>  5.32886 </x1-m>
325       <y1-m>  0.00000 </y1-m>
326       <z1-m> -0.19139 </z1-m>
327       <x2-m>  6.38009 </x2-m>
328       <y2-m>  0.00000 </y2-m>
329       <z2-m>  1.85454 </z2-m>
330     </axis>
331   </animation>
332
333   <!-- Animations des ailerons -->
334   <animation>
335     <type>rotate</type>
336     <object-name>aileronG</object-name>
337     <property>surface-positions/left-aileron-pos-norm</property>
338     <factor> 15 </factor>
339     <axis>
340       <x1-m> -1.19358 </x1-m>
341       <y1-m> -7.43531 </y1-m>
342       <z1-m> -0.35836 </z1-m>
343       <x2-m> -1.03949 </x2-m>
344       <y2-m> -5.72719 </y2-m>
345       <z2-m> -0.54778 </z2-m>
346     </axis>
347   </animation>
348
349   <animation>
350     <type>rotate</type>
351     <object-name>aileronD</object-name>
352     <property>surface-positions/right-aileron-pos-norm</property>
353     <factor> 15 </factor>
354     <axis>
355       <x1-m> -1.03949 </x1-m>
356       <y1-m>  5.72719 </y1-m>
357       <z1-m> -0.54778 </z1-m>
358       <x2-m> -1.19358 </x2-m>
359       <y2-m>  7.43531 </y2-m>
360       <z2-m> -0.35836 </z2-m>
361     </axis>
362   </animation>
363
364   <!-- Volets -->
365   <animation>
366     <type>translate</type>
367     <object-name>voletG</object-name>
368     <property>surface-positions/flap-pos-norm</property>
369     <interpolation>
370       <entry><ind> 0.0 </ind><dep> 0.0 </dep></entry>
371       <entry><ind> 0.1 </ind><dep> 0.1 </dep></entry>
372       <entry><ind> 1.0 </ind><dep> 0.1 </dep></entry>
373     </interpolation>
374     <factor> 0.1 </factor>
375     <axis>
376       <x> 1 </x>
377       <y> 0 </y>
378       <z> 0 </z>
379     </axis>
380   </animation>
381
382   <animation>
383     <type>translate</type>
384     <object-name>voletG</object-name>
385     <property>surface-positions/flap-pos-norm</property>
386     <interpolation>
387       <entry><ind> 0.0 </ind><dep>  0.00 </dep></entry>
388       <entry><ind> 0.1 </ind><dep> -0.05 </dep></entry>
389       <entry><ind> 1.0 </ind><dep> -0.05 </dep></entry>
390     </interpolation>
391     <axis>
392       <x> 0 </x>
393       <y> 0 </y>
394       <z> 1 </z>
395     </axis>
396   </animation>
397
398   <animation>
399     <type>rotate</type>
400     <object-name>voletG</object-name>
401     <property>surface-positions/flap-pos-norm</property>
402     <interpolation>
403       <entry><ind> 0.0 </ind><dep>  0 </dep></entry>
404       <entry><ind> 0.1 </ind><dep>  0 </dep></entry>
405       <entry><ind> 1.0 </ind><dep> 50 </dep></entry>
406     </interpolation>
407     <axis>
408       <x1-m> -0.98906 </x1-m>
409       <y1-m> -4.91885 </y1-m>
410       <z1-m> -0.88627 </z1-m>
411       <x2-m> -0.79190 </x2-m>
412       <y2-m> -0.99852 </y2-m>
413       <z2-m> -1.29486 </z2-m>
414     </axis>
415   </animation>
416
417   <animation>
418     <type>translate</type>
419     <object-name>voletD</object-name>
420     <property>surface-positions/flap-pos-norm</property>
421     <interpolation>
422       <entry><ind> 0.0 </ind><dep> 0.0 </dep></entry>
423       <entry><ind> 0.1 </ind><dep> 0.1 </dep></entry>
424       <entry><ind> 1.0 </ind><dep> 0.1 </dep></entry>
425     </interpolation>
426     <factor> 0.1 </factor>
427     <axis>
428       <x> 1 </x>
429       <y> 0 </y>
430       <z> 0 </z>
431     </axis>
432   </animation>
433
434   <animation>
435     <type>translate</type>
436     <object-name>voletD</object-name>
437     <property>surface-positions/flap-pos-norm</property>
438     <interpolation>
439       <entry><ind> 0.0 </ind><dep>  0.00 </dep></entry>
440       <entry><ind> 0.1 </ind><dep> -0.05 </dep></entry>
441       <entry><ind> 1.0 </ind><dep> -0.05 </dep></entry>
442     </interpolation>
443     <axis>
444       <x> 0 </x>
445       <y> 0 </y>
446       <z> 1 </z>
447     </axis>
448   </animation>
449
450   <animation>
451     <type>rotate</type>
452     <object-name>voletD</object-name>
453     <property>surface-positions/flap-pos-norm</property>
454     <interpolation>
455       <entry><ind> 0.0 </ind><dep>  0 </dep></entry>
456       <entry><ind> 0.1 </ind><dep>  0 </dep></entry>
457       <entry><ind> 1.0 </ind><dep> 50 </dep></entry>
458     </interpolation>
459     <axis>
460       <x1-m> -0.79190 </x1-m>
461       <y1-m>  0.99852 </y1-m>
462       <z1-m> -1.29486 </z1-m>
463       <x2-m> -0.98906 </x2-m>
464       <y2-m>  4.91885 </y2-m>
465       <z2-m> -0.88627 </z2-m>
466     </axis>
467   </animation>
468
469   <!-- Animation des portes des trains -->
470   <animation>
471     <type>rotate</type>
472     <object-name>porteAG</object-name>
473     <property>gear/gear[0]/position-norm</property>
474     <interpolation>
475       <entry><ind> 0.0 </ind><dep>    0 </dep></entry>
476       <entry><ind> 0.1 </ind><dep> -100 </dep></entry>
477       <entry><ind> 1.0 </ind><dep> -100 </dep></entry>
478     </interpolation>
479     <axis>
480       <x1-m> -4.45317 </x1-m>
481       <y1-m> -0.21689 </y1-m>
482       <z1-m> -1.12283 </z1-m>
483       <x2-m> -3.36350 </x2-m>
484       <y2-m> -0.21689 </y2-m>
485       <z2-m> -1.12310 </z2-m>
486     </axis>
487   </animation>
488
489   <animation>
490     <type>rotate</type>
491     <object-name>porteAD</object-name>
492     <property>gear/gear[0]/position-norm</property>
493     <interpolation>
494       <entry><ind> 0.0 </ind><dep>    0 </dep></entry>
495       <entry><ind> 0.1 </ind><dep> -100 </dep></entry>
496       <entry><ind> 1.0 </ind><dep> -100 </dep></entry>
497     </interpolation>
498     <axis>
499       <x1-m> -3.36350 </x1-m>
500       <y1-m>  0.21689 </y1-m>
501       <z1-m> -1.12310 </z1-m>
502       <x2-m> -4.45317 </x2-m>
503       <y2-m>  0.21689 </y2-m>
504       <z2-m> -1.12283 </z2-m>
505     </axis>
506   </animation>
507
508   <animation>
509     <type>rotate</type>
510     <object-name>porteG</object-name>
511     <property>gear/gear[1]/position-norm</property>
512     <interpolation>
513       <entry><ind> 0 </ind><dep>   0 </dep></entry>
514       <entry><ind> 1 </ind><dep> -85 </dep></entry>
515     </interpolation>
516     <axis>
517       <x1-m> -1.35212 </x1-m>
518       <y1-m> -2.36079 </y1-m>
519       <z1-m> -1.01243 </z1-m>
520       <x2-m> -1.09829 </x2-m>
521       <y2-m> -2.36079 </y2-m>
522       <z2-m> -0.99793 </z2-m>
523     </axis>
524   </animation>
525
526   <animation>
527     <type>rotate</type>
528     <object-name>porteD</object-name>
529     <property>gear/gear[2]/position-norm</property>
530     <interpolation>
531       <entry><ind> 0 </ind><dep>   0 </dep></entry>
532       <entry><ind> 1 </ind><dep> -85 </dep></entry>
533     </interpolation>
534     <axis>
535       <x1-m> -1.09829 </x1-m>
536       <y1-m>  2.36079 </y1-m>
537       <z1-m> -0.99793 </z1-m>
538       <x2-m> -1.35212 </x2-m>
539       <y2-m>  2.36079 </y2-m>
540       <z2-m> -1.01243 </z2-m>
541     </axis>
542   </animation>
543
544   <!-- Rentre des roues -->
545   <animation>
546     <name>TrainAvant</name>
547     <object-name>axeA</object-name>
548     <object-name>roueA</object-name>
549   </animation>
550
551   <animation>
552     <type>rotate</type>
553     <object-name>TrainAvant</object-name>
554     <property>gear/gear[0]/position-norm</property>
555     <interpolation>
556       <entry><ind> 0 </ind><dep> -105 </dep></entry>
557       <entry><ind> 1 </ind><dep>    0 </dep></entry>
558     </interpolation>
559     <center>
560       <x-m> -4.56854 </x-m>
561       <y-m>  0.00000 </y-m>
562       <z-m> -1.00775 </z-m>
563     </center>
564     <axis>
565       <x> 0 </x>
566       <y> 1 </y>
567       <z> 0 </z>
568     </axis>
569   </animation>
570  
571   <animation>
572     <name>TrainGauche</name>
573     <object-name>axeG</object-name>
574     <object-name>roueG</object-name>
575   </animation>
576
577   <animation>
578     <type>rotate</type>
579     <object-name>TrainGauche</object-name>
580     <property>gear/gear[1]/position-norm</property>
581     <interpolation>
582       <entry><ind> 0 </ind><dep> 85 </dep></entry>
583       <entry><ind> 1 </ind><dep>  0 </dep></entry>
584     </interpolation>
585     <center>
586       <x-m> -1.22521 </x-m>
587       <y-m> -2.24719 </y-m>
588       <z-m> -0.93207 </z-m>
589     </center>
590     <axis>
591       <x> 1 </x>
592       <y> 0 </y>
593       <z> 0 </z>
594     </axis>
595   </animation>
596
597   <animation>
598     <name>TrainDroit</name>
599     <object-name>axeD</object-name>
600     <object-name>roueD</object-name>
601   </animation>
602
603   <animation>
604     <type>rotate</type>
605     <object-name>TrainDroit</object-name>
606     <property>gear/gear[2]/position-norm</property>
607     <interpolation>
608       <entry><ind> 0 </ind><dep> -85 </dep></entry>
609       <entry><ind> 1 </ind><dep>   0 </dep></entry>
610     </interpolation>
611     <center>
612       <x-m> -1.22521 </x-m>
613       <y-m>  2.24719 </y-m>
614       <z-m> -0.93207 </z-m>
615     </center>
616     <axis>
617       <x> 1 </x>
618       <y> 0 </y>
619       <z> 0 </z>
620     </axis>
621   </animation> -->
622
623   <!-- Rotation de la roue avant en fonction de la gouverne de direction -->
624   <animation>
625     <type>rotate</type>
626     <object-name>TrainAvant</object-name>
627     <property>surface-positions/rudder-pos-norm</property>
628     <factor> -25 </factor>
629     <center>
630       <x-m> -4.68439 </x-m>
631       <y-m>  0.00000 </y-m>
632       <z-m> -1.81342 </z-m>
633     </center>
634     <axis>
635       <x> 0 </x>
636       <y> 0 </y>
637       <z> 1 </z>
638     </axis>
639   </animation>
640
641   <!-- Rotation des roues lors du roulage -->
642   <animation>
643     <type>spin</type>
644     <object-name>roueA</object-name>
645     <property>gear/gear[0]/rollspeed-ms</property>
646     <factor> 30 </factor>
647     <center>
648       <x-m> -4.68439 </x-m>
649       <y-m>  0.00000 </y-m>
650       <z-m> -1.81342 </z-m>
651     </center>
652     <axis>
653       <x>  0 </x>
654       <y> -1 </y>
655       <z>  0 </z>
656     </axis>
657   </animation>
658
659   <animation>
660     <type>spin</type>
661     <object-name>roueG</object-name>
662     <property>gear/gear[1]/rollspeed-ms</property>
663     <factor> 30 </factor>
664     <center>
665       <x-m> -1.22521 </x-m>
666       <y-m> -2.24719 </y-m>
667       <z-m> -1.79934 </z-m>
668     </center>
669     <axis>
670       <x>  0 </x>
671       <y> -1 </y>
672       <z>  0 </z>
673     </axis>
674   </animation>
675
676   <animation>
677     <type>spin</type>
678     <object-name>roueD</object-name>
679     <property>gear/gear[2]/rollspeed-ms</property>
680     <factor> 30 </factor>
681     <center>
682       <x-m> -1.22521 </x-m>
683       <y-m>  2.24719 </y-m>
684       <z-m> -1.79934 </z-m>
685     </center>
686     <axis>
687       <x>  0 </x>
688       <y> -1 </y>
689       <z>  0 </z>
690     </axis>
691   </animation>
692
693   <!-- Porte avant -->
694   <animation>
695     <type>pick</type>
696     <object-name>porte</object-name>
697     <visible>true</visible>
698     <action>
699       <button>0</button>
700       <repeatable>false</repeatable>
701       <binding>
702         <command>nasal</command>
703         <script>doors.crew.toggle();</script>
704       </binding>
705     </action>
706   </animation>
707   
708   <animation>
709     <type>rotate</type>
710     <object-name>porte</object-name>
711     <property>sim/model/door-positions/crew/position-norm</property>
712     <interpolation>
713       <entry><ind> 0 </ind><dep>   0 </dep></entry>
714       <entry><ind> 1 </ind><dep> 155 </dep></entry>
715     </interpolation>
716     <axis>
717       <x1-m> -2.91089 </x1-m>
718       <y1-m> -0.79577 </y1-m>
719       <z1-m> -0.85223 </z1-m>
720       <x2-m> -2.44903 </x2-m>
721       <y2-m> -0.79087 </y2-m>
722       <z2-m> -0.85223 </z2-m>
723     </axis>
724   </animation>
725
726   <!-- Porte cargo -->
727   <animation>
728     <name>PorteCargo</name>
729     <object-name>baie</object-name>
730     <object-name>vitrebaie</object-name>
731   </animation>
732   
733   <animation>
734     <type>pick</type>
735     <object-name>PorteCargo</object-name>
736     <visible>true</visible>
737     <action>
738       <button>0</button>
739       <repeatable>false</repeatable>
740       <binding>
741         <command>nasal</command>
742         <script>doors.passenger.toggle();</script>
743       </binding>
744     </action>
745   </animation>
746   
747   <animation>
748     <type>rotate</type>
749     <object-name>PorteCargo</object-name>
750     <property>sim/model/door-positions/passenger/position-norm</property>
751     <interpolation>
752       <entry><ind> 0 </ind><dep>    0 </dep></entry>
753       <entry><ind> 1 </ind><dep> -100 </dep></entry>
754     </interpolation>
755     <axis>
756       <x1-m> -0.03429 </x1-m>
757       <y1-m> -0.52347 </y1-m>
758       <z1-m>  0.54909 </z1-m>
759       <x2-m>  1.19196 </x2-m>
760       <y2-m> -0.52828 </y2-m>
761       <z2-m>  0.54909 </z2-m>
762     </axis>
763   </animation>
764
765   <!-- Effets lumineux -->
766   <model>
767     <path>Aircraft/PC-12/Models/light/beacon.xml</path>
768     <offsets>
769       <x-m> 6.26790 </x-m>
770       <y-m> 0.00000 </y-m>
771       <z-m> 2.06538 </z-m>
772     </offsets>
773   </model>
774
775   <model>
776     <path>Aircraft/PC-12/Models/light/RedLight.xml</path>
777     <offsets>
778       <x-m> -1.76153 </x-m>
779       <y-m> -7.60549 </y-m>
780       <z-m> -0.30948 </z-m>
781     </offsets>
782   </model>
783
784   <model>
785     <path>Aircraft/PC-12/Models/light/StrobeLight.xml</path>
786     <offsets>
787       <x-m> -1.72053 </x-m>
788       <y-m> -7.60549 </y-m>
789       <z-m> -0.30948 </z-m>
790     </offsets>
791   </model>
792
793   <model>
794     <path>Aircraft/PC-12/Models/light/GreenLight.xml</path>
795     <offsets>
796       <x-m> -1.61083 </x-m>
797       <y-m>  7.75830 </y-m>
798       <z-m> -0.29886 </z-m>
799     </offsets>
800   </model>
801
802   <model>
803     <path>Aircraft/PC-12/Models/light/StrobeLight.xml</path>
804     <offsets>
805       <x-m> -1.57083 </x-m>
806       <y-m>  7.75830 </y-m>
807       <z-m> -0.29886 </z-m>
808    </offsets>
809   </model>
810
811   <!-- Gear light cone
812   <model>
813     <name>LightCone</name>
814     <path>Aircraft/PC-12/Models/light/light-cone.xml</path>
815     <offsets>
816       <x-m> -3.673 </x-m>
817       <y-m>  0.000 </y-m>
818       <z-m> -0.701 </z-m>
819       <pitch-deg> -7.5 </pitch-deg>
820     </offsets>
821   </model>
822
823   <animation>
824     <type>select</type>
825     <object-name>LightCone</object-name>
826     <condition>
827       <equals>
828         <property>controls/switches/landing-light</property>
829         <value> 1 </value>
830       </equals>
831     </condition>
832   </animation> -->
833
834 </PropertyList>