Debian Codegraph @

Aircraft/c172p/Models/c172p.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <PropertyList>
4
5 <path>c172-common.ac</path>
6
7 <offsets>
8 <pitch-deg>-3.0</pitch-deg>
9 <!-- <z-m>-0.065</z-m> -->
10 </offsets>
11
12 <!-- The human models depend on some properties (sim/model/crew/).
13 Since the properties never change, we can just directly add it
14 to the /ai/model/multiplay[i] tree.
15 -->
16 <multiplay>
17 <sim>
18 <model>
19 <crew>
20 <pilot n="0">
21 <pose include="Aircraft/c172p/Models/Human/pose-pilot.xml"/>
22 <character>0</character>
23 <outfit>0</outfit>
24 <equipment>0</equipment>
25 </pilot>
26 <pilot n="1">
27 <pose include="Aircraft/c172p/Models/Human/pose-copilot.xml"/>
28 <character>0</character>
29 <outfit>0</outfit>
30 <equipment>0</equipment>
31 </pilot>
32 </crew>
33 </model>
34 </sim>
35 </multiplay>
36
37 <!-- Multiplayer Sound -->
38 <sound><path>Aircraft/c172p/c172-sound-multiplayer.xml</path></sound>
39
40 <model>
41 <name>Damage</name>
42 <path>Effects/damage/damage.xml</path>
43 <offsets>
44 <x-m>0.0</x-m>
45 <y-m>0.0</y-m>
46 <z-m>0.0</z-m>
47 <pitch-deg>0</pitch-deg>
48 </offsets>
49 </model>
50
51 <model>
52 <name>PontoonDamage</name>
53 <path>Effects/damage/pontoondamage.xml</path>
54 <offsets>
55 <x-m>0.0</x-m>
56 <y-m>0.0</y-m>
57 <z-m>0.0</z-m>
58 <pitch-deg>0</pitch-deg>
59 </offsets>
60 </model>
61
62 <model>
63 <name>SkiDamage</name>
64 <path>Effects/damage/skidamage.xml</path>
65 <offsets>
66 <x-m>0.0</x-m>
67 <y-m>0.0</y-m>
68 <z-m>0.0</z-m>
69 <pitch-deg>0</pitch-deg>
70 </offsets>
71 </model>
72
73 <model>
74 <name>Bushkit</name>
75 <path>Effects/bushkit/bushkit.xml</path>
76 <offsets>
77 <x-m>0.0</x-m>
78 <y-m>0.0</y-m>
79 <z-m>0.0</z-m>
80 <pitch-deg>0</pitch-deg>
81 </offsets>
82 </model>
83
84 <model>
85 <name>Pontoon</name>
86 <path>Effects/pontoon/pontoon.xml</path>
87 <offsets>
88 <x-m>0.0</x-m>
89 <y-m>0.0</y-m>
90 <z-m>0.0</z-m>
91 <pitch-deg>0</pitch-deg>
92 </offsets>
93 </model>
94
95 <model>
96 <name>Skis</name>
97 <path>Effects/skis/skis.xml</path>
98 <offsets>
99 <x-m>0.0</x-m>
100 <y-m>0.0</y-m>
101 <z-m>0.0</z-m>
102 <pitch-deg>0</pitch-deg>
103 </offsets>
104 </model>
105
106 <nasal>
107 <load>
108 var rplayer = cmdarg();
109
110 # Beacon and strobes lighting
111 var lighting_beacon_enabled = rplayer.getNode("sim/multiplay/generic/int[12]").getPath();
112 var lighting_strobes_enabled = rplayer.getNode("sim/multiplay/generic/int[13]").getPath();
113
114 var lighting_beacon_state = rplayer.getNode("sim/model/c172p/lighting/beacon").getPath();
115 var lighting_strobes_state = rplayer.getNode("sim/model/c172p/lighting/strobes").getPath();
116
117 aircraft.light.new(lighting_beacon_state, [0.10, 0.90], lighting_beacon_enabled);
118 aircraft.light.new(lighting_strobes_state, [0.015, 1.985], lighting_strobes_enabled);
119
120
121 # Update the selected livery
122 var livery_update = aircraft.livery_update.new(
123 "Aircraft/c172p/Models/Liveries", 10,
124 func {
125 print("c172p livery update");
126 set_registration_number(rplayer, rplayer.getNode("sim/multiplay/generic/string[0]").getValue());
127 });
128
129
130 # Show Registration
131 io.include("Aircraft/c172p/Nasal/registration_number.nas");
132 initC172ImmatCanvas(_module_id);
133 var regnum_path = rplayer.getNode("sim/multiplay/generic/string[0]").getPath();
134 setlistener(regnum_path, func (node) {
135 set_registration_number(rplayer, node.getValue());
136 }, 1, 0);
137
138
139
140 # Passengers
141 var pax_state_path = rplayer.getNode("sim/multiplay/generic/int[16]").getPath();
142
143 var co_pilot = rplayer.initNode("pax/co-pilot/present", 0, "BOOL");
144 var left_passenger = rplayer.initNode("pax/left-passenger/present", 0, "BOOL");
145 var right_passenger = rplayer.initNode("pax/right-passenger/present", 0, "BOOL");
146 var pilot = rplayer.initNode("pax/pilot/present", 0, "BOOL");
147
148 setlistener(pax_state_path, func (node) {
149 var state = node.getValue();
150 co_pilot.setBoolValue(bits.test(state, 0));
151 left_passenger.setBoolValue(bits.test(state, 1));
152 right_passenger.setBoolValue(bits.test(state, 2));
153 pilot.setBoolValue(bits.test(state, 3));
154 }, 1, 0);
155
156 # Securing attributes
157 var securing_state_path = rplayer.getNode("sim/multiplay/generic/int[9]").getPath();
158
159 var pitot_cover = rplayer.initNode("sim/model/c172p/securing/pitot-cover-visible", 0, "BOOL");
160 var cowl_plugs = rplayer.initNode("sim/model/c172p/securing/cowl-plugs-visible", 0, "BOOL");
161 var wheel_chock = rplayer.initNode("sim/model/c172p/securing/chock-visible", 0, "BOOL");
162 var left_tiedown = rplayer.initNode("sim/model/c172p/securing/tiedownL-visible", 0, "BOOL");
163 var right_tiedown = rplayer.initNode("sim/model/c172p/securing/tiedownR-visible", 0, "BOOL");
164 var tail_tiedown = rplayer.initNode("sim/model/c172p/securing/tiedownT-visible", 0, "BOOL");
165
166 setlistener(securing_state_path, func (node) {
167 var state = node.getValue();
168 pitot_cover.setBoolValue(bits.test(state, 0));
169 wheel_chock.setBoolValue(bits.test(state, 1));
170 left_tiedown.setBoolValue(bits.test(state, 2));
171 right_tiedown.setBoolValue(bits.test(state, 3));
172 tail_tiedown.setBoolValue(bits.test(state, 4));
173 cowl_plugs.setBoolValue(bits.test(state, 5));
174 }, 1, 0);
175
176 # Make sure human occupants are always visible in remote aircraft
177 rplayer.initNode("sim/model/occupants", 1, "BOOL");
178
179 # Disable ALS 3D shadow for remote aircraft because of issue #387
180 #rplayer.initNode("sim/rendering/shadow-volume", 0, "BOOL");
181
182 # Gear
183 rplayer.initNode("sim/multiplay/generic/int[6]", 0, "BOOL");
184 rplayer.initNode("sim/multiplay/generic/int[7]", 0, "BOOL");
185 rplayer.initNode("sim/multiplay/generic/int[8]", 0, "BOOL");
186
187 # Bush kit
188 rplayer.initNode("sim/model/variant", 0, "INT");
189
190 # Glass Cockpit
191 rplayer.initNode("sim/multiplay/generic/bool[1]", 0, "BOOL");
192
193 # Damage
194 var wings_collapsed = rplayer.initNode("sim/multiplay/generic/int[15]", 0, "INT");
195 var wing_left_state = rplayer.initNode("sim/multiplay/generic/int[18]", 0, "INT");
196 var wing_right_state = rplayer.initNode("sim/multiplay/generic/int[19]", 0, "INT");
197
198 var move_nav_light_left = rplayer.initNode("sim/model/c172p/lighting/nav-lights/left-damaged", 0, "BOOL");
199 var move_nav_light_right = rplayer.initNode("sim/model/c172p/lighting/nav-lights/right-damaged", 0, "BOOL");
200
201 setlistener(wing_left_state.getPath(), func (node) {
202 var move = node.getValue() == 2 and !wings_collapsed.getBoolValue();
203 move_nav_light_left.setBoolValue(move);
204 }, 1, 0);
205
206 setlistener(wing_right_state.getPath(), func (node) {
207 var move = node.getValue() == 2 and !wings_collapsed.getBoolValue();
208 move_nav_light_right.setBoolValue(move);
209 }, 1, 0);
210
211 setlistener(wings_collapsed.getPath(), func (node) {
212 var move = wing_left_state.getValue() == 2 and !node.getBoolValue();
213 move_nav_light_left.setBoolValue(move);
214
215 var move = wing_right_state.getValue() == 2 and !node.getBoolValue();
216 move_nav_light_right.setBoolValue(move);
217 }, 1, 0);
218 </load>
219 <unload>
220 livery_update.stop();
221 </unload>
222 </nasal>
223
224 <params>
225 <lighting>
226 <navigation>sim/multiplay/generic/int[14]</navigation>
227 <beacon>sim/model/c172p/lighting/beacon/state</beacon>
228 <strobes>sim/model/c172p/lighting/strobes/state</strobes>
229 <taxi>
230 <property>sim/multiplay/generic/int[4]</property>
231 </taxi>
232 <landing>
233 <property>sim/multiplay/generic/int[5]</property>
234 </landing>
235 </lighting>
236 <doors>
237 <left>
238 <property>sim/multiplay/generic/float[1]</property>
239 </left>
240 <right>
241 <property>sim/multiplay/generic/float[0]</property>
242 </right>
243 <baggage>
244 <property>sim/multiplay/generic/float[2]</property>
245 </baggage>
246 <oil>
247 <property>sim/multiplay/generic/float[18]</property>
248 </oil>
249 <glovebox>
250 <property>sim/multiplay/generic/float[19]</property>
251 </glovebox>
252 </doors>
253 <windows>
254 <left>sim/multiplay/generic/float[3]</left>
255 <right>sim/multiplay/generic/float[4]</right>
256 </windows>
257 <crash>
258 <property>sim/multiplay/generic/int[15]</property>
259 </crash>
260 <gear_nose_broken>
261 <property>sim/multiplay/generic/int[6]</property>
262 </gear_nose_broken>
263 <gear_left_broken>
264 <property>sim/multiplay/generic/int[7]</property>
265 </gear_left_broken>
266 <gear_right_broken>
267 <property>sim/multiplay/generic/int[8]</property>
268 </gear_right_broken>
269 <bushkit>sim/model/variant</bushkit>
270 <gear-ski>
271 <ski-nose-rollspeed-ms>rotors/main/blade[0]/position-deg</ski-nose-rollspeed-ms>
272 <ski-left-rollspeed-ms>rotors/main/blade[1]/position-deg</ski-left-rollspeed-ms>
273 <ski-right-rollspeed-ms>rotors/main/blade[2]/position-deg</ski-right-rollspeed-ms>
274 </gear-ski>
275
276 <!-- 0 = normal, 1 = broken, 2 = damaged -->
277 <pontoon_left_damaged>
278 <property>sim/multiplay/generic/int[10]</property>
279 </pontoon_left_damaged>
280 <pontoon_right_damaged>
281 <property>sim/multiplay/generic/int[11]</property>
282 </pontoon_right_damaged>
283
284 <!-- 0 = normal, 1 = broken, 2 = damaged -->
285 <wing_left_damaged>
286 <property>sim/multiplay/generic/int[18]</property>
287 </wing_left_damaged>
288 <wing_right_damaged>
289 <property>sim/multiplay/generic/int[19]</property>
290 </wing_right_damaged>
291
292 <gear>
293 <nose-rollspeed-ms>engines/engine[7]/rpm</nose-rollspeed-ms>
294 <left-rollspeed-ms>engines/engine[7]/n1</left-rollspeed-ms>
295 <right-rollspeed-ms>engines/engine[7]/n2</right-rollspeed-ms>
296 </gear>
297 <gear-amphibious>
298 <front-left-compression-ft>engines/engine[3]/n1</front-left-compression-ft>
299 <front-left-position-norm>engines/engine[3]/n2</front-left-position-norm>
300 <front-left-rollspeed-ms>engines/engine[3]/rpm</front-left-rollspeed-ms>
301 <front-right-compression-ft>engines/engine[4]/n1</front-right-compression-ft>
302 <front-right-position-norm>engines/engine[4]/n2</front-right-position-norm>
303 <front-right-rollspeed-ms>engines/engine[4]/rpm</front-right-rollspeed-ms>
304 <rear-left-compression-ft>engines/engine[5]/n1</rear-left-compression-ft>
305 <rear-left-position-norm>engines/engine[5]/n2</rear-left-position-norm>
306 <rear-left-rollspeed-ms>engines/engine[5]/rpm</rear-left-rollspeed-ms>
307 <rear-right-compression-ft>engines/engine[6]/n1</rear-right-compression-ft>
308 <rear-right-position-norm>engines/engine[6]/n2</rear-right-position-norm>
309 <rear-right-rollspeed-ms>engines/engine[6]/rpm</rear-right-rollspeed-ms>
310 </gear-amphibious>
311
312 <water-rudder-norm>sim/multiplay/generic/float[5]</water-rudder-norm>
313 <engine>
314 <rpm>engines/engine[2]/rpm</rpm>
315 <crashed>sim/multiplay/generic/int[3]</crashed>
316 </engine>
317
318 <securing>
319 <pitot-cover>sim/model/c172p/securing/pitot-cover-visible</pitot-cover>
320 <chocks>sim/model/c172p/securing/chock-visible</chocks>
321 <cowl-plugs>sim/model/c172p/securing/cowl-plugs-visible</cowl-plugs>
322 <tiedowns>
323 <left>
324 <visible>sim/model/c172p/securing/tiedownL-visible</visible>
325 </left>
326 <right>
327 <visible>sim/model/c172p/securing/tiedownR-visible</visible>
328 </right>
329 <tail>
330 <visible>sim/model/c172p/securing/tiedownT-visible</visible>
331 </tail>
332 </tiedowns>
333 </securing>
334
335 <!-- TODO To be made MP properties in the future when we get passengers or dual-control -->
336 <controls>
337 <throttle>controls/engines/current-engine/throttle</throttle>
338 <altstaticair>systems/static-selected-source</altstaticair>
339 <mixture>controls/engines/current-engine/mixture</mixture>
340 <carb-heat>controls/engines/current-engine/carb-heat</carb-heat>
341 <parking-lever>sim/model/c172p/cockpit/parking-lever</parking-lever>
342 <carb-heat-animation>sim/model/c172p/cockpit/carb-heat-animation</carb-heat-animation>
343 <primer-lever-animation>sim/model/c172p/cockpit/primer-lever-animation</primer-lever-animation>
344 <water-rudder-animation>sim/model/c172p/cockpit/water-rudder-animation</water-rudder-animation>
345 </controls>
346 <air-vents>
347 <front-left>controls/climate-control/overhead-vent-front-left</front-left>
348 <front-right>controls/climate-control/overhead-vent-front-right</front-right>
349 </air-vents>
350 <glass>sim/multiplay/generic/bool[1]</glass>
351 </params>
352
353 <!-- exterior effects -->
354 <!-- Normal shader effect. Separate effects required for each normal map and dirt texture -->
355 <effect>
356 <inherits-from>Effects/exterior/dirt-leading-edge</inherits-from>
357 <object-name>wing_leading_edge_left</object-name>
358 <object-name>wing_leading_edge_right</object-name>
359 <object-name>wing_leading_edge_center</object-name>
360 </effect>
361 <effect>
362 <inherits-from>Effects/exterior/dirt-wing</inherits-from>
363 <object-name>flaps</object-name>
364 <object-name>leftaileron</object-name>
365 <object-name>rightaileron</object-name>
366 <object-name>wing_left</object-name>
367 <object-name>wing_center</object-name>
368 <object-name>wing_right</object-name>
369 <object-name>PitotTube</object-name>
370 <object-name>courtesyoff</object-name>
371 </effect>
372 <effect>
373 <inherits-from>Effects/exterior/dirt-fuselage</inherits-from>
374 <object-name>NoseWheelStrut</object-name>
375 <object-name>LeftWheelStrut</object-name>
376 <object-name>RightWheelStrut</object-name>
377 <object-name>baggagedoorexterior</object-name>
378 <object-name>baggagedoorhandle</object-name>
379 <object-name>charniere1</object-name>
380 <object-name>charniere2</object-name>
381 <object-name>charniere3</object-name>
382 <object-name>charniere4</object-name>
383 <object-name>fairing1</object-name>
384 <object-name>fairing2</object-name>
385 <object-name>fairing3</object-name>
386 <object-name>fuselage</object-name>
387 <object-name>fuselage_cowling</object-name>
388 <object-name>fuselage_cowling_top</object-name>
389 <object-name>leftdoor</object-name>
390 <object-name>leftdoorhandle</object-name>
391 <object-name>rightdoor</object-name>
392 <object-name>rightdoorhandle</object-name>
393 <object-name>Spinner</object-name>
394 <object-name>Propeller</object-name>
395 <object-name>NoseWheel</object-name>
396 <object-name>LeftWheel</object-name>
397 <object-name>RightWheel</object-name>
398 <object-name>LeftWheelBrake</object-name>
399 <object-name>RightWheelBrake</object-name>
400 <object-name>radi_box</object-name>
401 <object-name>TieDownTail</object-name>
402 <object-name>TieDownRight</object-name>
403 <object-name>TieDownLeft</object-name>
404 <object-name>TransponderAntenna</object-name>
405 <object-name>MarkerAntenna</object-name>
406 <object-name>Antenna_ADF</object-name>
407 <object-name>Antenna_VOR</object-name>
408 <object-name>VHFAntenna</object-name>
409 <object-name>ELTAntenna</object-name>
410 <object-name>BeaconMount</object-name>
411 <object-name>Beacon</object-name>
412 <object-name>Exhaust</object-name>
413 <object-name>Axle</object-name>
414 <object-name>ruddercableleft</object-name>
415 <object-name>ruddercableright</object-name>
416 <object-name>ruddercableports</object-name>
417 <object-name>ruddercablelefthinge</object-name>
418 <object-name>ruddercablerighthinge</object-name>
419 <object-name>windowframeleftext</object-name>
420 <object-name>windowframerightext</object-name>
421 <object-name>oildoor</object-name>
422 <object-name>vent</object-name>
423 <object-name>handle</object-name>
424 <object-name>airvent</object-name>
425 <object-name>LeftNavLight</object-name>
426 <object-name>RightNavLight</object-name>
427 <object-name>fuelvent</object-name>
428 <object-name>CowlPlugs</object-name>
429 <object-name>PropellerCowlPlugs</object-name>
430 <object-name>cowlgrill</object-name>
431 <object-name>cowlgrillplate</object-name>
432 </effect>
433
434 <effect>
435 <inherits-from>Effects/exterior/bumpspec</inherits-from>
436 <object-name>oilcompartment</object-name>
437 <object-name>OilCap</object-name>
438 <object-name>wing_0</object-name>
439 <object-name>wing_1Ledge</object-name>
440 <object-name>wing_1Redge</object-name>
441 <object-name>FuelCapPort</object-name>
442 <object-name>FuelCapStarboard</object-name>
443 <object-name>fuelportport</object-name>
444 <object-name>fuelportstarboard</object-name>
445 <object-name>fuelcompartment</object-name>
446 <object-name>lighttaxi</object-name>
447 <object-name>lightlanding</object-name>
448 </effect>
449
450 <effect>
451 <inherits-from>Effects/exterior/dirt-tail</inherits-from>
452 <object-name>elevatorleft</object-name>
453 <object-name>elevatorright</object-name>
454 <object-name>elevatortrim</object-name>
455 <object-name>hstab</object-name>
456 <object-name>rudder_1</object-name>
457 <object-name>vstab</object-name>
458 <object-name>RearNavLight</object-name>
459 </effect>
460
461 <effect>
462 <inherits-from>Effects/model-transparent</inherits-from>
463 <object-name>BeaconOffX</object-name>
464 <object-name>BeaconOff</object-name>
465 <object-name>Propeller.Fast</object-name>
466 <object-name>navlight_left</object-name>
467 <object-name>navlight_right</object-name>
468 <object-name>navlight_back</object-name>
469 </effect>
470
471 <effect>
472 <inherits-from>Effects/exterior/exterior-glass-reflection</inherits-from>
473 <object-name>glas</object-name>
474 <object-name>leftwindow</object-name>
475 <object-name>rightwindow</object-name>
476 <object-name>landinglightcover</object-name>
477 </effect>
478
479 <!-- Specularity fix -->
480 <animation>
481 <type>material</type>
482 <object-name>LeftWheelStrut</object-name>
483 <object-name>RightWheelStrut</object-name>
484 <object-name>LeftWheelBrake</object-name>
485 <object-name>RightWheelBrake</object-name>
486 <object-name>baggagedoorexterior</object-name>
487 <object-name>elevatorleft</object-name>
488 <object-name>elevatorright</object-name>
489 <object-name>elevatortrim</object-name>
490 <object-name>fairing1</object-name>
491 <object-name>fairing2</object-name>
492 <object-name>fairing3</object-name>
493 <object-name>Axle</object-name>
494 <object-name>flaps</object-name>
495 <object-name>fuselage</object-name>
496 <object-name>fuselage_cowling</object-name>
497 <object-name>fuselage_cowling_top</object-name>
498 <object-name>hstab</object-name>
499 <object-name>leftaileron</object-name>
500 <object-name>leftdoor</object-name>
501 <object-name>rightaileron</object-name>
502 <object-name>rightdoor</object-name>
503 <object-name>rudder_1</object-name>
504 <object-name>vstab</object-name>
505 <object-name>wing_left</object-name>
506 <object-name>wing_center</object-name>
507 <object-name>wing_right</object-name>
508 <object-name>wing_leading_edge_left</object-name>
509 <object-name>wing_leading_edge_right</object-name>
510 <object-name>wing_leading_edge_center</object-name>
511 <object-name>wing_1Ledge</object-name>
512 <object-name>wing_1Redge</object-name>
513 <object-name>Spinner</object-name>
514 <object-name>radi_box</object-name>
515 <object-name>ruddercableports</object-name>
516 <object-name>ruddercablelefthinge</object-name>
517 <object-name>ruddercablerighthinge</object-name>
518 <object-name>oildoor</object-name>
519 <object-name>vent</object-name>
520 <object-name>airvent</object-name>
521 <object-name>fuelvent</object-name>
522 <object-name>Antenna_ADF</object-name>
523 <object-name>CowlPlugs</object-name>
524 <object-name>PropellerCowlPlugs</object-name>
525 <object-name>cowlgrill</object-name>
526 <object-name>cowlgrillplate</object-name>
527 <shininess>116</shininess>
528 <specular>
529 <r>1</r>
530 <g>1</g>
531 <b>1</b>
532 </specular>
533 <ambient>
534 <r>1</r>
535 <g>1</g>
536 <b>1</b>
537 </ambient>
538 </animation>
539
540 <!-- Specularity fix -->
541 <animation>
542 <type>material</type>
543 <object-name>charniere1</object-name>
544 <object-name>charniere2</object-name>
545 <object-name>charniere3</object-name>
546 <object-name>charniere4</object-name>
547 <object-name>NoseWheelStrut</object-name>
548 <object-name>leftdoorhandle</object-name>
549 <object-name>rightdoorhandle</object-name>
550 <object-name>baggagedoorhandle</object-name>
551 <object-name>windowframeleftext</object-name>
552 <object-name>windowframerightext</object-name>
553 <object-name>FuelCapPort</object-name>
554 <object-name>FuelCapStarboard</object-name>
555 <object-name>OilCap</object-name>
556 <object-name>handle</object-name>
557 <object-name>BeaconMount</object-name>
558 <object-name>Beacon</object-name>
559 <object-name>courtesyoff</object-name>
560 <object-name>lighttaxi</object-name>
561 <object-name>lightlanding</object-name>
562 <object-name>LeftNavLight</object-name>
563 <object-name>RightNavLight</object-name>
564 <object-name>RearNavLight</object-name>
565 <shininess>128</shininess>
566 <specular>
567 <r>1</r>
568 <g>1</g>
569 <b>1</b>
570 </specular>
571 <ambient>
572 <r>1</r>
573 <g>1</g>
574 <b>1</b>
575 </ambient>
576 </animation>
577
578 <!-- interior effects -->
579 <effect>
580 <inherits-from>Effects/interior/c172p-interior</inherits-from>
581 <object-name>wing_1C</object-name>
582 <object-name>SeatMounts.0</object-name>
583 <object-name>SeatMounts.1</object-name>
584 <object-name>SeatMounts.2</object-name>
585 </effect>
586 <effect>
587 <inherits-from>Aircraft/c172p/Models/Effects/interior/lm-interior-panel-parts</inherits-from>
588 <object-name>gloveboxlock</object-name>
589 </effect>
590 <effect>
591 <inherits-from>Aircraft/c172p/Models/Effects/interior/lm-interior-panel</inherits-from>
592 <object-name>gloveboxdoor</object-name>
593 </effect>
594
595 <effect>
596 <inherits-from>Effects/interior/c172p-interior-glass-front</inherits-from>
597 <object-name>glas_interior</object-name>
598 </effect>
599 <effect>
600 <inherits-from>Effects/interior/c172p-interior-glass-front-left-side</inherits-from>
601 <object-name>glas_front_interior_left_side</object-name>
602 </effect>
603 <effect>
604 <inherits-from>Effects/interior/c172p-interior-glass-front-right-side</inherits-from>
605 <object-name>glas_front_interior_right_side</object-name>
606 </effect>
607 <effect>
608 <inherits-from>Effects/interior/c172p-interior-glass-window-left</inherits-from>
609 <object-name>leftwindow_interior</object-name>
610 </effect>
611 <effect>
612 <inherits-from>Effects/interior/c172p-interior-glass-window-right</inherits-from>
613 <object-name>rightwindow_interior</object-name>
614 </effect>
615 <effect>
616 <inherits-from>Effects/interior/c172p-interior-glass-back-left-side</inherits-from>
617 <object-name>glas_back_interior_left_side</object-name>
618 </effect>
619 <effect>
620 <inherits-from>Effects/interior/c172p-interior-glass-back-right-side</inherits-from>
621 <object-name>glas_back_interior_right_side</object-name>
622 </effect>
623 <effect>
624 <inherits-from>Effects/interior/c172p-interior-glass-back</inherits-from>
625 <object-name>glas_interior_back</object-name>
626 </effect>
627
628 <!-- Gear Damage Spark and Smoke Mod -->
629 <model>
630 <path>Effects/damage/nose_gear.xml</path>
631 <offsets>
632 <x-m> -.85 </x-m>
633 <y-m> 0.0000 </y-m>
634 <z-m> -.98 </z-m>
635 </offsets>
636 </model>
637 <model>
638 <path>Effects/damage/left_gear.xml</path>
639 <offsets>
640 <x-m> -0.7 </x-m>
641 <y-m> -1.9 </y-m>
642 <z-m> -0.95 </z-m>
643 </offsets>
644 </model>
645 <model>
646 <path>Effects/damage/right_gear.xml</path>
647 <offsets>
648 <x-m> -0.7 </x-m>
649 <y-m> 1.9 </y-m>
650 <z-m> -0.95 </z-m>
651 </offsets>
652 </model>
653 <model>
654 <path>Effects/damage/tail.xml</path>
655 <offsets>
656 <x-m> 4.9264 </x-m>
657 <y-m> 0.0000 </y-m>
658 <z-m> -0.6</z-m>
659 </offsets>
660 </model>
661 <model>
662 <path>Effects/damage/wing-left.xml</path>
663 <offsets>
664 <x-m> .15 </x-m>
665 <y-m> -5.6338 </y-m>
666 <z-m> 0.49 </z-m>
667 </offsets>
668 </model>
669 <model>
670 <path>Effects/damage/wing-right.xml</path>
671 <offsets>
672 <x-m> .15 </x-m>
673 <y-m> 5.6338 </y-m>
674 <z-m> 0.49 </z-m>
675 </offsets>
676 </model>
677
678 <!-- Pontoon Damage Spark and Smoke Mod -->
679 <model>
680 <path>Effects/pontoon/left_ground.xml</path>
681 <offsets>
682 <x-m> -0.7 </x-m>
683 <y-m> -1.9 </y-m>
684 <z-m> -1.8 </z-m>
685 </offsets>
686 </model>
687 <model>
688 <path>Effects/pontoon/right_ground.xml</path>
689 <offsets>
690 <x-m> -0.7 </x-m>
691 <y-m> 1.9 </y-m>
692 <z-m> -1.8 </z-m>
693 </offsets>
694 </model>
695
696 <!-- Ski Damage Spark Mod -->
697 <model>
698 <path>Effects/skis/nose_gear.xml</path>
699 <offsets>
700 <x-m> -.85 </x-m>
701 <y-m> -.0 </y-m>
702 <z-m> -1.15 </z-m>
703 </offsets>
704 </model>
705 <model>
706 <path>Effects/skis/left_gear.xml</path>
707 <offsets>
708 <x-m> 0.7 </x-m>
709 <y-m> -1.35 </y-m>
710 <z-m> -1.15 </z-m>
711 </offsets>
712 </model>
713 <model>
714 <path>Effects/skis/right_gear.xml</path>
715 <offsets>
716 <x-m> 1.10 </x-m>
717 <y-m> 0.91 </y-m>
718 <z-m> -1.15 </z-m>
719 </offsets>
720 </model>
721
722 <!-- Registration number -->
723 <model>
724 <path>Immat/immat.xml</path>
725 </model>
726
727 <model>
728 <name>MooringHarness</name>
729 <path>Effects/pontoon/mooringharness.xml</path>
730 </model>
731
732 <model>
733 <path>Aircraft/Generic/marker.xml</path>
734 </model>
735
736 <!-- Instrumentation -->
737
738 <model>
739 <name>c172sp</name>
740 <path>Interior/Panel/c172sp-panel/c172sp.xml</path>
741 <condition>
742 <property alias="/params/glass"/>
743 </condition>
744 </model>
745
746 <model>
747 <name>c172p</name>
748 <path>Interior/Panel/c172p-panel/c172p.xml</path>
749 <condition>
750 <not>
751 <property alias="/params/glass"/>
752 </not>
753 </condition>
754 </model>
755
756 <model>
757 <name>ControlLock</name>
758 <path>Interior/control-lock/control-lock.xml</path>
759 </model>
760
761 <!-- MOD: OAT -->
762 <model>
763 <name>OAT-object</name>
764 <path>Interior/Panel/Instruments/oat/oat.xml</path>
765 </model>
766 <!-- MODEND -->
767
768 <!-- Pedals -->
769 <model>
770 <name>PilotPedals</name>
771 <path>Interior/Pedals/pedals-pilot.xml</path>
772 <offsets>
773 <x-m>-0.56</x-m>
774 <y-m>-0.24</y-m>
775 <z-m>-0.61</z-m>
776 </offsets>
777 </model>
778 <model>
779 <name>CoPilotPedals</name>
780 <path>Interior/Pedals/pedals-copilot.xml</path>
781 <offsets>
782 <x-m>-0.56</x-m>
783 <y-m> 0.24</y-m>
784 <z-m>-0.61</z-m>
785 </offsets>
786 </model>
787
788 <!--Exhaust-->
789 <model>
790 <object-name>Exhaust</object-name>
791 <path>Effects/exhaust/exhaust.xml</path>
792 <offsets>
793 <x-m>-1.3093</x-m>
794 <y-m>0.324625</y-m>
795 <z-m>-0.782313</z-m>
796 </offsets>
797 </model>
798
799 <!--Exhaust-->
800 <model>
801 <object-name>Exhaust</object-name>
802 <path>Effects/damage-smoke/smoke.xml</path>
803 <offsets>
804 <x-m>-1.3093</x-m>
805 <y-m>0.324625</y-m>
806 <z-m>-0.782313</z-m>
807 </offsets>
808 </model>
809
810 <!-- MOD: Tyre smoke -->
811 <model>
812 <path>Effects/tyresmoke/tyre-smoke-nose.xml</path>
813 <object-name>tyre-smoke-n</object-name>
814 <offsets>
815 <x-m> -1. </x-m>
816 <y-m> 0.0 </y-m>
817 <z-m> -1.5 </z-m>
818 </offsets>
819 </model>
820 <model>
821 <path>Effects/tyresmoke/tyre-smoke-port.xml</path>
822 <object-name>tyre-smoke-p</object-name>
823 <offsets>
824 <x-m> .3 </x-m>
825 <y-m> -1.15 </y-m>
826 <z-m> -1.5 </z-m>
827 </offsets>
828 </model>
829 <model>
830 <path>Effects/tyresmoke/tyre-smoke-stbd.xml</path>
831 <object-name>tyre-smoke-s</object-name>
832 <offsets>
833 <x-m> .3 </x-m>
834 <y-m> 1.15 </y-m>
835 <z-m> -1.5 </z-m>
836 </offsets>
837 </model>
838 <!-- MODEND: Tyre smoke -->
839
840 <!-- MOD: Tyre Spray -->
841 <model>
842 <path>Effects/tyrespray/rain-nose.xml</path>
843 <name>rain-nose</name>
844 <offsets>
845 <x-m> -1. </x-m>
846 <y-m> 0.0 </y-m>
847 <z-m> -1.5 </z-m>
848 </offsets>
849 </model>
850 <model>
851 <path>Effects/tyrespray/rain-port.xml</path>
852 <name>rain-port</name>
853 <offsets>
854 <x-m> .3 </x-m>
855 <y-m> -1.15 </y-m>
856 <z-m> -1.5 </z-m>
857 </offsets>
858 </model>
859 <model>
860 <path>Effects/tyrespray/rain-stbd.xml</path>
861 <name>rain-stbd</name>
862 <offsets>
863 <x-m>0.1</x-m>
864 <y-m>0.9</y-m>
865 <z-m>-1.85</z-m>
866 </offsets>
867 </model>
868 <!-- MODEND: Tyre Spray -->
869
870 <!-- MOD: Prop Spray -->
871 <model>
872 <path>Effects/propspray/rain-nose-propeller.xml</path>
873 <name>rain-nose-propeller</name>
874 <offsets>
875 <x-m> -6.0 </x-m>
876 <y-m> 0.0 </y-m>
877 <z-m> 0.0 </z-m>
878 </offsets>
879 </model>
880 <!-- MODEND: Prop Spray -->
881
882 <!-- MOD: Floats Spray-->
883 <model>
884 <path>Effects/pontoon/left-spray.xml</path>
885 <name>spray-left</name>
886 <offsets>
887 <x-m>-1.0</x-m>
888 <y-m>-1.2</y-m>
889 <z-m>-2.0</z-m>
890 </offsets>
891 </model>
892 <model>
893 <path>Effects/pontoon/right-spray.xml</path>
894 <name>spray-right</name>
895 <offsets>
896 <x-m>-1.0</x-m>
897 <y-m>1.15</y-m>
898 <z-m>-2.0</z-m>
899 </offsets>
900 </model>
901 <!-- MODEND: Floats Spray-->
902
903 <!-- MOD: Floats Wake-->
904 <model>
905 <path>Effects/pontoon/middle-wake.xml</path>
906 <name>spray-wake</name>
907 <offsets>
908 <x-m>1</x-m>
909 <y-m>0</y-m>
910 <z-m>-2.45</z-m>
911 <pitch-deg> -90 </pitch-deg>
912 </offsets>
913 </model>
914 <!-- MODEND: Floats Wake-->
915
916 <!-- MOD: Floats Drip-->
917 <model>
918 <path>Effects/pontoon/left-float-drip.xml</path>
919 <name>drip-left</name>
920 <offsets>
921 <x-m>-1.0</x-m>
922 <y-m>-1.2</y-m>
923 <z-m>-2.5</z-m>
924 <pitch-deg> -90 </pitch-deg>
925 </offsets>
926 </model>
927 <model>
928 <path>Effects/pontoon/right-float-drip.xml</path>
929 <name>drip-right</name>
930 <offsets>
931 <x-m>-1.0</x-m>
932 <y-m>1.15</y-m>
933 <z-m>-2.5</z-m>
934 <pitch-deg> -90 </pitch-deg>
935 </offsets>
936 </model>
937 <!-- MODEND: Floats Drip-->
938
939 <model>
940 <path>Effects/pontoon/eng-spray.xml</path>
941 <name>eng-spray</name>
942 <offsets>
943 <x-m>-1.0 </x-m>
944 <y-m> 1.15</y-m>
945 <z-m>-5.0 </z-m>
946 </offsets>
947 </model>
948
949 <!-- Labels activated by hotspots -->
950 <text>
951 <name>LabelMagCompass</name>
952 <type type="string">literal</type>
953 <text type="string">Magnetic Compass</text>
954 <draw-text type="bool">true</draw-text>
955 <font>Helvetica.txf</font>
956 <character-size type="double">0.012</character-size>
957 <character-aspect-ratio type="double">1.0</character-aspect-ratio>
958 <axis-alignment>yz-plane</axis-alignment>
959 <max-height>0.2</max-height>
960 <max-width>0.07</max-width>
961 <font-resolution>
962 <width type="int">32</width>
963 <height type="int">32</height>
964 </font-resolution>
965 <alignment>center-center</alignment>
966 <offsets>
967 <x-m>-0.3</x-m>
968 <y-m>-0.02</y-m>
969 <z-m>0.220</z-m>
970 </offsets>
971 </text>
972 <text>
973 <name>LabelGloveBox</name>
974 <type type="string">literal</type>
975 <text type="string">Glove Box</text>
976 <draw-text type="bool">true</draw-text>
977 <font>Helvetica.txf</font>
978 <character-size type="double">0.012</character-size>
979 <character-aspect-ratio type="double">1.0</character-aspect-ratio>
980 <axis-alignment>yz-plane</axis-alignment>
981 <max-height>0.2</max-height>
982 <max-width>0.07</max-width>
983 <font-resolution>
984 <width type="int">32</width>
985 <height type="int">32</height>
986 </font-resolution>
987 <alignment>center-center</alignment>
988 <offsets>
989 <x-m>-0.34</x-m>
990 <y-m> 0.37</y-m>
991 <z-m>-0.222</z-m>
992 </offsets>
993 </text>
994 <text>
995 <name>LabelTrim</name>
996 <type type="string">literal</type>
997 <text type="string">Elevator Trim</text>
998 <draw-text type="bool">true</draw-text>
999 <font>Helvetica.txf</font>
1000 <character-size type="double">0.012</character-size>
1001 <character-aspect-ratio type="double">1.0</character-aspect-ratio>
1002 <axis-alignment>yz-plane</axis-alignment>
1003 <max-height>0.2</max-height>
1004 <max-width>0.07</max-width>
1005 <font-resolution>
1006 <width type="int">32</width>
1007 <height type="int">32</height>
1008 </font-resolution>
1009 <alignment>center-center</alignment>
1010 <offsets>
1011 <x-m>-0.24</x-m>
1012 <y-m>-0.10</y-m>
1013 <z-m>-0.34723</z-m>
1014 </offsets>
1015 </text>
1016 <text>
1017 <name>LabelFlaps</name>
1018 <type type="string">literal</type>
1019 <text type="string">Flaps</text>
1020 <draw-text type="bool">true</draw-text>
1021 <font>Helvetica.txf</font>
1022 <character-size type="double">0.012</character-size>
1023 <character-aspect-ratio type="double">1.0</character-aspect-ratio>
1024 <axis-alignment>yz-plane</axis-alignment>
1025 <max-height>0.2</max-height>
1026 <max-width>0.07</max-width>
1027 <font-resolution>
1028 <width type="int">32</width>
1029 <height type="int">32</height>
1030 </font-resolution>
1031 <alignment>center-center</alignment>
1032 <offsets>
1033 <x-m>-0.34</x-m>
1034 <y-m> 0.16</y-m>
1035 <z-m>-0.20</z-m>
1036 </offsets>
1037 </text>
1038 <text>
1039 <name>LabelCabinHeat</name>
1040 <type type="string">literal</type>
1041 <text type="string">Cabin Heat</text>
1042 <draw-text type="bool">true</draw-text>
1043 <font>Helvetica.txf</font>
1044 <character-size type="double">0.012</character-size>
1045 <character-aspect-ratio type="double">1.0</character-aspect-ratio>
1046 <axis-alignment>yz-plane</axis-alignment>
1047 <max-height>0.2</max-height>
1048 <max-width>0.07</max-width>
1049 <font-resolution>
1050 <width type="int">32</width>
1051 <height type="int">32</height>
1052 </font-resolution>
1053 <alignment>center-center</alignment>
1054 <offsets>
1055 <x-m>-0.34</x-m>
1056 <y-m> 0.275</y-m>
1057 <z-m>-0.210</z-m>
1058 </offsets>
1059 </text>
1060 <text>
1061 <name>LabelCabinAir</name>
1062 <type type="string">literal</type>
1063 <text type="string">Cabin Air</text>
1064 <draw-text type="bool">true</draw-text>
1065 <font>Helvetica.txf</font>
1066 <character-size type="double">0.012</character-size>
1067 <character-aspect-ratio type="double">1.0</character-aspect-ratio>
1068 <axis-alignment>yz-plane</axis-alignment>
1069 <max-height>0.2</max-height>
1070 <max-width>0.07</max-width>
1071 <font-resolution>
1072 <width type="int">32</width>
1073 <height type="int">32</height>
1074 </font-resolution>
1075 <alignment>center-center</alignment>
1076 <offsets>
1077 <x-m>-0.34</x-m>
1078 <y-m> 0.275</y-m>
1079 <z-m>-0.26</z-m>
1080 </offsets>
1081 </text>
1082 <text>
1083 <name>LabelAirVentLeft</name>
1084 <type type="string">literal</type>
1085 <text type="string">Air Vent</text>
1086 <draw-text type="bool">true</draw-text>
1087 <font>Helvetica.txf</font>
1088 <character-size type="double">0.012</character-size>
1089 <character-aspect-ratio type="double">-1.0</character-aspect-ratio>
1090 <axis-alignment>xz-plane</axis-alignment>
1091 <max-height>0.2</max-height>
1092 <max-width>0.07</max-width>
1093 <font-resolution>
1094 <width type="int">24</width>
1095 <height type="int">24</height>
1096 </font-resolution>
1097 <alignment>center-center</alignment>
1098 <offsets>
1099 <x-m>-0.01</x-m>
1100 <y-m>-0.50</y-m>
1101 <z-m> 0.42</z-m>
1102 </offsets>
1103 </text>
1104 <text>
1105 <name>LabelAirVentRight</name>
1106 <type type="string">literal</type>
1107 <text type="string">Air Vent</text>
1108 <draw-text type="bool">true</draw-text>
1109 <font>Helvetica.txf</font>
1110 <character-size type="double">0.012</character-size>
1111 <character-aspect-ratio type="double">1.0</character-aspect-ratio>
1112 <axis-alignment>xz-plane</axis-alignment>
1113 <max-height>0.2</max-height>
1114 <max-width>0.07</max-width>
1115 <font-resolution>
1116 <width type="int">32</width>
1117 <height type="int">32</height>
1118 </font-resolution>
1119 <alignment>center-center</alignment>
1120 <offsets>
1121 <x-m>0.03</x-m>
1122 <y-m>0.50</y-m>
1123 <z-m>0.44007</z-m>
1124 </offsets>
1125 </text>
1126 <text>
1127 <name>LabelOAT</name>
1128 <type type="string">literal</type>
1129 <text type="string">Air Temperature</text>
1130 <draw-text type="bool">true</draw-text>
1131 <font>Helvetica.txf</font>
1132 <character-size type="double">0.012</character-size>
1133 <character-aspect-ratio type="double">1.0</character-aspect-ratio>
1134 <axis-alignment>xz-plane</axis-alignment>
1135 <max-height>0.2</max-height>
1136 <max-width>0.10</max-width>
1137 <font-resolution>
1138 <width type="int">32</width>
1139 <height type="int">32</height>
1140 </font-resolution>
1141 <alignment>center-center</alignment>
1142 <offsets>
1143 <x-m>0.01</x-m>
1144 <y-m>0.46</y-m>
1145 <z-m>0.485</z-m>
1146 </offsets>
1147 </text>
1148
1149 <animation>
1150 <type>material</type>
1151 <object-name>LabelMagCompass</object-name>
1152 <object-name>LabelTrim</object-name>
1153 <object-name>LabelGloveBox</object-name>
1154 <object-name>LabelAirVentLeft</object-name>
1155 <object-name>LabelAirVentRight</object-name>
1156 <object-name>LabelOAT</object-name>
1157 <object-name>LabelCabinHeat</object-name>
1158 <object-name>LabelCabinAir</object-name>
1159 <object-name>LabelFlaps</object-name>
1160 <emission>
1161 <red>1.0</red>
1162 <green>0.8</green>
1163 <blue>0.0</blue>
1164 </emission>
1165 </animation>
1166 <animation>
1167 <type>select</type>
1168 <object-name>LabelMagCompass</object-name>
1169 <object-name>LabelTrim</object-name>
1170 <object-name>LabelGloveBox</object-name>
1171 <object-name>LabelAirVentLeft</object-name>
1172 <object-name>LabelAirVentRight</object-name>
1173 <object-name>LabelOAT</object-name>
1174 <object-name>LabelCabinHeat</object-name>
1175 <object-name>LabelCabinAir</object-name>
1176 <object-name>LabelFlaps</object-name>
1177 <condition>
1178 <property>sim/panel-hotspots</property>
1179 </condition>
1180 </animation>
1181
1182 <!-- MOD: animation for the checklists -->
1183 <animation>
1184 <type>pick</type>
1185 <object-name>LeftBag</object-name>
1186 <object-name>LeftBag-fg1000</object-name>
1187 <visible>true</visible>
1188 <action>
1189 <button>0</button>
1190 <repeatable>false</repeatable>
1191 <binding>
1192 <command>dialog-show</command>
1193 <dialog-name>checklist</dialog-name>
1194 </binding>
1195 <binding>
1196 <command>nasal</command>
1197 <script>c172p.click("checklist1", 1.2)</script>
1198 </binding>
1199 </action>
1200 <hovered>
1201 <binding>
1202 <command>set-tooltip</command>
1203 <tooltip-id>checklist</tooltip-id>
1204 <label>Show checklists</label>
1205 </binding>
1206 </hovered>
1207 </animation>
1208 <!-- MODEND -->
1209
1210 <!-- Cabin heat and Air -->
1211 <animation>
1212 <type>slider</type>
1213 <object-name>CabinHeat</object-name>
1214 <object-name>CabinHeat-fg1000</object-name>
1215 <visible>true</visible>
1216 <drag-direction>vertical</drag-direction>
1217 <action>
1218 <binding>
1219 <command>property-adjust</command>
1220 <property>environment/aircraft-effects/cabin-heat-set</property>
1221 <factor>-0.05</factor>
1222 <min>0</min>
1223 <max>1</max>
1224 <wrap>0</wrap>
1225 </binding>
1226 </action>
1227 <hovered>
1228 <binding>
1229 <command>set-tooltip</command>
1230 <label>Cabin Heat: %3d%%</label>
1231 <measure-text>Cabin Heat: 100%</measure-text>
1232 <tooltip-id>cabinheat</tooltip-id>
1233 <mapping>percent</mapping>
1234 <property>environment/aircraft-effects/cabin-heat-set</property>
1235 </binding>
1236 </hovered>
1237 </animation>
1238 <animation>
1239 <type>translate</type>
1240 <object-name>CabinHeat</object-name>
1241 <object-name>CabinHeat-fg1000</object-name>
1242 <property>environment/aircraft-effects/cabin-heat-set</property>
1243 <factor>0.03</factor>
1244 <axis>
1245 <x>1.0</x>
1246 <y>0.0</y>
1247 <z>0.0</z>
1248 </axis>
1249 </animation>
1250 <animation>
1251 <type>slider</type>
1252 <object-name>CabinAir</object-name>
1253 <object-name>CabinAir-fg1000</object-name>
1254 <visible>true</visible>
1255 <drag-direction>vertical</drag-direction>
1256 <action>
1257 <binding>
1258 <command>property-adjust</command>
1259 <property>environment/aircraft-effects/cabin-air-set</property>
1260 <factor>-0.05</factor>
1261 <min>0</min>
1262 <max>1</max>
1263 <wrap>0</wrap>
1264 </binding>
1265 </action>
1266 <hovered>
1267 <binding>
1268 <command>set-tooltip</command>
1269 <label>Cabin Air: %3d%%</label>
1270 <measure-text>Cabin Air: 100%</measure-text>
1271 <tooltip-id>cabinair</tooltip-id>
1272 <mapping>percent</mapping>
1273 <property>environment/aircraft-effects/cabin-air-set</property>
1274 </binding>
1275 </hovered>
1276 </animation>
1277 <animation>
1278 <type>translate</type>
1279 <object-name>CabinAir</object-name>
1280 <object-name>CabinAir-fg1000</object-name>
1281 <property>environment/aircraft-effects/cabin-air-set</property>
1282 <factor>0.03</factor>
1283 <axis>
1284 <x>1.0</x>
1285 <y>0.0</y>
1286 <z>0.0</z>
1287 </axis>
1288 </animation>
1289
1290 <animation>
1291 <type>slider</type>
1292 <object-name>AirVent_left</object-name>
1293 <object-name>AirVent_left-fg1000</object-name>
1294 <visible>true</visible>
1295 <drag-direction>horizontal</drag-direction>
1296 <drag-scale-px>-10.0</drag-scale-px>
1297 <action>
1298 <binding>
1299 <command>property-adjust</command>
1300 <property>controls/climate-control/overhead-vent-front-left</property>
1301 <factor>-0.05</factor>
1302 <min>0</min>
1303 <max>1</max>
1304 <wrap>false</wrap>
1305 </binding>
1306 </action>
1307 <hovered>
1308 <binding>
1309 <command>set-tooltip</command>
1310 <label>Air Vent: %3d%%</label>
1311 <measure-text>Air Vent: 100%</measure-text>
1312 <tooltip-id>air-vent-front-left</tooltip-id>
1313 <mapping>percent</mapping>
1314 <property alias="/params/air-vents/front-left"/>
1315 </binding>
1316 </hovered>
1317 </animation>
1318 <animation>
1319 <type>translate</type>
1320 <object-name>AirVent_left</object-name>
1321 <object-name>AirVent_left-fg1000</object-name>
1322 <property alias="/params/air-vents/front-left"/>
1323 <factor>0.02537</factor>
1324 <offset-m>-0.02537</offset-m>
1325 <axis>
1326 <y>1.0</y>
1327 </axis>
1328 </animation>
1329
1330 <animation>
1331 <type>slider</type>
1332 <object-name>AirVent_right</object-name>
1333 <object-name>AirVent_right-fg1000</object-name>
1334 <object-name>OAT-object</object-name>
1335 <object-name>glass_oat</object-name>
1336 <visible>true</visible>
1337 <drag-direction>horizontal</drag-direction>
1338 <drag-scale-px>10.0</drag-scale-px>
1339 <action>
1340 <binding>
1341 <command>property-adjust</command>
1342 <property>controls/climate-control/overhead-vent-front-right</property>
1343 <factor>-0.05</factor>
1344 <min>0</min>
1345 <max>1</max>
1346 <wrap>false</wrap>
1347 </binding>
1348 </action>
1349 <hovered>
1350 <binding>
1351 <command>set-tooltip</command>
1352 <label>Air Vent: %3d%%</label>
1353 <measure-text>Air Vent: 100%</measure-text>
1354 <tooltip-id>air-vent-front-right</tooltip-id>
1355 <mapping>percent</mapping>
1356 <property alias="/params/air-vents/front-right"/>
1357 </binding>
1358 </hovered>
1359 </animation>
1360 <animation>
1361 <type>translate</type>
1362 <object-name>AirVent_right</object-name>
1363 <object-name>AirVent_right-fg1000</object-name>
1364 <object-name>OAT-object</object-name>
1365 <object-name>glass_oat</object-name>
1366 <property alias="/params/air-vents/front-right"/>
1367 <factor>-0.050</factor>
1368 <offset-m>0.050</offset-m>
1369 <axis>
1370 <y>1.0</y>
1371 </axis>
1372 </animation>
1373
1374 <!-- Animate the pilot seat (optional) -->
1375 <!--
1376 <animation>
1377 <type>translate</type>
1378 <object-name>pilotseat_left</object-name>
1379 <property>sim/current-view/user/y-offset-m</property>
1380 <factor>1</factor>
1381 <offset-m>-0.208</offset-m>
1382 <axis>
1383 <z>1.0</z>
1384 </axis>
1385 </animation>
1386 <animation>
1387 <type>translate</type>
1388 <object-name>pilotseat_left</object-name>
1389 <property>sim/current-view/user/z-offset-m</property>
1390 <factor>1</factor>
1391 <offset-m>-0.36</offset-m>
1392 <axis>
1393 <x>1.0</x>
1394 </axis>
1395 </animation>
1396 <animation>
1397 <type>rotate</type>
1398 <object-name>pilotseat_left</object-name>
1399 <property>sim/current-view/user/pitch-offset-deg</property>
1400 <factor>1</factor>
1401 <offset-deg>0.12</offset-deg>
1402 <axis>
1403 <x1-m> 0.17429</x1-m>
1404 <y1-m>-0.37445</y1-m>
1405 <z1-m>-0.61057</z1-m>
1406 <x2-m> 0.17429</x2-m>
1407 <y2-m>-0.10364</y2-m>
1408 <z2-m>-0.61055</z2-m>
1409 </axis>
1410 </animation>
1411 -->
1412
1413 <!-- Pick animation for the doors -->
1414 <animation>
1415 <type>pick</type>
1416 <object-name>rightdoorhandle</object-name>
1417 <visible>true</visible>
1418 <action>
1419 <button>0</button>
1420 <repeatable>false</repeatable>
1421 <binding>
1422 <command>nasal</command>
1423 <script>c172p.rightDoor.toggle();</script>
1424 </binding>
1425 </action>
1426 <hovered>
1427 <binding>
1428 <command>set-tooltip</command>
1429 <tooltip-id>door-handle-r</tooltip-id>
1430 <label>Open/Close Right Door</label>
1431 </binding>
1432 </hovered>
1433 </animation>
1434 <animation>
1435 <type>pick</type>
1436 <object-name>doorhandleint_right</object-name>
1437 <object-name>doorhandleint_right-fg1000</object-name>
1438 <condition>
1439 <equals>
1440 <property>sim/model/door-positions/rightDoor/opened</property>
1441 <value>0.0</value>
1442 </equals>
1443 </condition>
1444 <visible>true</visible>
1445 <action>
1446 <button>0</button>
1447 <repeatable>false</repeatable>
1448 <binding>
1449 <command>nasal</command>
1450 <script>c172p.rightDoor.toggle();</script>
1451 </binding>
1452 </action>
1453 <hovered>
1454 <binding>
1455 <command>set-tooltip</command>
1456 <tooltip-id>door-handle-int-r</tooltip-id>
1457 <label>Open Right Door</label>
1458 </binding>
1459 </hovered>
1460 </animation>
1461 <animation>
1462 <type>pick</type>
1463 <object-name>doorintstrapright</object-name>
1464 <object-name>doorintstrapright-fg1000</object-name>
1465 <condition>
1466 <equals>
1467 <property>sim/model/door-positions/rightDoor/opened</property>
1468 <value>1.0</value>
1469 </equals>
1470 </condition>
1471 <visible>true</visible>
1472 <action>
1473 <button>0</button>
1474 <repeatable>false</repeatable>
1475 <binding>
1476 <command>nasal</command>
1477 <script>c172p.rightDoor.toggle();</script>
1478 </binding>
1479 </action>
1480 <hovered>
1481 <binding>
1482 <command>set-tooltip</command>
1483 <tooltip-id>door-strap-r</tooltip-id>
1484 <label>Close Right Door</label>
1485 </binding>
1486 </hovered>
1487 </animation>
1488
1489 <animation>
1490 <type>pick</type>
1491 <object-name>leftdoorhandle</object-name>
1492 <visible>true</visible>
1493 <action>
1494 <button>0</button>
1495 <repeatable>false</repeatable>
1496 <binding>
1497 <command>nasal</command>
1498 <script>c172p.leftDoor.toggle();</script>
1499 </binding>
1500 </action>
1501 <hovered>
1502 <binding>
1503 <command>set-tooltip</command>
1504 <tooltip-id>door-handle-l</tooltip-id>
1505 <label>Open/Close Left Door</label>
1506 </binding>
1507 </hovered>
1508 </animation>
1509 <animation>
1510 <type>pick</type>
1511 <object-name>doorhandleint_left</object-name>
1512 <object-name>doorhandleint_left-fg1000</object-name>
1513 <condition>
1514 <equals>
1515 <property>sim/model/door-positions/leftDoor/opened</property>
1516 <value>0.0</value>
1517 </equals>
1518 </condition>
1519 <visible>true</visible>
1520 <action>
1521 <button>0</button>
1522 <repeatable>false</repeatable>
1523 <binding>
1524 <command>nasal</command>
1525 <script>c172p.leftDoor.toggle();</script>
1526 </binding>
1527 </action>
1528 <hovered>
1529 <binding>
1530 <command>set-tooltip</command>
1531 <tooltip-id>door-handle-int-l</tooltip-id>
1532 <label>Open Left Door</label>
1533 </binding>
1534 </hovered>
1535 </animation>
1536 <animation>
1537 <type>pick</type>
1538 <object-name>doorintstrapleft</object-name>
1539 <object-name>doorintstrapleft-fg1000</object-name>
1540 <condition>
1541 <equals>
1542 <property>sim/model/door-positions/leftDoor/opened</property>
1543 <value>1.0</value>
1544 </equals>
1545 </condition>
1546 <visible>true</visible>
1547 <action>
1548 <button>0</button>
1549 <repeatable>false</repeatable>
1550 <binding>
1551 <command>nasal</command>
1552 <script>c172p.leftDoor.toggle();</script>
1553 </binding>
1554 </action>
1555 <hovered>
1556 <binding>
1557 <command>set-tooltip</command>
1558 <tooltip-id>door-strap-l</tooltip-id>
1559 <label>Close Left Door</label>
1560 </binding>
1561 </hovered>
1562 </animation>
1563
1564 <!-- Pick animation for the windows -->
1565 <animation>
1566 <type>pick</type>
1567 <object-name>windlocket_left</object-name>
1568 <object-name>windlocket_left-fg1000</object-name>
1569 <visible>true</visible>
1570 <action>
1571 <button>0</button>
1572 <repeatable>false</repeatable>
1573 <binding>
1574 <command>nasal</command>
1575 <script>c172p.leftWindow.toggle();</script>
1576 </binding>
1577 </action>
1578 <hovered>
1579 <binding>
1580 <command>set-tooltip</command>
1581 <tooltip-id>window-handle-l</tooltip-id>
1582 <label>Open/Close Left Window</label>
1583 </binding>
1584 </hovered>
1585 </animation>
1586 <animation>
1587 <type>pick</type>
1588 <object-name>windlocket_right</object-name>
1589 <object-name>windlocket_right-fg1000</object-name>
1590 <visible>true</visible>
1591 <action>
1592 <button>0</button>
1593 <repeatable>false</repeatable>
1594 <binding>
1595 <command>nasal</command>
1596 <script>c172p.rightWindow.toggle();</script>
1597 </binding>
1598 </action>
1599 <hovered>
1600 <binding>
1601 <command>set-tooltip</command>
1602 <tooltip-id>window-handle-r</tooltip-id>
1603 <label>Open/Close Right Window</label>
1604 </binding>
1605 </hovered>
1606 </animation>
1607
1608 <animation>
1609 <type>pick</type>
1610 <object-name>baggagedoorhandle</object-name>
1611 <visible>true</visible>
1612 <action>
1613 <button>0</button>
1614 <repeatable>false</repeatable>
1615 <binding>
1616 <condition>
1617 <and>
1618 <equals>
1619 <property>sim/model/door-positions/baggageDoor/position-norm</property>
1620 <value>0</value>
1621 </equals>
1622 <less-than>
1623 <property>velocities/groundspeed-kt</property>
1624 <value>1.0</value>
1625 </less-than>
1626 </and>
1627 </condition>
1628 <command>nasal</command>
1629 <script>c172p.baggageDoor.toggle();</script>
1630 </binding>
1631 <binding>
1632 <condition>
1633 <and>
1634 <equals>
1635 <property>sim/model/door-positions/baggageDoor/position-norm</property>
1636 <value>0</value>
1637 </equals>
1638 <less-than>
1639 <property>velocities/groundspeed-kt</property>
1640 <value>1.0</value>
1641 </less-than>
1642 </and>
1643 </condition>
1644 <command>nasal</command>
1645 <script>
1646 settimer(func(){
1647 fgcommand("dialog-show", {"dialog-name": "c172p-baggage-weight-dialog"});
1648 }, 2.0);
1649 </script>
1650 </binding>
1651 </action>
1652 <hovered>
1653 <binding>
1654 <command>set-tooltip</command>
1655 <tooltip-id>oppen-baggage-door</tooltip-id>
1656 <label>Open Baggage Door</label>
1657 </binding>
1658 </hovered>
1659 </animation>
1660
1661 <animation>
1662 <type>select</type>
1663 <object-name>BaggageDoorHotSpot</object-name>
1664 <condition>
1665 <and>
1666 <equals>
1667 <property>sim/model/door-positions/baggageDoor/position-norm</property>
1668 <value>1</value>
1669 </equals>
1670 <less-than>
1671 <property>velocities/groundspeed-kt</property>
1672 <value>1.0</value>
1673 </less-than>
1674 </and>
1675 </condition>
1676 </animation>
1677
1678 <animation>
1679 <type>pick</type>
1680 <object-name>BaggageDoorHotSpot</object-name>
1681 <action>
1682 <button>0</button>
1683 <repeatable>false</repeatable>
1684 <binding>
1685 <condition>
1686 <and>
1687 <equals>
1688 <property>sim/model/door-positions/baggageDoor/position-norm</property>
1689 <value>1</value>
1690 </equals>
1691 <less-than>
1692 <property>velocities/groundspeed-kt</property>
1693 <value>1.0</value>
1694 </less-than>
1695 </and>
1696 </condition>
1697 <command>nasal</command>
1698 <script>c172p.baggageDoor.toggle();</script>
1699 </binding>
1700 </action>
1701 <hovered>
1702 <binding>
1703 <condition>
1704 <and>
1705 <equals>
1706 <property>sim/model/door-positions/baggageDoor/position-norm</property>
1707 <value>1</value>
1708 </equals>
1709 <less-than>
1710 <property>velocities/groundspeed-kt</property>
1711 <value>1.0</value>
1712 </less-than>
1713 </and>
1714 </condition>
1715 <command>set-tooltip</command>
1716 <tooltip-id>close-baggage-door</tooltip-id>
1717 <label>Close Baggage Door</label>
1718 </binding>
1719 </hovered>
1720 </animation>
1721
1722 <animation>
1723 <type>pick</type>
1724 <object-name>FuelCapPort</object-name>
1725 <visible>true</visible>
1726 <action>
1727 <button>0</button>
1728 <repeatable>false</repeatable>
1729 <binding>
1730 <condition>
1731 <and>
1732 <not>
1733 <property>engines/active-engine/running</property>
1734 </not>
1735 <or>
1736 <property>fdm/jsbsim/gear/unit[1]/WOW</property>
1737 <property>fdm/jsbsim/gear/unit[19]/WOW</property>
1738 <property>fdm/jsbsim/gear/unit[23]/WOW</property>
1739 <property>fdm/jsbsim/hydro/active-norm</property>
1740 </or>
1741 <not>
1742 <property>sim/current-view/internal</property>
1743 </not>
1744 </and>
1745 </condition>
1746 <command>property-toggle</command>
1747 <property>sim/model/open-pfuel-cap</property>
1748 </binding>
1749 <binding>
1750 <command>nasal</command>
1751 <script>
1752 var show = getprop("sim/model/open-pfuel-cap");
1753 if (show)
1754 fgcommand("dialog-show", props.Node.new({"dialog-name": "c172p-left-fuel-dialog"}));
1755 else
1756 fgcommand("dialog-close", props.Node.new({"dialog-name": "c172p-left-fuel-dialog"}));
1757 </script>
1758 </binding>
1759 <binding>
1760 <condition>
1761 <property>engines/active-engine/running</property>
1762 </condition>
1763 <command>nasal</command>
1764 <script>
1765 gui.popupTip("You can't refuel with the engine running!", 2);
1766 </script>
1767 </binding>
1768 <binding>
1769 <condition>
1770 <not>
1771 <or>
1772 <property>fdm/jsbsim/gear/unit[1]/WOW</property>
1773 <property>fdm/jsbsim/gear/unit[19]/WOW</property>
1774 <property>fdm/jsbsim/gear/unit[23]/WOW</property>
1775 <property>fdm/jsbsim/hydro/active-norm</property>
1776 </or>
1777 </not>
1778 </condition>
1779 <command>nasal</command>
1780 <script>
1781 gui.popupTip("You can't refuel while in the air!", 2);
1782 </script>
1783 </binding>
1784 </action>
1785 <hovered>
1786 <binding>
1787 <condition>
1788 <and>
1789 <not>
1790 <property>engines/active-engine/running</property>
1791 </not>
1792 <or>
1793 <property>fdm/jsbsim/gear/unit[1]/WOW</property>
1794 <property>fdm/jsbsim/gear/unit[19]/WOW</property>
1795 <property>fdm/jsbsim/gear/unit[23]/WOW</property>
1796 <property>fdm/jsbsim/hydro/active-norm</property>
1797 </or>
1798 <not>
1799 <property>sim/current-view/internal</property>
1800 </not>
1801 </and>
1802 </condition>
1803 <command>set-tooltip</command>
1804 <tooltip-id>fuel-cap-port</tooltip-id>
1805 <label>Fuel Cap</label>
1806 </binding>
1807 </hovered>
1808 </animation>
1809 <animation>
1810 <type>pick</type>
1811 <object-name>FuelCapStarboard</object-name>
1812 <visible>true</visible>
1813 <action>
1814 <button>0</button>
1815 <repeatable>false</repeatable>
1816 <binding>
1817 <condition>
1818 <and>
1819 <not>
1820 <property>engines/active-engine/running</property>
1821 </not>
1822 <or>
1823 <property>fdm/jsbsim/gear/unit[1]/WOW</property>
1824 <property>fdm/jsbsim/gear/unit[19]/WOW</property>
1825 <property>fdm/jsbsim/gear/unit[23]/WOW</property>
1826 <property>fdm/jsbsim/hydro/active-norm</property>
1827 </or>
1828 <not>
1829 <property>sim/current-view/internal</property>
1830 </not>
1831 </and>
1832 </condition>
1833 <command>property-toggle</command>
1834 <property>sim/model/open-sfuel-cap</property>
1835 </binding>
1836 <binding>
1837 <command>nasal</command>
1838 <script>
1839 var show = getprop("sim/model/open-sfuel-cap");
1840 if (show)
1841 fgcommand("dialog-show", props.Node.new({"dialog-name": "c172p-right-fuel-dialog"}));
1842 else
1843 fgcommand("dialog-close", props.Node.new({"dialog-name": "c172p-right-fuel-dialog"}));
1844 </script>
1845 </binding>
1846 <binding>
1847 <condition>
1848 <property>engines/active-engine/running</property>
1849 </condition>
1850 <command>nasal</command>
1851 <script>
1852 gui.popupTip("You can't refuel with the engine running!");
1853 </script>
1854 </binding>
1855 <binding>
1856 <condition>
1857 <not>
1858 <or>
1859 <property>fdm/jsbsim/gear/unit[1]/WOW</property>
1860 <property>fdm/jsbsim/gear/unit[19]/WOW</property>
1861 <property>fdm/jsbsim/gear/unit[23]/WOW</property>
1862 <property>fdm/jsbsim/hydro/active-norm</property>
1863 </or>
1864 </not>
1865 </condition>
1866 <command>nasal</command>
1867 <script>
1868 gui.popupTip("You can't refuel while in the air!");
1869 </script>
1870 </binding>
1871 </action>
1872 <hovered>
1873 <binding>
1874 <condition>
1875 <and>
1876 <not>
1877 <property>engines/active-engine/running</property>
1878 </not>
1879 <or>
1880 <property>fdm/jsbsim/gear/unit[1]/WOW</property>
1881 <property>fdm/jsbsim/gear/unit[19]/WOW</property>
1882 <property>fdm/jsbsim/gear/unit[23]/WOW</property>
1883 <property>fdm/jsbsim/hydro/active-norm</property>
1884 </or>
1885 <not>
1886 <property>sim/current-view/internal</property>
1887 </not>
1888 </and>
1889 </condition>
1890 <command>set-tooltip</command>
1891 <tooltip-id>fuel-cap-starboard</tooltip-id>
1892 <label>Fuel Cap</label>
1893 </binding>
1894 </hovered>
1895 </animation>
1896
1897 <animation>
1898 <type>translate</type>
1899 <object-name>FuelCapPort</object-name>
1900 <property>sim/model/open-pfuel-cap</property>
1901 <factor>0.1</factor>
1902 <axis>
1903 <x> 0.15</x>
1904 <y>-0.05</y>
1905 <z> 0.5</z>
1906 </axis>
1907 </animation>
1908
1909 <animation>
1910 <type>translate</type>
1911 <object-name>FuelCapStarboard</object-name>
1912 <property>sim/model/open-sfuel-cap</property>
1913 <factor>0.1</factor>
1914 <axis>
1915 <x>0.15</x>
1916 <y>0.05</y>
1917 <z>0.5</z>
1918 </axis>
1919 </animation>
1920
1921 <!-- Oil door pick -->
1922 <animation>
1923 <type>pick</type>
1924 <object-name>oildoor</object-name>
1925 <visible>true</visible>
1926 <action>
1927 <button>0</button>
1928 <repeatable>false</repeatable>
1929 <binding>
1930 <condition>
1931 <and>
1932 <not>
1933 <property>engines/active-engine/running</property>
1934 </not>
1935 <or>
1936 <property>fdm/jsbsim/gear/unit[1]/WOW</property>
1937 <property>fdm/jsbsim/gear/unit[19]/WOW</property>
1938 <property>fdm/jsbsim/gear/unit[23]/WOW</property>
1939 <property>fdm/jsbsim/hydro/active-norm</property>
1940 </or>
1941 <or>
1942 <not>
1943 <property>sim/current-view/internal</property>
1944 </not>
1945 <property>nasal/tutorial/loaded</property>
1946 </or>
1947 </and>
1948 </condition>
1949 <command>nasal</command>
1950 <script>
1951 var engine = getprop("controls/engines/active-engine");
1952 if (!engine)
1953 fgcommand("dialog-close", props.Node.new({"dialog-name": "c172p-oil-dialog-160"}));
1954 else
1955 fgcommand("dialog-close", props.Node.new({"dialog-name": "c172p-oil-dialog-180"}));
1956 setprop("sim/model/show-dip-stick", 0);
1957 c172p.oilDoor.toggle();
1958 </script>
1959 </binding>
1960 <binding>
1961 <condition>
1962 <and>
1963 <property>engines/active-engine/running</property>
1964 <property>engines/active-engine/oil_consumption_allowed</property>
1965 </and>
1966 </condition>
1967 <command>nasal</command>
1968 <script>
1969 gui.popupTip("You can't check the oil level with the engine running!", 2);
1970 </script>
1971 </binding>
1972 <binding>
1973 <condition>
1974 <and>
1975 <not>
1976 <or>
1977 <property>fdm/jsbsim/gear/unit[1]/WOW</property>
1978 <property>fdm/jsbsim/gear/unit[19]/WOW</property>
1979 <property>fdm/jsbsim/gear/unit[23]/WOW</property>
1980 <property>fdm/jsbsim/hydro/active-norm</property>
1981 </or>
1982 </not>
1983 <property>engines/active-engine/oil_consumption_allowed</property>
1984 </and>
1985 </condition>
1986 <command>nasal</command>
1987 <script>
1988 gui.popupTip("You can't check the oil level while in the air!", 2);
1989 </script>
1990 </binding>
1991 </action>
1992 <hovered>
1993 <binding>
1994 <condition>
1995 <and>
1996 <not>
1997 <property>engines/active-engine/running</property>
1998 </not>
1999 <or>
2000 <property>fdm/jsbsim/gear/unit[1]/WOW</property>
2001 <property>fdm/jsbsim/gear/unit[19]/WOW</property>
2002 <property>fdm/jsbsim/gear/unit[23]/WOW</property>
2003 <property>fdm/jsbsim/hydro/active-norm</property>
2004 </or>
2005 <or>
2006 <not>
2007 <property>sim/current-view/internal</property>
2008 </not>
2009 <property>nasal/tutorial/loaded</property>
2010 </or>
2011 </and>
2012 </condition>
2013 <command>set-tooltip</command>
2014 <tooltip-id>oil-door</tooltip-id>
2015 <label>Oil Door</label>
2016 </binding>
2017 </hovered>
2018 </animation>
2019
2020 <!-- Oil door animation -->
2021 <animation>
2022 <type>rotate</type>
2023 <object-name>oildoor</object-name>
2024 <property alias="../../params/doors/oil/property"/>
2025 <interpolation>
2026 <entry>
2027 <ind>0.0</ind>
2028 <dep>0.0</dep>
2029 </entry>
2030 <entry>
2031 <ind>0.5</ind>
2032 <dep>-45.0</dep>
2033 </entry>
2034 <entry>
2035 <ind>1</ind>
2036 <dep>-90.0</dep>
2037 </entry>
2038 </interpolation>
2039 <axis>
2040 <x1-m>-0.80485</x1-m>
2041 <y1-m> 0.23079</y1-m>
2042 <z1-m> 0.16388</z1-m>
2043 <x2-m>-0.88058</x2-m>
2044 <y2-m> 0.2303</y2-m>
2045 <z2-m> 0.16328</z2-m>
2046 </axis>
2047 </animation>
2048
2049 <!-- Vent animation -->
2050 <animation>
2051 <type>rotate</type>
2052 <object-name>airvent</object-name>
2053 <object-name>airventhole</object-name>
2054 <property>environment/aircraft-effects/cabin-air-set</property>
2055 <interpolation>
2056 <entry>
2057 <ind>0.0</ind>
2058 <dep>0.0</dep>
2059 </entry>
2060 <entry>
2061 <ind>0.5</ind>
2062 <dep>7.5</dep>
2063 </entry>
2064 <entry>
2065 <ind>1</ind>
2066 <dep>15.0</dep>
2067 </entry>
2068 </interpolation>
2069 <axis>
2070 <x1-m>-0.49202</x1-m>
2071 <y1-m> 0.52131</y1-m>
2072 <z1-m>-0.23855</z1-m>
2073 <x2-m>-0.49239</x2-m>
2074 <y2-m> 0.52263</y2-m>
2075 <z2-m>-0.28139</z2-m>
2076 </axis>
2077 </animation>
2078
2079 <!-- Pick animation for the gloveboxlock and door -->
2080 <animation>
2081 <type>pick</type>
2082 <object-name>gloveboxdoor</object-name>
2083 <object-name>gloveboxlock</object-name>
2084 <visible>true</visible>
2085 <action>
2086 <button>0</button>
2087 <repeatable>false</repeatable>
2088 <binding>
2089 <command>nasal</command>
2090 <script>c172p.gloveboxDoor.toggle();</script>
2091 </binding>
2092 <binding>
2093 <command>nasal</command>
2094 <script>c172p.click("glove_compartment_opening", 1.2)</script>
2095 </binding>
2096 <binding>
2097 <command>nasal</command>
2098 <script>c172p.click("glove_compartment_closing", 1.2)</script>
2099 </binding>
2100 </action>
2101 <hovered>
2102 <binding>
2103 <command>set-tooltip</command>
2104 <tooltip-id>door-handle-glovebox</tooltip-id>
2105 <label>Glovebox Open/Close</label>
2106 </binding>
2107 </hovered>
2108 </animation>
2109 <!-- Glovebox door animation -->
2110 <animation>
2111 <type>rotate</type>
2112 <object-name>gloveboxdoor</object-name>
2113 <object-name>gloveboxlock</object-name>
2114 <property alias="../../params/doors/glovebox/property"/>
2115 <interpolation>
2116 <entry>
2117 <ind>0.20</ind>
2118 <dep>0.0</dep>
2119 </entry>
2120 <entry>
2121 <ind>0.55</ind>
2122 <dep>-40.0</dep>
2123 </entry>
2124 <entry>
2125 <ind>1</ind>
2126 <dep>-80</dep>
2127 </entry>
2128 </interpolation>
2129 <center>
2130 <x-m>-0.36927</x-m>
2131 <y-m> 0.38169</y-m>
2132 <z-m>-0.25797</z-m>
2133 </center>
2134 <axis>
2135 <x> 0.0</x>
2136 <y>-1.0</y>
2137 <z> 0.0</z>
2138 </axis>
2139 </animation>
2140 <!-- Glovebox lock animation -->
2141 <animation>
2142 <type>rotate</type>
2143 <object-name>gloveboxlock</object-name>
2144 <property alias="../../params/doors/glovebox/property"/>
2145 <interpolation>
2146 <entry>
2147 <ind>0.0</ind>
2148 <dep>0.0</dep>
2149 </entry>
2150 <entry>
2151 <ind>.10</ind>
2152 <dep>-22.5.0</dep>
2153 </entry>
2154 <entry>
2155 <ind>.20</ind>
2156 <dep>-45.0</dep>
2157 </entry>
2158 </interpolation>
2159 <center>
2160 <x-m>-0.36675</x-m>
2161 <y-m> 0.38077</y-m>
2162 <z-m>-0.20765</z-m>
2163 </center>
2164 <axis>
2165 <x>1.0</x>
2166 <y>0.0</y>
2167 <z>0.0</z>
2168 </axis>
2169 </animation>
2170
2171 <!-- Door animation -->
2172 <animation>
2173 <type>rotate</type>
2174 <object-name>rightdoor</object-name>
2175 <object-name>rightdoorhandle</object-name>
2176 <object-name>rightwindow</object-name>
2177 <object-name>doorint_right</object-name>
2178 <object-name>doorhandleint_right</object-name>
2179 <object-name>doorintstrapright</object-name>
2180 <object-name>windlocket_right</object-name>
2181 <object-name>windlocketbak_right</object-name>
2182 <object-name>windowframerightint</object-name>
2183 <object-name>windowframerightext</object-name>
2184 <object-name>rightwindow_interior</object-name>
2185
2186 <object-name>doorint_right-fg1000</object-name>
2187 <object-name>doorhandleint_right-fg1000</object-name>
2188 <object-name>doorintstrapright-fg1000</object-name>
2189 <object-name>windlocket_right-fg1000</object-name>
2190 <object-name>windlocketbak_right-fg1000</object-name>
2191 <object-name>windowframerightint-fg1000</object-name>
2192
2193 <property alias="../../params/doors/right/property"/>
2194 <interpolation>
2195 <entry>
2196 <ind>0.0</ind>
2197 <dep>0.0</dep>
2198 </entry>
2199 <entry>
2200 <ind>0.5</ind>
2201 <dep>0</dep>
2202 </entry>
2203 <entry>
2204 <ind>1</ind>
2205 <dep>70.0</dep>
2206 </entry>
2207 </interpolation>
2208 <axis>
2209 <x1-m>-0.117</x1-m>
2210 <y1-m> 0.530</y1-m>
2211 <z1-m>-0.376</z1-m>
2212 <x2-m>-0.054</x2-m>
2213 <y2-m> 0.535</y2-m>
2214 <z2-m>-0.117</z2-m>
2215 </axis>
2216 </animation>
2217
2218 <!-- MOD: Changed angles from 70 to 50 - two entries on this block-->
2219 <animation>
2220 <type>rotate</type>
2221 <object-name>doorhandleint_right</object-name>
2222 <object-name>doorhandleint_right-fg1000</object-name>
2223 <property alias="../../params/doors/right/property"/>
2224 <condition>
2225 <equals>
2226 <property>sim/model/door-positions/rightDoor/opened</property>
2227 <value>0.0</value>
2228 </equals>
2229 </condition>
2230 <interpolation>
2231 <entry>
2232 <ind>0.0</ind>
2233 <dep>0.0</dep>
2234 </entry>
2235 <entry>
2236 <ind>0.18</ind>
2237 <dep>70.0</dep>
2238 </entry>
2239 <entry>
2240 <ind>0.26</ind>
2241 <dep>70.0</dep>
2242 </entry>
2243 <entry>
2244 <ind>0.35</ind>
2245 <dep>110.0</dep>
2246 </entry>
2247 <entry>
2248 <ind>0.43</ind>
2249 <dep>110.0</dep>
2250 </entry>
2251 <entry>
2252 <ind>0.5</ind>
2253 <dep>0.0</dep>
2254 </entry>
2255 <entry>
2256 <ind>1</ind>
2257 <dep>0.0</dep>
2258 </entry>
2259 </interpolation>
2260 <center>
2261 <x-m> 0.07864</x-m>
2262 <y-m> 0.46709</y-m>
2263 <z-m>-0.24414</z-m>
2264 </center>
2265 <axis>
2266 <x>0.0</x>
2267 <y>1.0</y>
2268 <z>0.0</z>
2269 </axis>
2270 </animation>
2271
2272 <animation>
2273 <type>rotate</type>
2274 <object-name>rightdoorhandle</object-name>
2275 <property alias="../../params/doors/right/property"/>
2276 <condition>
2277 <equals>
2278 <property>sim/model/door-positions/rightDoor/opened</property>
2279 <value>0.0</value>
2280 </equals>
2281 </condition>
2282 <interpolation>
2283 <entry>
2284 <ind>0.0</ind>
2285 <dep>0.0</dep>
2286 </entry>
2287 <entry>
2288 <ind>0.275</ind>
2289 <dep>-30.0</dep>
2290 </entry>
2291 <entry>
2292 <ind>0.55</ind>
2293 <dep>0.0</dep>
2294 </entry>
2295 <entry>
2296 <ind>1</ind>
2297 <dep>0.0</dep>
2298 </entry>
2299 </interpolation>
2300 <center>
2301 <x-m> 0.77042</x-m>
2302 <y-m> 0.51667</y-m>
2303 <z-m>-0.17336</z-m>
2304 </center>
2305 <axis>
2306 <x>0.0</x>
2307 <y>0.0</y>
2308 <z>1.0</z>
2309 </axis>
2310 </animation>
2311
2312 <animation>
2313 <type>rotate</type>
2314 <object-name>leftdoor</object-name>
2315 <object-name>leftdoorhandle</object-name>
2316 <object-name>leftwindow</object-name>
2317 <object-name>doorint_left</object-name>
2318 <object-name>doorhandleint_left</object-name>
2319 <object-name>doorintstrapleft</object-name>
2320 <object-name>windlocket_left</object-name>
2321 <object-name>windlocketbak_left</object-name>
2322 <object-name>windowframeleftint</object-name>
2323 <object-name>windowframeleftext</object-name>
2324 <object-name>leftwindow_interior</object-name>
2325
2326 <object-name>doorint_left-fg1000</object-name>
2327 <object-name>doorhandleint_left-fg1000</object-name>
2328 <object-name>doorintstrapleft-fg1000</object-name>
2329 <object-name>windlocket_left-fg1000</object-name>
2330 <object-name>windlocketbak_left-fg1000</object-name>
2331 <object-name>windowframeleftint-fg1000</object-name>
2332
2333 <property alias="../../params/doors/left/property"/>
2334 <interpolation>
2335 <entry>
2336 <ind>0.0</ind>
2337 <dep>0.0</dep>
2338 </entry>
2339 <entry>
2340 <ind>0.5</ind>
2341 <dep>0</dep>
2342 </entry>
2343 <entry>
2344 <ind>1</ind>
2345 <dep>-70.0</dep>
2346 </entry>
2347 </interpolation>
2348 <axis>
2349 <x1-m>-0.117</x1-m>
2350 <y1-m>-0.530</y1-m>
2351 <z1-m>-0.376</z1-m>
2352 <x2-m>-0.054</x2-m>
2353 <y2-m>-0.535</y2-m>
2354 <z2-m>-0.117</z2-m>
2355 </axis>
2356 </animation>
2357
2358 <!-- MOD: Changed angles from 70 to 50 - two entries on this block-->
2359 <animation>
2360 <type>rotate</type>
2361 <object-name>doorhandleint_left</object-name>
2362 <object-name>doorhandleint_left-fg1000</object-name>
2363 <property alias="../../params/doors/left/property"/>
2364 <condition>
2365 <equals>
2366 <property>sim/model/door-positions/leftDoor/opened</property>
2367 <value>0.0</value>
2368 </equals>
2369 </condition>
2370 <interpolation>
2371 <entry>
2372 <ind>0.0</ind>
2373 <dep>0.0</dep>
2374 </entry>
2375 <entry>
2376 <ind>0.18</ind>
2377 <dep>70.0</dep>
2378 </entry>
2379 <entry>
2380 <ind>0.26</ind>
2381 <dep>70.0</dep>
2382 </entry>
2383 <entry>
2384 <ind>0.35</ind>
2385 <dep>110.0</dep>
2386 </entry>
2387 <entry>
2388 <ind>0.43</ind>
2389 <dep>110.0</dep>
2390 </entry>
2391 <entry>
2392 <ind>0.5</ind>
2393 <dep>0.0</dep>
2394 </entry>
2395 <entry>
2396 <ind>1</ind>
2397 <dep>0.0</dep>
2398 </entry>
2399 </interpolation>
2400 <center>
2401 <x-m> 0.07864</x-m>
2402 <y-m>-0.46709</y-m>
2403 <z-m>-0.24414</z-m>
2404 </center>
2405 <axis>
2406 <x>0.0</x>
2407 <y>1.0</y>
2408 <z>0.0</z>
2409 </axis>
2410 </animation>
2411
2412 <animation>
2413 <type>rotate</type>
2414 <object-name>leftdoorhandle</object-name>
2415 <property alias="../../params/doors/left/property"/>
2416 <condition>
2417 <equals>
2418 <property>sim/model/door-positions/leftDoor/opened</property>
2419 <value>0.0</value>
2420 </equals>
2421 </condition>
2422 <interpolation>
2423 <entry>
2424 <ind>0.0</ind>
2425 <dep>0.0</dep>
2426 </entry>
2427 <entry>
2428 <ind>0.275</ind>
2429 <dep>30.0</dep>
2430 </entry>
2431 <entry>
2432 <ind>0.55</ind>
2433 <dep>0.0</dep>
2434 </entry>
2435 <entry>
2436 <ind>1</ind>
2437 <dep>0.0</dep>
2438 </entry>
2439 </interpolation>
2440 <center>
2441 <x-m> 0.76986</x-m>
2442 <y-m>-0.51523</y-m>
2443 <z-m>-0.17366</z-m>
2444 </center>
2445 <axis>
2446 <x>0.0</x>
2447 <y>0.0</y>
2448 <z>1.0</z>
2449 </axis>
2450 </animation>
2451
2452 <!-- Left Window -->
2453 <animation>
2454 <type>rotate</type>
2455 <object-name>leftwindow</object-name>
2456 <object-name>leftwindow_interior</object-name>
2457 <object-name>windlocket_left</object-name>
2458 <object-name>windlocketbak_left</object-name>
2459 <object-name>windowframeleftint</object-name>
2460 <object-name>windowframeleftext</object-name>
2461
2462 <object-name>windlocket_left-fg1000</object-name>
2463 <object-name>windlocketbak_left-fg1000</object-name>
2464 <object-name>windowframeleftint-fg1000</object-name>
2465
2466 <property alias="/params/windows/left"/>
2467 <interpolation>
2468 <entry>
2469 <ind>0.0</ind>
2470 <dep>0.0</dep>
2471 </entry>
2472 <entry>
2473 <ind>0.5</ind>
2474 <dep>0.0</dep>
2475 </entry>
2476 <entry>
2477 <ind>1</ind>
2478 <dep>-20.0</dep>
2479 </entry>
2480 </interpolation>
2481 <center>
2482 <x-m>0.4485</x-m>
2483 <y-m>-0.5212</y-m>
2484 <z-m>0.2791</z-m>
2485 </center>
2486 <axis>
2487 <x>1</x>
2488 <y>0</y>
2489 <z>0</z>
2490 </axis>
2491 </animation>
2492 <animation>
2493 <type>rotate</type>
2494 <object-name>windlocket_left</object-name>
2495 <object-name>windlocket_left-fg1000</object-name>
2496 <property alias="/params/windows/left"/>
2497 <interpolation>
2498 <entry>
2499 <ind>0.0</ind>
2500 <dep>0.0</dep>
2501 </entry>
2502 <entry>
2503 <ind>0.5</ind>
2504 <dep>90.0</dep>
2505 </entry>
2506 <entry>
2507 <ind>1</ind>
2508 <dep>90.0</dep>
2509 </entry>
2510 </interpolation>
2511 <center>
2512 <x-m> 0.3358</x-m>
2513 <y-m>-0.51659</y-m>
2514 <z-m>-0.04665</z-m>
2515 </center>
2516 <axis>
2517 <x>0</x>
2518 <y>1</y>
2519 <z>0</z>
2520 </axis>
2521 </animation>
2522
2523 <!-- Right Window -->
2524 <animation>
2525 <type>rotate</type>
2526 <object-name>rightwindow</object-name>
2527 <object-name>rightwindow_interior</object-name>
2528 <object-name>windlocket_right</object-name>
2529 <object-name>windlocketbak_right</object-name>
2530 <object-name>windowframerightint</object-name>
2531 <object-name>windowframerightext</object-name>
2532
2533 <object-name>windlocket_right-fg1000</object-name>
2534 <object-name>windlocketbak_right-fg1000</object-name>
2535 <object-name>windowframerightint-fg1000</object-name>
2536
2537 <property alias="/params/windows/right"/>
2538 <interpolation>
2539 <entry>
2540 <ind>0.0</ind>
2541 <dep>0.0</dep>
2542 </entry>
2543 <entry>
2544 <ind>0.5</ind>
2545 <dep>0.0</dep>
2546 </entry>
2547 <entry>
2548 <ind>1</ind>
2549 <dep>20.0</dep>
2550 </entry>
2551 </interpolation>
2552 <center>
2553 <x-m>0.4564</x-m>
2554 <y-m>0.5226</y-m>
2555 <z-m>0.2798</z-m>
2556 </center>
2557 <axis>
2558 <x>1</x>
2559 <y>0</y>
2560 <z>0</z>
2561 </axis>
2562 </animation>
2563 <animation>
2564 <type>rotate</type>
2565 <object-name>windlocket_right</object-name>
2566 <object-name>windlocket_right-fg1000</object-name>
2567 <property alias="/params/windows/right"/>
2568 <interpolation>
2569 <entry>
2570 <ind>0.0</ind>
2571 <dep>0.0</dep>
2572 </entry>
2573 <entry>
2574 <ind>0.5</ind>
2575 <dep>90.0</dep>
2576 </entry>
2577 <entry>
2578 <ind>1</ind>
2579 <dep>90.0</dep>
2580 </entry>
2581 </interpolation>
2582 <center>
2583 <x-m> 0.3358</x-m>
2584 <y-m> 0.51712</y-m>
2585 <z-m>-0.04189</z-m>
2586 </center>
2587 <axis>
2588 <x>0</x>
2589 <y>1</y>
2590 <z>0</z>
2591 </axis>
2592 </animation>
2593
2594 <animation>
2595 <type>rotate</type>
2596 <object-name>baggagedoorexterior</object-name>
2597 <object-name>baggagedoorinterior</object-name>
2598 <object-name>baggagedoorhandle</object-name>
2599
2600 <object-name>baggagedoorinterior-fg1000</object-name>
2601
2602 <property alias="../../params/doors/baggage/property"/>
2603 <factor>-90</factor>
2604 <axis>
2605 <x1-m>1.373</x1-m>
2606 <y1-m>-0.445</y1-m>
2607 <z1-m>-0.656</z1-m>
2608 <x2-m>1.424</x2-m>
2609 <y2-m>-0.445</y2-m>
2610 <z2-m>-0.204</z2-m>
2611 </axis>
2612 </animation>
2613
2614 <animation>
2615 <type>rotate</type>
2616 <object-name>baggagedoorhandle</object-name>
2617 <property alias="../../params/doors/baggage/property"/>
2618 <condition>
2619 <equals>
2620 <property>sim/model/door-positions/baggageDoor/opened</property>
2621 <value>0.0</value>
2622 </equals>
2623 </condition>
2624 <interpolation>
2625 <entry>
2626 <ind>0.0</ind>
2627 <dep>0.0</dep>
2628 </entry>
2629 <entry>
2630 <ind>0.15</ind>
2631 <dep>30.0</dep>
2632 </entry>
2633 <entry>
2634 <ind>0.3</ind>
2635 <dep>0.0</dep>
2636 </entry>
2637 <entry>
2638 <ind>1</ind>
2639 <dep>0.0</dep>
2640 </entry>
2641 </interpolation>
2642 <center>
2643 <x-m> 1.84848</x-m>
2644 <y-m>-0.44489</y-m>
2645 <z-m>-0.43722</z-m>
2646 </center>
2647 <axis>
2648 <x>0.0</x>
2649 <y>0.0</y>
2650 <z>1.0</z>
2651 </axis>
2652 </animation>
2653
2654 <!-- Parking Brake -->
2655 <animation>
2656 <type>translate</type>
2657 <object-name>ParkingBrake</object-name>
2658 <object-name>ParkingBrake-fg1000</object-name>
2659 <expression>
2660 <table>
2661 <property alias="/params/controls/parking-lever"/>
2662 <entry> <ind>0.00</ind> <dep>0.00</dep> </entry>
2663 <entry> <ind>0.20</ind> <dep>0.02</dep> </entry>
2664 <entry> <ind>0.40</ind> <dep>0.03</dep> </entry>
2665 <entry> <ind>0.60</ind> <dep>0.035</dep> </entry>
2666 <entry> <ind>0.70</ind> <dep>0.04</dep> </entry>
2667 </table>
2668 </expression>
2669 <axis>
2670 <x>1.0</x>
2671 <y>0.0</y>
2672 <z>0.0</z>
2673 </axis>
2674 </animation>
2675 <animation>
2676 <type>pick</type>
2677 <object-name>ParkingBrake</object-name>
2678 <object-name>ParkingBrake-fg1000</object-name>
2679 <visible>true</visible>
2680 <action>
2681 <name>Select</name>
2682 <button>0</button>
2683 <binding>
2684 <command>property-toggle</command>
2685 <property>controls/gear/brake-parking</property>
2686 </binding>
2687 <binding>
2688 <command>nasal</command>
2689 <script>c172p.click("parking", 1.6)</script>
2690 </binding>
2691 </action>
2692 <hovered>
2693 <binding>
2694 <command>set-tooltip</command>
2695 <label>Parking brake: %s</label>
2696 <property>controls/gear/brake-parking</property>
2697 <tooltip-id>parking-brake</tooltip-id>
2698 <mapping>on-off</mapping>
2699 </binding>
2700 </hovered>
2701 </animation>
2702
2703 <animation>
2704 <type>translate</type>
2705 <object-name>Throttle</object-name>
2706 <object-name>Throttle-fg1000</object-name>
2707 <property alias="/params/controls/throttle"/>
2708 <factor>-0.08</factor>
2709 <axis>
2710 <x>1.0</x>
2711 <y>0.0</y>
2712 <z>0.0</z>
2713 </axis>
2714 </animation>
2715 <animation>
2716 <type>slider</type>
2717 <object-name>Throttle</object-name>
2718 <object-name>ThrottleMount</object-name>
2719 <object-name>Throttle-fg1000</object-name>
2720 <object-name>ThrottleMount-fg1000</object-name>
2721 <visible>true</visible>
2722 <drag-direction>vertical</drag-direction>
2723 <!-- no translation, we handle that seperately -->
2724 <shift-repeat>2</shift-repeat>
2725 <action>
2726 <binding>
2727 <condition>
2728 <not><property>/devices/status/keyboard/alt</property></not>
2729 </condition>
2730 <command>property-adjust</command>
2731 <property>/controls/engines/engine[0]/throttle</property>
2732 <factor>0.05</factor>
2733 <min>0</min>
2734 <max>1</max>
2735 <wrap>0</wrap>
2736 </binding>
2737 <binding>
2738 <condition>
2739 <not><property>/devices/status/keyboard/alt</property></not>
2740 </condition>
2741 <command>property-adjust</command>
2742 <property>/controls/engines/engine[1]/throttle</property>
2743 <factor>0.01</factor>
2744 <min>0</min>
2745 <max>1</max>
2746 <wrap>0</wrap>
2747 </binding>
2748 <binding>
2749 <condition>
2750 <property>/devices/status/keyboard/alt</property>
2751 </condition>
2752 <command>property-adjust</command>
2753 <property>/controls/engines/engine[0]/throttle</property>
2754 <factor>0.05</factor>
2755 <min>0</min>
2756 <max>1</max>
2757 <wrap>0</wrap>
2758 </binding>
2759 <binding>
2760 <condition>
2761 <property>/devices/status/keyboard/alt</property>
2762 </condition>
2763 <command>property-adjust</command>
2764 <property>/controls/engines/engine[1]/throttle</property>
2765 <factor>0.01</factor>
2766 <min>0</min>
2767 <max>1</max>
2768 <wrap>0</wrap>
2769 </binding>
2770 </action>
2771 <hovered>
2772 <binding>
2773 <command>set-tooltip</command>
2774 <label>Throttle: %3d%%</label>
2775 <measure-text>Throttle: 100%</measure-text>
2776 <tooltip-id>throttle</tooltip-id>
2777 <mapping>percent</mapping>
2778 <property alias="/params/controls/throttle"/>
2779 </binding>
2780 </hovered>
2781 </animation>
2782
2783 <!-- Alt static knob -->
2784 <animation>
2785 <type>slider</type>
2786 <object-name>AltStaticAir</object-name>
2787 <property>systems/static-selected-source-norm</property>
2788 <factor>0.010</factor>
2789 <axis>
2790 <x>1</x>
2791 <y>0</y>
2792 <z>0</z>
2793 </axis>
2794 <action>
2795 <binding>
2796 <command>property-toggle</command>
2797 <property alias="/params/controls/altstaticair"/>
2798 </binding>
2799 </action>
2800 <hovered>
2801 <binding>
2802 <command>set-tooltip</command>
2803 <tooltip-id>alt-static-air-tooltip</tooltip-id>
2804 <mapping>on-off</mapping>
2805 <label>Alternate static air: %s</label>
2806 <property alias="/params/controls/altstaticair"/>
2807 </binding>
2808 </hovered>
2809 </animation>
2810
2811 <animation>
2812 <type>translate</type>
2813 <object-name>Mixture</object-name>
2814 <object-name>Mixture-fg1000</object-name>
2815 <property alias="/params/controls/mixture"/>
2816 <factor>-0.08</factor>
2817 <axis>
2818 <x>1.0</x>
2819 <y>0.0</y>
2820 <z>0.0</z>
2821 </axis>
2822 </animation>
2823 <animation>
2824 <type>slider</type>
2825 <object-name>Mixture</object-name>
2826 <object-name>MixtureMount</object-name>
2827 <object-name>Mixture-fg1000</object-name>
2828 <object-name>MixtureMount-fg1000</object-name>
2829 <visible>true</visible>
2830 <!-- no translation, we handle that seperately -->
2831 <drag-direction>vertical</drag-direction>
2832 <shift-repeat>2</shift-repeat>
2833 <action>
2834 <binding>
2835 <condition>
2836 <not><property>/devices/status/keyboard/alt</property></not>
2837 </condition>
2838 <command>property-adjust</command>
2839 <property>controls/engines/current-engine/mixture</property>
2840 <factor>0.05</factor>
2841 <min>0</min>
2842 <max>1</max>
2843 <wrap>0</wrap>
2844 </binding>
2845 <binding>
2846 <condition>
2847 <property>/devices/status/keyboard/alt</property>
2848 </condition>
2849 <command>property-adjust</command>
2850 <property>controls/engines/current-engine/mixture</property>
2851 <factor>0.01</factor>
2852 <min>0</min>
2853 <max>1</max>
2854 <wrap>0</wrap>
2855 </binding>
2856 </action>
2857 <hovered>
2858 <binding>
2859 <command>set-tooltip</command>
2860 <label>Mixture: %3d%%</label>
2861 <measure-text>Mixture: 100%</measure-text>
2862 <tooltip-id>mixture</tooltip-id>
2863 <mapping>percent</mapping>
2864 <property alias="/params/controls/mixture"/>
2865 </binding>
2866 </hovered>
2867 </animation>
2868
2869 <!-- Hide interior glass when in exterior view unless raining-->
2870 <animation>
2871 <type>select</type>
2872 <object-name>glas_interior</object-name>
2873 <object-name>leftwindow_interior</object-name>
2874 <object-name>rightwindow_interior</object-name>
2875 <object-name>glas_interior_sides</object-name>
2876 <condition>
2877 <or>
2878 <property>sim/current-view/internal</property>
2879 <property>environment/rain-norm</property>
2880 </or>
2881 </condition>
2882 </animation>
2883
2884 <!-- Fuel Selector -->
2885 <animation>
2886 <type>select</type>
2887 <object-name>FuelSelectorOff</object-name>
2888 <object-name>FuelSelectorOff-fg1000</object-name>
2889 <condition>
2890 <and>
2891 <not>
2892 <property>consumables/fuel/tank[0]/selected</property>
2893 </not>
2894 <not>
2895 <property>consumables/fuel/tank[1]/selected</property>
2896 </not>
2897 <not>
2898 <property>consumables/fuel/tank[2]/selected</property>
2899 </not>
2900 <not>
2901 <property>consumables/fuel/tank[3]/selected</property>
2902 </not>
2903 </and>
2904 </condition>
2905 </animation>
2906 <animation>
2907 <type>select</type>
2908 <object-name>FuelSelectorLeft</object-name>
2909 <object-name>FuelSelectorLeft-fg1000</object-name>
2910 <condition>
2911 <or>
2912 <and>
2913 <property>consumables/fuel/tank[0]/selected</property>
2914 <not>
2915 <property>consumables/fuel/tank[1]/selected</property>
2916 </not>
2917 </and>
2918 <and>
2919 <property>consumables/fuel/tank[2]/selected</property>
2920 <not>
2921 <property>consumables/fuel/tank[3]/selected</property>
2922 </not>
2923 </and>
2924 </or>
2925 </condition>
2926 </animation>
2927 <animation>
2928 <type>select</type>
2929 <object-name>FuelSelectorRight</object-name>
2930 <object-name>FuelSelectorRight-fg1000</object-name>
2931 <condition>
2932 <or>
2933 <and>
2934 <not>
2935 <property>consumables/fuel/tank[0]/selected</property>
2936 </not>
2937 <property>consumables/fuel/tank[1]/selected</property>
2938 </and>
2939 <and>
2940 <not>
2941 <property>consumables/fuel/tank[2]/selected</property>
2942 </not>
2943 <property>consumables/fuel/tank[3]/selected</property>
2944 </and>
2945 </or>
2946 </condition>
2947 </animation>
2948 <animation>
2949 <type>select</type>
2950 <object-name>FuelSelectorBoth</object-name>
2951 <object-name>FuelSelectorBoth-fg1000</object-name>
2952 <condition>
2953 <or>
2954 <and>
2955 <property>consumables/fuel/tank[0]/selected</property>
2956 <property>consumables/fuel/tank[1]/selected</property>
2957 </and>
2958 <and>
2959 <property>consumables/fuel/tank[2]/selected</property>
2960 <property>consumables/fuel/tank[3]/selected</property>
2961 </and>
2962 </or>
2963 </condition>
2964 </animation>
2965 <animation>
2966 <type>pick</type>
2967 <object-name>FuelHotspotOff</object-name>
2968 <visible>true</visible>
2969 <action>
2970 <button>0</button>
2971 <repeatable>false</repeatable>
2972 <binding>
2973 <command>property-assign</command>
2974 <property>consumables/fuel/tank[0]/selected</property>
2975 <value>false</value>
2976 </binding>
2977 <binding>
2978 <command>property-assign</command>
2979 <property>consumables/fuel/tank[1]/selected</property>
2980 <value>false</value>
2981 </binding>
2982 <binding>
2983 <command>property-assign</command>
2984 <property>consumables/fuel/tank[2]/selected</property>
2985 <value>false</value>
2986 </binding>
2987 <binding>
2988 <command>property-assign</command>
2989 <property>consumables/fuel/tank[3]/selected</property>
2990 <value>false</value>
2991 </binding>
2992 </action>
2993 </animation>
2994 <animation>
2995 <type>pick</type>
2996 <object-name>FuelHotspotLeft</object-name>
2997 <visible>true</visible>
2998 <action>
2999 <button>0</button>
3000 <repeatable>false</repeatable>
3001 <binding>
3002 <command>nasal</command>
3003 <script>
3004 var integral_tanks = getprop("/fdm/jsbsim/fuel/tank");
3005 if (integral_tanks) {
3006 setprop("/consumables/fuel/tank[2]/selected", 1);
3007 setprop("/consumables/fuel/tank[3]/selected", 0);
3008 setprop("/consumables/fuel/tank[0]/selected", 0);
3009 setprop("/consumables/fuel/tank[1]/selected", 0);
3010 } else {
3011 setprop("/consumables/fuel/tank[0]/selected", 1);
3012 setprop("/consumables/fuel/tank[1]/selected", 0);
3013 setprop("/consumables/fuel/tank[2]/selected", 0);
3014 setprop("/consumables/fuel/tank[3]/selected", 0);
3015 }
3016 </script>
3017 </binding>
3018 </action>
3019 </animation>
3020 <animation>
3021 <type>pick</type>
3022 <object-name>FuelHotspotRight</object-name>
3023 <visible>true</visible>
3024 <action>
3025 <button>0</button>
3026 <repeatable>false</repeatable>
3027 <binding>
3028 <command>nasal</command>
3029 <script>
3030 var integral_tanks = getprop("/fdm/jsbsim/fuel/tank");
3031 if (integral_tanks) {
3032 setprop("/consumables/fuel/tank[2]/selected", 0);
3033 setprop("/consumables/fuel/tank[3]/selected", 1);
3034 setprop("/consumables/fuel/tank[0]/selected", 0);
3035 setprop("/consumables/fuel/tank[1]/selected", 0);
3036 } else {
3037 setprop("/consumables/fuel/tank[0]/selected", 0);
3038 setprop("/consumables/fuel/tank[1]/selected", 1);
3039 setprop("/consumables/fuel/tank[2]/selected", 0);
3040 setprop("/consumables/fuel/tank[3]/selected", 0);
3041 }
3042 </script>
3043 </binding>
3044 </action>
3045 </animation>
3046 <animation>
3047 <type>pick</type>
3048 <object-name>FuelHotspotBoth</object-name>
3049 <visible>true</visible>
3050 <action>
3051 <button>0</button>
3052 <repeatable>false</repeatable>
3053 <binding>
3054 <command>nasal</command>
3055 <script>
3056 var integral_tanks = getprop("/fdm/jsbsim/fuel/tank");
3057 if (integral_tanks) {
3058 setprop("/consumables/fuel/tank[2]/selected", 1);
3059 setprop("/consumables/fuel/tank[3]/selected", 1);
3060 setprop("/consumables/fuel/tank[0]/selected", 0);
3061 setprop("/consumables/fuel/tank[1]/selected", 0);
3062 } else {
3063 setprop("/consumables/fuel/tank[0]/selected", 1);
3064 setprop("/consumables/fuel/tank[1]/selected", 1);
3065 setprop("/consumables/fuel/tank[2]/selected", 0);
3066 setprop("/consumables/fuel/tank[3]/selected", 0);
3067 }
3068 </script>
3069 </binding>
3070 </action>
3071 </animation>
3072
3073 <!-- ================================================================== -->
3074 <!-- Exterior Lighting -->
3075 <!-- ================================================================== -->
3076
3077 <!-- Courtesy Lights -->
3078 <animation>
3079 <type>material</type>
3080 <object-name>courtesyon-l</object-name>
3081 <condition>
3082 <not>
3083 <property alias="/params/glass"/>
3084 </not>
3085 </condition>
3086 <emission>
3087 <red> 0.697</red>
3088 <green>0.689</green>
3089 <blue> 0.445</blue>
3090 <factor-prop>sim/model/c172p/lighting/courtesy</factor-prop>
3091 </emission>
3092 </animation>
3093 <animation>
3094 <type>material</type>
3095 <object-name>courtesyon-r</object-name>
3096 <condition>
3097 <not>
3098 <property alias="/params/glass"/>
3099 </not>
3100 </condition>
3101 <emission>
3102 <red> 0.697</red>
3103 <green>0.689</green>
3104 <blue> 0.445</blue>
3105 <factor-prop>sim/model/c172p/lighting/courtesy</factor-prop>
3106 </emission>
3107 </animation>
3108 <animation>
3109 <type>material</type>
3110 <object-name>courtesyon-l</object-name>
3111 <condition>
3112 <property alias="/params/glass"/>
3113 </condition>
3114 <emission>
3115 <red> 0.697</red>
3116 <green>0.689</green>
3117 <blue> 0.445</blue>
3118 <factor-prop>controls/lighting/domeL</factor-prop>
3119 </emission>
3120 </animation>
3121 <animation>
3122 <type>material</type>
3123 <object-name>courtesyon-r</object-name>
3124 <condition>
3125 <property alias="/params/glass"/>
3126 </condition>
3127 <emission>
3128 <red> 0.697</red>
3129 <green>0.689</green>
3130 <blue> 0.445</blue>
3131 <factor-prop>controls/lighting/domeR</factor-prop>
3132 </emission>
3133 </animation>
3134
3135 <!-- ================================================================== -->
3136 <!-- ALS Procedural Lighting (physical light stars) -->
3137 <!-- ================================================================== -->
3138
3139 <!-- Uncomment for ALS procedural beacon -->
3140 <!-- Beacon light -->
3141 <!--animation>
3142 <type>select</type>
3143 <object-name>beacon-light</object-name>
3144 <nopreview/>
3145 <condition>
3146 <and>
3147 <property alias="/params/lighting/beacon"/>
3148 <property>sim/rendering/shaders/skydome</property>
3149 </and>
3150 </condition>
3151 </animation>
3152 <model>
3153 <name>beacon-light</name>
3154 <path>Effects/lights/procedural_light_beacon.xml</path>
3155 <offsets>
3156 <x-m> 5.50112</x-m>
3157 <y-m>-0.000189</y-m>
3158 <z-m> 1.07635</z-m>
3159 </offsets>
3160 </model-->
3161
3162 <model>
3163 <name>courtesy-r-fg1000</name>
3164 <path>Aircraft/c172p/Models/Effects/interior/procedural_light_courtesy-r-fg1000.xml</path>
3165 <offsets>
3166 <x-m> 0.74 </x-m>
3167 <y-m> 1.65 </y-m>
3168 <z-m> 0.3275 </z-m>
3169 </offsets>
3170 </model>
3171
3172 <model>
3173 <name>courtesy-l-fg1000</name>
3174 <path>Aircraft/c172p/Models/Effects/interior/procedural_light_courtesy-l-fg1000.xml</path>
3175 <offsets>
3176 <x-m> 0.74 </x-m>
3177 <y-m>-1.65 </y-m>
3178 <z-m> 0.3275 </z-m>
3179 </offsets>
3180 </model>
3181
3182 <model>
3183 <name>courtesy-r</name>
3184 <path>Aircraft/c172p/Models/Effects/interior/procedural_light_courtesy.xml</path>
3185 <offsets>
3186 <x-m> 0.74 </x-m>
3187 <y-m> 1.65 </y-m>
3188 <z-m> 0.3275 </z-m>
3189 </offsets>
3190 </model>
3191
3192 <model>
3193 <name>courtesy-l</name>
3194 <path>Aircraft/c172p/Models/Effects/interior/procedural_light_courtesy.xml</path>
3195 <offsets>
3196 <x-m> 0.74 </x-m>
3197 <y-m>-1.65 </y-m>
3198 <z-m> 0.3275 </z-m>
3199 </offsets>
3200 </model>
3201
3202 <!-- Green navigation light on starboard side (right) -->
3203 <model>
3204 <name>nav-light-right</name>
3205 <path>Effects/lights/procedural_light_nav_right.xml</path>
3206 <offsets>
3207 <x-m>0.102</x-m>
3208 <y-m>5.66</y-m>
3209 <z-m>0.53459</z-m>
3210 </offsets>
3211 </model>
3212 <animation>
3213 <type>select</type>
3214 <object-name>nav-light-right</object-name>
3215 <nopreview/>
3216 <condition>
3217 <and>
3218 <property alias="/params/lighting/navigation"/>
3219 <not-equals>
3220 <property alias="/params/wing_right_damaged/property"/>
3221 <value>1</value>
3222 </not-equals>
3223 <not>
3224 <property alias="/params/crash/property"/>
3225 </not>
3226 </and>
3227 </condition>
3228 </animation>
3229
3230 <!-- Red navigation light on port side (left) -->
3231 <model>
3232 <name>nav-light-left</name>
3233 <path>Effects/lights/procedural_light_nav_left.xml</path>
3234 <offsets>
3235 <x-m> 0.108</x-m>
3236 <y-m>-5.66</y-m>
3237 <z-m> 0.53365</z-m>
3238 </offsets>
3239 </model>
3240 <animation>
3241 <type>select</type>
3242 <object-name>nav-light-left</object-name>
3243 <nopreview/>
3244 <condition>
3245 <and>
3246 <property alias="/params/lighting/navigation"/>
3247 <not-equals>
3248 <property alias="/params/wing_left_damaged/property"/>
3249 <value>1</value>
3250 </not-equals>
3251 <not>
3252 <property alias="/params/crash/property"/>
3253 </not>
3254 </and>
3255 </condition>
3256 </animation>
3257
3258 <!-- White navigation light on tail -->
3259 <model>
3260 <name>nav-light-tail</name>
3261 <path>Effects/lights/procedural_light_nav_tail.xml</path>
3262 <offsets>
3263 <x-m>6.11</x-m>
3264 <y-m>0.0042</y-m>
3265 <z-m>0.9722</z-m>
3266 </offsets>
3267 </model>
3268 <animation>
3269 <type>select</type>
3270 <object-name>nav-light-tail</object-name>
3271 <nopreview/>
3272 <condition>
3273 <property alias="/params/lighting/navigation"/>
3274 </condition>
3275 </animation>
3276
3277 <model>
3278 <name>strobe-light-left</name>
3279 <path>Effects/lights/procedural_light_left_strobe.xml</path>
3280 <offsets>
3281 <x-m> 0.15</x-m>
3282 <y-m>-5.66</y-m>
3283 <z-m> 0.53365</z-m>
3284 </offsets>
3285 </model>
3286 <animation>
3287 <type>select</type>
3288 <object-name>strobe-light-left</object-name>
3289 <nopreview/>
3290 <condition>
3291 <and>
3292 <property alias="/params/lighting/strobes"/>
3293 <not-equals>
3294 <property alias="/params/wing_left_damaged/property"/>
3295 <value>1</value>
3296 </not-equals>
3297 <not>
3298 <property alias="/params/crash/property"/>
3299 </not>
3300 </and>
3301 </condition>
3302 </animation>
3303
3304 <model>
3305 <name>strobe-light-right</name>
3306 <path>Effects/lights/procedural_light_right_strobe.xml</path>
3307 <offsets>
3308 <x-m>0.15</x-m>
3309 <y-m>5.66</y-m>
3310 <z-m>0.53459</z-m>
3311 </offsets>
3312 </model>
3313 <animation>
3314 <type>select</type>
3315 <object-name>strobe-light-right</object-name>
3316 <nopreview/>
3317 <condition>
3318 <and>
3319 <property alias="/params/lighting/strobes"/>
3320 <not-equals>
3321 <property alias="/params/wing_right_damaged/property"/>
3322 <value>1</value>
3323 </not-equals>
3324 <not>
3325 <property alias="/params/crash/property"/>
3326 </not>
3327 </and>
3328 </condition>
3329 </animation>
3330
3331 <!-- ================================================================== -->
3332 <!-- ALS and Default Renderer -->
3333 <!-- ================================================================== -->
3334
3335 <!-- Landing Light -->
3336 <animation>
3337 <type>select</type>
3338 <object-name>landinglight</object-name>
3339 <nopreview/>
3340 <condition>
3341 <and>
3342 <property alias="/params/lighting/landing/property"/>
3343 <not>
3344 <property alias="/params/crash/property"/>
3345 </not>
3346 <not-equals>
3347 <property alias="/params/wing_left_damaged/property"/>
3348 <value>1</value>
3349 </not-equals>
3350 </and>
3351 </condition>
3352 </animation>
3353 <animation>
3354 <type>flash</type>
3355 <object-name>landinglight</object-name>
3356 <center>
3357 <x-m>-0.135</x-m>
3358 <y-m>-2.940</y-m>
3359 <z-m> 0.520</z-m>
3360 </center>
3361 <axis>
3362 <x>-1</x>
3363 <y>0</y>
3364 <z>0</z>
3365 </axis>
3366 <power>8</power>
3367 <factor>6</factor>
3368 <offset>0</offset>
3369 <two-sides type="bool">false</two-sides>
3370 <min>0.5</min>
3371 <max>80</max>
3372 </animation>
3373
3374 <!-- Taxi Light -->
3375 <animation>
3376 <type>select</type>
3377 <object-name>taxilight</object-name>
3378 <nopreview/>
3379 <condition>
3380 <and>
3381 <property alias="/params/lighting/taxi/property"/>
3382 <not>
3383 <property alias="/params/crash/property"/>
3384 </not>
3385 <not-equals>
3386 <property alias="/params/wing_left_damaged/property"/>
3387 <value>1</value>
3388 </not-equals>
3389 </and>
3390 </condition>
3391 </animation>
3392 <animation>
3393 <type>flash</type>
3394 <object-name>taxilight</object-name>
3395 <center>
3396 <x-m>-0.135</x-m>
3397 <y-m>-2.750</y-m>
3398 <z-m> 0.520</z-m>
3399 </center>
3400 <axis>
3401 <x>-1</x>
3402 <y>0</y>
3403 <z>0</z>
3404 </axis>
3405 <power>8</power>
3406 <factor>5</factor>
3407 <offset>0</offset>
3408 <two-sides type="bool">false</two-sides>
3409 <min>0.5</min>
3410 <max>80</max>
3411 </animation>
3412
3413 <animation>
3414 <type>select</type>
3415 <object-name>BeaconOffX</object-name>
3416 <nopreview/>
3417 <condition>
3418 <property alias="/params/lighting/beacon"/>
3419 </condition>
3420 </animation>
3421 <BeaconOffXparams>
3422 <light-near>0.4</light-near>
3423 <light-med>0.8</light-med>
3424 <light-far>10</light-far>
3425 </BeaconOffXparams>
3426 <animation>
3427 <type>alpha-test</type>
3428 <object-name>BeaconOffX</object-name>
3429 <alpha-factor>0.001</alpha-factor>
3430 </animation>
3431 <animation>
3432 <type>translate</type>
3433 <object-name>BeaconOffX</object-name>
3434 <offset-m>5.599</offset-m>
3435 <axis>
3436 <!-- MOD: Position beacon light at MEDIAN point of the object -->
3437 <x>5.49803</x>
3438 <y>0.00000</y>
3439 <z>1.081</z>
3440 <!-- MODEND: Position beacon light at MEDIAN point of the object -->
3441 </axis>
3442 </animation>
3443 <animation>
3444 <type>billboard</type>
3445 <object-name>BeaconOffX</object-name>
3446 <spherical type="bool">true</spherical>
3447 </animation>
3448 <animation>
3449 <type>dist-scale</type>
3450 <object-name>BeaconOffX</object-name>
3451 <interpolation>
3452 <entry>
3453 <ind>0</ind>
3454 <dep alias="/BeaconOffXparams/light-near"/>
3455 </entry>
3456 <entry>
3457 <ind>500</ind>
3458 <dep alias="/BeaconOffXparams/light-med"/>
3459 </entry>
3460 <entry>
3461 <ind>16000</ind>
3462 <dep alias="/BeaconOffXparams/light-far"/>
3463 </entry>
3464 </interpolation>
3465 </animation>
3466
3467 <!-- ================================================================== -->
3468 <!-- Procedural Clustered Shading Lighting -->
3469 <!-- ================================================================== -->
3470
3471 <!-- Procedural Landing Light -->
3472 <animation>
3473 <type>select</type>
3474 <object-name>ProceduralLandingLight</object-name>
3475 <nopreview/>
3476 <condition>
3477 <and>
3478 <property alias="/params/lighting/landing/property"/>
3479 <not>
3480 <property alias="/params/crash/property"/>
3481 </not>
3482 <not-equals>
3483 <property alias="/params/wing_left_damaged/property"/>
3484 <value>1</value>
3485 </not-equals>
3486 </and>
3487 </condition>
3488 </animation>
3489 <light>
3490 <name>ProceduralLandingLight</name>
3491 <type>spot</type>
3492 <position>
3493 <x-m>-0.135</x-m>
3494 <y-m>-2.940</y-m>
3495 <z-m> 0.520</z-m>
3496 </position>
3497 <direction>
3498 <lookat-x-m>-19.222</lookat-x-m>
3499 <lookat-y-m>0</lookat-y-m>
3500 <lookat-z-m>-0.920</lookat-z-m>
3501 </direction>
3502 <ambient>
3503 <r>0.95</r>
3504 <g>0.95</g>
3505 <b>0.95</b>
3506 <a>1</a>
3507 </ambient>
3508 <diffuse>
3509 <r>0.95</r>
3510 <g>0.95</g>
3511 <b>0.95</b>
3512 <a>1</a>
3513 </diffuse>
3514 <specular>
3515 <r>0.95</r>
3516 <g>0.95</g>
3517 <b>0.95</b>
3518 <a>1</a>
3519 </specular>
3520 <attenuation>
3521 <c>1.0</c>
3522 <l>0.014</l>
3523 <q>0.0007</q>
3524 </attenuation>
3525 <spot-exponent>15</spot-exponent>
3526 <spot-cutoff>60</spot-cutoff>
3527 <range-m>325</range-m>
3528 <debug-color>
3529 <r>1</r>
3530 <g>1</g>
3531 <b>1</b>
3532 <a>1</a>
3533 </debug-color>
3534 </light>
3535
3536 <!-- Procedural Taxi Light -->
3537 <animation>
3538 <type>select</type>
3539 <object-name>ProceduralTaxiLight</object-name>
3540 <nopreview/>
3541 <condition>
3542 <and>
3543 <property alias="/params/lighting/taxi/property"/>
3544 <not>
3545 <property alias="/params/crash/property"/>
3546 </not>
3547 <not-equals>
3548 <property alias="/params/wing_left_damaged/property"/>
3549 <value>1</value>
3550 </not-equals>
3551 </and>
3552 </condition>
3553 </animation>
3554 <light>
3555 <name>ProceduralTaxiLight</name>
3556 <type>spot</type>
3557 <position>
3558 <x-m>-0.135</x-m>
3559 <y-m>-2.750</y-m>
3560 <z-m> 0.520</z-m>
3561 </position>
3562 <direction>
3563 <lookat-x-m>-19.222</lookat-x-m>
3564 <lookat-y-m>0</lookat-y-m>
3565 <lookat-z-m>-0.920</lookat-z-m>
3566 </direction>
3567 <ambient>
3568 <r>0.95</r>
3569 <g>0.95</g>
3570 <b>0.95</b>
3571 <a>1</a>
3572 </ambient>
3573 <diffuse>
3574 <r>0.95</r>
3575 <g>0.95</g>
3576 <b>0.95</b>
3577 <a>1</a>
3578 </diffuse>
3579 <specular>
3580 <r>0.95</r>
3581 <g>0.95</g>
3582 <b>0.95</b>
3583 <a>1</a>
3584 </specular>
3585 <attenuation>
3586 <c>1.0</c>
3587 <l>0.07</l>
3588 <q>0.017</q>
3589 </attenuation>
3590 <spot-exponent>15</spot-exponent>
3591 <spot-cutoff>60</spot-cutoff>
3592 <range-m>65</range-m>
3593 <debug-color>
3594 <r>1</r>
3595 <g>1</g>
3596 <b>1</b>
3597 <a>1</a>
3598 </debug-color>
3599 </light>
3600
3601 <!-- Procedural Courtesy Lights -->
3602 <animation>
3603 <type>select</type>
3604 <object-name>ProceduralCourtesyLeftLight</object-name>
3605 <nopreview/>
3606 <condition>
3607 <or>
3608 <!--property alias="/params/lighting/taxi/property"/ needs MP alias-->
3609 <property>sim/model/c172p/lighting/courtesy</property>
3610 <property>controls/lighting/domeL</property>
3611 </or>
3612 </condition>
3613 </animation>
3614 <animation>
3615 <type>select</type>
3616 <object-name>ProceduralCourtesyRightLight</object-name>
3617 <nopreview/>
3618 <condition>
3619 <or>
3620 <!--property alias="/params/lighting/taxi/property"/ needs MP alias-->
3621 <property>sim/model/c172p/lighting/courtesy</property>
3622 <property>controls/lighting/domeR</property>
3623 </or>
3624 </condition>
3625 </animation>
3626
3627 <light>
3628 <name>ProceduralCourtesyLeftLight</name>
3629 <type>spot</type>
3630 <position>
3631 <x-m> 0.75</x-m>
3632 <y-m>-1.65</y-m>
3633 <z-m> 0.36</z-m>
3634 </position>
3635 <direction>
3636 <lookat-x-m>-7 </lookat-x-m>
3637 <lookat-y-m> 0 </lookat-y-m>
3638 <lookat-z-m>-30</lookat-z-m>
3639 </direction>
3640 <ambient>
3641 <r>1</r>
3642 <g>1</g>
3643 <b>1</b>
3644 <a>1</a>
3645 </ambient>
3646 <diffuse>
3647 <r>1</r>
3648 <g>1</g>
3649 <b>1</b>
3650 <a>1</a>
3651 </diffuse>
3652 <specular>
3653 <r>1</r>
3654 <g>1</g>
3655 <b>1</b>
3656 <a>1</a>
3657 </specular>
3658 <attenuation>
3659 <c>1.0</c>
3660 <l>0.7</l>
3661 <q>1.1</q>
3662 </attenuation>
3663 <spot-exponent>2.5</spot-exponent>
3664 <spot-cutoff>80</spot-cutoff>
3665 <range-m>15</range-m>
3666 <debug-color>
3667 <r>1</r>
3668 <g>1</g>
3669 <b>1</b>
3670 <a>1</a>
3671 </debug-color>
3672 </light>
3673
3674 <light>
3675 <name>ProceduralCourtesyRightLight</name>
3676 <type>spot</type>
3677 <position>
3678 <x-m>0.75</x-m>
3679 <y-m>1.65</y-m>
3680 <z-m>0.36</z-m>
3681 </position>
3682 <direction>
3683 <lookat-x-m>-7 </lookat-x-m>
3684 <lookat-y-m> 0 </lookat-y-m>
3685 <lookat-z-m>-30</lookat-z-m>
3686 </direction>
3687 <ambient>
3688 <r>1</r>
3689 <g>1</g>
3690 <b>1</b>
3691 <a>1</a>
3692 </ambient>
3693 <diffuse>
3694 <r>1</r>
3695 <g>1</g>
3696 <b>1</b>
3697 <a>1</a>
3698 </diffuse>
3699 <specular>
3700 <r>1</r>
3701 <g>1</g>
3702 <b>1</b>
3703 <a>1</a>
3704 </specular>
3705 <attenuation>
3706 <c>1.0</c>
3707 <l>0.7</l>
3708 <q>1.1</q>
3709 </attenuation>
3710 <spot-exponent>2.5</spot-exponent>
3711 <spot-cutoff>80</spot-cutoff>
3712 <range-m>15</range-m>
3713 <debug-color>
3714 <r>1</r>
3715 <g>1</g>
3716 <b>1</b>
3717 <a>1</a>
3718 </debug-color>
3719 </light>
3720
3721 <!-- Procedural Strobe Light -->
3722 <animation>
3723 <type>select</type>
3724 <object-name>leftstrobe</object-name>
3725 <nopreview/>
3726 <condition>
3727 <and>
3728 <property alias="/params/lighting/strobes"/>
3729 <equals>
3730 <property alias="/params/wing_left_damaged/property"/>
3731 <value>0</value>
3732 </equals>
3733 <not>
3734 <property alias="/params/crash/property"/>
3735 </not>
3736 </and>
3737 </condition>
3738 </animation>
3739 <animation>
3740 <type>select</type>
3741 <object-name>rightstrobe</object-name>
3742 <nopreview/>
3743 <condition>
3744 <and>
3745 <property alias="/params/lighting/strobes"/>
3746 <equals>
3747 <property alias="/params/wing_right_damaged/property"/>
3748 <value>0</value>
3749 </equals>
3750 <not>
3751 <property alias="/params/crash/property"/>
3752 </not>
3753 </and>
3754 </condition>
3755 </animation>
3756
3757 <light>
3758 <name>leftstrobe</name>
3759 <type>spot</type>
3760 <position>
3761 <x-m> 0.14</x-m>
3762 <y-m>-6 </y-m>
3763 <z-m> 0.52</z-m>
3764 </position>
3765 <direction>
3766 <lookat-x-m>0.148</lookat-x-m>
3767 <lookat-y-m>-20 </lookat-y-m>
3768 <lookat-z-m>0.52 </lookat-z-m>
3769 </direction>
3770 <ambient>
3771 <r>1</r>
3772 <g>1</g>
3773 <b>1</b>
3774 <a>1</a>
3775 </ambient>
3776 <diffuse>
3777 <r>1</r>
3778 <g>1</g>
3779 <b>1</b>
3780 <a>1</a>
3781 </diffuse>
3782 <specular>
3783 <r>1</r>
3784 <g>1</g>
3785 <b>1</b>
3786 <a>1</a>
3787 </specular>
3788 <attenuation>
3789 <c>1.0</c>
3790 <l>0.25</l>
3791 <q>0.50</q>
3792 </attenuation>
3793 <spot-exponent>1.00</spot-exponent>
3794 <spot-cutoff>89</spot-cutoff>
3795 <range-m>30</range-m>
3796 <debug-color>
3797 <r>1</r>
3798 <g>1</g>
3799 <b>1</b>
3800 <a>1</a>
3801 </debug-color>
3802 </light>
3803 <light>
3804 <name>rightstrobe</name>
3805 <type>spot</type>
3806 <position>
3807 <x-m>0.15</x-m>
3808 <y-m>6 </y-m>
3809 <z-m>0.52</z-m>
3810 </position>
3811 <direction>
3812 <lookat-x-m>0.15</lookat-x-m>
3813 <lookat-y-m>20 </lookat-y-m>
3814 <lookat-z-m>0.25</lookat-z-m>
3815 </direction>
3816 <ambient>
3817 <r>1</r>
3818 <g>1</g>
3819 <b>1</b>
3820 <a>1</a>
3821 </ambient>
3822 <diffuse>
3823 <r>1</r>
3824 <g>1</g>
3825 <b>1</b>
3826 <a>1</a>
3827 </diffuse>
3828 <specular>
3829 <r>1</r>
3830 <g>1</g>
3831 <b>1</b>
3832 <a>1</a>
3833 </specular>
3834 <attenuation>
3835 <c>1.0</c>
3836 <l>0.25</l>
3837 <q>0.50</q>
3838 </attenuation>
3839 <spot-exponent>1.00</spot-exponent>
3840 <spot-cutoff>89</spot-cutoff>
3841 <range-m>30</range-m>
3842 <debug-color>
3843 <r>1</r>
3844 <g>1</g>
3845 <b>1</b>
3846 <a>1</a>
3847 </debug-color>
3848 </light>
3849
3850 <animation>
3851 <type>select</type>
3852 <object-name>leftstrobeD</object-name>
3853 <nopreview/>
3854 <condition>
3855 <and>
3856 <property alias="/params/lighting/strobes"/>
3857 <equals>
3858 <property alias="/params/wing_left_damaged/property"/>
3859 <value>2</value>
3860 </equals>
3861 <not>
3862 <property alias="/params/crash/property"/>
3863 </not>
3864 </and>
3865 </condition>
3866 </animation>
3867
3868 <animation>
3869 <type>select</type>
3870 <object-name>rightstrobeD</object-name>
3871 <nopreview/>
3872 <condition>
3873 <and>
3874 <property alias="/params/lighting/strobes"/>
3875 <equals>
3876 <property alias="/params/wing_right_damaged/property"/>
3877 <value>2</value>
3878 </equals>
3879 <not>
3880 <property alias="/params/crash/property"/>
3881 </not>
3882 </and>
3883 </condition>
3884 </animation>
3885
3886 <light>
3887 <name>leftstrobeD</name>
3888 <type>spot</type>
3889 <position>
3890 <x-m> 0.34</x-m>
3891 <y-m>-6 </y-m>
3892 <z-m> 0.80</z-m>
3893 </position>
3894 <direction>
3895 <lookat-x-m>0.34</lookat-x-m>
3896 <lookat-y-m>-20 </lookat-y-m>
3897 <lookat-z-m>0.80</lookat-z-m>
3898 </direction>
3899 <ambient>
3900 <r>1</r>
3901 <g>1</g>
3902 <b>1</b>
3903 <a>1</a>
3904 </ambient>
3905 <diffuse>
3906 <r>1</r>
3907 <g>1</g>
3908 <b>1</b>
3909 <a>1</a>
3910 </diffuse>
3911 <specular>
3912 <r>1</r>
3913 <g>1</g>
3914 <b>1</b>
3915 <a>1</a>
3916 </specular>
3917 <attenuation>
3918 <c>1.0 </c>
3919 <l>0.46</l>
3920 <q>1.20</q>
3921 </attenuation>
3922 <spot-exponent>0.5</spot-exponent>
3923 <spot-cutoff>89</spot-cutoff>
3924 <range-m>30</range-m>
3925 <debug-color>
3926 <r>1</r>
3927 <g>1</g>
3928 <b>1</b>
3929 <a>1</a>
3930 </debug-color>
3931 </light>
3932 <light>
3933 <name>rightstrobeD</name>
3934 <type>spot</type>
3935 <position>
3936 <x-m>0.39</x-m>
3937 <y-m>6 </y-m>
3938 <z-m>1.06</z-m>
3939 </position>
3940 <direction>
3941 <lookat-x-m>0.39</lookat-x-m>
3942 <lookat-y-m>20 </lookat-y-m>
3943 <lookat-z-m>1.06</lookat-z-m>
3944 </direction>
3945 <ambient>
3946 <r>1</r>
3947 <g>1</g>
3948 <b>1</b>
3949 <a>1</a>
3950 </ambient>
3951 <diffuse>
3952 <r>1</r>
3953 <g>1</g>
3954 <b>1</b>
3955 <a>1</a>
3956 </diffuse>
3957 <specular>
3958 <r>1</r>
3959 <g>1</g>
3960 <b>1</b>
3961 <a>1</a>
3962 </specular>
3963 <attenuation>
3964 <c>1.0 </c>
3965 <l>0.46</l>
3966 <q>1.20</q>
3967 </attenuation>
3968 <spot-exponent>0.5</spot-exponent>
3969 <spot-cutoff>89</spot-cutoff>
3970 <range-m>30</range-m>
3971 <debug-color>
3972 <r>1</r>
3973 <g>1</g>
3974 <b>1</b>
3975 <a>1</a>
3976 </debug-color>
3977 </light>
3978
3979 <!-- Beacon Procedural Light -->
3980 <animation>
3981 <type>select</type>
3982 <object-name>beaconlight</object-name>
3983 <condition>
3984 <property alias="/params/lighting/beacon"/>
3985 </condition>
3986 </animation>
3987
3988 <light>
3989 <name>beaconlight</name>
3990 <type>spot</type>
3991 <position>
3992 <x-m> 6.5 </x-m>
3993 <y-m> 0.003 </y-m>
3994 <z-m> 1.07928 </z-m>
3995 </position>
3996 <direction>
3997 <lookat-x-m>0.75 </lookat-x-m>
3998 <lookat-y-m>0.0 </lookat-y-m>
3999 <lookat-z-m>1.5 </lookat-z-m>
4000 </direction>
4001 <ambient>
4002 <r>1</r>
4003 <g>0</g>
4004 <b>0</b>
4005 <a>1</a>
4006 </ambient>
4007 <diffuse>
4008 <r>0.05</r>
4009 <g>0</g>
4010 <b>0</b>
4011 <a>1</a>
4012 </diffuse>
4013 <specular>
4014 <r>0.05</r>
4015 <g>0</g>
4016 <b>0</b>
4017 <a>1</a>
4018 </specular>
4019 <attenuation>
4020 <c>1.0</c>
4021 <l>1.5</l>
4022 <q>8.33</q>
4023 </attenuation>
4024 <spot-exponent>1.00</spot-exponent>
4025 <spot-cutoff>60</spot-cutoff>
4026 <range-m>2.5</range-m>
4027 <debug-color>
4028 <r>1</r>
4029 <g>0</g>
4030 <b>1</b>
4031 <a>1</a>
4032 </debug-color>
4033 </light>
4034
4035 <!-- Procedural Nav Lights -->
4036 <animation>
4037 <type>select</type>
4038 <object-name>taillight</object-name>
4039 <condition>
4040 <property alias="/params/lighting/navigation"/>
4041 </condition>
4042 </animation>
4043
4044 <light>
4045 <name>taillight</name>
4046 <type>spot</type>
4047 <position>
4048 <x-m>7.5 </x-m>
4049 <y-m>0.0 </y-m>
4050 <z-m>0.97</z-m>
4051 </position>
4052 <direction>
4053 <lookat-x-m> 27</lookat-x-m>
4054 <lookat-y-m> 0.00</lookat-y-m>
4055 <lookat-z-m> -20 </lookat-z-m>
4056 </direction>
4057 <ambient>
4058 <r>0.1</r>
4059 <g>0.2</g>
4060 <b>0.1</b>
4061 <a>1</a>
4062 </ambient>
4063 <diffuse>
4064 <r>0.95</r>
4065 <g>0.95</g>
4066 <b>0.95</b>
4067 <a>1</a>
4068 </diffuse>
4069 <specular>
4070 <r>0.95</r>
4071 <g>0.95</g>
4072 <b>0.95</b>
4073 <a>1</a>
4074 </specular>
4075 <attenuation>
4076 <c>1.0</c>
4077 <l>0.25</l>
4078 <q>0.5</q>
4079 </attenuation>
4080 <spot-exponent>1.00</spot-exponent>
4081 <spot-cutoff>89</spot-cutoff>
4082 <range-m>2.5</range-m>
4083 <debug-color>
4084 <r>1</r>
4085 <g>0</g>
4086 <b>0</b>
4087 <a>1</a>
4088 </debug-color>
4089 </light>
4090
4091 <animation>
4092 <type>select</type>
4093 <object-name>navlightred</object-name>
4094 <condition>
4095 <and>
4096 <property alias="/params/lighting/navigation"/>
4097 <not-equals>
4098 <property alias="/params/wing_left_damaged/property"/>
4099 <value>1</value>
4100 </not-equals>
4101 <not>
4102 <property alias="/params/crash/property"/>
4103 </not>
4104 </and>
4105 </condition>
4106 </animation>
4107
4108 <light>
4109 <name>navlightred</name>
4110 <type>spot</type>
4111 <position>
4112 <x-m> 0.050</x-m>
4113 <y-m> -5.90</y-m>
4114 <z-m> 0.53365</z-m>
4115 </position>
4116 <direction>
4117 <lookat-x-m>-13 </lookat-x-m>
4118 <lookat-y-m>-13 </lookat-y-m>
4119 <lookat-z-m>-12.5 </lookat-z-m>
4120 </direction>
4121 <ambient>
4122 <r>0.2</r>
4123 <g>0.1</g>
4124 <b>0.1</b>
4125 <a>1</a>
4126 </ambient>
4127 <diffuse>
4128 <r>0.9</r>
4129 <g>0.1</g>
4130 <b>0.1</b>
4131 <a>1</a>
4132 </diffuse>
4133 <specular>
4134 <r>0.9</r>
4135 <g>0.1</g>
4136 <b>0.1</b>
4137 <a>1</a>
4138 </specular>
4139 <attenuation>
4140 <c>1.0</c>
4141 <l>0.25</l>
4142 <q>0.5</q>
4143 </attenuation>
4144 <spot-exponent>1.00</spot-exponent>
4145 <spot-cutoff>89</spot-cutoff>
4146 <range-m>2.5</range-m>
4147 <debug-color>
4148 <r>1</r>
4149 <g>0</g>
4150 <b>0</b>
4151 <a>1</a>
4152 </debug-color>
4153 </light>
4154
4155 <animation>
4156 <type>select</type>
4157 <object-name>navlightgreen</object-name>
4158 <condition>
4159 <and>
4160 <property alias="/params/lighting/navigation"/>
4161 <not-equals>
4162 <property alias="/params/wing_right_damaged/property"/>
4163 <value>1</value>
4164 </not-equals>
4165 <not>
4166 <property alias="/params/crash/property"/>
4167 </not>
4168 </and>
4169 </condition>
4170 </animation>
4171
4172 <light>
4173 <name>navlightgreen</name>
4174 <type>spot</type>
4175 <position>
4176 <x-m> 0.050</x-m>
4177 <y-m> 5.90</y-m>
4178 <z-m> 0.53365</z-m>
4179 </position>
4180 <direction>
4181 <lookat-x-m>-13 </lookat-x-m>
4182 <lookat-y-m> 13 </lookat-y-m>
4183 <lookat-z-m>-12.5 </lookat-z-m>
4184 </direction>
4185 <ambient>
4186 <r>0.1</r>
4187 <g>0.2</g>
4188 <b>0.1</b>
4189 <a>1</a>
4190 </ambient>
4191 <diffuse>
4192 <r>0.1</r>
4193 <g>0.9</g>
4194 <b>0.1</b>
4195 <a>1</a>
4196 </diffuse>
4197 <specular>
4198 <r>0.1</r>
4199 <g>0.9</g>
4200 <b>0.1</b>
4201 <a>1</a>
4202 </specular>
4203 <attenuation>
4204 <c>1.0</c>
4205 <l>0.25</l>
4206 <q>0.5</q>
4207 </attenuation>
4208 <spot-exponent>1.00</spot-exponent>
4209 <spot-cutoff>89</spot-cutoff>
4210 <range-m>2.5</range-m>
4211 <debug-color>
4212 <r>1</r>
4213 <g>0</g>
4214 <b>0</b>
4215 <a>1</a>
4216 </debug-color>
4217 </light>
4218
4219 <animation>
4220 <type>noshadow</type>
4221 <object-name>landinglight</object-name>
4222 <object-name>taxilight</object-name>
4223 <object-name>BeaconOffX</object-name>
4224 <object-name>taillight</object-name>
4225 <object-name>navlightred</object-name>
4226 <object-name>navlightgreen</object-name>
4227 <object-name>beaconlight</object-name>
4228 <object-name>leftstrobe</object-name>
4229 <object-name>rightstrobe</object-name>
4230 <object-name>nav-light-right</object-name>
4231 <object-name>nav-light-left</object-name>
4232 <object-name>nav-light-tail</object-name>
4233 <object-name>beacon-light</object-name>
4234 <object-name>strobe-light-left</object-name>
4235 <object-name>strobe-light-right</object-name>
4236
4237 <object-name>courtesy-l</object-name>
4238 <object-name>courtesy-r</object-name>
4239 <object-name>courtesy-l-fg1000</object-name>
4240 <object-name>courtesy-r-fg1000</object-name>
4241 </animation>
4242
4243 <!-- Flashlight -->
4244 <light>
4245 <name>c172_flashlight</name>
4246 <type>spot</type>
4247 <position>
4248 <x-m>0.212</x-m>
4249 <y-m>-0.183</y-m>
4250 <z-m>0.20</z-m>
4251 </position>
4252 <direction>
4253 <pitch-deg>90</pitch-deg>
4254 <roll-deg>0</roll-deg>
4255 <heading-deg>0</heading-deg>
4256 </direction>
4257 <ambient>
4258 <r><property>sim/walker/flashlight/color-red-factor</property></r>
4259 <g><property>sim/walker/flashlight/color-green-factor</property></g>
4260 <b><property>sim/walker/flashlight/color-blue-factor</property></b>
4261 <a>1</a>
4262 </ambient>
4263 <diffuse>
4264 <r><property>sim/walker/flashlight/color-red-factor</property></r>
4265 <g><property>sim/walker/flashlight/color-green-factor</property></g>
4266 <b><property>sim/walker/flashlight/color-blue-factor</property></b>
4267 <a>1</a>
4268 </diffuse>
4269 <specular>
4270 <r><property>sim/walker/flashlight/color-red-factor</property></r>
4271 <g><property>sim/walker/flashlight/color-green-factor</property></g>
4272 <b><property>sim/walker/flashlight/color-blue-factor</property></b>
4273 <a>1</a>
4274 </specular>
4275 <attenuation>
4276 <c>1.0</c>
4277 <l>0.09</l>
4278 <q>0.032</q>
4279 </attenuation>
4280 <dim-factor><property>sim/walker/flashlight/dim-factor</property></dim-factor>
4281 <spot-exponent>45</spot-exponent>
4282 <spot-cutoff>50</spot-cutoff>
4283 <range-m>10</range-m>
4284 </light>
4285 <animation>
4286 <type>select</type>
4287 <object-name>c172_flashlight</object-name>
4288 <condition>
4289 <and>
4290 <greater-than>
4291 <property>/sim/walker/flashlight/mode</property>
4292 <value>0</value>
4293 </greater-than>
4294 <property>/sim/current-view/internal</property>
4295 </and>
4296 </condition>
4297 </animation>
4298 <animation>
4299 <type>rotate</type>
4300 <object-name>c172_flashlight</object-name>
4301 <property>sim/current-view/heading-offset-deg</property>
4302 <center>
4303 <x-m>0.212</x-m>
4304 <y-m>-0.183</y-m>
4305 <z-m>0.20</z-m>
4306 </center>
4307 <axis>
4308 <x>0</x>
4309 <y>0</y>
4310 <z>1</z>
4311 </axis>
4312 </animation>
4313 <animation>
4314 <type>rotate</type>
4315 <object-name>c172_flashlight</object-name>
4316 <property>sim/current-view/pitch-offset-deg</property>
4317 <center>
4318 <x-m>0.212</x-m>
4319 <y-m>-0.183</y-m>
4320 <z-m>0.20</z-m>
4321 </center>
4322 <axis>
4323 <x>0</x>
4324 <y>1</y>
4325 <z>0</z>
4326 </axis>
4327 </animation>
4328
4329
4330 <!-- ================================================================== -->
4331 <!-- Lighting adjustments due to wing damage -->
4332 <!-- ================================================================== -->
4333
4334 <!-- Moves the red navigation light when then left wing is damaged -->
4335 <animation>
4336 <type>translate</type>
4337 <object-name>nav-light-left</object-name>
4338
4339 <!-- Magnitude (distance) of the vector -->
4340 <factor>0.35</factor>
4341 <property>sim/model/c172p/lighting/nav-lights/left-damaged</property>
4342
4343 <!-- The vector pointing from the original position to the
4344 damaged position.
4345 -->
4346 <axis>
4347 <x>0.77</x>
4348 <y>-0.05</y>
4349 <z>1.0</z>
4350 </axis>
4351 </animation>
4352
4353 <!-- Moves the green navigation light when then right wing is damaged -->
4354 <animation>
4355 <type>translate</type>
4356 <object-name>nav-light-right</object-name>
4357
4358 <!-- Magnitude (distance) of the vector -->
4359 <factor>0.60</factor>
4360 <property>sim/model/c172p/lighting/nav-lights/right-damaged</property>
4361
4362 <!-- The vector pointing from the original position to the
4363 damaged position.
4364 -->
4365 <axis>
4366 <x>0.53</x>
4367 <y>-0.05</y>
4368 <z>1.0</z>
4369 </axis>
4370 </animation>
4371
4372 <!-- Moves the left strobe light when then left wing is damaged -->
4373 <animation>
4374 <type>translate</type>
4375 <object-name>strobe-light-left</object-name>
4376
4377 <!-- Magnitude (distance) of the vector -->
4378 <factor>0.35</factor>
4379 <property>sim/model/c172p/lighting/nav-lights/left-damaged</property>
4380
4381 <!-- The vector pointing from the original position to the
4382 damaged position.
4383 -->
4384 <axis>
4385 <x>0.77</x>
4386 <y>-0.05</y>
4387 <z>1.0</z>
4388 </axis>
4389 </animation>
4390
4391 <!-- Moves the right strobe light when then right wing is damaged -->
4392 <animation>
4393 <type>translate</type>
4394 <object-name>strobe-light-right</object-name>
4395
4396 <!-- Magnitude (distance) of the vector -->
4397 <factor>0.60</factor>
4398 <property>sim/model/c172p/lighting/nav-lights/right-damaged</property>
4399
4400 <!-- The vector pointing from the original position to the
4401 damaged position.
4402 -->
4403 <axis>
4404 <x>0.53</x>
4405 <y>-0.05</y>
4406 <z>1.0</z>
4407 </axis>
4408 </animation>
4409
4410 <!-- Rotate Non-Damaged Left Aileron -->
4411 <animation>
4412 <type>rotate</type>
4413 <object-name>leftaileron</object-name>
4414 <property>surface-positions/left-aileron-pos-norm</property>
4415 <condition>
4416 <and>
4417 <equals>
4418 <property alias="/params/wing_left_damaged/property"/>
4419 <value>0</value>
4420 </equals>
4421 <not>
4422 <property alias="/params/crash/property"/>
4423 </not>
4424 </and>
4425 </condition>
4426 <interpolation>
4427 <entry>
4428 <ind>-1.0</ind>
4429 <dep>-15</dep>
4430 </entry>
4431 <entry>
4432 <ind>0.0</ind>
4433 <dep>0</dep>
4434 </entry>
4435 <entry>
4436 <ind>1.0</ind>
4437 <dep>20</dep>
4438 </entry>
4439 </interpolation>
4440 <axis>
4441 <x1-m>0.862</x1-m>
4442 <y1-m>-5.464</y1-m>
4443 <z1-m>0.459</z1-m>
4444 <x2-m>1.158</x2-m>
4445 <y2-m>-2.616</y2-m>
4446 <z2-m>0.337</z2-m>
4447 </axis>
4448 </animation>
4449
4450 <!-- Rotate Damaged Left Aileron -->
4451 <animation>
4452 <type>rotate</type>
4453 <object-name>leftaileron_D</object-name>
4454 <property>surface-positions/left-aileron-pos-norm</property>
4455 <condition>
4456 <and>
4457 <equals>
4458 <property alias="/params/wing_left_damaged/property"/>
4459 <value>2</value>
4460 </equals>
4461 <not>
4462 <property alias="/params/crash/property"/>
4463 </not>
4464 </and>
4465 </condition>
4466 <interpolation>
4467 <entry>
4468 <ind>-1.0</ind>
4469 <dep>20</dep>
4470 </entry>
4471 <entry>
4472 <ind>0.0</ind>
4473 <dep>0</dep>
4474 </entry>
4475 <entry>
4476 <ind>1.0</ind>
4477 <dep>-15</dep>
4478 </entry>
4479 </interpolation>
4480 <axis>
4481 <x1-m>1.15778</x1-m>
4482 <y1-m>-2.6163</y1-m>
4483 <z1-m>0.33767</z1-m>
4484 <x2-m>1.05526</x2-m>
4485 <y2-m>-5.42979</y2-m>
4486 <z2-m>0.71097</z2-m>
4487 </axis>
4488 </animation>
4489
4490 <!-- Rotate Non-Damaged Right Aileron -->
4491 <animation>
4492 <type>rotate</type>
4493 <object-name>rightaileron</object-name>
4494 <property>surface-positions/right-aileron-pos-norm</property>
4495 <condition>
4496 <and>
4497 <equals>
4498 <property alias="/params/wing_right_damaged/property"/>
4499 <value>0</value>
4500 </equals>
4501 <not>
4502 <property alias="/params/crash/property"/>
4503 </not>
4504 </and>
4505 </condition>
4506 <interpolation>
4507 <entry>
4508 <ind>-1.0</ind>
4509 <dep>20</dep>
4510 </entry>
4511 <entry>
4512 <ind>0.0</ind>
4513 <dep>0</dep>
4514 </entry>
4515 <entry>
4516 <ind>1.0</ind>
4517 <dep>-15</dep>
4518 </entry>
4519 </interpolation>
4520 <axis>
4521 <x1-m>1.158</x1-m>
4522 <y1-m>2.616</y1-m>
4523 <z1-m>0.337</z1-m>
4524 <x2-m>0.862</x2-m>
4525 <y2-m>5.464</y2-m>
4526 <z2-m>0.459</z2-m>
4527 </axis>
4528 </animation>
4529
4530 <!-- Rotate Damaged Right Aileron -->
4531 <animation>
4532 <type>rotate</type>
4533 <object-name>rightaileron_D</object-name>
4534 <property>surface-positions/right-aileron-pos-norm</property>
4535 <condition>
4536 <and>
4537 <equals>
4538 <property alias="/params/wing_right_damaged/property"/>
4539 <value>2</value>
4540 </equals>
4541 <not>
4542 <property alias="/params/crash/property"/>
4543 </not>
4544 </and>
4545 </condition>
4546 <interpolation>
4547 <entry>
4548 <ind>-1.0</ind>
4549 <dep>20</dep>
4550 </entry>
4551 <entry>
4552 <ind>0.0</ind>
4553 <dep>0</dep>
4554 </entry>
4555 <entry>
4556 <ind>1.0</ind>
4557 <dep>-15</dep>
4558 </entry>
4559 </interpolation>
4560 <axis>
4561 <x1-m>1.15767</x1-m>
4562 <y1-m>2.61617</y1-m>
4563 <z1-m>0.33727</z1-m>
4564 <x2-m>1.08169</x2-m>
4565 <y2-m>5.39225</y2-m>
4566 <z2-m>0.95676</z2-m>
4567 </axis>
4568 </animation>
4569
4570 <animation>
4571 <type>translate</type>
4572 <object-name>flaps</object-name>
4573 <!-- Damage Mod -->
4574 <object-name>flapsD</object-name>
4575 <property>surface-positions/flap-pos-norm</property>
4576 <factor>0.08</factor>
4577 <axis>
4578 <x>1.0</x>
4579 <y>0.0</y>
4580 <z>0.0</z>
4581 </axis>
4582 </animation>
4583 <animation>
4584 <type>translate</type>
4585 <object-name>flaps</object-name>
4586 <!-- Damage Mod -->
4587 <object-name>flapsD</object-name>
4588 <property>surface-positions/flap-pos-norm</property>
4589 <factor>-0.10</factor>
4590 <axis>
4591 <x>0.0</x>
4592 <y>0.0</y>
4593 <z>1.0</z>
4594 </axis>
4595 </animation>
4596 <animation>
4597 <type>rotate</type>
4598 <object-name>flaps</object-name>
4599 <!-- Damage Mod -->
4600 <object-name>flapsD</object-name>
4601 <property>surface-positions/flap-pos-norm</property>
4602 <factor>30</factor>
4603 <center>
4604 <x-m>1.152</x-m>
4605 <y-m>-0.53</y-m>
4606 <z-m>0.32</z-m>
4607 </center>
4608 <axis>
4609 <x>0.0</x>
4610 <y>1.0</y>
4611 <z>0.0</z>
4612 </axis>
4613 </animation>
4614 <animation>
4615 <type>rotate</type>
4616 <object-name>elevatorleft</object-name>
4617 <property>surface-positions/elevator-pos-norm</property>
4618 <interpolation>
4619 <entry>
4620 <ind>-1.0</ind>
4621 <dep>28</dep>
4622 </entry>
4623 <entry>
4624 <ind>0</ind>
4625 <dep>0</dep>
4626 </entry>
4627 <entry>
4628 <ind>1.0</ind>
4629 <dep>-23</dep>
4630 </entry>
4631 </interpolation>
4632 <axis>
4633 <x1-m>4.87869</x1-m>
4634 <y1-m>-0.1350</y1-m>
4635 <z1-m>-0.42222</z1-m>
4636 <x2-m>4.7439</x2-m>
4637 <y2-m>-1.7279</y2-m>
4638 <z2-m>-0.4222</z2-m>
4639 </axis>
4640 </animation>
4641 <animation>
4642 <type>rotate</type>
4643 <object-name>elevatorright</object-name>
4644 <object-name>elevatortrim</object-name>
4645 <property>surface-positions/elevator-pos-norm</property>
4646 <interpolation>
4647 <entry>
4648 <ind>-1.0</ind>
4649 <dep>28</dep>
4650 </entry>
4651 <entry>
4652 <ind>0</ind>
4653 <dep>0</dep>
4654 </entry>
4655 <entry>
4656 <ind>1.0</ind>
4657 <dep>-23</dep>
4658 </entry>
4659 </interpolation>
4660 <axis>
4661 <x1-m>4.7439</x1-m>
4662 <y1-m>1.7279</y1-m>
4663 <z1-m>-0.4222</z1-m>
4664 <x2-m>4.87869</x2-m>
4665 <y2-m>0.1350</y2-m>
4666 <z2-m>-0.42222</z2-m>
4667 </axis>
4668 </animation>
4669 <animation>
4670 <type>rotate</type>
4671 <object-name>elevatortrim</object-name>
4672 <property>controls/flight/elevator-trim</property>
4673 <factor>-25</factor>
4674 <axis>
4675 <x1-m> 5.37238</x1-m>
4676 <y1-m> 0.40405</y1-m>
4677 <z1-m>-0.43873</z1-m>
4678 <x2-m> 5.24803</x2-m>
4679 <y2-m> 1.30441</y2-m>
4680 <z2-m>-0.43157</z2-m>
4681 </axis>
4682 </animation>
4683
4684 <animation>
4685 <type>rotate</type>
4686 <object-name>rudder_1</object-name>
4687 <object-name>RearNavLight</object-name>
4688 <object-name>nav-light-tail</object-name>
4689 <object-name>ruddercablelefthinge</object-name>
4690 <object-name>ruddercablerighthinge</object-name>
4691 <property>surface-positions/rudder-pos-norm</property>
4692 <factor>13</factor>
4693 <axis>
4694 <x1-m>4.918</x1-m>
4695 <y1-m>0</y1-m>
4696 <z1-m>-0.310</z1-m>
4697 <x2-m>5.805</x2-m>
4698 <y2-m>-0.013</y2-m>
4699 <z2-m>1.007</z2-m>
4700 </axis>
4701 </animation>
4702
4703 <animation>
4704 <type>rotate</type>
4705 <object-name>ruddercableleft</object-name>
4706 <property>surface-positions/rudder-pos-norm</property>
4707 <factor>3</factor>
4708 <center>
4709 <x-m> 4.75597</x-m>
4710 <y-m>-0.08369</y-m>
4711 <z-m>-0.54047</z-m>
4712 </center>
4713 <axis>
4714 <x>0.0</x>
4715 <y>0.0</y>
4716 <z>1.0</z>
4717 </axis>
4718 </animation>
4719 <animation>
4720 <type>translate</type>
4721 <object-name>ruddercableleft</object-name>
4722 <property>surface-positions/rudder-pos-norm</property>
4723 <factor>.03</factor>
4724 <axis>
4725 <x>1.0</x>
4726 <y>0.0</y>
4727 <z>0.0</z>
4728 </axis>
4729 </animation>
4730 <animation>
4731 <type>translate</type>
4732 <object-name>ruddercableleft</object-name>
4733 <property>surface-positions/rudder-pos-norm</property>
4734 <factor>-.008</factor>
4735 <axis>
4736 <x>0.0</x>
4737 <y>0.0</y>
4738 <z>1.0</z>
4739 </axis>
4740 </animation>
4741
4742 <animation>
4743 <type>rotate</type>
4744 <object-name>ruddercablelefthinge</object-name>
4745 <property>surface-positions/rudder-pos-norm</property>
4746 <factor>40</factor>
4747 <center>
4748 <x-m> 4.97326</x-m>
4749 <y-m>-0.03545</y-m>
4750 <z-m>-0.54239</z-m>
4751 </center>
4752 <axis>
4753 <x>0.0</x>
4754 <y>0.0</y>
4755 <z>1.0</z>
4756 </axis>
4757 </animation>
4758
4759 <animation>
4760 <type>rotate</type>
4761 <object-name>ruddercableright</object-name>
4762 <property>surface-positions/rudder-pos-norm</property>
4763 <factor>3</factor>
4764 <center>
4765 <x-m> 4.75019</x-m>
4766 <y-m> 0.08448</y-m>
4767 <z-m>-0.54046</z-m>
4768 </center>
4769 <axis>
4770 <x>0.0</x>
4771 <y>0.0</y>
4772 <z>1.0</z>
4773 </axis>
4774 </animation>
4775 <animation>
4776 <type>translate</type>
4777 <object-name>ruddercableright</object-name>
4778 <property>surface-positions/rudder-pos-norm</property>
4779 <factor>-.03</factor>
4780 <axis>
4781 <x>1.0</x>
4782 <y>0.0</y>
4783 <z>0.0</z>
4784 </axis>
4785 </animation>
4786 <animation>
4787 <type>translate</type>
4788 <object-name>ruddercableright</object-name>
4789 <property>surface-positions/rudder-pos-norm</property>
4790 <factor>.008</factor>
4791 <axis>
4792 <x>0.0</x>
4793 <y>0.0</y>
4794 <z>1.0</z>
4795 </axis>
4796 </animation>
4797 <animation>
4798 <type>rotate</type>
4799 <object-name>ruddercablerighthinge</object-name>
4800 <property>surface-positions/rudder-pos-norm</property>
4801 <factor>40</factor>
4802 <center>
4803 <x-m> 4.97487</x-m>
4804 <y-m> 0.03545</y-m>
4805 <z-m>-0.54239</z-m>
4806 </center>
4807 <axis>
4808 <x>0.0</x>
4809 <y>0.0</y>
4810 <z>1.0</z>
4811 </axis>
4812 </animation>
4813
4814 <animation>
4815 <type>rotate</type>
4816 <object-name>fairing1</object-name>
4817 <object-name>NoseWheel</object-name>
4818 <object-name>NoseWheelStrut</object-name>
4819 <object-name>TopLink</object-name>
4820 <object-name>BottomLink</object-name>
4821 <object-name>Axle</object-name>
4822 <!-- Bushkit Mod -->
4823 <object-name>NoseWheelBK</object-name>
4824 <object-name>NoseWheelStrutBK</object-name>
4825 <object-name>AxleBK.001</object-name>
4826 <object-name>NoseSki</object-name>
4827 <object-name>NoseSkiAxle</object-name>
4828 <object-name>NoseSkiAxleBl</object-name>
4829 <object-name>NoseSkiAxleBr</object-name>
4830 <object-name>NoseSkiBraceL</object-name>
4831 <object-name>NoseSkiBraceR</object-name>
4832 <object-name>NoseSkiWireF</object-name>
4833 <object-name>NoseCableConnect</object-name>
4834 <object-name>NoseSkiWheel</object-name>
4835 <object-name>NoseSkiWheelAxleL</object-name>
4836 <object-name>NoseSkiWheelAxleR</object-name>
4837 <property>fdm/jsbsim/fcs/steer-pos-deg</property>
4838 <axis>
4839 <x1-m>-0.975</x1-m>
4840 <y1-m>0</y1-m>
4841 <z1-m>-0.6781</z1-m>
4842 <x2-m>-1.123</x2-m>
4843 <y2-m>0.0</y2-m>
4844 <z2-m>-1.172</z2-m>
4845 </axis>
4846 </animation>
4847 <animation>
4848 <type>translate</type>
4849 <object-name>fairing1</object-name>
4850 <object-name>NoseWheel</object-name>
4851 <object-name>NoseWheelStrut</object-name>
4852 <object-name>BottomLink</object-name>
4853 <object-name>Axle</object-name>
4854 <!-- Bushkit Mod -->
4855 <object-name>NoseWheelBK</object-name>
4856 <object-name>NoseWheelStrutBK</object-name>
4857 <object-name>AxleBK.001</object-name>
4858 <object-name>NoseSki</object-name>
4859 <object-name>NoseSkiAxle</object-name>
4860 <object-name>NoseSkiAxleBl</object-name>
4861 <object-name>NoseSkiAxleBr</object-name>
4862 <object-name>NoseSkiBraceL</object-name>
4863 <object-name>NoseSkiBraceR</object-name>
4864 <object-name>NoseSkiWireF</object-name>
4865 <object-name>NoseCableConnect</object-name>
4866 <object-name>NoseSkiWheel</object-name>
4867 <object-name>NoseSkiWheelAxleL</object-name>
4868 <object-name>NoseSkiWheelAxleR</object-name>
4869 <property>gear/gear[0]/compression-norm</property>
4870 <factor>0.30</factor>
4871 <axis>
4872 <x>0.3</x>
4873 <y>0</y>
4874 <z>1.0</z>
4875 </axis>
4876 </animation>
4877 <animation>
4878 <type>rotate</type>
4879 <object-name>TopLink</object-name>
4880 <property>gear/gear[0]/compression-norm</property>
4881 <center>
4882 <x-m>-0.95412</x-m>
4883 <y-m>0.0</y-m>
4884 <z-m>-0.72408</z-m>
4885 </center>
4886 <axis>
4887 <x>0.0</x>
4888 <y>-1.0</y>
4889 <z>0.0</z>
4890 </axis>
4891 <interpolation include="GearScissorInterpolation.xml"/>
4892 </animation>
4893 <animation>
4894 <type>rotate</type>
4895 <object-name>BottomLink</object-name>
4896 <property>gear/gear[0]/compression-norm</property>
4897 <center>
4898 <x-m>-1.02349</x-m>
4899 <y-m>0.0</y-m>
4900 <z-m>-0.95449</z-m>
4901 </center>
4902 <axis>
4903 <x>0.0</x>
4904 <y>1.0</y>
4905 <z>0.0</z>
4906 </axis>
4907 <interpolation include="GearScissorInterpolation.xml"/>
4908 </animation>
4909 <animation>
4910 <type>rotate</type>
4911 <object-name>fairing3</object-name>
4912 <object-name>RightWheelStrut</object-name>
4913 <object-name>RightWheel</object-name>
4914 <object-name>RightWheelBrake</object-name>
4915 <!-- Bushkit Mod -->
4916 <object-name>RightWheelBK</object-name>
4917 <object-name>RightWheelBKs</object-name>
4918 <object-name>RightSki</object-name>
4919 <object-name>RightSkiAxle</object-name>
4920 <object-name>RightSkiAxleBl</object-name>
4921 <object-name>RightSkiAxleBr</object-name>
4922 <object-name>RightSkiBraceL</object-name>
4923 <object-name>RightSkiBraceR</object-name>
4924 <object-name>RightSkiWireF</object-name>
4925 <object-name>RightSkiWireB</object-name>
4926 <object-name>RightCableConnectF</object-name>
4927 <object-name>RightCableConnectB</object-name>
4928 <object-name>RightSkiWheel</object-name>
4929 <object-name>RightSkiWheelAxle</object-name>
4930 <property>gear/gear[2]/compression-norm</property>
4931 <center>
4932 <x-m>0.711</x-m>
4933 <y-m>0.4518</y-m>
4934 <z-m>-0.70</z-m>
4935 </center>
4936 <axis>
4937 <x>1.0</x>
4938 <y>0.0</y>
4939 <z>0.0</z>
4940 </axis>
4941 <interpolation include="MainRotationInterpolation.xml"/>
4942 </animation>
4943 <animation>
4944 <type>rotate</type>
4945 <object-name>fairing2</object-name>
4946 <object-name>LeftWheelStrut</object-name>
4947 <object-name>LeftWheel</object-name>
4948 <object-name>LeftWheelBrake</object-name>
4949 <!-- Bushkit Mod -->
4950 <object-name>LeftWheelBK</object-name>
4951 <object-name>LeftWheelBKs</object-name>
4952 <object-name>LeftSki</object-name>
4953 <object-name>LeftSkiAxle</object-name>
4954 <object-name>LeftSkiAxleBl</object-name>
4955 <object-name>LeftSkiAxleBr</object-name>
4956 <object-name>LeftSkiBraceL</object-name>
4957 <object-name>LeftSkiBraceR</object-name>
4958 <object-name>LeftSkiWireF</object-name>
4959 <object-name>LeftSkiWireB</object-name>
4960 <object-name>LeftCableConnectF</object-name>
4961 <object-name>LeftCableConnectB</object-name>
4962 <object-name>LeftSkiWheel</object-name>
4963 <object-name>LeftSkiWheelAxle</object-name>
4964 <property>gear/gear[1]/compression-norm</property>
4965 <center>
4966 <x-m>0.711</x-m>
4967 <y-m>-0.4518</y-m>
4968 <z-m>-0.70</z-m>
4969 </center>
4970 <axis>
4971 <x>-1.0</x>
4972 <y>0.0</y>
4973 <z>0.0</z>
4974 </axis>
4975 <interpolation include="MainRotationInterpolation.xml"/>
4976 </animation>
4977
4978 <!-- Rotate front ski angle from 0 to 10 deg -->
4979 <animation>
4980 <type>rotate</type>
4981 <object-name>NoseSki</object-name>
4982 <object-name>NoseSkiAxle</object-name>
4983 <object-name>NoseSkiAxleBl</object-name>
4984 <object-name>NoseSkiAxleBr</object-name>
4985 <object-name>NoseSkiBraceL</object-name>
4986 <object-name>NoseSkiBraceR</object-name>
4987 <object-name>NoseSkiWireF</object-name>
4988 <object-name>NoseCableConnect</object-name>
4989 <object-name>NoseSkiWheel</object-name>
4990 <object-name>NoseSkiWheelAxleL</object-name>
4991 <object-name>NoseSkiWheelAxleR</object-name>
4992 <property>fdm/jsbsim/ski/atan-actual</property>
4993 <interpolation>
4994 <entry>
4995 <ind>0.65</ind>
4996 <dep>0.0</dep>
4997 </entry>
4998 <entry>
4999 <ind>0.61</ind>
5000 <dep>10.0</dep>
5001 </entry>
5002 </interpolation>
5003 <center>
5004 <x-m>-1.113</x-m>
5005 <y-m>-0.004</y-m>
5006 <z-m>-1.202</z-m>
5007 </center>
5008 <axis>
5009 <x>0.0</x>
5010 <y>1.0</y>
5011 <z>0.0</z>
5012 </axis>
5013 </animation>
5014
5015 <!-- rotate front ski wire -->
5016 <animation>
5017 <type>rotate</type>
5018 <object-name>NoseSkiWireF</object-name>
5019 <property>fdm/jsbsim/ski/atan-actual</property>
5020 <interpolation>
5021 <entry>
5022 <ind>0.6517</ind>
5023 <dep>0.0</dep>
5024 </entry>
5025 <entry>
5026 <ind>0.493</ind>
5027 <dep>-3</dep>
5028 </entry>
5029 </interpolation>
5030 <center>
5031 <x-m>-2.1396</x-m>
5032 <y-m>-0.0177</y-m>
5033 <z-m>-1.1274</z-m>
5034 </center>
5035 <axis>
5036 <x>0.0</x>
5037 <y>1.0</y>
5038 <z>0.0</z>
5039 </axis>
5040 </animation>
5041
5042 <!-- rotate left ski atan above-equal 1.78 agl -->
5043 <animation>
5044 <type>rotate</type>
5045 <object-name>LeftSki</object-name>
5046 <object-name>LeftSkiAxleBl</object-name>
5047 <object-name>LeftSkiAxleBr</object-name>
5048 <object-name>LeftSkiBraceL</object-name>
5049 <object-name>LeftSkiBraceR</object-name>
5050 <object-name>LeftSkiWireF</object-name>
5051 <object-name>LeftSkiWireB</object-name>
5052 <object-name>LeftCableConnectF</object-name>
5053 <object-name>LeftCableConnectB</object-name>
5054 <object-name>LeftSkiWheel</object-name>
5055 <object-name>LeftSkiWheelAxle</object-name>
5056 <property>fdm/jsbsim/ski/atan-actual</property>
5057 <interpolation>
5058 <entry>
5059 <ind>0.6517</ind>
5060 <dep>0.0</dep>
5061 </entry>
5062 <entry>
5063 <ind>0.493</ind>
5064 <dep>10.0</dep>
5065 </entry>
5066 </interpolation>
5067 <center>
5068 <x-m> 0.528</x-m>
5069 <y-m>-1.179</y-m>
5070 <z-m>-1.148</z-m>
5071 </center>
5072 <axis>
5073 <x>0.0</x>
5074 <y>1.0</y>
5075 <z>0.0</z>
5076 </axis>
5077 </animation>
5078
5079 <!-- rotate left front bungee (top) ski wire -->
5080 <animation>
5081 <type>rotate</type>
5082 <object-name>LeftSkiSpring</object-name>
5083 <property>fdm/jsbsim/ski/atan-actual</property>
5084 <interpolation>
5085 <entry>
5086 <ind>0.6517</ind>
5087 <dep>0.</dep>
5088 </entry>
5089 <entry>
5090 <ind>0.493</ind>
5091 <dep>1</dep>
5092 </entry>
5093 </interpolation>
5094 <center>
5095 <x-m>-0.6362</x-m>
5096 <y-m>-0.5327</y-m>
5097 <z-m>-0.1468</z-m>
5098 </center>
5099 <axis>
5100 <x>0.0</x>
5101 <y>1.0</y>
5102 <z>0.0</z>
5103 </axis>
5104 </animation>
5105 <animation>
5106 <type>rotate</type>
5107 <object-name>LeftSkiSpring</object-name>
5108 <property>fdm/jsbsim/ski/atan-actual</property>
5109 <interpolation>
5110 <entry>
5111 <ind>0.6517</ind>
5112 <dep>0.0</dep>
5113 </entry>
5114 <entry>
5115 <ind>0.493</ind>
5116 <dep>-6</dep>
5117 </entry>
5118 </interpolation>
5119 <center>
5120 <x-m>-0.6362</x-m>
5121 <y-m>-0.5327</y-m>
5122 <z-m>-0.1468</z-m>
5123 </center>
5124 <axis>
5125 <x>1.0</x>
5126 <y>0.0</y>
5127 <z>0.0</z>
5128 </axis>
5129 </animation>
5130
5131 <!-- rotate left front bottom ski wire -->
5132 <animation>
5133 <type>rotate</type>
5134 <object-name>LeftSkiWireF</object-name>
5135 <property>fdm/jsbsim/ski/atan-actual</property>
5136 <interpolation>
5137 <entry>
5138 <ind>0.6517</ind>
5139 <dep>0.0</dep>
5140 </entry>
5141 <entry>
5142 <ind>0.493</ind>
5143 <dep>-8</dep>
5144 </entry>
5145 </interpolation>
5146 <center>
5147 <x-m>-0.8426</x-m>
5148 <y-m>-0.9569</y-m>
5149 <z-m>-1.1537</z-m>
5150 </center>
5151 <axis>
5152 <x>0.0</x>
5153 <y>1.0</y>
5154 <z>0.0</z>
5155 </axis>
5156 </animation>
5157 <animation>
5158 <type>rotate</type>
5159 <object-name>LeftSkiWireF</object-name>
5160 <property>fdm/jsbsim/ski/atan-actual</property>
5161 <interpolation>
5162 <entry>
5163 <ind>0.6517</ind>
5164 <dep>0.0</dep>
5165 </entry>
5166 <entry>
5167 <ind>0.493</ind>
5168 <dep>-6</dep>
5169 </entry>
5170 </interpolation>
5171 <center>
5172 <x-m>-0.8426</x-m>
5173 <y-m>-0.9569</y-m>
5174 <z-m>-1.1537</z-m>
5175 </center>
5176 <axis>
5177 <x>1.0</x>
5178 <y>0.0</y>
5179 <z>0.0</z>
5180 </axis>
5181 </animation>
5182
5183 <!-- rotate left back ski wire -->
5184 <animation>
5185 <type>rotate</type>
5186 <object-name>LeftSkiWireB</object-name>
5187 <property>fdm/jsbsim/ski/atan-actual</property>
5188 <interpolation>
5189 <entry>
5190 <ind>0.6517</ind>
5191 <dep>0.0</dep>
5192 </entry>
5193 <entry>
5194 <ind>0.493</ind>
5195 <dep>-3</dep>
5196 </entry>
5197 </interpolation>
5198 <center>
5199 <x-m>1.4231</x-m>
5200 <y-m>-0.9603</y-m>
5201 <z-m>-1.3955</z-m>
5202 </center>
5203 <axis>
5204 <x>0.0</x>
5205 <y>1.0</y>
5206 <z>0.0</z>
5207 </axis>
5208 </animation>
5209
5210 <!-- rotate right ski atan above-equal 1.78 agl -->
5211 <animation>
5212 <type>rotate</type>
5213 <object-name>RightSki</object-name>
5214 <object-name>RightSkiAxleBl</object-name>
5215 <object-name>RightSkiAxleBr</object-name>
5216 <object-name>RightSkiBraceL</object-name>
5217 <object-name>RightSkiBraceR</object-name>
5218 <object-name>RightSkiWireF</object-name>
5219 <object-name>RightSkiWireB</object-name>
5220 <object-name>RightCableConnectF</object-name>
5221 <object-name>RightCableConnectB</object-name>
5222 <object-name>RightSkiWheel</object-name>
5223 <object-name>RightSkiWheelAxle</object-name>
5224 <property>fdm/jsbsim/ski/atan-actual</property>
5225 <interpolation>
5226 <entry>
5227 <ind>0.6517</ind>
5228 <dep>0.0</dep>
5229 </entry>
5230 <entry>
5231 <ind>0.493</ind>
5232 <dep>10.0</dep>
5233 </entry>
5234 </interpolation>
5235 <center>
5236 <x-m> 0.530</x-m>
5237 <y-m>1.189</y-m>
5238 <z-m>-1.145</z-m>
5239 </center>
5240 <axis>
5241 <x>0.0</x>
5242 <y>1.0</y>
5243 <z>0.0</z>
5244 </axis>
5245 </animation>
5246
5247 <!-- rotate right front bungee (top) ski wire -->
5248 <animation>
5249 <type>rotate</type>
5250 <object-name>RightSkiSpring</object-name>
5251 <property>fdm/jsbsim/ski/atan-actual</property>
5252 <interpolation>
5253 <entry>
5254 <ind>0.6517</ind>
5255 <dep>0.0</dep>
5256 </entry>
5257 <entry>
5258 <ind>0.493</ind>
5259 <dep>2</dep>
5260 </entry>
5261 </interpolation>
5262 <center>
5263 <x-m>-0.6344</x-m>
5264 <y-m>0.5495</y-m>
5265 <z-m>-0.1629</z-m>
5266 </center>
5267 <axis>
5268 <x>0.0</x>
5269 <y>1.0</y>
5270 <z>0.0</z>
5271 </axis>
5272 </animation>
5273 <animation>
5274 <type>rotate</type>
5275 <object-name>RightSkiSpring</object-name>
5276 <property>fdm/jsbsim/ski/atan-actual</property>
5277 <interpolation>
5278 <entry>
5279 <ind>0.6517</ind>
5280 <dep>0.0</dep>
5281 </entry>
5282 <entry>
5283 <ind>0.493</ind>
5284 <dep>6</dep>
5285 </entry>
5286 </interpolation>
5287 <center>
5288 <x-m>-0.6344</x-m>
5289 <y-m>0.5495</y-m>
5290 <z-m>-0.1629</z-m>
5291 </center>
5292 <axis>
5293 <x>1.0</x>
5294 <y>0.0</y>
5295 <z>0.0</z>
5296 </axis>
5297 </animation>
5298
5299 <!-- rotate right front bottom ski wire -->
5300 <animation>
5301 <type>rotate</type>
5302 <object-name>RightSkiWireF</object-name>
5303 <property>fdm/jsbsim/ski/atan-actual</property>
5304 <interpolation>
5305 <entry>
5306 <ind>0.6517</ind>
5307 <dep>0.0</dep>
5308 </entry>
5309 <entry>
5310 <ind>0.493</ind>
5311 <dep>-8</dep>
5312 </entry>
5313 </interpolation>
5314 <center>
5315 <x-m>-0.844</x-m>
5316 <y-m> 0.9575</y-m>
5317 <z-m>-1.1582</z-m>
5318 </center>
5319 <axis>
5320 <x>0.0</x>
5321 <y>1.0</y>
5322 <z>0.0</z>
5323 </axis>
5324 </animation>
5325 <animation>
5326 <type>rotate</type>
5327 <object-name>RightSkiWireF</object-name>
5328 <property>fdm/jsbsim/ski/atan-actual</property>
5329 <interpolation>
5330 <entry>
5331 <ind>0.6517</ind>
5332 <dep>0.0</dep>
5333 </entry>
5334 <entry>
5335 <ind>0.493</ind>
5336 <dep>6</dep>
5337 </entry>
5338 </interpolation>
5339 <center>
5340 <x-m>-0.844</x-m>
5341 <y-m> 0.9575</y-m>
5342 <z-m>-1.1582</z-m>
5343 </center>
5344 <axis>
5345 <x>1.0</x>
5346 <y>0.0</y>
5347 <z>0.0</z>
5348 </axis>
5349 </animation>
5350
5351 <!-- rotate right rear ski wire -->
5352 <animation>
5353 <type>rotate</type>
5354 <object-name>RightSkiWireB</object-name>
5355 <property>fdm/jsbsim/ski/atan-actual</property>
5356 <interpolation>
5357 <entry>
5358 <ind>0.6517</ind>
5359 <dep>0.0</dep>
5360 </entry>
5361 <entry>
5362 <ind>0.493</ind>
5363 <dep>-3.5</dep>
5364 </entry>
5365 </interpolation>
5366 <center>
5367 <x-m>1.4278</x-m>
5368 <y-m>0.9737</y-m>
5369 <z-m>-1.3889</z-m>
5370 </center>
5371 <axis>
5372 <x>0.0</x>
5373 <y>1.0</y>
5374 <z>0.0</z>
5375 </axis>
5376 </animation>
5377
5378 <!-- MOD: Spin to gears -->
5379 <animation>
5380 <type>spin</type>
5381 <object-name>RightWheel</object-name>
5382 <!-- Bushkit Mod -->
5383 <object-name>RightWheelBK</object-name>
5384 <object-name>RightWheelBKs</object-name>
5385
5386 <expression>
5387 <product>
5388 <property alias="/params/gear/right-rollspeed-ms"/>
5389 <property>fdm/jsbsim/gear/gear-spin-right</property>
5390 </product>
5391 </expression>
5392 <axis>
5393 <x>0</x>
5394 <y>-1</y>
5395 <z>0</z>
5396 </axis>
5397 <center>
5398 <x-m>0.53015</x-m>
5399 <y-m>1.127</y-m>
5400 <z-m>-1.14693</z-m>
5401 </center>
5402 </animation>
5403 <animation>
5404 <type>spin</type>
5405 <object-name>LeftWheel</object-name>
5406 <!-- Bushkit Mod -->
5407 <object-name>LeftWheelBK</object-name>
5408 <object-name>LeftWheelBKs</object-name>
5409 <expression>
5410 <product>
5411 <property alias="/params/gear/left-rollspeed-ms"/>
5412 <property>fdm/jsbsim/gear/gear-spin-left</property>
5413 </product>
5414 </expression>
5415 <axis>
5416 <x>0</x>
5417 <y>-1</y>
5418 <z>0</z>
5419 </axis>
5420 <center>
5421 <x-m>0.53015</x-m>
5422 <y-m>-1.127</y-m>
5423 <z-m>-1.14693</z-m>
5424 </center>
5425 </animation>
5426 <animation>
5427 <type>spin</type>
5428 <object-name>NoseWheel</object-name>
5429 <!-- Bushkit Mod -->
5430 <object-name>NoseWheelBK</object-name>
5431 <expression>
5432 <product>
5433 <property alias="/params/gear/nose-rollspeed-ms"/>
5434 <property>fdm/jsbsim/gear/gear-spin-nose</property>
5435 </product>
5436 </expression>
5437 <axis>
5438 <x>0</x>
5439 <y>-1</y>
5440 <z>0</z>
5441 </axis>
5442 <center>
5443 <x-m>-1.1149</x-m>
5444 <y-m>0.00000</y-m>
5445 <z-m>-1.1889</z-m>
5446 </center>
5447 </animation>
5448
5449 <!-- Spin to Ski Wheels -->
5450 <animation>
5451 <type>spin</type>
5452 <object-name>NoseSkiWheel</object-name>
5453 <property alias="/params/gear-ski/ski-nose-rollspeed-ms"/>
5454 <factor>125</factor>
5455 <axis>
5456 <x>0</x>
5457 <y>-1</y>
5458 <z>0</z>
5459 </axis>
5460 <center>
5461 <x-m>-0.56607</x-m>
5462 <y-m>-0.00027</y-m>
5463 <z-m>-1.34917</z-m>
5464 </center>
5465 </animation>
5466 <animation>
5467 <type>spin</type>
5468 <object-name>LeftSkiWheel</object-name>
5469 <property alias="/params/gear-ski/ski-left-rollspeed-ms"/>
5470 <factor>100</factor>
5471 <axis>
5472 <x>0</x>
5473 <y>-1</y>
5474 <z>0</z>
5475 </axis>
5476 <center>
5477 <x-m>1.24648</x-m>
5478 <y-m>-1.30575</y-m>
5479 <z-m>-1.48968</z-m>
5480 </center>
5481 </animation>
5482 <animation>
5483 <type>spin</type>
5484 <object-name>RightSkiWheel</object-name>
5485 <property alias="/params/gear-ski/ski-right-rollspeed-ms"/>
5486 <factor>100</factor>
5487 <axis>
5488 <x>0</x>
5489 <y>-1</y>
5490 <z>0</z>
5491 </axis>
5492 <center>
5493 <x-m>1.24648</x-m>
5494 <y-m>1.33153</y-m>
5495 <z-m>-1.48274</z-m>
5496 </center>
5497 </animation>
5498 <!-- MODEND: Spin to gears -->
5499
5500 <!-- Damage Mod -->
5501
5502 <!-- Props Not Damaged -->
5503 <animation>
5504 <type>select</type>
5505 <object-name>Propeller</object-name>
5506 <condition>
5507 <and>
5508 <less-than>
5509 <property alias="/params/engine/rpm"/>
5510 <value>500</value>
5511 </less-than>
5512 <not>
5513 <property alias="/params/securing/cowl-plugs"/>
5514 </not>
5515 <not>
5516 <property alias="/params/engine/crashed"/>
5517 </not>
5518 </and>
5519 </condition>
5520 </animation>
5521 <animation>
5522 <type>select</type>
5523 <object-name>Spinner</object-name>
5524 <condition>
5525 <not>
5526 <property alias="/params/engine/crashed"/>
5527 </not>
5528 </condition>
5529 </animation>
5530 <animation>
5531 <type>select</type>
5532 <object-name>Propeller.Fast</object-name>
5533 <nopreview/>
5534 <condition>
5535 <and>
5536 <greater-than>
5537 <property alias="/params/engine/rpm"/>
5538 <value>400</value>
5539 </greater-than>
5540 <not>
5541 <property alias="/params/securing/cowl-plugs"/>
5542 </not>
5543 <not>
5544 <property alias="/params/engine/crashed"/>
5545 </not>
5546 </and>
5547 </condition>
5548 </animation>
5549 <animation>
5550 <type>blend</type>
5551 <object-name>Propeller.Fast</object-name>
5552 <property alias="/params/engine/rpm"/>
5553 <factor>0.0004</factor>
5554 <max>0.5</max>
5555 <min>0.0</min>
5556 </animation>
5557 <animation>
5558 <type>spin</type>
5559 <object-name>Propeller</object-name>
5560 <object-name>Spinner</object-name>
5561 <property alias="/params/engine/rpm"/>
5562 <factor>-1</factor>
5563 <center>
5564 <x-m>-1.96139</x-m>
5565 <y-m>0.00127</y-m>
5566 <z-m>-0.0519</z-m>
5567 </center>
5568 <axis>
5569 <x>1.0</x>
5570 <y>0.0</y>
5571 <z>0.0</z>
5572 </axis>
5573 </animation>
5574 <animation>
5575 <type>spin</type>
5576 <object-name>Propeller.Fast</object-name>
5577 <object-name>Spinner</object-name>
5578 <property alias="/params/engine/rpm"/>
5579 <factor>-0.001</factor>
5580 <center>
5581 <x-m>-1.96139</x-m>
5582 <y-m>0.00127</y-m>
5583 <z-m>-0.0519</z-m>
5584 </center>
5585 <axis>
5586 <x>1.0</x>
5587 <y>0.0</y>
5588 <z>0.0</z>
5589 </axis>
5590 </animation>
5591
5592 <!-- Prop Damaged -->
5593 <animation>
5594 <type>select</type>
5595 <object-name>PropellerD</object-name>
5596 <object-name>SpinnerD</object-name>
5597 <condition>
5598 <property alias="/params/engine/crashed"/>
5599 </condition>
5600 </animation>
5601
5602 <!-- Left Wing No Damage -->
5603 <animation>
5604 <type>select</type>
5605 <object-name>wing_left</object-name>
5606 <object-name>wing_leading_edge_left</object-name>
5607 <object-name>wing_0</object-name>
5608 <object-name>leftaileron</object-name>
5609 <object-name>LeftNavLight</object-name>
5610 <object-name>landinglightcover</object-name>
5611 <condition>
5612 <and>
5613 <equals>
5614 <property alias="/params/wing_left_damaged/property"/>
5615 <value>0</value>
5616 </equals>
5617 <not>
5618 <property alias="/params/crash/property"/>
5619 </not>
5620 </and>
5621 </condition>
5622 </animation>
5623
5624 <!-- Right Wing No Damage -->
5625 <animation>
5626 <type>select</type>
5627 <object-name>wing_right</object-name>
5628 <object-name>wing_leading_edge_right</object-name>
5629 <object-name>rightaileron</object-name>
5630 <object-name>RightNavLight</object-name>
5631 <condition>
5632 <and>
5633 <equals>
5634 <property alias="/params/wing_right_damaged/property"/>
5635 <value>0</value>
5636 </equals>
5637 <not>
5638 <property alias="/params/crash/property"/>
5639 </not>
5640 </and>
5641 </condition>
5642 </animation>
5643
5644 <!-- Wings Collapsed -->
5645 <animation>
5646 <type>select</type>
5647 <object-name>wing_collapse_group</object-name>
5648 <condition>
5649 <property alias="/params/crash/property"/>
5650 </condition>
5651 </animation>
5652
5653 <!-- Wings Broken -->
5654 <animation>
5655 <type>select</type>
5656 <object-name>wing_center_broke_left</object-name>
5657 <object-name>wingblockerleft</object-name>
5658 <condition>
5659 <and>
5660 <equals>
5661 <property alias="/params/wing_left_damaged/property"/>
5662 <value>1</value>
5663 </equals>
5664 <not>
5665 <property alias="/params/crash/property"/>
5666 </not>
5667 </and>
5668 </condition>
5669 </animation>
5670 <animation>
5671 <type>select</type>
5672 <object-name>wing_center_broke_right</object-name>
5673 <object-name>wingblockerright</object-name>
5674 <condition>
5675 <and>
5676 <equals>
5677 <property alias="/params/wing_right_damaged/property"/>
5678 <value>1</value>
5679 </equals>
5680 <not>
5681 <property alias="/params/crash/property"/>
5682 </not>
5683 </and>
5684 </condition>
5685 </animation>
5686
5687 <!-- Wings Right Damaged -->
5688 <animation>
5689 <type>select</type>
5690 <object-name>wing_right_damage_group</object-name>
5691 <condition>
5692 <and>
5693 <equals>
5694 <property alias="/params/wing_right_damaged/property"/>
5695 <value>2</value>
5696 </equals>
5697 <not>
5698 <property alias="/params/crash/property"/>
5699 </not>
5700 </and>
5701 </condition>
5702 </animation>
5703
5704 <!-- Wings Left Damaged -->
5705 <animation>
5706 <type>select</type>
5707 <object-name>wing_left_damage_group</object-name>
5708 <condition>
5709 <and>
5710 <equals>
5711 <property alias="/params/wing_left_damaged/property"/>
5712 <value>2</value>
5713 </equals>
5714 <not>
5715 <property alias="/params/crash/property"/>
5716 </not>
5717 </and>
5718 </condition>
5719 </animation>
5720
5721 <!-- Left Wing Damaged or Not -->
5722 <animation>
5723 <type>select</type>
5724 <object-name>lighttaxi</object-name>
5725 <object-name>lightlanding</object-name>
5726 <condition>
5727 <and>
5728 <or>
5729 <equals>
5730 <property alias="/params/wing_left_damaged/property"/>
5731 <value>0</value>
5732 </equals>
5733 <equals>
5734 <property alias="/params/wing_left_damaged/property"/>
5735 <value>2</value>
5736 </equals>
5737 </or>
5738 <not>
5739 <property alias="/params/crash/property"/>
5740 </not>
5741 </and>
5742 </condition>
5743 </animation>
5744
5745 <animation>
5746 <type>translate</type>
5747 <object-name>lighttaxi</object-name>
5748 <object-name>lighttaxi1</object-name>
5749 <condition>
5750 <and>
5751 <equals>
5752 <property alias="/params/wing_left_damaged/property"/>
5753 <value>2</value>
5754 </equals>
5755 <not>
5756 <property alias="/params/crash/property"/>
5757 </not>
5758 </and>
5759 </condition>
5760 <axis>
5761 <x>0.02062</x>
5762 <y>0.0</y>
5763 <z>0.00613</z>
5764 </axis>
5765 </animation>
5766 <animation>
5767 <type>translate</type>
5768 <object-name>lightlanding</object-name>
5769 <object-name>lightlanding1</object-name>
5770 <condition>
5771 <and>
5772 <equals>
5773 <property alias="/params/wing_left_damaged/property"/>
5774 <value>2</value>
5775 </equals>
5776 <not>
5777 <property alias="/params/crash/property"/>
5778 </not>
5779 </and>
5780 </condition>
5781 <axis>
5782 <x>0.03181</x>
5783 <y>0.0</y>
5784 <z>0.01843</z>
5785 </axis>
5786 </animation>
5787
5788 <!-- Left Pontoons Not Damaged -->
5789 <animation>
5790 <type>select</type>
5791 <object-name>L-FloatC</object-name>
5792 <condition>
5793 <and>
5794 <equals>
5795 <property alias="/params/pontoon_left_damaged/property"/>
5796 <value>0</value>
5797 </equals>
5798 <equals>
5799 <property alias="/params/bushkit"/>
5800 <value>3</value>
5801 </equals>
5802 </and>
5803 </condition>
5804 </animation>
5805
5806 <!-- Right Pontoons Not Damaged -->
5807 <animation>
5808 <type>select</type>
5809 <object-name>R-FloatC</object-name>
5810 <condition>
5811 <and>
5812 <equals>
5813 <property alias="/params/pontoon_right_damaged/property"/>
5814 <value>0</value>
5815 </equals>
5816 <equals>
5817 <property alias="/params/bushkit"/>
5818 <value>3</value>
5819 </equals>
5820 </and>
5821 </condition>
5822 </animation>
5823
5824 <!-- Left Amphibious Not Damaged -->
5825 <animation>
5826 <type>select</type>
5827 <object-name>L-Float</object-name>
5828 <object-name>LRwheel</object-name>
5829 <object-name>LRAxle</object-name>
5830 <object-name>LFrontWheel</object-name>
5831 <object-name>LAxle</object-name>
5832 <object-name>LRtarm</object-name>
5833 <object-name>Ldamper</object-name>
5834 <object-name>Lstrut.001</object-name>
5835 <object-name>Lstrut.002</object-name>
5836 <condition>
5837 <and>
5838 <equals>
5839 <property alias="/params/pontoon_left_damaged/property"/>
5840 <value>0</value>
5841 </equals>
5842 <equals>
5843 <property alias="/params/bushkit"/>
5844 <value>4</value>
5845 </equals>
5846 </and>
5847 </condition>
5848 </animation>
5849
5850 <!-- Right Amphibious Not Damaged -->
5851 <animation>
5852 <type>select</type>
5853 <object-name>R-Float</object-name>
5854 <object-name>RRwheel</object-name>
5855 <object-name>RRAxle</object-name>
5856 <object-name>RFrontWheel</object-name>
5857 <object-name>RAxle</object-name>
5858 <object-name>RRtarm</object-name>
5859 <object-name>Rdamper</object-name>
5860 <object-name>Rstrut.001</object-name>
5861 <object-name>Rstrut.002</object-name>
5862 <condition>
5863 <and>
5864 <equals>
5865 <property alias="/params/pontoon_right_damaged/property"/>
5866 <value>0</value>
5867 </equals>
5868 <equals>
5869 <property alias="/params/bushkit"/>
5870 <value>4</value>
5871 </equals>
5872 </and>
5873 </condition>
5874 </animation>
5875
5876 <!-- Left Float Not Damaged -->
5877 <animation>
5878 <type>select</type>
5879 <object-name>LHrudder</object-name>
5880 <condition>
5881 <and>
5882 <equals>
5883 <property alias="/params/pontoon_left_damaged/property"/>
5884 <value>0</value>
5885 </equals>
5886 <or>
5887 <equals>
5888 <property alias="/params/bushkit"/>
5889 <value>3</value>
5890 </equals>
5891 <equals>
5892 <property alias="/params/bushkit"/>
5893 <value>4</value>
5894 </equals>
5895 </or>
5896 </and>
5897 </condition>
5898 </animation>
5899
5900 <!--Right Float Not Damaged -->
5901 <animation>
5902 <type>select</type>
5903 <object-name>RHrudder</object-name>
5904 <condition>
5905 <and>
5906 <equals>
5907 <property alias="/params/pontoon_right_damaged/property"/>
5908 <value>0</value>
5909 </equals>
5910 <or>
5911 <equals>
5912 <property alias="/params/bushkit"/>
5913 <value>3</value>
5914 </equals>
5915 <equals>
5916 <property alias="/params/bushkit"/>
5917 <value>4</value>
5918 </equals>
5919 </or>
5920 </and>
5921 </condition>
5922 </animation>
5923
5924 <!-- Pontoon and Amphibious -->
5925 <animation>
5926 <type>select</type>
5927 <object-name>RuddWires</object-name>
5928 <object-name>FloatStruts</object-name>
5929 <object-name>FloatReinforceLeft</object-name>
5930 <object-name>FloatReinforceRight</object-name>
5931 <object-name>FloatReinforceJoin</object-name>
5932 <object-name>RudderCatch</object-name>
5933 <object-name>RudderHandle</object-name>
5934 <object-name>RudderScrews</object-name>
5935 <object-name>RudderTube</object-name>
5936 <condition>
5937 <or>
5938 <equals>
5939 <property alias="/params/bushkit"/>
5940 <value>3</value>
5941 </equals>
5942 <equals>
5943 <property alias="/params/bushkit"/>
5944 <value>4</value>
5945 </equals>
5946 </or>
5947 </condition>
5948 </animation>
5949
5950 <!-- Rudder cable -->
5951 <animation>
5952 <type>select</type>
5953 <object-name>RudderCable</object-name>
5954 <condition>
5955 <and>
5956 <or>
5957 <equals>
5958 <property alias="/params/bushkit"/>
5959 <value>3</value>
5960 </equals>
5961 <equals>
5962 <property alias="/params/bushkit"/>
5963 <value>4</value>
5964 </equals>
5965 </or>
5966 <not>
5967 <property>controls/gear/water-rudder</property>
5968 </not>
5969 </and>
5970 </condition>
5971 </animation>
5972 <animation>
5973 <type>pick</type>
5974 <object-name>RudderHandle</object-name>
5975 <visible>true</visible>
5976 <action>
5977 <button>0</button>
5978 <binding>
5979 <command>property-toggle</command>
5980 <property>controls/gear/water-rudder</property>
5981 </binding>
5982 </action>
5983 <hovered>
5984 <binding>
5985 <command>set-tooltip</command>
5986 <label>Water rudders: %s</label>
5987 <property>controls/gear/water-rudder</property>
5988 <tooltip-id>water-rudders</tooltip-id>
5989 <mapping>down-up</mapping>
5990 </binding>
5991 </hovered>
5992 </animation>
5993
5994 <animation>
5995 <type>translate</type>
5996 <object-name>RudderHandle</object-name>
5997 <property alias="/params/controls/water-rudder-animation"/>
5998 <factor>-0.21348</factor>
5999 <axis>
6000 <x>1.0</x>
6001 <y>0.0</y>
6002 <z>0.0</z>
6003 </axis>
6004 </animation>
6005
6006 <!-- Left Pontoon Damaged -->
6007 <animation>
6008 <type>select</type>
6009 <object-name>L-FloatCD</object-name>
6010 <condition>
6011 <and>
6012 <equals>
6013 <property alias="/params/pontoon_left_damaged/property"/>
6014 <value>2</value>
6015 </equals>
6016 <equals>
6017 <property alias="/params/bushkit"/>
6018 <value>3</value>
6019 </equals>
6020 </and>
6021 </condition>
6022 </animation>
6023
6024 <!--Right Pontoon Damaged -->
6025 <animation>
6026 <type>select</type>
6027 <object-name>R-FloatCD</object-name>
6028 <condition>
6029 <and>
6030 <equals>
6031 <property alias="/params/pontoon_right_damaged/property"/>
6032 <value>2</value>
6033 </equals>
6034 <equals>
6035 <property alias="/params/bushkit"/>
6036 <value>3</value>
6037 </equals>
6038 </and>
6039 </condition>
6040 </animation>
6041
6042 <!--Left Pontoon Broken -->
6043 <animation>
6044 <type>select</type>
6045 <object-name>L-FloatCB</object-name>
6046 <condition>
6047 <and>
6048 <equals>
6049 <property alias="/params/pontoon_left_damaged/property"/>
6050 <value>1</value>
6051 </equals>
6052 <equals>
6053 <property alias="/params/bushkit"/>
6054 <value>3</value>
6055 </equals>
6056 </and>
6057 </condition>
6058 </animation>
6059
6060 <!--Right Pontoon Broken -->
6061 <animation>
6062 <type>select</type>
6063 <object-name>R-FloatCB</object-name>
6064 <condition>
6065 <and>
6066 <equals>
6067 <property alias="/params/pontoon_right_damaged/property"/>
6068 <value>1</value>
6069 </equals>
6070 <equals>
6071 <property alias="/params/bushkit"/>
6072 <value>3</value>
6073 </equals>
6074 </and>
6075 </condition>
6076 </animation>
6077
6078 <!-- Left Amphibious Damaged -->
6079 <animation>
6080 <type>select</type>
6081 <object-name>L-FloatOD</object-name>
6082 <object-name>LRwheelOD</object-name>
6083 <object-name>LdamperOD</object-name>
6084 <object-name>LstrutOD.001</object-name>
6085 <object-name>LstrutOD.002</object-name>
6086 <condition>
6087 <and>
6088 <equals>
6089 <property alias="/params/pontoon_left_damaged/property"/>
6090 <value>2</value>
6091 </equals>
6092 <equals>
6093 <property alias="/params/bushkit"/>
6094 <value>4</value>
6095 </equals>
6096 </and>
6097 </condition>
6098 </animation>
6099
6100 <!--Right Amphibious Damaged -->
6101 <animation>
6102 <type>select</type>
6103 <object-name>R-FloatOD</object-name>
6104 <object-name>RRwheelOD</object-name>
6105 <object-name>RdamperOD</object-name>
6106 <object-name>RstrutOD.001</object-name>
6107 <object-name>RstrutOD.002</object-name>
6108 <condition>
6109 <and>
6110 <equals>
6111 <property alias="/params/pontoon_right_damaged/property"/>
6112 <value>2</value>
6113 </equals>
6114 <equals>
6115 <property alias="/params/bushkit"/>
6116 <value>4</value>
6117 </equals>
6118 </and>
6119 </condition>
6120 </animation>
6121
6122 <!--Left Amphibious Broken -->
6123 <animation>
6124 <type>select</type>
6125 <object-name>L-FloatOB</object-name>
6126 <object-name>LRwheelOB</object-name>
6127 <object-name>LdamperOB</object-name>
6128 <object-name>LstrutOB.001</object-name>
6129 <object-name>LstrutOB.002</object-name>
6130 <condition>
6131 <and>
6132 <equals>
6133 <property alias="/params/pontoon_left_damaged/property"/>
6134 <value>1</value>
6135 </equals>
6136 <equals>
6137 <property alias="/params/bushkit"/>
6138 <value>4</value>
6139 </equals>
6140 </and>
6141 </condition>
6142 </animation>
6143
6144 <!--Right Amphibious Broken -->
6145 <animation>
6146 <type>select</type>
6147 <object-name>R-FloatOB</object-name>
6148 <object-name>RRwheelOB</object-name>
6149 <object-name>RdamperOB</object-name>
6150 <object-name>RstrutOB.001</object-name>
6151 <object-name>RstrutOB.002</object-name>
6152 <condition>
6153 <and>
6154 <equals>
6155 <property alias="/params/pontoon_right_damaged/property"/>
6156 <value>1</value>
6157 </equals>
6158 <equals>
6159 <property alias="/params/bushkit"/>
6160 <value>4</value>
6161 </equals>
6162 </and>
6163 </condition>
6164 </animation>
6165
6166 <!-- Left Float Damaged -->
6167 <animation>
6168 <type>select</type>
6169 <object-name>LHrudderD</object-name>
6170 <condition>
6171 <and>
6172 <equals>
6173 <property alias="/params/pontoon_left_damaged/property"/>
6174 <value>2</value>
6175 </equals>
6176 <or>
6177 <equals>
6178 <property alias="/params/bushkit"/>
6179 <value>3</value>
6180 </equals>
6181 <equals>
6182 <property alias="/params/bushkit"/>
6183 <value>4</value>
6184 </equals>
6185 </or>
6186 </and>
6187 </condition>
6188 </animation>
6189
6190 <!--Right Float Damaged -->
6191 <animation>
6192 <type>select</type>
6193 <object-name>RHrudderD</object-name>
6194 <condition>
6195 <and>
6196 <equals>
6197 <property alias="/params/pontoon_right_damaged/property"/>
6198 <value>2</value>
6199 </equals>
6200 <or>
6201 <equals>
6202 <property alias="/params/bushkit"/>
6203 <value>3</value>
6204 </equals>
6205 <equals>
6206 <property alias="/params/bushkit"/>
6207 <value>4</value>
6208 </equals>
6209 </or>
6210 </and>
6211 </condition>
6212 </animation>
6213
6214 <!--Left Float Broken -->
6215 <animation>
6216 <type>select</type>
6217 <object-name>LHrudderB</object-name>
6218 <condition>
6219 <and>
6220 <equals>
6221 <property alias="/params/pontoon_left_damaged/property"/>
6222 <value>1</value>
6223 </equals>
6224 <or>
6225 <equals>
6226 <property alias="/params/bushkit"/>
6227 <value>3</value>
6228 </equals>
6229 <equals>
6230 <property alias="/params/bushkit"/>
6231 <value>4</value>
6232 </equals>
6233 </or>
6234 </and>
6235 </condition>
6236 </animation>
6237
6238 <!--Right Float Broken -->
6239 <animation>
6240 <type>select</type>
6241 <object-name>RHrudderB</object-name>
6242 <condition>
6243 <and>
6244 <equals>
6245 <property alias="/params/pontoon_right_damaged/property"/>
6246 <value>1</value>
6247 </equals>
6248 <or>
6249 <equals>
6250 <property alias="/params/bushkit"/>
6251 <value>3</value>
6252 </equals>
6253 <equals>
6254 <property alias="/params/bushkit"/>
6255 <value>4</value>
6256 </equals>
6257 </or>
6258 </and>
6259 </condition>
6260 </animation>
6261
6262 <!-- Nose Gear No Damage -->
6263 <animation>
6264 <type>select</type>
6265 <object-name>NoseWheel</object-name>
6266 <object-name>Axle</object-name>
6267 <object-name>NoseWheelStrut</object-name>
6268 <condition>
6269 <and>
6270 <not>
6271 <property alias="/params/gear_nose_broken/property"/>
6272 </not>
6273 <equals>
6274 <property alias="/params/bushkit"/>
6275 <value>0</value>
6276 </equals>
6277 </and>
6278 </condition>
6279 </animation>
6280 <animation>
6281 <type>select</type>
6282 <object-name>NoseWheelBK</object-name>
6283 <object-name>NoseWheelStrutBK</object-name>
6284 <condition>
6285 <and>
6286 <not>
6287 <property alias="/params/gear_nose_broken/property"/>
6288 </not>
6289 <or>
6290 <equals>
6291 <property alias="/params/bushkit"/>
6292 <value>1</value>
6293 </equals>
6294 <equals>
6295 <property alias="/params/bushkit"/>
6296 <value>2</value>
6297 </equals>
6298 <equals>
6299 <property alias="/params/bushkit"/>
6300 <value>5</value>
6301 </equals>
6302 </or>
6303 </and>
6304 </condition>
6305 </animation>
6306 <animation>
6307 <type>select</type>
6308 <object-name>AxleBK.001</object-name>
6309 <condition>
6310 <and>
6311 <not>
6312 <property alias="/params/gear_nose_broken/property"/>
6313 </not>
6314 <or>
6315 <equals>
6316 <property alias="/params/bushkit"/>
6317 <value>1</value>
6318 </equals>
6319 <equals>
6320 <property alias="/params/bushkit"/>
6321 <value>2</value>
6322 </equals>
6323 </or>
6324 </and>
6325 </condition>
6326 </animation>
6327 <animation>
6328 <type>select</type>
6329 <object-name>TopLink</object-name>
6330 <object-name>BottomLink</object-name>
6331 <condition>
6332 <and>
6333 <not>
6334 <property alias="/params/gear_nose_broken/property"/>
6335 </not>
6336 <or>
6337 <equals>
6338 <property alias="/params/bushkit"/>
6339 <value>0</value>
6340 </equals>
6341 <equals>
6342 <property alias="/params/bushkit"/>
6343 <value>1</value>
6344 </equals>
6345 <equals>
6346 <property alias="/params/bushkit"/>
6347 <value>2</value>
6348 </equals>
6349 <equals>
6350 <property alias="/params/bushkit"/>
6351 <value>5</value>
6352 </equals>
6353 </or>
6354 </and>
6355 </condition>
6356 </animation>
6357
6358 <!-- Nose Gear Damage -->
6359 <animation>
6360 <type>select</type>
6361 <object-name>NoseWheelD</object-name>
6362 <object-name>AxleD.001</object-name>
6363 <object-name>NoseWheelStrutD</object-name>
6364 <object-name>TopLinkD</object-name>
6365 <object-name>BottomLinkD</object-name>
6366 <condition>
6367 <and>
6368 <property alias="/params/gear_nose_broken/property"/>
6369 <equals>
6370 <property alias="/params/bushkit"/>
6371 <value>0</value>
6372 </equals>
6373 </and>
6374 </condition>
6375 </animation>
6376 <animation>
6377 <type>select</type>
6378 <object-name>NoseWheelBKD</object-name>
6379 <object-name>AxleBKD.001</object-name>
6380 <object-name>NoseWheelStrutBKD</object-name>
6381 <object-name>TopLinkBKD</object-name>
6382 <object-name>BottomLinkBKD</object-name>
6383 <condition>
6384 <and>
6385 <property alias="/params/gear_nose_broken/property"/>
6386 <or>
6387 <equals>
6388 <property alias="/params/bushkit"/>
6389 <value>1</value>
6390 </equals>
6391 <equals>
6392 <property alias="/params/bushkit"/>
6393 <value>2</value>
6394 </equals>
6395 <equals>
6396 <property alias="/params/bushkit"/>
6397 <value>5</value>
6398 </equals>
6399 </or>
6400 </and>
6401 </condition>
6402 </animation>
6403
6404 <!-- Left Gear No Damage -->
6405 <animation>
6406 <type>select</type>
6407 <object-name>LeftWheel</object-name>
6408 <condition>
6409 <and>
6410 <not>
6411 <property alias="/params/gear_left_broken/property"/>
6412 </not>
6413 <equals>
6414 <property alias="/params/bushkit"/>
6415 <value>0</value>
6416 </equals>
6417 </and>
6418 </condition>
6419 </animation>
6420 <animation>
6421 <type>select</type>
6422 <object-name>LeftWheelBKs</object-name>
6423 <condition>
6424 <and>
6425 <not>
6426 <property alias="/params/gear_left_broken/property"/>
6427 </not>
6428 <equals>
6429 <property alias="/params/bushkit"/>
6430 <value>1</value>
6431 </equals>
6432 </and>
6433 </condition>
6434 </animation>
6435 <animation>
6436 <type>select</type>
6437 <object-name>LeftWheelBK</object-name>
6438 <condition>
6439 <and>
6440 <not>
6441 <property alias="/params/gear_left_broken/property"/>
6442 </not>
6443 <or>
6444 <equals>
6445 <property alias="/params/bushkit"/>
6446 <value>2</value>
6447 </equals>
6448 <equals>
6449 <property alias="/params/bushkit"/>
6450 <value>5</value>
6451 </equals>
6452 </or>
6453 </and>
6454 </condition>
6455 </animation>
6456 <animation>
6457 <type>select</type>
6458 <object-name>LeftWheelStrut</object-name>
6459 <object-name>LeftWheelBrake</object-name>
6460 <condition>
6461 <and>
6462 <not>
6463 <property alias="/params/gear_left_broken/property"/>
6464 </not>
6465 <or>
6466 <equals>
6467 <property alias="/params/bushkit"/>
6468 <value>0</value>
6469 </equals>
6470 <equals>
6471 <property alias="/params/bushkit"/>
6472 <value>1</value>
6473 </equals>
6474 <equals>
6475 <property alias="/params/bushkit"/>
6476 <value>2</value>
6477 </equals>
6478 <equals>
6479 <property alias="/params/bushkit"/>
6480 <value>5</value>
6481 </equals>
6482 </or>
6483 </and>
6484 </condition>
6485 </animation>
6486
6487 <!-- Left Gear Damage -->
6488 <animation>
6489 <type>select</type>
6490 <object-name>LeftWheelD</object-name>
6491 <condition>
6492 <and>
6493 <property alias="/params/gear_left_broken/property"/>
6494 <equals>
6495 <property alias="/params/bushkit"/>
6496 <value>0</value>
6497 </equals>
6498 </and>
6499 </condition>
6500 </animation>
6501 <animation>
6502 <type>select</type>
6503 <object-name>LeftWheelBKsD</object-name>
6504 <condition>
6505 <and>
6506 <property alias="/params/gear_left_broken/property"/>
6507 <equals>
6508 <property alias="/params/bushkit"/>
6509 <value>1</value>
6510 </equals>
6511 </and>
6512 </condition>
6513 </animation>
6514 <animation>
6515 <type>select</type>
6516 <object-name>LeftWheelBKD</object-name>
6517 <condition>
6518 <and>
6519 <property alias="/params/gear_left_broken/property"/>
6520 <or>
6521 <equals>
6522 <property alias="/params/bushkit"/>
6523 <value>2</value>
6524 </equals>
6525 <equals>
6526 <property alias="/params/bushkit"/>
6527 <value>5</value>
6528 </equals>
6529 </or>
6530 </and>
6531 </condition>
6532 </animation>
6533 <animation>
6534 <type>select</type>
6535 <object-name>LeftWheelStrutBKD</object-name>
6536 <object-name>LeftWheelBrakeD</object-name>
6537 <condition>
6538 <and>
6539 <property alias="/params/gear_left_broken/property"/>
6540 <or>
6541 <equals>
6542 <property alias="/params/bushkit"/>
6543 <value>0</value>
6544 </equals>
6545 <equals>
6546 <property alias="/params/bushkit"/>
6547 <value>1</value>
6548 </equals>
6549 <equals>
6550 <property alias="/params/bushkit"/>
6551 <value>2</value>
6552 </equals>
6553 <equals>
6554 <property alias="/params/bushkit"/>
6555 <value>5</value>
6556 </equals>
6557 </or>
6558 </and>
6559 </condition>
6560 </animation>
6561
6562 <!-- Right Gear No Damage -->
6563 <animation>
6564 <type>select</type>
6565 <object-name>RightWheel</object-name>
6566 <condition>
6567 <and>
6568 <not>
6569 <property alias="/params/gear_right_broken/property"/>
6570 </not>
6571 <equals>
6572 <property alias="/params/bushkit"/>
6573 <value>0</value>
6574 </equals>
6575 </and>
6576 </condition>
6577 </animation>
6578 <animation>
6579 <type>select</type>
6580 <object-name>RightWheelBKs</object-name>
6581 <condition>
6582 <and>
6583 <not>
6584 <property alias="/params/gear_right_broken/property"/>
6585 </not>
6586 <equals>
6587 <property alias="/params/bushkit"/>
6588 <value>1</value>
6589 </equals>
6590 </and>
6591 </condition>
6592 </animation>
6593 <animation>
6594 <type>select</type>
6595 <object-name>RightWheelBK</object-name>
6596 <condition>
6597 <and>
6598 <not>
6599 <property alias="/params/gear_right_broken/property"/>
6600 </not>
6601 <or>
6602 <equals>
6603 <property alias="/params/bushkit"/>
6604 <value>2</value>
6605 </equals>
6606 <equals>
6607 <property alias="/params/bushkit"/>
6608 <value>5</value>
6609 </equals>
6610 </or>
6611 </and>
6612 </condition>
6613 </animation>
6614 <animation>
6615 <type>select</type>
6616 <object-name>RightWheelStrut</object-name>
6617 <object-name>RightWheelBrake</object-name>
6618 <condition>
6619 <and>
6620 <not>
6621 <property alias="/params/gear_right_broken/property"/>
6622 </not>
6623 <or>
6624 <equals>
6625 <property alias="/params/bushkit"/>
6626 <value>0</value>
6627 </equals>
6628 <equals>
6629 <property alias="/params/bushkit"/>
6630 <value>1</value>
6631 </equals>
6632 <equals>
6633 <property alias="/params/bushkit"/>
6634 <value>2</value>
6635 </equals>
6636 <equals>
6637 <property alias="/params/bushkit"/>
6638 <value>5</value>
6639 </equals>
6640 </or>
6641 </and>
6642 </condition>
6643 </animation>
6644
6645 <!-- Right Gear Damage -->
6646 <animation>
6647 <type>select</type>
6648 <object-name>RightWheelD</object-name>
6649 <condition>
6650 <and>
6651 <property alias="/params/gear_right_broken/property"/>
6652 <equals>
6653 <property alias="/params/bushkit"/>
6654 <value>0</value>
6655 </equals>
6656 </and>
6657 </condition>
6658 </animation>
6659 <animation>
6660 <type>select</type>
6661 <object-name>RightWheelBKsD</object-name>
6662 <condition>
6663 <and>
6664 <property alias="/params/gear_right_broken/property"/>
6665 <equals>
6666 <property alias="/params/bushkit"/>
6667 <value>1</value>
6668 </equals>
6669 </and>
6670 </condition>
6671 </animation>
6672 <animation>
6673 <type>select</type>
6674 <object-name>RightWheelBKD</object-name>
6675 <condition>
6676 <and>
6677 <property alias="/params/gear_right_broken/property"/>
6678 <or>
6679 <equals>
6680 <property alias="/params/bushkit"/>
6681 <value>2</value>
6682 </equals>
6683 <equals>
6684 <property alias="/params/bushkit"/>
6685 <value>5</value>
6686 </equals>
6687 </or>
6688 </and>
6689 </condition>
6690 </animation>
6691 <animation>
6692 <type>select</type>
6693 <object-name>RightWheelStrutBKD</object-name>
6694 <object-name>RightWheelBrakeD</object-name>
6695 <condition>
6696 <and>
6697 <property alias="/params/gear_right_broken/property"/>
6698 <or>
6699 <equals>
6700 <property alias="/params/bushkit"/>
6701 <value>0</value>
6702 </equals>
6703 <equals>
6704 <property alias="/params/bushkit"/>
6705 <value>1</value>
6706 </equals>
6707 <equals>
6708 <property alias="/params/bushkit"/>
6709 <value>2</value>
6710 </equals>
6711 <equals>
6712 <property alias="/params/bushkit"/>
6713 <value>5</value>
6714 </equals>
6715 </or>
6716 </and>
6717 </condition>
6718 </animation>
6719
6720 <!-- Nose Ski No Damage -->
6721 <animation>
6722 <type>select</type>
6723 <object-name>NoseSki</object-name>
6724 <object-name>NoseSkiAxle</object-name>
6725 <object-name>NoseSkiAxleBl</object-name>
6726 <object-name>NoseSkiAxleBr</object-name>
6727 <object-name>NoseSkiBraceL</object-name>
6728 <object-name>NoseSkiBraceR</object-name>
6729 <object-name>NoseSkiWireF</object-name>
6730 <object-name>NoseCableConnect</object-name>
6731 <object-name>NoseSkiWheel</object-name>
6732 <object-name>NoseSkiWheelAxleL</object-name>
6733 <object-name>NoseSkiWheelAxleR</object-name>
6734 <condition>
6735 <and>
6736 <not>
6737 <property alias="/params/gear_nose_broken/property"/>
6738 </not>
6739 <equals>
6740 <property alias="/params/bushkit"/>
6741 <value>5</value>
6742 </equals>
6743 </and>
6744 </condition>
6745 </animation>
6746
6747 <!-- Nose Ski Damage -->
6748 <animation>
6749 <type>select</type>
6750 <object-name>NoseSkid</object-name>
6751 <object-name>NoseSkiAxled</object-name>
6752 <object-name>NoseSkiAxleBld</object-name>
6753 <object-name>NoseSkiAxleBrd</object-name>
6754 <object-name>NoseSkiBraceLd</object-name>
6755 <object-name>NoseSkiBraceRd</object-name>
6756 <object-name>NoseSkiWireFd</object-name>
6757 <object-name>NoseCableConnectd</object-name>
6758 <object-name>NoseSkiWheeld</object-name>
6759 <object-name>NoseSkiWheelAxleLd</object-name>
6760 <object-name>NoseSkiWheelAxleRd</object-name>
6761 <condition>
6762 <and>
6763 <property alias="/params/gear_nose_broken/property"/>
6764 <equals>
6765 <property alias="/params/bushkit"/>
6766 <value>5</value>
6767 </equals>
6768 </and>
6769 </condition>
6770 </animation>
6771
6772 <!-- Left Ski No Damage -->
6773 <animation>
6774 <type>select</type>
6775 <object-name>LeftSki</object-name>
6776 <object-name>LeftSkiAxle</object-name>
6777 <object-name>LeftSkiAxleBl</object-name>
6778 <object-name>LeftSkiAxleBr</object-name>
6779 <object-name>LeftSkiBraceL</object-name>
6780 <object-name>LeftSkiBraceR</object-name>
6781 <object-name>LeftSkiWireF</object-name>
6782 <object-name>LeftSkiWireB</object-name>
6783 <object-name>LeftCableConnectF</object-name>
6784 <object-name>LeftCableConnectB</object-name>
6785 <object-name>LeftSkiWheel</object-name>
6786 <object-name>LeftCableConnectT</object-name>
6787 <object-name>LeftSkiSpring</object-name>
6788 <object-name>LeftSkiWheelAxle</object-name>
6789 <condition>
6790 <and>
6791 <not>
6792 <property alias="/params/gear_left_broken/property"/>
6793 </not>
6794 <equals>
6795 <property alias="/params/bushkit"/>
6796 <value>5</value>
6797 </equals>
6798 </and>
6799 </condition>
6800 </animation>
6801
6802 <!-- Left Ski Damage -->
6803 <animation>
6804 <type>select</type>
6805 <object-name>LeftSkid</object-name>
6806 <object-name>LeftSkiAxled</object-name>
6807 <object-name>LeftSkiAxleBld</object-name>
6808 <object-name>LeftSkiAxleBrd</object-name>
6809 <object-name>LeftSkiBraceLd</object-name>
6810 <object-name>LeftSkiBraceRd</object-name>
6811 <object-name>LeftSkiWireFd</object-name>
6812 <object-name>LeftSkiWireBd</object-name>
6813 <object-name>LeftCableConnectFd</object-name>
6814 <object-name>LeftCableConnectBd</object-name>
6815 <object-name>LeftCableConnectTd</object-name>
6816 <object-name>LeftSkiWheeld</object-name>
6817 <object-name>LeftSkiSpringd</object-name>
6818 <object-name>LeftSkiWheelAxled</object-name>
6819 <condition>
6820 <and>
6821 <property alias="/params/gear_left_broken/property"/>
6822 <equals>
6823 <property alias="/params/bushkit"/>
6824 <value>5</value>
6825 </equals>
6826 </and>
6827 </condition>
6828 </animation>
6829
6830 <!-- Right Ski No Damage -->
6831 <animation>
6832 <type>select</type>
6833 <object-name>RightSki</object-name>
6834 <object-name>RightSkiAxle</object-name>
6835 <object-name>RightSkiAxleBl</object-name>
6836 <object-name>RightSkiAxleBr</object-name>
6837 <object-name>RightSkiBraceL</object-name>
6838 <object-name>RightSkiBraceR</object-name>
6839 <object-name>RightSkiWireF</object-name>
6840 <object-name>RightSkiWireB</object-name>
6841 <object-name>RightCableConnectF</object-name>
6842 <object-name>RightCableConnectB</object-name>
6843 <object-name>RightSkiWheel</object-name>
6844 <object-name>RightCableConnectT</object-name>
6845 <object-name>RightSkiSpring</object-name>
6846 <object-name>RightSkiWheelAxle</object-name>
6847 <condition>
6848 <and>
6849 <not>
6850 <property alias="/params/gear_right_broken/property"/>
6851 </not>
6852 <equals>
6853 <property alias="/params/bushkit"/>
6854 <value>5</value>
6855 </equals>
6856 </and>
6857 </condition>
6858 </animation>
6859 <!-- End Damage Mod-->
6860
6861 <!-- Right Ski Damage -->
6862 <animation>
6863 <type>select</type>
6864 <object-name>RightSkid</object-name>
6865 <object-name>RightSkiAxled</object-name>
6866 <object-name>RightSkiAxleBld</object-name>
6867 <object-name>RightSkiAxleBrd</object-name>
6868 <object-name>RightSkiBraceLd</object-name>
6869 <object-name>RightSkiBraceRd</object-name>
6870 <object-name>RightCableConnectTd</object-name>
6871 <object-name>RightSkiWireFd</object-name>
6872 <object-name>RightSkiWireBd</object-name>
6873 <object-name>RightCableConnectFd</object-name>
6874 <object-name>RightCableConnectBd</object-name>
6875 <object-name>RightSkiWheeld</object-name>
6876 <object-name>RightSkiSpringd</object-name>
6877 <object-name>RightSkiWheelAxled</object-name>
6878 <condition>
6879 <and>
6880 <property alias="/params/gear_right_broken/property"/>
6881 <equals>
6882 <property alias="/params/bushkit"/>
6883 <value>5</value>
6884 </equals>
6885 </and>
6886 </condition>
6887 </animation>
6888 <!-- End Damage Mod-->
6889
6890 <animation>
6891 <type>select</type>
6892 <object-name>fairing1</object-name>
6893 <condition>
6894 <and>
6895 <property>sim/model/c172p/fairing1</property>
6896 <not>
6897 <property alias="/params/gear_nose_broken/property"/>
6898 </not>
6899 <not>
6900 <property alias="/params/bushkit"/>
6901 </not>
6902 </and>
6903 </condition>
6904 </animation>
6905 <animation>
6906 <type>select</type>
6907 <object-name>fairing2</object-name>
6908 <condition>
6909 <and>
6910 <property>sim/model/c172p/fairing2</property>
6911 <not>
6912 <property alias="/params/gear_left_broken/property"/>
6913 </not>
6914 <not>
6915 <property alias="/params/bushkit"/>
6916 </not>
6917 </and>
6918 </condition>
6919 </animation>
6920 <animation>
6921 <type>select</type>
6922 <object-name>fairing3</object-name>
6923 <condition>
6924 <and>
6925 <property>sim/model/c172p/fairing3</property>
6926 <not>
6927 <property alias="/params/gear_right_broken/property"/>
6928 </not>
6929 <not>
6930 <property alias="/params/bushkit"/>
6931 </not>
6932 </and>
6933 </condition>
6934 </animation>
6935
6936 <!-- Damage Mod -->
6937 <animation>
6938 <type>select</type>
6939 <object-name>fairing1D</object-name>
6940 <condition>
6941 <and>
6942 <property>sim/model/c172p/fairing1</property>
6943 <property alias="/params/gear_nose_broken/property"/>
6944 <not>
6945 <property alias="/params/bushkit"/>
6946 </not>
6947 </and>
6948 </condition>
6949 </animation>
6950 <animation>
6951 <type>select</type>
6952 <object-name>fairing2D</object-name>
6953 <condition>
6954 <and>
6955 <property>sim/model/c172p/fairing2</property>
6956 <property alias="/params/gear_left_broken/property"/>
6957 <not>
6958 <property alias="/params/bushkit"/>
6959 </not>
6960 </and>
6961 </condition>
6962 </animation>
6963 <animation>
6964 <type>select</type>
6965 <object-name>fairing3D</object-name>
6966 <condition>
6967 <and>
6968 <property>sim/model/c172p/fairing3</property>
6969 <property alias="/params/gear_right_broken/property"/>
6970 <not>
6971 <property alias="/params/bushkit"/>
6972 </not>
6973 </and>
6974 </condition>
6975 </animation>
6976 <animation>
6977 <type>material</type>
6978 <!--global type="bool">true</global-->
6979 <object-name>RightWheelStrut</object-name>
6980 <object-name>LeftWheelStrut</object-name>
6981 <object-name>fairing1</object-name>
6982 <object-name>fairing2</object-name>
6983 <object-name>fairing3</object-name>
6984 <object-name>fuselage</object-name>
6985 <object-name>fuselage_cowling</object-name>
6986 <object-name>fuselage_cowling_top</object-name>
6987 <object-name>charniere1</object-name>
6988 <object-name>charniere2</object-name>
6989 <object-name>charniere3</object-name>
6990 <object-name>charniere4</object-name>
6991 <object-name>leftdoor</object-name>
6992 <object-name>leftdoorhandle</object-name>
6993 <object-name>rightdoor</object-name>
6994 <object-name>rightdoorhandle</object-name>
6995 <object-name>baggagedoorexterior</object-name>
6996 <object-name>baggagedoorhandle</object-name>
6997 <object-name>Spinner</object-name>
6998 <object-name>Propeller</object-name>
6999 <object-name>PropellerCowlPlugs</object-name>
7000 <object-name>LeftNavLight</object-name>
7001 <object-name>RightNavLight</object-name>
7002 <object-name>radi_box</object-name>
7003 <object-name>ruddercableports</object-name>
7004 <object-name>windowframeleftext</object-name>
7005 <object-name>windowframerightext</object-name>
7006 <object-name>oildoor</object-name>
7007 <object-name>vent</object-name>
7008 <object-name>handle</object-name>
7009 <object-name>airvent</object-name>
7010 <object-name>TransponderAntenna</object-name>
7011 <object-name>MarkerAntenna</object-name>
7012 <object-name>Antenna_ADF</object-name>
7013 <object-name>Antenna_VOR</object-name>
7014 <object-name>VHFAntenna</object-name>
7015 <object-name>ELTAntenna</object-name>
7016 <!-- damage mod -->
7017 <object-name>RightWheelStrutBKD</object-name>
7018 <object-name>LeftWheelStrutBKD</object-name>
7019 <object-name>RightNavLight_C</object-name>
7020 <object-name>LeftNavLight_C</object-name>
7021 <object-name>RightNavLight_D</object-name>
7022 <object-name>LeftNavLight_D</object-name>
7023 <object-name>fairing1D</object-name>
7024 <object-name>fairing2D</object-name>
7025 <object-name>fairing3D</object-name>
7026 <object-name>PropellerD</object-name>
7027 <object-name>SpinnerD</object-name>
7028 <property-base>sim/model/livery/</property-base>
7029 <texture-prop>texture</texture-prop>
7030 <texture>fuselage.png </texture>
7031 </animation>
7032 <animation>
7033 <type>material</type>
7034 <!--global type="bool">true</global-->
7035 <object-name>wing_left</object-name>
7036 <object-name>wing_center</object-name>
7037 <object-name>wing_right</object-name>
7038 <object-name>wing_leading_edge_left</object-name>
7039 <object-name>wing_leading_edge_right</object-name>
7040 <object-name>wing_leading_edge_center</object-name>
7041 <object-name>flaps</object-name>
7042 <object-name>rightaileron</object-name>
7043 <object-name>leftaileron</object-name>
7044 <object-name>wing_1Ledge</object-name>
7045 <object-name>wing_1Redge</object-name>
7046 <object-name>courtesyoff</object-name>
7047
7048 <!-- damage mod -->
7049 <object-name>wing_right_C</object-name>
7050 <object-name>rightaileron_C</object-name>
7051 <object-name>wing_leading_edge_right_C</object-name>
7052 <object-name>wing_left_C</object-name>
7053 <object-name>leftaileron_C</object-name>
7054 <object-name>wing_leading_edge_left_C</object-name>
7055 <object-name>wing_center_broke_left</object-name>
7056 <object-name>wing_center_broke_right</object-name>
7057 <object-name>wing_left_D</object-name>
7058 <object-name>leftaileron_D</object-name>
7059 <object-name>wing_leading_edge_left_D</object-name>
7060 <object-name>wing_right_D</object-name>
7061 <object-name>rightaileron_D</object-name>
7062 <object-name>wing_leading_edge_right_D</object-name>
7063
7064 <property-base>sim/model/liverywing/</property-base>
7065 <texture-prop>texture</texture-prop>
7066 <texture>wing.png</texture>
7067 </animation>
7068 <animation>
7069 <type>material</type>
7070 <!--global type="bool">true</global-->
7071 <object-name>vstab</object-name>
7072 <object-name>hstab</object-name>
7073 <object-name>rudder_1</object-name>
7074 <object-name>elevatorleft</object-name>
7075 <object-name>elevatorright</object-name>
7076 <object-name>elevatortrim</object-name>
7077 <property-base>sim/model/liverytail/</property-base>
7078 <texture-prop>texture</texture-prop>
7079 <texture>tail.png</texture>
7080 </animation>
7081 <animation>
7082 <type>material</type>
7083 <!--global type="bool">true</global-->
7084 <object-name>Propeller.Fast</object-name>
7085 <property-base>sim/model/liveryprop/</property-base>
7086 <texture-prop>texture</texture-prop>
7087 <texture>prop.png</texture>
7088 </animation>
7089 <animation>
7090 <type>material</type>
7091 <object-name>L-Float</object-name>
7092 <object-name>R-Float</object-name>
7093 <object-name>L-FloatC</object-name>
7094 <object-name>R-FloatC</object-name>
7095 <object-name>LHrudder</object-name>
7096 <object-name>RHrudder</object-name>
7097 <object-name>FloatStruts</object-name>
7098 <!-- damage mod -->
7099 <object-name>L-FloatCD</object-name>
7100 <object-name>R-FloatCD</object-name>
7101 <object-name>L-FloatCB</object-name>
7102 <object-name>R-FloatCB</object-name>
7103 <object-name>L-FloatOD</object-name>
7104 <object-name>R-FloatOD</object-name>
7105 <object-name>L-FloatOB</object-name>
7106 <object-name>R-FloatOB</object-name>
7107 <object-name>LHrudderD</object-name>
7108 <object-name>RHrudderD</object-name>
7109 <object-name>LHrudderB</object-name>
7110 <object-name>RHrudderB</object-name>
7111 <property-base>sim/model/liveryfloat/</property-base>
7112 <texture-prop>texture</texture-prop>
7113 <texture>floats.png</texture>
7114 </animation>
7115 <animation>
7116 <type>material</type>
7117 <!--global type="bool">true</global-->
7118 <object-name>GROUP_Interior</object-name>
7119 <object-name>Firewall</object-name>
7120 <property-base>sim/model/liveryinterior/</property-base>
7121 <texture-prop>texture</texture-prop>
7122 <texture>interior.png</texture>
7123 </animation>
7124 <animation>
7125 <type>material</type>
7126 <!--global type="bool">true</global-->
7127 <object-name>GROUP_FrontPanels</object-name>
7128 <property-base>sim/model/liverypanel/</property-base>
7129 <texture-prop>texture</texture-prop>
7130 <texture>panel.png</texture>
7131 </animation>
7132 <animation>
7133 <type>material</type>
7134 <!--global type="bool">true</global-->
7135 <object-name>GROUP_InteriorParts</object-name>
7136 <property-base>sim/model/liveryparts/</property-base>
7137 <texture-prop>texture</texture-prop>
7138 <texture>panel_parts.png</texture>
7139 </animation>
7140
7141 <!-- Pilot, co-pilot, and passengers -->
7142 <model>
7143 <name>Pilot</name>
7144 <path>Human/female-pilot.xml</path>
7145 <offsets>
7146 <x-m> 0.2 </x-m>
7147 <y-m> -0.251 </y-m>
7148 <z-m> -1.4 </z-m>
7149 </offsets>
7150 </model>
7151 <model>
7152 <name>Copilot</name>
7153 <path>Human/male-copilot.xml</path>
7154 <offsets>
7155 <x-m> 0.2 </x-m>
7156 <y-m> 0.251 </y-m>
7157 <z-m> -1.4 </z-m>
7158 </offsets>
7159 </model>
7160 <model>
7161 <name>LeftPassenger</name>
7162 <path>Human/male-copilot.xml</path>
7163 <offsets>
7164 <x-m> 0.9 </x-m>
7165 <y-m> -0.2 </y-m>
7166 <z-m> -1.45 </z-m>
7167 </offsets>
7168 </model>
7169 <model>
7170 <name>RightPassenger</name>
7171 <path>Human/male-copilot.xml</path>
7172 <offsets>
7173 <x-m> 0.9 </x-m>
7174 <y-m> 0.2 </y-m>
7175 <z-m> -1.45 </z-m>
7176 </offsets>
7177 </model>
7178
7179 <!-- Pilot visible only when not in the cockpit, the walker is not activated and if there is enough weight on his seat -->
7180 <animation>
7181 <type>select</type>
7182 <object-name>Pilot</object-name>
7183 <condition>
7184 <and>
7185 <!-- Note: the sim/ properties do NOT start with a /,
7186 which means that FlightGear tries to find them in
7187 either:
7188
7189 (a) the root (/) for the local aircraft, or:
7190 (b) in /ai/models/multiplayer[i]
7191
7192 In the case of (b), the properties do not exist, thus
7193 the <not-equals> gets evaluated to true (always), which
7194 is what we want, but this behavior is error-prone.
7195 -->
7196 <not-equals>
7197 <property>sim/current-view/name</property>
7198 <value>Cockpit View</value>
7199 </not-equals>
7200 <not-equals>
7201 <property>sim/current-view/name</property>
7202 <value>IFR Training View</value>
7203 </not-equals>
7204 <not>
7205 <property>sim/walker/outside</property>
7206 </not>
7207 <property>pax/pilot/present</property>
7208 <property>sim/model/occupants</property>
7209 </and>
7210 </condition>
7211 </animation>
7212
7213 <!-- Co-pilot not visible if not enough weight on his seat or if using Cockpit Right Seat View-->
7214 <animation>
7215 <type>select</type>
7216 <object-name>Copilot</object-name>
7217 <condition>
7218 <and>
7219 <not-equals>
7220 <property>sim/current-view/name</property>
7221 <value>Cockpit Right Seat View</value>
7222 </not-equals>
7223 <property>pax/co-pilot/present</property>
7224 <property>sim/model/occupants</property>
7225 </and>
7226 </condition>
7227 </animation>
7228
7229 <!-- Passangers not visible if not enough weight on their seats or if using their view -->
7230 <animation>
7231 <type>select</type>
7232 <object-name>LeftPassenger</object-name>
7233 <condition>
7234 <and>
7235 <not-equals>
7236 <property>sim/current-view/name</property>
7237 <value>Left Passenger Seat View</value>
7238 </not-equals>
7239 <property>pax/left-passenger/present</property>
7240 <property>sim/model/occupants</property>
7241 </and>
7242 </condition>
7243 </animation>
7244 <animation>
7245 <type>select</type>
7246 <object-name>RightPassenger</object-name>
7247 <condition>
7248 <and>
7249 <not-equals>
7250 <property>sim/current-view/name</property>
7251 <value>Right Passenger Seat View</value>
7252 </not-equals>
7253 <property>pax/right-passenger/present</property>
7254 <property>sim/model/occupants</property>
7255 </and>
7256 </condition>
7257 </animation>
7258
7259 <!-- MOD: Pontoon Gear -->
7260 <animation>
7261 <name>LeftFrontGear</name>
7262 <object-name>Lstrut.001</object-name>
7263 <object-name>Ldamper</object-name>
7264 <object-name>LAxle</object-name>
7265 <object-name>LFrontWheel</object-name>
7266 </animation>
7267 <animation>
7268 <name>RightFrontGear</name>
7269 <object-name>Rstrut.001</object-name>
7270 <object-name>Rdamper</object-name>
7271 <object-name>RAxle</object-name>
7272 <object-name>RFrontWheel</object-name>
7273 </animation>
7274
7275 <!-- Retractable Gear -->
7276 <animation>
7277 <type>rotate</type>
7278 <object-name>Ldamper</object-name>
7279 <object-name>LAxle</object-name>
7280 <object-name>LFrontWheel</object-name>
7281 <property alias="/params/gear-amphibious/front-left-compression-ft"/>
7282 <factor>8</factor>
7283 <center>
7284 <x-m>-3.599</x-m>
7285 <y-m>1.434</y-m>
7286 <z-m>-2.189</z-m>
7287 </center>
7288 <axis>
7289 <x>0</x>
7290 <y>-1</y>
7291 <z>0</z>
7292 </axis>
7293 </animation>
7294 <animation>
7295 <type>translate</type>
7296 <object-name>LeftFrontGear</object-name>
7297 <property alias="/params/gear-amphibious/front-left-position-norm"/>
7298 <interpolation>
7299 <entry>
7300 <ind>0.0</ind>
7301 <dep>0.220</dep>
7302 </entry>
7303 <entry>
7304 <ind>1.0</ind>
7305 <dep>0.0</dep>
7306 </entry>
7307 </interpolation>
7308 <center>
7309 <x-m>-3.553</x-m>
7310 <y-m>1.430</y-m>
7311 <z-m>-1.901</z-m>
7312 </center>
7313 <axis>
7314 <x>0.342</x>
7315 <y>0</y>
7316 <z>0.940</z>
7317 </axis>
7318 </animation>
7319 <animation>
7320 <type>translate</type>
7321 <object-name>Lstrut.002</object-name>
7322 <property alias="/params/gear-amphibious/front-left-position-norm"/>
7323 <interpolation>
7324 <entry>
7325 <ind>0.0</ind>
7326 <dep>0.115</dep>
7327 </entry>
7328 <entry>
7329 <ind>1.0</ind>
7330 <dep>0.0</dep>
7331 </entry>
7332 </interpolation>
7333 <center>
7334 <x-m>-3.553</x-m>
7335 <y-m>1.430</y-m>
7336 <z-m>-1.901</z-m>
7337 </center>
7338 <axis>
7339 <x>0.342</x>
7340 <y>0</y>
7341 <z>0.940</z>
7342 </axis>
7343 </animation>
7344 <animation>
7345 <type>rotate</type>
7346 <object-name>Rdamper</object-name>
7347 <object-name>RAxle</object-name>
7348 <object-name>RFrontWheel</object-name>
7349 <property alias="/params/gear-amphibious/front-right-compression-ft"/>
7350 <factor>8</factor>
7351 <center>
7352 <x-m>-3.599</x-m>
7353 <y-m>-1.434</y-m>
7354 <z-m>-2.189</z-m>
7355 </center>
7356 <axis>
7357 <x>0</x>
7358 <y>-1</y>
7359 <z>0</z>
7360 </axis>
7361 </animation>
7362 <animation>
7363 <type>translate</type>
7364 <object-name>RightFrontGear</object-name>
7365 <property alias="/params/gear-amphibious/front-right-position-norm"/>
7366 <interpolation>
7367 <entry>
7368 <ind>0.0</ind>
7369 <dep>0.220</dep>
7370 </entry>
7371 <entry>
7372 <ind>1.0</ind>
7373 <dep>0.0</dep>
7374 </entry>
7375 </interpolation>
7376 <center>
7377 <x-m>-3.553</x-m>
7378 <y-m>-1.430</y-m>
7379 <z-m>-1.901</z-m>
7380 </center>
7381 <axis>
7382 <x>0.342</x>
7383 <y>0</y>
7384 <z>0.940</z>
7385 </axis>
7386 </animation>
7387 <animation>
7388 <type>translate</type>
7389 <object-name>Rstrut.002</object-name>
7390 <property alias="/params/gear-amphibious/front-right-position-norm"/>
7391 <interpolation>
7392 <entry>
7393 <ind>0.0</ind>
7394 <dep>0.115</dep>
7395 </entry>
7396 <entry>
7397 <ind>1.0</ind>
7398 <dep>0.0</dep>
7399 </entry>
7400 </interpolation>
7401 <center>
7402 <x-m>-3.553</x-m>
7403 <y-m>-1.430</y-m>
7404 <z-m>-1.901</z-m>
7405 </center>
7406 <axis>
7407 <x>0.342</x>
7408 <y>0</y>
7409 <z>0.940</z>
7410 </axis>
7411 </animation>
7412 <animation>
7413 <type>spin</type>
7414 <object-name>LFrontWheel</object-name>
7415 <property alias="/params/gear-amphibious/front-left-rollspeed-ms"/>
7416 <factor>75</factor>
7417 <axis>
7418 <x>0</x>
7419 <y>-1</y>
7420 <z>0</z>
7421 </axis>
7422 <center>
7423 <x-m>-2.1152</x-m>
7424 <y-m>-1.14871</y-m>
7425 <z-m>-2.07563</z-m>
7426 </center>
7427 </animation>
7428 <animation>
7429 <type>spin</type>
7430 <object-name>RFrontWheel</object-name>
7431 <property alias="/params/gear-amphibious/front-right-rollspeed-ms"/>
7432 <factor>75</factor>
7433 <axis>
7434 <x>0</x>
7435 <y>-1</y>
7436 <z>0</z>
7437 </axis>
7438 <center>
7439 <x-m>-2.10993</x-m>
7440 <y-m>1.16615</y-m>
7441 <z-m>-2.06557</z-m>
7442 </center>
7443 </animation>
7444
7445 <animation>
7446 <type>rotate</type>
7447 <object-name>LRtarm</object-name>
7448 <object-name>LRAxle</object-name>
7449 <object-name>LRwheel</object-name>
7450 <expression>
7451 <sum>
7452 <product>
7453 <sum>
7454 <value>0.07</value>
7455 <property alias="/params/gear-amphibious/rear-left-compression-ft"/>
7456 </sum>
7457 <value>15</value>
7458 </product>
7459 <product>
7460 <table>
7461 <property alias="/params/gear-amphibious/rear-left-position-norm"/>
7462 <entry>
7463 <ind>1</ind>
7464 <dep>0</dep>
7465 </entry>
7466 <entry>
7467 <ind>0</ind>
7468 <dep>10</dep>
7469 </entry>
7470 </table>
7471 </product>
7472 </sum>
7473 </expression>
7474 <center>
7475 <x-m>-0.6019</x-m>
7476 <y-m>-1.1513</y-m>
7477 <z-m>-1.8621</z-m>
7478 </center>
7479 <axis>
7480 <x>0</x>
7481 <y>-1</y>
7482 <z>0</z>
7483 </axis>
7484 </animation>
7485 <animation>
7486 <type>rotate</type>
7487 <object-name>RRtarm</object-name>
7488 <object-name>RRAxle</object-name>
7489 <object-name>RRwheel</object-name>
7490 <expression>
7491 <sum>
7492 <product>
7493 <sum>
7494 <value>0.07</value>
7495 <property alias="/params/gear-amphibious/rear-right-compression-ft"/>
7496 </sum>
7497 <value>15</value>
7498 </product>
7499 <product>
7500 <table>
7501 <property alias="/params/gear-amphibious/rear-right-position-norm"/>
7502 <entry>
7503 <ind>1</ind>
7504 <dep>0</dep>
7505 </entry>
7506 <entry>
7507 <ind>0</ind>
7508 <dep>10</dep>
7509 </entry>
7510 </table>
7511 </product>
7512 </sum>
7513 </expression>
7514 <center>
7515 <x-m>-0.6019</x-m>
7516 <y-m>1.1676</y-m>
7517 <z-m>-1.8621</z-m>
7518 </center>
7519 <axis>
7520 <x>0</x>
7521 <y>-1</y>
7522 <z>0</z>
7523 </axis>
7524 </animation>
7525 <animation>
7526 <type>spin</type>
7527 <object-name>LRwheel</object-name>
7528 <property alias="/params/gear-amphibious/rear-left-rollspeed-ms"/>
7529 <factor>52</factor>
7530 <axis>
7531 <x>0</x>
7532 <y>-1</y>
7533 <z>0</z>
7534 </axis>
7535 <center>
7536 <x-m>0.88361</x-m>
7537 <y-m>-1.15147</y-m>
7538 <z-m>-2.14853</z-m>
7539 </center>
7540 </animation>
7541 <animation>
7542 <type>spin</type>
7543 <object-name>RRwheel</object-name>
7544 <property alias="/params/gear-amphibious/rear-right-rollspeed-ms"/>
7545 <factor>52</factor>
7546 <axis>
7547 <x>0</x>
7548 <y>-1</y>
7549 <z>0</z>
7550 </axis>
7551 <center>
7552 <x-m>0.88416</x-m>
7553 <y-m>1.16754</y-m>
7554 <z-m>-2.14826</z-m>
7555 </center>
7556 </animation>
7557
7558 <animation>
7559 <type>translate</type>
7560 <object-name>RHrudder</object-name>
7561 <property alias="/params/water-rudder-norm"/>
7562 <interpolation>
7563 <entry>
7564 <ind>0.0</ind>
7565 <dep>0.0</dep>
7566 </entry>
7567 <entry>
7568 <ind>1.0</ind>
7569 <dep>0.09</dep>
7570 </entry>
7571 </interpolation>
7572 <center>
7573 <x-m> 3.48832</x-m>
7574 <y-m> 1.15971</y-m>
7575 <z-m>-1.61943</z-m>
7576 </center>
7577 <axis>
7578 <x>0</x>
7579 <y>0</y>
7580 <z>-1</z>
7581 </axis>
7582 </animation>
7583 <animation>
7584 <type>rotate</type>
7585 <object-name>RHrudder</object-name>
7586 <expression>
7587 <product>
7588 <value>30</value>
7589 <property>surface-positions/rudder-pos-norm</property>
7590 <property alias="/params/water-rudder-norm"/>
7591 </product>
7592 </expression>
7593 <center>
7594 <x-m> 3.5172</x-m>
7595 <y-m> 1.1571</y-m>
7596 <z-m>-1.4308</z-m>
7597 </center>
7598 <axis>
7599 <x>-0.087</x>
7600 <y> 0</y>
7601 <z> 0.996</z>
7602 </axis>
7603 </animation>
7604 <animation>
7605 <type>rotate</type>
7606 <object-name>RHrudder</object-name>
7607 <property alias="/params/water-rudder-norm"/>
7608 <factor>90</factor>
7609 <center>
7610 <x-m> 3.47</x-m>
7611 <y-m> 1.434</y-m>
7612 <z-m>-1.63</z-m>
7613 </center>
7614 <axis>
7615 <x>0</x>
7616 <y>1</y>
7617 <z>0</z>
7618 </axis>
7619 </animation>
7620 <animation>
7621 <type>translate</type>
7622 <object-name>LHrudder</object-name>
7623 <property alias="/params/water-rudder-norm"/>
7624 <interpolation>
7625 <entry>
7626 <ind>0.0</ind>
7627 <dep>0.0</dep>
7628 </entry>
7629 <entry>
7630 <ind>1.0</ind>
7631 <dep>0.09</dep>
7632 </entry>
7633 </interpolation>
7634 <center>
7635 <x-m> 3.48777</x-m>
7636 <y-m>-1.15794</y-m>
7637 <z-m>-1.6197</z-m>
7638 </center>
7639 <axis>
7640 <x>0</x>
7641 <y>0</y>
7642 <z>-1</z>
7643 </axis>
7644 </animation>
7645 <animation>
7646 <type>rotate</type>
7647 <object-name>LHrudder</object-name>
7648 <expression>
7649 <product>
7650 <value>30</value>
7651 <property>surface-positions/rudder-pos-norm</property>
7652 <property alias="/params/water-rudder-norm"/>
7653 </product>
7654 </expression>
7655 <center>
7656 <x-m> 3.5172</x-m>
7657 <y-m>-1.1571</y-m>
7658 <z-m>-1.4308</z-m>
7659 </center>
7660 <axis>
7661 <x>-0.087</x>
7662 <y> 0</y>
7663 <z> 0.996</z>
7664 </axis>
7665 </animation>
7666 <animation>
7667 <type>rotate</type>
7668 <object-name>LHrudder</object-name>
7669 <property alias="/params/water-rudder-norm"/>
7670 <factor>90</factor>
7671 <center>
7672 <x-m> 3.47</x-m>
7673 <y-m>-1.434</y-m>
7674 <z-m>-1.63</z-m>
7675 </center>
7676 <axis>
7677 <x>0</x>
7678 <y>1</y>
7679 <z>0</z>
7680 </axis>
7681 </animation>
7682
7683 <!-- Baggage models -->
7684 <model>
7685 <name>suitcase1</name>
7686 <path>Interior/Baggages/suitcase1.xml</path>
7687 <offsets>
7688 <x-m>1.68</x-m>
7689 <y-m>-0.14</y-m>
7690 <z-m>-0.59</z-m>
7691 </offsets>
7692 </model>
7693 <model>
7694 <name>suitcase2</name>
7695 <path>Interior/Baggages/suitcase2.xml</path>
7696 <offsets>
7697 <x-m>1.68</x-m>
7698 <y-m>0.14</y-m>
7699 <z-m>-0.59</z-m>
7700 </offsets>
7701 </model>
7702 <animation>
7703 <type>select</type>
7704 <object-name>suitcase1</object-name>
7705 <condition>
7706 <greater-than>
7707 <property>payload/weight[4]/weight-lb</property>
7708 <value>70.0</value>
7709 </greater-than>
7710 </condition>
7711 </animation>
7712 <animation>
7713 <type>select</type>
7714 <object-name>suitcase2</object-name>
7715 <condition>
7716 <greater-than>
7717 <property>payload/weight[4]/weight-lb</property>
7718 <value>20.0</value>
7719 </greater-than>
7720 </condition>
7721 </animation>
7722
7723 <!-- Pitot tube cover "remove before flight" -->
7724 <model>
7725 <name>rbf-pitot</name>
7726 <path>Exterior/rbf/rbf.xml</path>
7727 <offsets>
7728 <x-m>-0.19</x-m>
7729 <y-m>-1.525</y-m>
7730 <z-m> 0.300</z-m>
7731 </offsets>
7732 </model>
7733 <animation>
7734 <type>select</type>
7735 <object-name>rbf-pitot</object-name>
7736 <condition>
7737 <property alias="/params/securing/pitot-cover"/>
7738 </condition>
7739 </animation>
7740 <animation>
7741 <type>pick</type>
7742 <object-name>rbf-pitot</object-name>
7743 <action>
7744 <button>0</button>
7745 <repeatable>false</repeatable>
7746 <binding>
7747 <condition>
7748 <and>
7749 <property>sim/model/c172p/securing/pitot-cover-removable</property>
7750 <or>
7751 <not>
7752 <property>sim/current-view/internal</property>
7753 </not>
7754 <property>nasal/tutorial/loaded</property>
7755 </or>
7756 </and>
7757 </condition>
7758 <command>property-assign</command>
7759 <property alias="/params/securing/pitot-cover"/>
7760 <value>false</value>
7761 </binding>
7762 </action>
7763 <hovered>
7764 <binding>
7765 <condition>
7766 <and>
7767 <property>sim/model/c172p/securing/pitot-cover-removable</property>
7768 <or>
7769 <not>
7770 <property>sim/current-view/internal</property>
7771 </not>
7772 <property>nasal/tutorial/loaded</property>
7773 </or>
7774 </and>
7775 </condition>
7776 <command>set-tooltip</command>
7777 <tooltip-id>remove-pitot-tube-cap</tooltip-id>
7778 <label>Remove Pitot Tube Cap</label>
7779 </binding>
7780 </hovered>
7781 </animation>
7782 <animation>
7783 <type>pick</type>
7784 <object-name>PitotTube</object-name>
7785 <action>
7786 <button>0</button>
7787 <repeatable>false</repeatable>
7788 <binding>
7789 <condition>
7790 <and>
7791 <property>sim/model/c172p/securing/pitot-cover-addable</property>
7792 <or>
7793 <not>
7794 <property>sim/current-view/internal</property>
7795 </not>
7796 <property>nasal/tutorial/loaded</property>
7797 </or>
7798 </and>
7799 </condition>
7800 <command>property-assign</command>
7801 <property alias="/params/securing/pitot-cover"/>
7802 <value>true</value>
7803 </binding>
7804 <binding>
7805 <command>property-assign</command>
7806 <property>instrumentation/airspeed-indicator/indicated-speed-kt</property>
7807 <value>0.0</value>
7808 </binding>
7809 </action>
7810 <hovered>
7811 <binding>
7812 <condition>
7813 <and>
7814 <property>sim/model/c172p/securing/pitot-cover-addable</property>
7815 <or>
7816 <not>
7817 <property>sim/current-view/internal</property>
7818 </not>
7819 <property>nasal/tutorial/loaded</property>
7820 </or>
7821 </and>
7822 </condition>
7823 <command>set-tooltip</command>
7824 <tooltip-id>put-pitot-tube-cap</tooltip-id>
7825 <label>Put Pitot Tube Cap</label>
7826 </binding>
7827 </hovered>
7828 </animation>
7829
7830 <!-- Cowl Grill -->
7831 <model>
7832 <name>CowlGrill</name>
7833 <path>Exterior/cowlgrill/cowlgrill.xml</path>
7834 </model>
7835
7836 <animation>
7837 <type>select</type>
7838 <object-name>cowlgrill</object-name>
7839 <object-name>cowlgrillplate</object-name>
7840 <condition>
7841 <property>engines/active-engine/winter-kit-installed</property>
7842 </condition>
7843 </animation>
7844
7845 <animation>
7846 <type>pick</type>
7847 <object-name>cowlgrill</object-name>
7848 <action>
7849 <name>Select</name>
7850 <button>0</button>
7851 <binding>
7852 <command>property-toggle</command>
7853 <property>engines/active-engine/winter-kit-installed</property>
7854 </binding>
7855 </action>
7856 <hovered>
7857 <binding>
7858 <command>set-tooltip</command>
7859 <label>Cowl Grill installed: %s</label>
7860 <property>engines/active-engine/winter-kit-installed</property>
7861 <tooltip-id>WinterKit</tooltip-id>
7862 <mapping>on-off</mapping>
7863 </binding>
7864 </hovered>
7865 </animation>
7866
7867 <!-- Cowl Plugs -->
7868 <model>
7869 <name>CowlPlugs</name>
7870 <path>Exterior/cowlplugs/cowlplugs.xml</path>
7871 </model>
7872
7873 <animation>
7874 <type>select</type>
7875 <object-name>CowlPlugs</object-name>
7876 <object-name>PropellerCowlPlugs</object-name>
7877 <condition>
7878 <and>
7879 <property alias="/params/securing/cowl-plugs"/>
7880 <not>
7881 <property alias="/params/engine/crashed"/>
7882 </not>
7883 </and>
7884 </condition>
7885 </animation>
7886 <animation>
7887 <type>select</type>
7888 <object-name>CowlPlugHotSpot</object-name>
7889 <condition>
7890 <property>sim/model/c172p/securing/cowl-plugs-addable</property>
7891 <or>
7892 <not>
7893 <property>sim/current-view/internal</property>
7894 </not>
7895 <property>nasal/tutorial/loaded</property>
7896 </or>
7897 </condition>
7898 </animation>
7899
7900 <animation>
7901 <type>pick</type>
7902 <object-name>CowlPlugs</object-name>
7903 <action>
7904 <button>0</button>
7905 <repeatable>false</repeatable>
7906 <binding>
7907 <condition>
7908 <property>sim/model/c172p/securing/cowl-plugs-removable</property>
7909 <or>
7910 <not>
7911 <property>sim/current-view/internal</property>
7912 </not>
7913 <property>nasal/tutorial/loaded</property>
7914 </or>
7915 </condition>
7916 <command>property-assign</command>
7917 <property>sim/model/c172p/securing/cowl-plugs-visible</property>
7918 <value>false</value>
7919 </binding>
7920 </action>
7921 <hovered>
7922 <binding>
7923 <condition>
7924 <property>sim/model/c172p/securing/cowl-plugs-removable</property>
7925 <or>
7926 <not>
7927 <property>sim/current-view/internal</property>
7928 </not>
7929 <property>nasal/tutorial/loaded</property>
7930 </or>
7931 </condition>
7932 <command>set-tooltip</command>
7933 <tooltip-id>remove-cowl-plugs</tooltip-id>
7934 <label>Remove Cowl Plugs</label>
7935 </binding>
7936 </hovered>
7937 </animation>
7938
7939 <animation>
7940 <type>pick</type>
7941 <object-name>CowlPlugHotSpot</object-name>
7942 <action>
7943 <button>0</button>
7944 <repeatable>false</repeatable>
7945 <binding>
7946 <condition>
7947 <property>sim/model/c172p/securing/cowl-plugs-addable</property>
7948 <or>
7949 <not>
7950 <property>sim/current-view/internal</property>
7951 </not>
7952 <property>nasal/tutorial/loaded</property>
7953 </or>
7954 </condition>
7955 <command>property-assign</command>
7956 <property>sim/model/c172p/securing/cowl-plugs-visible</property>
7957 <value>true</value>
7958 </binding>
7959 </action>
7960 <hovered>
7961 <binding>
7962 <condition>
7963 <property>sim/model/c172p/securing/cowl-plugs-addable</property>
7964 <or>
7965 <not>
7966 <property>sim/current-view/internal</property>
7967 </not>
7968 <property>nasal/tutorial/loaded</property>
7969 </or>
7970 </condition>
7971 <command>set-tooltip</command>
7972 <tooltip-id>put-cowl-plugs</tooltip-id>
7973 <label>Put Cowl Plugs</label>
7974 </binding>
7975 </hovered>
7976 </animation>
7977
7978 <!-- Towbar -->
7979 <model>
7980 <path>Exterior/towbar/towbar.xml</path>
7981 <offsets>
7982 <x-m>-0.85</x-m>
7983 <y-m>0.0</y-m>
7984 <z-m>-0.19</z-m>
7985 </offsets>
7986 </model>
7987
7988 <!-- Small wheel chock -->
7989 <model>
7990 <name>chock1</name>
7991 <path>Exterior/chock/chock.xml</path>
7992 <offsets>
7993 <x-m>-0.01</x-m>
7994 <y-m>0.0</y-m>
7995 <z-m>0.008</z-m>
7996 </offsets>
7997 </model>
7998 <model>
7999 <name>chock2</name>
8000 <path>Exterior/chock/chock.xml</path>
8001 <offsets>
8002 <x-m>0.32</x-m>
8003 <y-m>0.0</y-m>
8004 <z-m>0.020</z-m>
8005 </offsets>
8006 </model>
8007 <animation>
8008 <type>translate</type>
8009 <object-name>chock1</object-name>
8010 <object-name>chock2</object-name>
8011 <property>gear/gear[0]/compression-norm</property>
8012 <factor>0.30</factor>
8013 <axis>
8014 <x>0.3</x>
8015 <y>0</y>
8016 <z>1.0</z>
8017 </axis>
8018 </animation>
8019 <animation>
8020 <type>select</type>
8021 <object-name>chock1</object-name>
8022 <object-name>chock2</object-name>
8023 <condition>
8024 <and>
8025 <property alias="/params/securing/chocks"/>
8026 <equals>
8027 <property alias="/params/bushkit"/>
8028 <value>0</value>
8029 </equals>
8030 </and>
8031 </condition>
8032 </animation>
8033
8034 <!-- Wooden chocks -->
8035 <model>
8036 <name>woodenchock</name>
8037 <path>Exterior/wooden-chock/woodenchock.xml</path>
8038 <offsets>
8039 <x-m>-0.029</x-m>
8040 <y-m>0.0</y-m>
8041 <z-m>-0.08</z-m>
8042 </offsets>
8043 </model>
8044 <animation>
8045 <type>translate</type>
8046 <object-name>woodenchock</object-name>
8047 <property>gear/gear[0]/compression-norm</property>
8048 <factor>0.30</factor>
8049 <axis>
8050 <x>0.3</x>
8051 <y>0</y>
8052 <z>1.0</z>
8053 </axis>
8054 </animation>
8055 <animation>
8056 <type>select</type>
8057 <object-name>woodenchock</object-name>
8058 <condition>
8059 <and>
8060 <property alias="/params/securing/chocks"/>
8061 <or>
8062 <equals>
8063 <property alias="/params/bushkit"/>
8064 <value>1</value>
8065 </equals>
8066 <equals>
8067 <property alias="/params/bushkit"/>
8068 <value>2</value>
8069 </equals>
8070 </or>
8071 </and>
8072 </condition>
8073 </animation>
8074
8075 <!-- Pick animations to show/hide chocks -->
8076 <animation>
8077 <type>pick</type>
8078 <object-name>chock1</object-name>
8079 <object-name>chock2</object-name>
8080 <object-name>woodenchock</object-name>
8081 <action>
8082 <button>0</button>
8083 <repeatable>false</repeatable>
8084 <binding>
8085 <condition>
8086 <or>
8087 <not>
8088 <property>sim/current-view/internal</property>
8089 </not>
8090 <property>nasal/tutorial/loaded</property>
8091 </or>
8092 </condition>
8093 <command>property-assign</command>
8094 <property>sim/model/c172p/securing/chock</property>
8095 <value>false</value>
8096 </binding>
8097 </action>
8098 <hovered>
8099 <binding>
8100 <condition>
8101 <property>sim/model/c172p/securing/chock</property>
8102 <or>
8103 <not>
8104 <property>sim/current-view/internal</property>
8105 </not>
8106 <property>nasal/tutorial/loaded</property>
8107 </or>
8108 </condition>
8109 <command>set-tooltip</command>
8110 <tooltip-id>remove-wheel-chock</tooltip-id>
8111 <label>Remove Wheel Chock</label>
8112 </binding>
8113 </hovered>
8114 </animation>
8115 <animation>
8116 <type>pick</type>
8117 <object-name>NoseWheel</object-name>
8118 <object-name>NoseWheelBK</object-name>
8119 <action>
8120 <button>0</button>
8121 <repeatable>false</repeatable>
8122 <binding>
8123 <condition>
8124 <and>
8125 <property>sim/model/c172p/securing/chock-addable</property>
8126 <or>
8127 <not>
8128 <property>sim/current-view/internal</property>
8129 </not>
8130 <property>nasal/tutorial/loaded</property>
8131 </or>
8132 </and>
8133 </condition>
8134 <command>property-assign</command>
8135 <property>sim/model/c172p/securing/chock</property>
8136 <value>true</value>
8137 </binding>
8138 </action>
8139 <hovered>
8140 <binding>
8141 <condition>
8142 <and>
8143 <property>sim/model/c172p/securing/chock-addable</property>
8144 <or>
8145 <not>
8146 <property>sim/current-view/internal</property>
8147 </not>
8148 <property>nasal/tutorial/loaded</property>
8149 </or>
8150 </and>
8151 </condition>
8152 <command>set-tooltip</command>
8153 <tooltip-id>secure-with-wheel-chock</tooltip-id>
8154 <label>Secure With Wheel Chock</label>
8155 </binding>
8156 </hovered>
8157 </animation>
8158
8159 <!-- Left Tiedowns -->
8160 <model>
8161 <name>tiedownL</name>
8162 <path>Exterior/tiedowns/tiedownL.xml</path>
8163 <offsets>
8164 <x-m> 0.108 </x-m>
8165 <y-m>-2.2422</y-m>
8166 <z-m> 0.3528</z-m>
8167 <heading-deg>-90.0</heading-deg>
8168 </offsets>
8169 </model>
8170 <animation>
8171 <type>select</type>
8172 <object-name>tiedownL</object-name>
8173 <condition>
8174 <property alias="/params/securing/tiedowns/left/visible"/>
8175 </condition>
8176 </animation>
8177 <animation>
8178 <type>pick</type>
8179 <object-name>tiedownL</object-name>
8180 <object-name>TieDownLeft</object-name> <!-- tiedown handle -->
8181 <action>
8182 <button>0</button>
8183 <repeatable>false</repeatable>
8184 <binding>
8185 <condition>
8186 <or>
8187 <not>
8188 <property>sim/current-view/internal</property>
8189 </not>
8190 <property>nasal/tutorial/loaded</property>
8191 </or>
8192 </condition>
8193 <command>property-assign</command>
8194 <property alias="/params/securing/tiedowns/left/visible"/>
8195 <value>false</value>
8196 </binding>
8197 </action>
8198 <hovered>
8199 <binding>
8200 <condition>
8201 <property alias="/params/securing/tiedowns/left/visible"/>
8202 <or>
8203 <not>
8204 <property>sim/current-view/internal</property>
8205 </not>
8206 <property>nasal/tutorial/loaded</property>
8207 </or>
8208 </condition>
8209 <command>set-tooltip</command>
8210 <tooltip-id>remove-left-tiedowns</tooltip-id>
8211 <label>Remove Left Tie-Down</label>
8212 </binding>
8213 </hovered>
8214 </animation>
8215 <animation>
8216 <type>select</type>
8217 <object-name>TiedownHotSpotLeft</object-name>
8218 <condition>
8219 <property>sim/model/c172p/securing/tiedownL-addable</property>
8220 <or>
8221 <not>
8222 <property>sim/current-view/internal</property>
8223 </not>
8224 <property>nasal/tutorial/loaded</property>
8225 </or>
8226 </condition>
8227 </animation>
8228 <animation>
8229 <type>pick</type>
8230 <object-name>TiedownHotSpotLeft</object-name>
8231 <action>
8232 <button>0</button>
8233 <repeatable>false</repeatable>
8234 <binding>
8235 <condition>
8236 <and>
8237 <property>sim/model/c172p/securing/tiedownL-addable</property>
8238 <or>
8239 <not>
8240 <property>sim/current-view/internal</property>
8241 </not>
8242 <property>nasal/tutorial/loaded</property>
8243 </or>
8244 </and>
8245 </condition>
8246 <command>property-assign</command>
8247 <property alias="/params/securing/tiedowns/left/visible"/>
8248 <value>true</value>
8249 </binding>
8250 </action>
8251 <hovered>
8252 <binding>
8253 <condition>
8254 <and>
8255 <property>sim/model/c172p/securing/tiedownL-addable</property>
8256 <or>
8257 <not>
8258 <property>sim/current-view/internal</property>
8259 </not>
8260 <property>nasal/tutorial/loaded</property>
8261 </or>
8262 </and>
8263 </condition>
8264 <command>set-tooltip</command>
8265 <tooltip-id>secure-with-left-tiedowns</tooltip-id>
8266 <label>Secure With Tie-Down</label>
8267 </binding>
8268 </hovered>
8269 </animation>
8270
8271 <!-- Right Tiedowns -->
8272 <model>
8273 <name>tiedownR</name>
8274 <path>Exterior/tiedowns/tiedownR.xml</path>
8275 <offsets>
8276 <x-m>0.09974</x-m>
8277 <y-m>2.24654</y-m>
8278 <z-m>0.35544</z-m>
8279 <heading-deg>90.0</heading-deg>
8280 </offsets>
8281 </model>
8282 <animation>
8283 <type>select</type>
8284 <object-name>tiedownR</object-name>
8285 <condition>
8286 <property alias="/params/securing/tiedowns/right/visible"/>
8287 </condition>
8288 </animation>
8289 <animation>
8290 <type>pick</type>
8291 <object-name>tiedownR</object-name>
8292 <object-name>TieDownRight</object-name> <!-- tiedown handle -->
8293 <action>
8294 <button>0</button>
8295 <repeatable>false</repeatable>
8296 <binding>
8297 <condition>
8298 <or>
8299 <not>
8300 <property>sim/current-view/internal</property>
8301 </not>
8302 <property>nasal/tutorial/loaded</property>
8303 </or>
8304 </condition>
8305 <command>property-assign</command>
8306 <property alias="/params/securing/tiedowns/right/visible"/>
8307 <value>false</value>
8308 </binding>
8309 </action>
8310 <hovered>
8311 <binding>
8312 <condition>
8313 <property alias="/params/securing/tiedowns/right/visible"/>
8314 <or>
8315 <not>
8316 <property>sim/current-view/internal</property>
8317 </not>
8318 <property>nasal/tutorial/loaded</property>
8319 </or>
8320 </condition>
8321 <command>set-tooltip</command>
8322 <tooltip-id>remove-right-tiedowns</tooltip-id>
8323 <label>Remove Right Tie-Down</label>
8324 </binding>
8325 </hovered>
8326 </animation>
8327 <animation>
8328 <type>select</type>
8329 <object-name>TiedownHotSpotRight</object-name>
8330 <condition>
8331 <property>sim/model/c172p/securing/tiedownR-addable</property>
8332 <or>
8333 <not>
8334 <property>sim/current-view/internal</property>
8335 </not>
8336 <property>nasal/tutorial/loaded</property>
8337 </or>
8338 </condition>
8339 </animation>
8340 <animation>
8341 <type>pick</type>
8342 <object-name>TiedownHotSpotRight</object-name>
8343 <action>
8344 <button>0</button>
8345 <repeatable>false</repeatable>
8346 <binding>
8347 <condition>
8348 <and>
8349 <property>sim/model/c172p/securing/tiedownR-addable</property>
8350 <or>
8351 <not>
8352 <property>sim/current-view/internal</property>
8353 </not>
8354 <property>nasal/tutorial/loaded</property>
8355 </or>
8356 </and>
8357 </condition>
8358 <command>property-assign</command>
8359 <property alias="/params/securing/tiedowns/right/visible"/>
8360 <value>true</value>
8361 </binding>
8362 </action>
8363 <hovered>
8364 <binding>
8365 <condition>
8366 <and>
8367 <property>sim/model/c172p/securing/tiedownR-addable</property>
8368 <or>
8369 <not>
8370 <property>sim/current-view/internal</property>
8371 </not>
8372 <property>nasal/tutorial/loaded</property>
8373 </or>
8374 </and>
8375 </condition>
8376 <command>set-tooltip</command>
8377 <tooltip-id>secure-with-right-tiedowns</tooltip-id>
8378 <label>Secure With Tie-Down</label>
8379 </binding>
8380 </hovered>
8381 </animation>
8382
8383 <!-- Tail Tiedowns -->
8384 <model>
8385 <name>tiedownT</name>
8386 <path>Exterior/tiedowns/tiedownT.xml</path>
8387 <offsets>
8388 <x-m> 4.6955 </x-m>
8389 <y-m>-0.00184</y-m>
8390 <z-m>-0.677 </z-m>
8391 <heading-deg>180.0</heading-deg>
8392 </offsets>
8393 </model>
8394 <animation>
8395 <type>select</type>
8396 <object-name>tiedownT</object-name>
8397 <condition>
8398 <property alias="/params/securing/tiedowns/tail/visible"/>
8399 </condition>
8400 </animation>
8401 <animation>
8402 <type>pick</type>
8403 <object-name>tiedownT</object-name>
8404 <object-name>TieDownTail</object-name> <!-- tiedown handle -->
8405 <action>
8406 <button>0</button>
8407 <repeatable>false</repeatable>
8408 <binding>
8409 <condition>
8410 <or>
8411 <not>
8412 <property>sim/current-view/internal</property>
8413 </not>
8414 <property>nasal/tutorial/loaded</property>
8415 </or>
8416 </condition>
8417 <command>property-assign</command>
8418 <property alias="/params/securing/tiedowns/tail/visible"/>
8419 <value>false</value>
8420 </binding>
8421 </action>
8422 <hovered>
8423 <binding>
8424 <condition>
8425 <property alias="/params/securing/tiedowns/tail/visible"/>
8426 <or>
8427 <not>
8428 <property>sim/current-view/internal</property>
8429 </not>
8430 <property>nasal/tutorial/loaded</property>
8431 </or>
8432 </condition>
8433 <command>set-tooltip</command>
8434 <tooltip-id>remove-tail-tiedowns</tooltip-id>
8435 <label>Remove Tail Tie-Down</label>
8436 </binding>
8437 </hovered>
8438 </animation>
8439 <animation>
8440 <type>select</type>
8441 <object-name>TiedownHotSpotTail</object-name>
8442 <condition>
8443 <property>sim/model/c172p/securing/tiedownT-addable</property>
8444 <or>
8445 <not>
8446 <property>sim/current-view/internal</property>
8447 </not>
8448 <property>nasal/tutorial/loaded</property>
8449 </or>
8450 </condition>
8451 </animation>
8452 <animation>
8453 <type>pick</type>
8454 <object-name>TiedownHotSpotTail</object-name>
8455 <action>
8456 <button>0</button>
8457 <repeatable>false</repeatable>
8458 <binding>
8459 <condition>
8460 <and>
8461 <property>sim/model/c172p/securing/tiedownT-addable</property>
8462 <or>
8463 <not>
8464 <property>sim/current-view/internal</property>
8465 </not>
8466 <property>nasal/tutorial/loaded</property>
8467 </or>
8468 </and>
8469 </condition>
8470 <command>property-assign</command>
8471 <property alias="/params/securing/tiedowns/tail/visible"/>
8472 <value>true</value>
8473 </binding>
8474 </action>
8475 <hovered>
8476 <binding>
8477 <condition>
8478 <and>
8479 <property>sim/model/c172p/securing/tiedownT-addable</property>
8480 <or>
8481 <not>
8482 <property>sim/current-view/internal</property>
8483 </not>
8484 <property>nasal/tutorial/loaded</property>
8485 </or>
8486 </and>
8487 </condition>
8488 <command>set-tooltip</command>
8489 <tooltip-id>secure-with-tail-tiedowns</tooltip-id>
8490 <label>Secure With Tie-Down</label>
8491 </binding>
8492 </hovered>
8493 </animation>
8494
8495 <!-- Left Tank Drain Sump -->
8496 <animation>
8497 <type>select</type>
8498 <object-name>SumpHotSpotLeft</object-name>
8499 <condition>
8500 <and>
8501 <property>consumables/fuel/contamination_allowed</property>
8502 <or>
8503 <not>
8504 <property>sim/current-view/internal</property>
8505 </not>
8506 <property>nasal/tutorial/loaded</property>
8507 </or>
8508 </and>
8509 </condition>
8510 </animation>
8511 <animation>
8512 <type>pick</type>
8513 <object-name>SumpHotSpotLeft</object-name>
8514 <visible>true</visible>
8515 <action>
8516 <button>0</button>
8517 <repeatable>false</repeatable>
8518 <binding>
8519 <condition>
8520 <and>
8521 <property>consumables/fuel/contamination_allowed</property>
8522 <not>
8523 <property>engines/active-engine/running</property>
8524 </not>
8525 <or>
8526 <property>fdm/jsbsim/gear/unit[1]/WOW</property>
8527 <property>fdm/jsbsim/gear/unit[19]/WOW</property>
8528 <property>fdm/jsbsim/gear/unit[23]/WOW</property>
8529 <property>fdm/jsbsim/hydro/active-norm</property>
8530 </or>
8531 <or>
8532 <not>
8533 <property>sim/current-view/internal</property>
8534 </not>
8535 <property>nasal/tutorial/loaded</property>
8536 </or>
8537 </and>
8538 </condition>
8539 <command>property-toggle</command>
8540 <property>sim/model/open-pfuel-sump</property>
8541 </binding>
8542 <binding>
8543 <command>nasal</command>
8544 <script>
8545 var show = getprop("sim/model/open-pfuel-sump");
8546 if (show)
8547 fgcommand("dialog-show", props.Node.new({"dialog-name": "c172p-left-fuel-sample-dialog"}));
8548 else
8549 fgcommand("dialog-close", props.Node.new({"dialog-name": "c172p-left-fuel-sample-dialog"}));
8550 </script>
8551 </binding>
8552 <binding>
8553 <condition>
8554 <and>
8555 <property>engines/active-engine/running</property>
8556 <property>consumables/fuel/contamination_allowed</property>
8557 </and>
8558 </condition>
8559 <command>nasal</command>
8560 <script>
8561 gui.popupTip("You can't check for fuel contamination with the engine running!", 2);
8562 </script>
8563 </binding>
8564 <binding>
8565 <condition>
8566 <and>
8567 <not>
8568 <or>
8569 <property>fdm/jsbsim/gear/unit[1]/WOW</property>
8570 <property>fdm/jsbsim/gear/unit[19]/WOW</property>
8571 <property>fdm/jsbsim/gear/unit[23]/WOW</property>
8572 <property>fdm/jsbsim/hydro/active-norm</property>
8573 </or>
8574 </not>
8575 <property>consumables/fuel/contamination_allowed</property>
8576 </and>
8577 </condition>
8578 <command>nasal</command>
8579 <script>
8580 gui.popupTip("You can't check for fuel contamination while in the air!", 2);
8581 </script>
8582 </binding>
8583 </action>
8584 <hovered>
8585 <binding>
8586 <condition>
8587 <and>
8588 <property>consumables/fuel/contamination_allowed</property>
8589 <not>
8590 <property>engines/active-engine/running</property>
8591 </not>
8592 <or>
8593 <property>fdm/jsbsim/gear/unit[1]/WOW</property>
8594 <property>fdm/jsbsim/gear/unit[19]/WOW</property>
8595 <property>fdm/jsbsim/gear/unit[23]/WOW</property>
8596 <property>fdm/jsbsim/hydro/active-norm</property>
8597 </or>
8598 <or>
8599 <not>
8600 <property>sim/current-view/internal</property>
8601 </not>
8602 <property>nasal/tutorial/loaded</property>
8603 </or>
8604 </and>
8605 </condition>
8606 <command>set-tooltip</command>
8607 <tooltip-id>left-tank-drain-sump</tooltip-id>
8608 <label>Left Tank Drain Sump</label>
8609 </binding>
8610 </hovered>
8611 </animation>
8612
8613 <!-- Right Tank Drain Sump -->
8614 <animation>
8615 <type>select</type>
8616 <object-name>SumpHotSpotRight</object-name>
8617 <condition>
8618 <and>
8619 <property>consumables/fuel/contamination_allowed</property>
8620 <or>
8621 <not>
8622 <property>sim/current-view/internal</property>
8623 </not>
8624 <property>nasal/tutorial/loaded</property>
8625 </or>
8626 </and>
8627 </condition>
8628 </animation>
8629 <animation>
8630 <type>pick</type>
8631 <object-name>SumpHotSpotRight</object-name>
8632 <visible>true</visible>
8633 <action>
8634 <button>0</button>
8635 <repeatable>false</repeatable>
8636 <binding>
8637 <condition>
8638 <and>
8639 <property>consumables/fuel/contamination_allowed</property>
8640 <not>
8641 <property>engines/active-engine/running</property>
8642 </not>
8643 <or>
8644 <property>fdm/jsbsim/gear/unit[1]/WOW</property>
8645 <property>fdm/jsbsim/gear/unit[19]/WOW</property>
8646 <property>fdm/jsbsim/gear/unit[23]/WOW</property>
8647 <property>fdm/jsbsim/hydro/active-norm</property>
8648 </or>
8649 <or>
8650 <not>
8651 <property>sim/current-view/internal</property>
8652 </not>
8653 <property>nasal/tutorial/loaded</property>
8654 </or>
8655 </and>
8656 </condition>
8657 <command>property-toggle</command>
8658 <property>sim/model/open-sfuel-sump</property>
8659 </binding>
8660 <binding>
8661 <command>nasal</command>
8662 <script>
8663 var show = getprop("sim/model/open-sfuel-sump");
8664 if (show)
8665 fgcommand("dialog-show", props.Node.new({"dialog-name": "c172p-right-fuel-sample-dialog"}));
8666 else
8667 fgcommand("dialog-close", props.Node.new({"dialog-name": "c172p-right-fuel-sample-dialog"}));
8668 </script>
8669 </binding>
8670 <binding>
8671 <condition>
8672 <and>
8673 <property>engines/active-engine/running</property>
8674 <property>consumables/fuel/contamination_allowed</property>
8675 </and>
8676 </condition>
8677 <command>nasal</command>
8678 <script>
8679 gui.popupTip("You can't check for fuel contamination with the engine running!", 2);
8680 </script>
8681 </binding>
8682 <binding>
8683 <condition>
8684 <and>
8685 <not>
8686 <or>
8687 <property>fdm/jsbsim/gear/unit[1]/WOW</property>
8688 <property>fdm/jsbsim/gear/unit[19]/WOW</property>
8689 <property>fdm/jsbsim/gear/unit[23]/WOW</property>
8690 <property>fdm/jsbsim/hydro/active-norm</property>
8691 </or>
8692 </not>
8693 <property>consumables/fuel/contamination_allowed</property>
8694 </and>
8695 </condition>
8696 <command>nasal</command>
8697 <script>
8698 gui.popupTip("You can't check for fuel contamination while in the air!", 2);
8699 </script>
8700 </binding>
8701 </action>
8702 <hovered>
8703 <binding>
8704 <condition>
8705 <and>
8706 <property>consumables/fuel/contamination_allowed</property>
8707 <not>
8708 <property>engines/active-engine/running</property>
8709 </not>
8710 <or>
8711 <property>fdm/jsbsim/gear/unit[1]/WOW</property>
8712 <property>fdm/jsbsim/gear/unit[19]/WOW</property>
8713 <property>fdm/jsbsim/gear/unit[23]/WOW</property>
8714 <property>fdm/jsbsim/hydro/active-norm</property>
8715 </or>
8716 <or>
8717 <not>
8718 <property>sim/current-view/internal</property>
8719 </not>
8720 <property>nasal/tutorial/loaded</property>
8721 </or>
8722 </and>
8723 </condition>
8724 <command>set-tooltip</command>
8725 <tooltip-id>right-tank-drain-sump</tooltip-id>
8726 <label>Right Tank Drain Sump</label>
8727 </binding>
8728 </hovered>
8729 </animation>
8730
8731 <!-- oil level check -->
8732 <animation>
8733 <type>pick</type>
8734 <object-name>OilCap</object-name>
8735 <action>
8736 <button>0</button>
8737 <repeatable>false</repeatable>
8738 <binding>
8739 <condition>
8740 <and>
8741 <property>engines/active-engine/oil_consumption_allowed</property>
8742 <not>
8743 <property>engines/active-engine/running</property>
8744 </not>
8745 <or>
8746 <property>fdm/jsbsim/gear/unit[1]/WOW</property>
8747 <property>fdm/jsbsim/gear/unit[19]/WOW</property>
8748 <property>fdm/jsbsim/gear/unit[23]/WOW</property>
8749 <property>fdm/jsbsim/hydro/active-norm</property>
8750 </or>
8751 <or>
8752 <not>
8753 <property>sim/current-view/internal</property>
8754 </not>
8755 <property>nasal/tutorial/loaded</property>
8756 </or>
8757 <equals>
8758 <property>sim/model/door-positions/oilDoor/position-norm</property>
8759 <value>1</value>
8760 </equals>
8761 </and>
8762 </condition>
8763 <command>property-toggle</command>
8764 <property>sim/model/show-dip-stick</property>
8765 </binding>
8766 <binding>
8767 <condition>
8768 <and>
8769 <property>engines/active-engine/oil_consumption_allowed</property>
8770 <not>
8771 <property>engines/active-engine/running</property>
8772 </not>
8773 <or>
8774 <property>fdm/jsbsim/gear/unit[1]/WOW</property>
8775 <property>fdm/jsbsim/gear/unit[19]/WOW</property>
8776 <property>fdm/jsbsim/gear/unit[23]/WOW</property>
8777 <property>fdm/jsbsim/hydro/active-norm</property>
8778 </or>
8779 <or>
8780 <not>
8781 <property>sim/current-view/internal</property>
8782 </not>
8783 <property>nasal/tutorial/loaded</property>
8784 </or>
8785 </and>
8786 </condition>
8787 <command>nasal</command>
8788 <script>
8789 var show = getprop("sim/model/show-dip-stick");
8790 var engine = getprop("controls/engines/active-engine");
8791 if (show) {
8792 if (!engine)
8793 fgcommand("dialog-show", props.Node.new({"dialog-name": "c172p-oil-dialog-160"}));
8794 else
8795 fgcommand("dialog-show", props.Node.new({"dialog-name": "c172p-oil-dialog-180"}));
8796 } else {
8797 if (!engine)
8798 fgcommand("dialog-close", props.Node.new({"dialog-name": "c172p-oil-dialog-160"}));
8799 else
8800 fgcommand("dialog-close", props.Node.new({"dialog-name": "c172p-oil-dialog-180"}));
8801 }
8802 </script>
8803 </binding>
8804 <binding>
8805 <condition>
8806 <and>
8807 <property>engines/active-engine/running</property>
8808 <property>engines/active-engine/oil_consumption_allowed</property>
8809 </and>
8810 </condition>
8811 <command>nasal</command>
8812 <script>
8813 gui.popupTip("You can't check the oil level with the engine running!", 2);
8814 </script>
8815 </binding>
8816 <binding>
8817 <condition>
8818 <and>
8819 <not>
8820 <or>
8821 <property>fdm/jsbsim/gear/unit[1]/WOW</property>
8822 <property>fdm/jsbsim/gear/unit[19]/WOW</property>
8823 <property>fdm/jsbsim/gear/unit[23]/WOW</property>
8824 <property>fdm/jsbsim/hydro/active-norm</property>
8825 </or>
8826 </not>
8827 <property>engines/active-engine/oil_consumption_allowed</property>
8828 </and>
8829 </condition>
8830 <command>nasal</command>
8831 <script>
8832 gui.popupTip("You can't check the oil level while in the air!", 2);
8833 </script>
8834 </binding>
8835 </action>
8836 <hovered>
8837 <binding>
8838 <condition>
8839 <and>
8840 <not>
8841 <property>engines/active-engine/running</property>
8842 </not>
8843 <or>
8844 <property>fdm/jsbsim/gear/unit[1]/WOW</property>
8845 <property>fdm/jsbsim/gear/unit[19]/WOW</property>
8846 <property>fdm/jsbsim/gear/unit[23]/WOW</property>
8847 <property>fdm/jsbsim/hydro/active-norm</property>
8848 </or>
8849 <property>engines/active-engine/oil_consumption_allowed</property>
8850 </and>
8851 </condition>
8852 <command>set-tooltip</command>
8853 <tooltip-id>oil-sump</tooltip-id>
8854 <label>Oil Sump</label>
8855 </binding>
8856 </hovered>
8857 </animation>
8858
8859 <animation>
8860 <type>translate</type>
8861 <object-name>OilCap</object-name>
8862 <property>sim/model/show-dip-stick</property>
8863 <factor>0.3</factor>
8864 <axis>
8865 <x>0.01</x>
8866 <y>0.15</y>
8867 <z>1.0</z>
8868 </axis>
8869 </animation>
8870
8871 <model>
8872 <name>extinguisher</name>
8873 <path>Interior/FE-ELT/fe.xml</path>
8874 <offsets>
8875 <x-m>-1.3</x-m>
8876 <y-m>0.15</y-m>
8877 <z-m>-0.2</z-m>
8878 <roll-deg>-90.0</roll-deg>
8879 <heading-deg>0.0</heading-deg>
8880 </offsets>
8881 </model>
8882 <animation>
8883 <type>select</type>
8884 <object-name>extinguisher</object-name>
8885 <condition>
8886 <and>
8887 <not-equals>
8888 <property alias="/params/bushkit"/>
8889 <value>3</value>
8890 </not-equals>
8891 <not-equals>
8892 <property alias="/params/bushkit"/>
8893 <value>4</value>
8894 </not-equals>
8895 </and>
8896 </condition>
8897 </animation>
8898
8899 <model>
8900 <name>extinguisher-amphibious</name>
8901 <path>Interior/FE-ELT/fe2.xml</path>
8902 <offsets>
8903 <x-m>-1.3</x-m>
8904 <y-m>-0.075</y-m>
8905 <z-m>-0.2</z-m>
8906 <roll-deg>-90.0</roll-deg>
8907 <heading-deg>0.0</heading-deg>
8908 </offsets>
8909 </model>
8910 <animation>
8911 <type>select</type>
8912 <object-name>extinguisher-amphibious</object-name>
8913 <condition>
8914 <or>
8915 <equals>
8916 <property alias="/params/bushkit"/>
8917 <value>3</value>
8918 </equals>
8919 <equals>
8920 <property alias="/params/bushkit"/>
8921 <value>4</value>
8922 </equals>
8923 </or>
8924 </condition>
8925 </animation>
8926
8927 <!-- Preflight surface checks -->
8928 <!-- elevator surface check -->
8929 <animation>
8930 <type>pick</type>
8931 <object-name>elevatorleft</object-name>
8932 <object-name>elevatorright</object-name>
8933 <object-name>elevatortrim</object-name>
8934 <action>
8935 <button>0</button>
8936 <repeatable>false</repeatable>
8937 <binding>
8938 <condition>
8939 <and>
8940 <not>
8941 <property>engines/active-engine/running</property>
8942 </not>
8943 <not>
8944 <property>sim/model/c172p/cockpit/control-lock-placed</property>
8945 </not>
8946 <less-than>
8947 <property>velocities/groundspeed-kt</property>
8948 <value>1.0</value>
8949 </less-than>
8950 <or>
8951 <not>
8952 <property>sim/current-view/internal</property>
8953 </not>
8954 <property>nasal/tutorial/loaded</property>
8955 </or>
8956 </and>
8957 </condition>
8958 <command>nasal</command>
8959 <script>c172p.control_surface_check_elevator();</script>
8960 </binding>
8961 <binding>
8962 <condition>
8963 <and>
8964 <not>
8965 <property>engines/active-engine/running</property>
8966 </not>
8967 <not>
8968 <property>sim/model/c172p/cockpit/control-lock-placed</property>
8969 </not>
8970 <less-than>
8971 <property>velocities/groundspeed-kt</property>
8972 <value>1.0</value>
8973 </less-than>
8974 <or>
8975 <not>
8976 <property>sim/current-view/internal</property>
8977 </not>
8978 <property>nasal/tutorial/loaded</property>
8979 </or>
8980 </and>
8981 </condition>
8982 <command>property-assign</command>
8983 <property>sim/model/c172p/control-surfaces/elevator-checked</property>
8984 <value>true</value>
8985 </binding>
8986 </action>
8987 </animation>
8988
8989 <!-- left aileron surface check -->
8990 <animation>
8991 <type>pick</type>
8992 <object-name>leftaileron</object-name>
8993 <action>
8994 <button>0</button>
8995 <repeatable>false</repeatable>
8996 <binding>
8997 <condition>
8998 <and>
8999 <not>
9000 <property>engines/active-engine/running</property>
9001 </not>
9002 <not>
9003 <property>sim/model/c172p/cockpit/control-lock-placed</property>
9004 </not>
9005 <less-than>
9006 <property>velocities/groundspeed-kt</property>
9007 <value>1.0</value>
9008 </less-than>
9009 <or>
9010 <not>
9011 <property>sim/current-view/internal</property>
9012 </not>
9013 <property>nasal/tutorial/loaded</property>
9014 </or>
9015 </and>
9016 </condition>
9017 <command>nasal</command>
9018 <script>c172p.control_surface_check_left_aileron();</script>
9019 </binding>
9020 <binding>
9021 <condition>
9022 <and>
9023 <not>
9024 <property>engines/active-engine/running</property>
9025 </not>
9026 <not>
9027 <property>sim/model/c172p/cockpit/control-lock-placed</property>
9028 </not>
9029 <less-than>
9030 <property>velocities/groundspeed-kt</property>
9031 <value>1.0</value>
9032 </less-than>
9033 <or>
9034 <not>
9035 <property>sim/current-view/internal</property>
9036 </not>
9037 <property>nasal/tutorial/loaded</property>
9038 </or>
9039 </and>
9040 </condition>
9041 <command>property-assign</command>
9042 <property>sim/model/c172p/control-surfaces/left-aileron-checked</property>
9043 <value>true</value>
9044 </binding>
9045 </action>
9046 </animation>
9047
9048 <!-- right aileron surface check -->
9049 <animation>
9050 <type>pick</type>
9051 <object-name>rightaileron</object-name>
9052 <action>
9053 <button>0</button>
9054 <repeatable>false</repeatable>
9055 <binding>
9056 <condition>
9057 <and>
9058 <not>
9059 <property>engines/active-engine/running</property>
9060 </not>
9061 <not>
9062 <property>sim/model/c172p/cockpit/control-lock-placed</property>
9063 </not>
9064 <less-than>
9065 <property>velocities/groundspeed-kt</property>
9066 <value>1.0</value>
9067 </less-than>
9068 <or>
9069 <not>
9070 <property>sim/current-view/internal</property>
9071 </not>
9072 <property>nasal/tutorial/loaded</property>
9073 </or>
9074 </and>
9075 </condition>
9076 <command>nasal</command>
9077 <script>c172p.control_surface_check_right_aileron();</script>
9078 </binding>
9079 <binding>
9080 <condition>
9081 <and>
9082 <not>
9083 <property>engines/active-engine/running</property>
9084 </not>
9085 <not>
9086 <property>sim/model/c172p/cockpit/control-lock-placed</property>
9087 </not>
9088 <less-than>
9089 <property>velocities/groundspeed-kt</property>
9090 <value>1.0</value>
9091 </less-than>
9092 <or>
9093 <not>
9094 <property>sim/current-view/internal</property>
9095 </not>
9096 <property>nasal/tutorial/loaded</property>
9097 </or>
9098 </and>
9099 </condition>
9100 <command>property-assign</command>
9101 <property>sim/model/c172p/control-surfaces/right-aileron-checked</property>
9102 <value>true</value>
9103 </binding>
9104 </action>
9105 </animation>
9106
9107 <!-- rudder surface check -->
9108 <animation>
9109 <type>pick</type>
9110 <object-name>rudder</object-name>
9111 <action>
9112 <button>0</button>
9113 <repeatable>false</repeatable>
9114 <binding>
9115 <condition>
9116 <and>
9117 <not>
9118 <property>engines/active-engine/running</property>
9119 </not>
9120 <not>
9121 <property>sim/model/c172p/cockpit/control-lock-placed</property>
9122 </not>
9123 <less-than>
9124 <property>velocities/groundspeed-kt</property>
9125 <value>1.0</value>
9126 </less-than>
9127 <or>
9128 <not>
9129 <property>sim/current-view/internal</property>
9130 </not>
9131 <property>nasal/tutorial/loaded</property>
9132 </or>
9133 </and>
9134 </condition>
9135 <command>nasal</command>
9136 <script>c172p.control_surface_check_rudder();</script>
9137 </binding>
9138 <binding>
9139 <condition>
9140 <and>
9141 <not>
9142 <property>engines/active-engine/running</property>
9143 </not>
9144 <not>
9145 <property>sim/model/c172p/cockpit/control-lock-placed</property>
9146 </not>
9147 <less-than>
9148 <property>velocities/groundspeed-kt</property>
9149 <value>1.0</value>
9150 </less-than>
9151 <or>
9152 <not>
9153 <property>sim/current-view/internal</property>
9154 </not>
9155 <property>nasal/tutorial/loaded</property>
9156 </or>
9157 </and>
9158 </condition>
9159 <command>property-assign</command>
9160 <property>sim/model/c172p/control-surfaces/rudder-checked</property>
9161 <value>true</value>
9162 </binding>
9163 </action>
9164 </animation>
9165
9166 <animation>
9167 <type>rotate</type>
9168 <object-name>glas_front_interior_right_side</object-name>
9169 <property>/environment/aircraft-effects/glass-angle</property>
9170 <factor>90</factor>
9171 <center>
9172 <x-m>-0.504517</x-m>
9173 <y-m> 0.499279</y-m>
9174 <z-m> 0.107005</z-m>
9175 </center>
9176 <axis>
9177 <x>0</x>
9178 <y>0</y>
9179 <z>-1</z>
9180 </axis>
9181 </animation>
9182 <animation>
9183 <type>rotate</type>
9184 <object-name>glas_front_interior_right_side</object-name>
9185 <property>/environment/aircraft-effects/glass-angle</property>
9186 <factor>40</factor>
9187 <center>
9188 <x-m>-0.504517</x-m>
9189 <y-m> 0.499279</y-m>
9190 <z-m> 0.107005</z-m>
9191 </center>
9192 <axis>
9193 <x>0</x>
9194 <y>-1</y>
9195 <z>0</z>
9196 </axis>
9197 </animation>
9198 <animation>
9199 <type>rotate</type>
9200 <object-name>rightwindow_interior</object-name>
9201 <property>/environment/aircraft-effects/glass-angle</property>
9202 <factor>90</factor>
9203 <center>
9204 <x-m>0.006096</x-m>
9205 <y-m>0.52676 </y-m>
9206 <z-m>0.010389</z-m>
9207 </center>
9208 <axis>
9209 <x>0</x>
9210 <y>0</y>
9211 <z>-1</z>
9212 </axis>
9213 </animation>
9214 <animation>
9215 <type>rotate</type>
9216 <object-name>rightwindow_interior</object-name>
9217 <property>/environment/aircraft-effects/glass-angle</property>
9218 <factor>40</factor>
9219 <center>
9220 <x-m>0.006096</x-m>
9221 <y-m>0.52676 </y-m>
9222 <z-m>0.010389</z-m>
9223 </center>
9224 <axis>
9225 <x>0</x>
9226 <y>-1</y>
9227 <z>0</z>
9228 </axis>
9229 </animation>
9230 <animation>
9231 <type>rotate</type>
9232 <object-name>glas_back_interior_right_side</object-name>
9233 <property>/environment/aircraft-effects/glass-angle</property>
9234 <factor>90</factor>
9235 <center>
9236 <x-m> 0.879611</x-m>
9237 <y-m> 0.511621</y-m>
9238 <z-m>-0.053066</z-m>
9239 </center>
9240 <axis>
9241 <x>0</x>
9242 <y>0</y>
9243 <z>-1</z>
9244 </axis>
9245 </animation>
9246 <animation>
9247 <type>rotate</type>
9248 <object-name>glas_back_interior_right_side</object-name>
9249 <property>/environment/aircraft-effects/glass-angle</property>
9250 <factor>40</factor>
9251 <center>
9252 <x-m> 0.879611</x-m>
9253 <y-m> 0.511621</y-m>
9254 <z-m>-0.053066</z-m>
9255 </center>
9256 <axis>
9257 <x>0</x>
9258 <y>-1</y>
9259 <z>0</z>
9260 </axis>
9261 </animation>
9262
9263 <animation>
9264 <type>rotate</type>
9265 <object-name>glas_front_interior_left_side</object-name>
9266 <property>/environment/aircraft-effects/glass-angle</property>
9267 <factor>90</factor>
9268 <center>
9269 <x-m>-0.506156</x-m>
9270 <y-m>-0.498791</y-m>
9271 <z-m> 0.110256</z-m>
9272 </center>
9273 <axis>
9274 <x>0</x>
9275 <y>0</y>
9276 <z>1</z>
9277 </axis>
9278 </animation>
9279 <animation>
9280 <type>rotate</type>
9281 <object-name>glas_front_interior_left_side</object-name>
9282 <property>/environment/aircraft-effects/glass-angle</property>
9283 <factor>40</factor>
9284 <center>
9285 <x-m>-0.506156</x-m>
9286 <y-m>-0.498791</y-m>
9287 <z-m> 0.110256</z-m>
9288 </center>
9289 <axis>
9290 <x>0</x>
9291 <y>-1</y>
9292 <z>0</z>
9293 </axis>
9294 </animation>
9295 <animation>
9296 <type>rotate</type>
9297 <object-name>leftwindow_interior</object-name>
9298 <property>/environment/aircraft-effects/glass-angle</property>
9299 <factor>90</factor>
9300 <center>
9301 <x-m> 0.002811</x-m>
9302 <y-m>-0.525222</y-m>
9303 <z-m> 0.008242</z-m>
9304 </center>
9305 <axis>
9306 <x>0</x>
9307 <y>0</y>
9308 <z>1</z>
9309 </axis>
9310 </animation>
9311 <animation>
9312 <type>rotate</type>
9313 <object-name>leftwindow_interior</object-name>
9314 <property>/environment/aircraft-effects/glass-angle</property>
9315 <factor>40</factor>
9316 <center>
9317 <x-m> 0.002811</x-m>
9318 <y-m>-0.525222</y-m>
9319 <z-m> 0.008242</z-m>
9320 </center>
9321 <axis>
9322 <x>0</x>
9323 <y>-1</y>
9324 <z>0</z>
9325 </axis>
9326 </animation>
9327 <animation>
9328 <type>rotate</type>
9329 <object-name>glas_back_interior_left_side</object-name>
9330 <property>/environment/aircraft-effects/glass-angle</property>
9331 <factor>90</factor>
9332 <center>
9333 <x-m> 0.877094</x-m>
9334 <y-m>-0.511418</y-m>
9335 <z-m>-0.056461</z-m>
9336 </center>
9337 <axis>
9338 <x>0</x>
9339 <y>0</y>
9340 <z>1</z>
9341 </axis>
9342 </animation>
9343 <animation>
9344 <type>rotate</type>
9345 <object-name>glas_back_interior_left_side</object-name>
9346 <property>/environment/aircraft-effects/glass-angle</property>
9347 <factor>40</factor>
9348 <center>
9349 <x-m> 0.877094</x-m>
9350 <y-m>-0.511418</y-m>
9351 <z-m>-0.056461</z-m>
9352 </center>
9353 <axis>
9354 <x>0</x>
9355 <y>-1</y>
9356 <z>0</z>
9357 </axis>
9358 </animation>
9359
9360 </PropertyList>