Debian Codegraph @

AI/Aircraft/Spitfire/Models/spitfire_model.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <!-- Spitfire IIa by Vivian Meazza
3 $Id$
4 -->
5
6 <PropertyList>
7
8 <path>spitfireIIa.ac</path>
9
10 <nasal>
11 <load>
12 print("LOAD Spitfire IIa ", cmdarg().getPath());
13 var self = cmdarg();
14 var aliases = [];
15 var generic_int = 0;
16 var generic_float = 0;
17 var generic_string = "";
18
19 for (i = 0; i &lt; 3; i += 1) {
20 j = i + 1;
21 var tyre_smoke = self.getNode("gear/gear[" ~ i ~ "]/tyre-smoke", 1);
22 generic_int = self.getNode("sim/multiplay/generic/int[" ~ j ~ "]", 1);
23 tyre_smoke.alias(generic_int);
24 append(aliases, tyre_smoke);
25 }
26
27 for (i = 0; i &lt; 3; i += 1) {
28 j = i ;
29 var spray_speed = self.getNode("gear/gear[" ~ i ~ "]/sprayspeed-ms", 1);
30 generic_float = self.getNode("sim/multiplay/generic/float[" ~ j ~ "]", 1);
31 spray_speed.alias(generic_float);
32 append(aliases, spray_speed);
33 }
34
35 for (i = 0; i &lt; 3; i += 1) {
36 j = i + 3;
37 var spray_density = self.getNode("gear/gear[" ~ i ~ "]/spray-density", 1);
38 generic_float = self.getNode("sim/multiplay/generic/float[" ~ j ~ "]", 1);
39 spray_density.alias(generic_float);
40 append(aliases, spray_density);
41 }
42
43 var engine_running = self.getNode("engines/engine[0]/running", 1);
44 generic_int = self.getNode("sim/multiplay/generic/int[0]", 1);
45 engine_running.alias(generic_int);
46 append(aliases, engine_running);
47
48 var height_agl = self.getNode("position/altitude-agl-ft", 1);
49 generic_float = self.getNode("sim/multiplay/generic/float[6]", 1);
50 height_agl.alias(generic_float);
51 append(aliases, height_agl);
52
53 var caster_angle = self.getNode("gear/gear[0]/caster-angle-deg", 1);
54 generic_float = self.getNode("sim/multiplay/generic/float[7]", 1);
55 caster_angle.alias(generic_float);
56 append(aliases, caster_angle);
57
58 var throttle = self.getNode("controls/engines/engine[0]/throttle", 1);
59 generic_float = self.getNode("sim/multiplay/generic/float[8]", 1);
60 throttle.alias(generic_float);
61 append(aliases, throttle);
62
63 var canopy = self.getNode("gear/canopy/position-norm", 1);
64 generic_float = self.getNode("sim/multiplay/generic/float[9]", 1);
65 canopy.alias(generic_float);
66 append(aliases, canopy);
67
68 var door = self.getNode("controls/flight/door-position-norm", 1);
69 generic_float = self.getNode("sim/multiplay/generic/float[10]", 1);
70 door.alias(generic_float);
71 append(aliases, door);
72
73 var dirt = self.getNode("sim/time/hobbs/engine[0]", 1);
74 generic_float = self.getNode("sim/multiplay/generic/float[11]", 1);
75 dirt.alias(generic_float);
76 append(aliases, dirt);
77
78 var rad_flap = self.getNode("engines/engine/rad-flap-norm", 1);
79 generic_float = self.getNode("sim/multiplay/generic/float[12]", 1);
80 rad_flap.alias(generic_float);
81 append(aliases, rad_flap);
82
83 var landing_light = self.getNode("controls/lighting/landing-light[0]", 1);
84 generic_int = self.getNode("sim/multiplay/generic/int[6]", 1);
85 landing_light.alias(generic_int);
86 append(aliases, landing_light);
87
88 var i = 0;
89 var j = 0;
90 </load>
91
92 <unload>
93 print("UNLOAD Spitfire IIa ", cmdarg().getPath());
94 foreach (var a; aliases)
95 a.unalias();
96 </unload>
97 </nasal>
98
99 <!-- Front hotspots -->
100 <!--<panel>
101 <path>Aircraft/Spitfire/Models/panel-hotspots.xml</path>
102 <bottom-left>
103 <x-m>3.265</x-m>
104 <y-m>-0.40</y-m>
105 <z-m>-0.10</z-m>
106 </bottom-left>
107 <bottom-right>
108 <x-m>3.265</x-m>
109 <y-m> 0.40</y-m>
110 <z-m>-0.10</z-m>
111 </bottom-right>
112 <top-left>
113 <x-m>3.265</x-m>
114 <y-m>-0.40</y-m>
115 <z-m> 0.70</z-m>
116 </top-left>
117 </panel>-->
118 <!-- ************* panel models ************* -->
119 <!-- blind flying instruments -->
120 <!--<model>
121 <path>Aircraft/Spitfire/Models/asi.xml</path>
122 <offsets>
123 <x-m>3.265</x-m>
124 <y-m>-0.10</y-m>
125 <z-m>0.28</z-m>
126 </offsets>
127 </model>
128 <model>
129 <path>Aircraft/Spitfire/Models/attitude.xml</path>
130 <name>Attitude</name>
131 <offsets>
132 <x-m>3.265</x-m>
133 <y-m>0.0</y-m>
134 <z-m>0.28</z-m>
135 </offsets>
136 </model>
137 <model>
138 <path>Aircraft/Spitfire/Models/vsi.xml</path>
139 <offsets>
140 <x-m>3.265</x-m>
141 <y-m>0.10</y-m>
142 <z-m>0.28</z-m>
143 </offsets>
144 </model>
145 <model>
146 <path>Aircraft/Spitfire/Models/altimeter.xml</path>
147 <name>Altimeter</name>
148 <offsets>
149 <x-m>3.265</x-m>
150 <y-m>-0.10</y-m>
151 <z-m>0.18</z-m>
152 </offsets>
153 </model>
154 <model>
155 <path>Aircraft/Spitfire/Models/compass.xml</path>
156 <offsets>
157 <x-m>3.265</x-m>
158 <y-m>0</y-m>
159 <z-m>0.18</z-m>
160 </offsets>
161 </model>
162 <model>
163 <path>Aircraft/Spitfire/Models/turn.xml</path>
164 <name>Turn</name>
165 <offsets>
166 <x-m>3.265</x-m>
167 <y-m>0.10</y-m>
168 <z-m>0.18</z-m>
169 </offsets>
170 </model>
171 --><!-- end blind flying instruments --><!--
172 --><!-- main panel --><!--
173 <model>
174 <path>Aircraft/Spitfire/Models/rgs-main-switch.xml</path>
175 <offsets>
176 <x-m>3.265</x-m>
177 <y-m>-0.09</y-m>
178 <z-m>0.38</z-m>
179 </offsets>
180 </model>
181 <model>
182 <path>Aircraft/Spitfire/Models/rgs-dimmer-switch.xml</path>
183 <offsets>
184 <x-m>3.265</x-m>
185 <y-m>-0.055</y-m>
186 <z-m>0.38</z-m>
187 </offsets>
188 </model>
189 --><!-- engine instruments --><!--
190 <model>
191 <path>Aircraft/Spitfire/Models/rpm.xml</path>
192 <offsets>
193 <x-m>3.265</x-m>
194 <y-m>0.19</y-m>
195 <z-m>0.32</z-m>
196 </offsets>
197 </model>
198 <model>
199 <path>Aircraft/Spitfire/Models/boost.xml</path>
200 <offsets>
201 <x-m>3.265</x-m>
202 <y-m>0.25</y-m>
203 <z-m>0.23</z-m>
204 </offsets>
205 </model>
206 <model>
207 <path>Aircraft/Spitfire/Models/oil-pressure.xml</path>
208 <offsets>
209 <x-m>3.265</x-m>
210 <y-m>0.17</y-m>
211 <z-m>0.15</z-m>
212 </offsets>
213 </model>
214 --><!----><!--
215 <model>
216 <path>Aircraft/Spitfire/Models/fuel.xml</path>
217 <offsets>
218 <x-m>3.265</x-m>
219 <y-m>0.27</y-m>
220 <z-m>0.08</z-m>
221 </offsets>
222 </model>
223 <model>
224 <path>Aircraft/Spitfire/Models/fuel-pressure.xml</path>
225 <offsets>
226 <x-m>3.265</x-m>
227 <y-m>0.17</y-m>
228 <z-m>0.23</z-m>
229 </offsets>
230 </model>
231 <model>
232 <path>Aircraft/Spitfire/Models/starter.xml</path>
233 <offsets>
234 <x-m>3.265</x-m>
235 <y-m>0.12</y-m>
236 <z-m>0.05</z-m>
237 </offsets>
238 </model>
239 <model>
240 <path>Aircraft/Spitfire/Models/ring-pull.xml</path>
241 <offsets>
242 <x-m>3.265</x-m>
243 <y-m>0.33</y-m>
244 <z-m>0.08</z-m>
245 </offsets>
246 </model>-->
247 <!--<model>
248 <path>Aircraft/Spitfire/Models/cut-off.xml</path>
249 <offsets>
250 <x-m>3.265</x-m>
251 <y-m>0.22</y-m>
252 <z-m>-0.05</z-m>
253 </offsets>
254 </model>
255 <model>
256 <path>Aircraft/Spitfire/Models/primer.xml</path>
257 <offsets>
258 <x-m>3.265</x-m>
259 <y-m>0.16</y-m>
260 <z-m>-0.06</z-m>
261 </offsets>
262 </model>
263 <model>
264 <path>Aircraft/Spitfire/Models/fuel-cocks.xml</path>
265 <offsets>
266 <x-m>3.265</x-m>
267 <y-m>0.09</y-m>
268 <z-m>-0.08</z-m>
269 </offsets>
270 </model>-->
271 <!-- end engine instruments -->
272 <!-- miscellaneous (left panel) instruments -->
273 <!--<model>
274 <path>Aircraft/Spitfire/Models/clock.xml</path>
275 <offsets>
276 <x-m>3.265</x-m>
277 <y-m>-0.29</y-m>
278 <z-m>0.19</z-m>
279 </offsets>
280 </model>
281 <model>
282 <path>Aircraft/Spitfire/Models/trim.xml</path>
283 <offsets>
284 <x-m>3.265</x-m>
285 <y-m>-0.19</y-m>
286 <z-m>0.13</z-m>
287 </offsets>
288 </model>
289 <model>
290 <path>Aircraft/Spitfire/Models/triple.xml</path>
291 <offsets>
292 <x-m>3.265</x-m>
293 <y-m>-0.25</y-m>
294 <z-m>0.05</z-m>
295 </offsets>
296 </model>-->
297 <!--<model>
298 <path>Aircraft/Spitfire/Models/magneto.xml</path>
299 <offsets>
300 <x-m>3.265</x-m>
301 <y-m>-0.32</y-m>
302 <z-m>0.08</z-m>
303 </offsets>
304 </model>
305 <model>
306 <path>Aircraft/Spitfire/Models/flaps.xml</path>
307 <offsets>
308 <x-m>3.265</x-m>
309 <y-m>-0.19</y-m>
310 <z-m>0.34</z-m>
311 </offsets>
312 </model>-->
313 <!--<model>
314 <path>Aircraft/Spitfire/Models/undercarriage-up-down.xml</path>
315 <name>Gear-Indicator</name>
316 <offsets>
317 <x-m>3.265</x-m>
318 <y-m>-0.20</y-m>
319 <z-m>0.22</z-m>
320 </offsets>
321 </model>
322 <model>
323 <path>Aircraft/Spitfire/Models/dimmer.xml</path>
324 <offsets>
325 <x-m>3.265</x-m>
326 <y-m>-0.06</y-m>
327 <z-m>0.05</z-m>
328 </offsets>
329 </model>
330
331 <model>
332 <path>Aircraft/Spitfire/Models/nav-light-switch.xml</path>
333 <offsets>
334 <x-m>3.265</x-m>
335 <y-m>-0.23</y-m>
336 <z-m>0.34</z-m>
337 </offsets>
338 </model>-->
339
340 <!-- ***** Navigation Lights ****** -->
341 <model>
342 <path>light-green.xml</path>
343 <name>Stbd-Light</name>
344 <offsets>
345 <x-m>2.35</x-m>
346 <y-m>5.4805</y-m>
347 <z-m>-0.26532</z-m>
348 </offsets>
349 </model>
350
351 <model>
352 <path>light-red.xml</path>
353 <name>Port-Light</name>
354 <offsets>
355 <x-m>2.35</x-m>
356 <y-m>-5.4805</y-m>
357 <z-m>-0.26532</z-m>
358 </offsets>
359 </model>
360
361 <model>
362 <path>light-white.xml</path>
363 <name>Tail-Light</name>
364 <offsets>
365 <x-m>9.05</x-m>
366 <y-m>0.0</y-m>
367 <z-m>0.837072</z-m>
368 </offsets>
369 </model>
370
371 <animation>
372 <type>select</type>
373 <object-name>Canopy-Main</object-name>
374 <object-name>Canopy-Rear</object-name>
375 <object-name>Canopy-FP</object-name>
376 <condition>
377 <less-than-equals>
378 <property>sim/model/rain/raining-norm</property>
379 <value>0.01</value>
380 </less-than-equals>
381 </condition>
382 </animation>
383 <!-- **************************** Pilot ******************************* -->
384
385 <!-- ***************** Flight Surfaces ************** -->
386 <!-- ailerons -->
387 <animation>
388 <type>rotate</type>
389 <object-name>Aileron-L</object-name>
390 <property>surface-positions/left-aileron-pos-norm</property>
391 <factor>-30</factor>
392 <axis>
393 <x1-m>3.49</x1-m>
394 <y1-m>-3.24</y1-m>
395 <z1-m>-0.54</z1-m>
396 <x2-m>3.27</x2-m>
397 <y2-m>-4.46</y2-m>
398 <z2-m>-0.39</z2-m>
399 </axis>
400 </animation>
401 <animation>
402 <type>rotate</type>
403 <object-name>Aileron-R</object-name>
404 <property>surface-positions/right-aileron-pos-norm</property>
405 <factor>30</factor>
406 <axis>
407 <x1-m>3.49</x1-m>
408 <y1-m>3.24</y1-m>
409 <z1-m>-0.54</z1-m>
410 <x2-m>3.27</x2-m>
411 <y2-m>4.46</y2-m>
412 <z2-m>-0.39</z2-m>
413 </axis>
414 </animation>
415 <!-- flaps -->
416 <animation>
417 <type>rotate</type>
418 <object-name>Flap-Inner-L</object-name>
419 <property>surface-positions/flap-pos-norm</property>
420 <factor>-86</factor>
421 <axis>
422 <x1-m>4.04</x1-m>
423 <y1-m>-0.37</y1-m>
424 <z1-m>-0.80</z1-m>
425 <x2-m>4.0</x2-m>
426 <y2-m>-0.77</y2-m>
427 <z2-m>-0.80</z2-m>
428 </axis>
429 </animation>
430 <animation>
431 <type>rotate</type>
432 <object-name>Flap-Inner-R</object-name>
433 <property>surface-positions/flap-pos-norm</property>
434 <factor>86</factor>
435 <axis>
436 <x1-m>4.04</x1-m>
437 <y1-m>0.37</y1-m>
438 <z1-m>-0.80</z1-m>
439 <x2-m>4.0</x2-m>
440 <y2-m>0.77</y2-m>
441 <z2-m>-0.80</z2-m>
442 </axis>
443 </animation>
444 <animation>
445 <type>rotate</type>
446 <object-name>Flap-Outer-L</object-name>
447 <property>surface-positions/flap-pos-norm</property>
448 <factor>-86</factor>
449 <axis>
450 <x1-m>4.0</x1-m>
451 <y1-m>-0.77</y1-m>
452 <z1-m>-0.80</z1-m>
453 <x2-m>3.89</x2-m>
454 <y2-m>-1.85</y2-m>
455 <z2-m>-0.71</z2-m>
456 </axis>
457 </animation>
458 <animation>
459 <type>rotate</type>
460 <object-name>Flap-Outer-R</object-name>
461 <property>surface-positions/flap-pos-norm</property>
462 <factor>86</factor>
463 <axis>
464 <x1-m>4.0</x1-m>
465 <y1-m>0.77</y1-m>
466 <z1-m>-0.80</z1-m>
467 <x2-m>3.89</x2-m>
468 <y2-m>1.85</y2-m>
469 <z2-m>-0.71</z2-m>
470 </axis>
471 </animation>
472 <!-- elevators -->
473 <animation>
474 <type>rotate</type>
475 <object-name>Elevator-L</object-name>
476 <property>surface-positions/elevator-pos-norm</property>
477 <factor>-15</factor>
478 <axis>
479 <x1-m>8.36</x1-m>
480 <y1-m>-0.05</y1-m>
481 <z1-m>0.23</z1-m>
482 <x2-m>8.37</x2-m>
483 <y2-m>-0.77</y2-m>
484 <z2-m>0.23</z2-m>
485 </axis>
486 </animation>
487 <animation>
488 <type>rotate</type>
489 <object-name>Elevator-R</object-name>
490 <property>surface-positions/elevator-pos-norm</property>
491 <factor>15</factor>
492 <axis>
493 <x1-m>8.36</x1-m>
494 <y1-m>0.05</y1-m>
495 <z1-m>0.23</z1-m>
496 <x2-m>8.37</x2-m>
497 <y2-m>0.77</y2-m>
498 <z2-m>0.23</z2-m>
499 </axis>
500 </animation>
501 <!-- rudder -->
502 <animation>
503 <type>rotate</type>
504 <object-name>Rudder</object-name>
505 <object-name>Tail-Light</object-name>
506 <property>surface-positions/rudder-pos-norm</property>
507 <factor>-15</factor>
508 <axis>
509 <x1-m>8.51</x1-m>
510 <y1-m>0.00</y1-m>
511 <z1-m>1.20</z1-m>
512 <x2-m>8.51</x2-m>
513 <y2-m>0.00</y2-m>
514 <z2-m>-0.29</z2-m>
515 </axis>
516 </animation>
517
518
519 <!-- ***** Propeller ***** -->
520 <animation>
521 <type>select</type>
522 <object-name>Propeller</object-name>
523 <condition>
524 <less-than>
525 <property>engines/engine[0]/rpm</property>
526 <value>1000</value>
527 </less-than>
528 </condition>
529 </animation>
530 <animation>
531 <type>spin</type>
532 <object-name>Propeller</object-name>
533 <property>engines/engine[0]/rpm</property>
534 <factor>0.477</factor>
535 <center>
536 <x-m>-0.40</x-m>
537 <y-m>0.0</y-m>
538 <z-m>0.0</z-m>
539 </center>
540 <axis>
541 <x>-1.0</x>
542 <y>0.0</y>
543 <z>0.0</z>
544 </axis>
545 </animation>
546 <animation>
547 <type>spin</type>
548 <object-name>Spinner</object-name>
549 <property>engines/engine[0]/rpm</property>
550 <factor>0.477</factor>
551 <center>
552 <x-m>-0.40</x-m>
553 <y-m>0.0</y-m>
554 <z-m>0.0</z-m>
555 </center>
556 <axis>
557 <x>-1.0</x>
558 <y>0.0</y>
559 <z>0.0</z>
560 </axis>
561 </animation>
562 <animation>
563 <type>select</type>
564 <object-name>PropellerDisk</object-name>
565 <condition>
566 <greater-than>
567 <property>engines/engine[0]/rpm</property>
568 <value>900</value>
569 </greater-than>
570 </condition>
571 </animation>
572 <animation>
573 <type>blend</type>
574 <object-name>PropellerDisk</object-name>
575 <property>engines/engine[0]/rpm</property>
576 <factor>0.0005</factor>
577 <offset>-0.5</offset>
578 <min>0.0</min>
579 <max>1</max>
580 </animation>
581
582 <!-- ****** Undercarriage ***** -->
583 <animation>
584 <type>rotate</type>
585 <object-name>Door-L</object-name>
586 <property>gear/gear[0]/position-norm</property>
587 <interpolation>
588 <entry>
589 <ind>0</ind>
590 <dep>0</dep>
591 </entry>
592 <entry>
593 <ind>1</ind>
594 <dep>96</dep>
595 </entry>
596 </interpolation>
597 <axis>
598 <x1-m>2.36</x1-m>
599 <y1-m>-0.67</y1-m>
600 <z1-m>-0.81</z1-m>
601 <x2-m>2.48</x2-m>
602 <y2-m>-0.64</y2-m>
603 <z2-m>-0.85</z2-m>
604 </axis>
605 </animation>
606 <animation>
607 <type>rotate</type>
608 <object-name>Door-R</object-name>
609 <property>gear/gear[1]/position-norm</property>
610 <interpolation>
611 <entry>
612 <ind>0</ind>
613 <dep>0</dep>
614 </entry>
615 <entry>
616 <ind>1</ind>
617 <dep>-96</dep>
618 </entry>
619 </interpolation>
620 <axis>
621 <x1-m>2.36</x1-m>
622 <y1-m>0.67</y1-m>
623 <z1-m>-0.81</z1-m>
624 <x2-m>2.48</x2-m>
625 <y2-m>0.64</y2-m>
626 <z2-m>-0.85</z2-m>
627 </axis>
628 </animation>
629 <animation>
630 <type>rotate</type>
631 <object-name>Leg-Assembly-L</object-name>
632 <property>gear/gear/position-norm</property>
633 <interpolation>
634 <entry>
635 <ind>0</ind>
636 <dep>-90.4</dep>
637 </entry>
638 <entry>
639 <ind>1</ind>
640 <dep>0</dep>
641 </entry>
642 </interpolation>
643 <axis>
644 <x1-m>2.43</x1-m>
645 <y1-m>-0.663</y1-m>
646 <z1-m>-0.75</z1-m>
647 <x2-m>2.53</x2-m>
648 <y2-m>-0.637</y2-m>
649 <z2-m>-0.785</z2-m>
650 </axis>
651 </animation>
652 <animation>
653 <type>rotate</type>
654 <object-name>Leg-Assembly-R</object-name>
655 <property>gear/gear[1]/position-norm</property>
656 <interpolation>
657 <entry>
658 <ind>0</ind>
659 <dep>90.4</dep>
660 </entry>
661 <entry>
662 <ind>1</ind>
663 <dep>0</dep>
664 </entry>
665 </interpolation>
666 <axis>
667 <x1-m>2.43</x1-m>
668 <y1-m>0.663</y1-m>
669 <z1-m>-0.75</z1-m>
670 <x2-m>2.53</x2-m>
671 <y2-m>0.637</y2-m>
672 <z2-m>-0.785</z2-m>
673 </axis>
674 </animation>
675 <!-- compression -->
676 <animation>
677 <type>translate</type>
678 <object-name>Leg-Lower-Assembly-L</object-name>
679 <property>gear/gear/compression-norm</property>
680 <factor>0.2</factor>
681 <axis>
682 <x>0.321</x>
683 <y>0.075</y>
684 <z>1</z>
685 </axis>
686 </animation>
687 <animation>
688 <type>translate</type>
689 <object-name>Leg-Lower-Assembly-R</object-name>
690 <property>gear/gear[1]/compression-norm</property>
691 <factor>0.2</factor>
692 <axis>
693 <x>0.321</x>
694 <y>-0.075</y>
695 <z>1</z>
696 </axis>
697 </animation>
698 <!-- tail wheel castering -->
699 <animation>
700 <type>rotate</type>
701 <object-name>Tail-Wheel-Assembly</object-name>
702 <property>gear/gear[2]/caster-angle-deg</property>
703 <factor>1</factor>
704 <center>
705 <x-m>8.27781</x-m>
706 <y-m>0</y-m>
707 <z-m>-0.502272</z-m>
708 </center>
709 <axis>
710 <x>0</x>
711 <y>0</y>
712 <z>1</z>
713 </axis>
714 </animation>
715
716 <animation>
717 <type>spin</type>
718 <object-name>Wheel-T</object-name>
719 <property>gear/gear[2]/rollspeed-ms</property>
720 <factor>67.24857</factor>
721 <axis>
722 <x1-m>8.48803</x1-m>
723 <y1-m>0.0295732</y1-m>
724 <z1-m>-0.519478</z1-m>
725 <x2-m>8.48803</x2-m>
726 <y2-m>-0.0295656</y2-m>
727 <z2-m>-0.519002</z2-m>
728 </axis>
729 </animation>
730
731 <animation>
732 <type>spin</type>
733 <object-name>Wheel-L</object-name>
734 <property>gear/gear[0]/rollspeed-ms</property>
735 <factor>29.794997</factor>
736 <axis>
737 <x1-m>2.1962</x1-m>
738 <y1-m>-0.796587</y1-m>
739 <z1-m>-1.66508</z1-m>
740 <x2-m>2.1962</x2-m>
741 <y2-m>-0.929497</y2-m>
742 <z2-m>-1.67797</z2-m>
743 </axis>
744 </animation>
745 <animation>
746 <type>spin</type>
747 <object-name>Wheel-R</object-name>
748 <property>gear/gear[1]/rollspeed-ms</property>
749 <factor>-29.794997</factor>
750 <axis>
751 <x1-m>2.1962</x1-m>
752 <y1-m>0.796587</y1-m>
753 <z1-m>-1.66508</z1-m>
754 <x2-m>2.1962</x2-m>
755 <y2-m>0.929497</y2-m>
756 <z2-m>-1.67797</z2-m>
757 </axis>
758 </animation>
759
760 <!-- Radiator Duct -->
761 <animation>
762 <type>rotate</type>
763 <object-name>Flap</object-name>
764 <property>engines/engine/cowl-flaps-norm</property>
765 <factor>90</factor>
766 <axis>
767 <x1-m>3.46</x1-m>
768 <y1-m>0.52</y1-m>
769 <z1-m>-1.04</z1-m>
770 <x2-m>3.45</x2-m>
771 <y2-m>1.17</y2-m>
772 <z2-m>-1.03</z2-m>
773 </axis>
774 </animation>
775
776 <!-- ***************** Canopy *********************** -->
777 <animation>
778 <type>translate</type>
779 <object-name>Canopy-Main</object-name>
780 <object-name>Frame-Main</object-name>
781 <property>gear/canopy/position-norm</property>
782 <factor>0.575</factor>
783 <axis>
784 <x>1</x>
785 <y>0</y>
786 <z>0</z>
787 </axis>
788 </animation>
789
790 <!-- ***************** Door *********************** -->
791 <animation>
792 <type>rotate</type>
793 <object-name>Door</object-name>
794 <property>controls/flight/door-position-norm</property>
795 <interpolation>
796 <entry>
797 <ind>0</ind>
798 <dep>0</dep>
799 </entry>
800 <entry>
801 <ind>1</ind>
802 <dep>-170</dep>
803 </entry>
804 </interpolation>
805 <axis>
806 <x1-m>4.17</x1-m>
807 <y1-m>-0.42</y1-m>
808 <z1-m>-0.050</z1-m>
809 <x2-m>3.72</x2-m>
810 <y2-m>-0.42</y2-m>
811 <z2-m>-0.050</z2-m>
812 </axis>
813 </animation>
814
815 <!-- ***************** Radiator Flap*********************** -->
816 <animation>
817 <type>rotate</type>
818 <object-name>Lever-Rad-Flap</object-name>
819 <property>controls/engines/engine/cowl-flaps-norm</property>
820 <interpolation>
821 <entry>
822 <ind>0</ind>
823 <dep>0</dep>
824 </entry>
825 <entry>
826 <ind>1</ind>
827 <dep>-90</dep>
828 </entry>
829 </interpolation>
830 <axis>
831 <x1-m>3.74</x1-m>
832 <y1-m>0.19</y1-m>
833 <z1-m>-0.80</z1-m>
834 <x2-m>3.74</x2-m>
835 <y2-m>-0.19</y2-m>
836 <z2-m>-0.80</z2-m>
837 </axis>
838 </animation>
839 <!--
840 <animation>
841 <type>select</type>
842 <object-name>TailNavLightOn</object-name>
843 <condition>
844 <property>controls/lighting/nav-lights</property>
845 </condition>
846 </animation>
847
848 <animation>
849 <name>BeaconFlasher</name>
850 <type>timed</type>
851 <object-name>BeaconOff</object-name>
852 <object-name>BeaconOn</object-name>
853 <duration-sec>1.0</duration-sec>
854 </animation>
855
856 <animation>
857 <type>select</type>
858 <object-name>BeaconFlasher</object-name>
859 <condition>
860 <property>controls/lighting/beacon</property>
861 </condition>
862 </animation>
863 -->
864
865 <!-- ========== Dirt textures ========= -->
866
867 <animation>
868 <type>material</type>
869 <object-name>Dirt-Exhaust</object-name>
870 <nopreview/>
871 <transparency>
872 <alpha-prop>sim/time/hobbs/engine[0]</alpha-prop>
873 <factor>0.00027</factor>
874 <offset>0</offset>
875 <max>0.7</max>
876 <min>0.0075</min>
877 </transparency>
878 <!--<threshold>0.001</threshold>-->
879 </animation>
880
881 <animation>
882 <type>material</type>
883 <object-name>Dirt-Oil</object-name>
884 <nopreview/>
885 <transparency>
886 <alpha-prop>sim/time/hobbs/engine[0]</alpha-prop>
887 <factor>0.00027</factor>
888 <offset>0</offset>
889 <max>0.9</max>
890 <min>0.0075</min>
891 </transparency>
892 <!--<threshold>0.001</threshold>-->
893 </animation>
894
895 <!-- ============= Rain Animations ============= -->
896
897 <model>
898 <path>Aircraft/Generic/Effects/tyre-smoke-port.xml</path>
899 <name>tyre-smoke-p</name>
900 <offsets>
901 <x-m>2.3191</x-m>
902 <y-m>-0.831494</y-m>
903 <z-m>-1.96577</z-m>
904 </offsets>
905 </model>
906
907 <model>
908 <path>Aircraft/Generic/Effects/tyre-smoke-stbd.xml</path>
909 <name>tyre-smoke-s</name>
910 <offsets>
911 <x-m>2.3191</x-m>
912 <y-m>0.831494</y-m>
913 <z-m>-1.96577</z-m>
914 </offsets>
915 </model>
916
917 <model>
918 <path>Aircraft/Generic/Effects/rain-port.xml</path>
919 <name>rain-p</name>
920 <offsets>
921 <offsets>
922 <x-m>2.3191</x-m>
923 <y-m>-0.831494</y-m>
924 <z-m>-1.96577</z-m>
925 </offsets>
926 </offsets>
927 </model>
928
929 <model>
930 <path>Aircraft/Generic/Effects/rain-stbd.xml</path>
931 <name>rain-s</name>
932 <offsets>
933 <x-m>2.3191</x-m>
934 <y-m>0.831494</y-m>
935 <z-m>-1.96577</z-m>
936 </offsets>
937 </model>
938
939 <model>
940 <path>Aircraft/Generic/Effects/rain-tail.xml</path>
941 <name>rain-t</name>
942 <offsets>
943 <x-m>8.56606</x-m>
944 <y-m>0</y-m>
945 <z-m>-0.94651</z-m>
946 </offsets>
947 </model>
948
949 <animation>
950 <type>shader</type>
951 <shader>chrome</shader>
952 <texture>Aircraft/Generic/Effects/glass_shader.png</texture>
953 <object-name>Canopy-Main</object-name>
954 <object-name>Canopy-Rear</object-name>
955 <object-name>Canopy-F</object-name>
956 </animation>
957
958 </PropertyList>