<?xml version="1.0"?>

<PropertyList>

    <path>c172p.ac</path>

    <offsets>
        <pitch-deg>-3.0</pitch-deg>
        <z-m>-0.065</z-m>
    </offsets>

    <!-- The human models depend on some properties (sim/model/crew/).
         Since the properties never change, we can just directly add it
         to the /ai/model/multiplay[i] tree.
    -->
    <multiplay>
        <sim>
            <model>
                <crew>
                    <pilot n="0">
                        <pose include="Aircraft/c172p/Models/Human/pose-pilot.xml"/>
                        <character>0</character>
                        <outfit>0</outfit>
                        <equipment>0</equipment>
                    </pilot>
                    <pilot n="1">
                        <pose include="Aircraft/c172p/Models/Human/pose-copilot.xml"/>
                        <character>0</character>
                        <outfit>0</outfit>
                        <equipment>0</equipment>
                    </pilot>
                </crew>
            </model>
        </sim>
    </multiplay>

    <model>
        <name>Damage</name>
        <path>Effects/damage/damage.xml</path>
        <offsets>
            <x-m>0.0</x-m>
            <y-m>0.0</y-m>
            <z-m>0.0</z-m>
            <pitch-deg>0</pitch-deg>
        </offsets>
    </model>

    <model>
        <name>PontoonDamage</name>
        <path>Effects/damage/pontoondamage.xml</path>
        <offsets>
            <x-m>0.0</x-m>
            <y-m>0.0</y-m>
            <z-m>0.0</z-m>
            <pitch-deg>0</pitch-deg>
        </offsets>
    </model>

    <model>
        <name>SkiDamage</name>
        <path>Effects/damage/skidamage.xml</path>
        <offsets>
            <x-m>0.0</x-m>
            <y-m>0.0</y-m>
            <z-m>0.0</z-m>
            <pitch-deg>0</pitch-deg>
        </offsets>
    </model>

    <model>
        <name>Bushkit</name>
        <path>Effects/bushkit/bushkit.xml</path>
        <offsets>
            <x-m>0.0</x-m>
            <y-m>0.0</y-m>
            <z-m>0.0</z-m>
            <pitch-deg>0</pitch-deg>
        </offsets>
    </model>

    <model>
        <name>Pontoon</name>
        <path>Effects/pontoon/pontoon.xml</path>
        <offsets>
            <x-m>0.0</x-m>
            <y-m>0.0</y-m>
            <z-m>0.0</z-m>
            <pitch-deg>0</pitch-deg>
        </offsets>
    </model>

    <model>
        <name>Skis</name>
        <path>Effects/skis/skis.xml</path>
        <offsets>
            <x-m>0.0</x-m>
            <y-m>0.0</y-m>
            <z-m>0.0</z-m>
            <pitch-deg>0</pitch-deg>
        </offsets>
    </model>

    <!-- Green navigation light on starboard side (right) -->
    <model>
        <name>nav-light-right</name>
        <path>Effects/lights/procedural_light_nav_right.xml</path>
        <offsets>
            <x-m>0.2186</x-m>
            <y-m>5.657</y-m>
            <z-m>0.5618</z-m>
        </offsets>
    </model>

    <!-- Red navigation light on port side (left) -->
    <model>
        <name>nav-light-left</name>
        <path>Effects/lights/procedural_light_nav_left.xml</path>
        <offsets>
            <x-m>0.2186</x-m>
            <y-m>-5.657</y-m>
            <z-m>0.5618</z-m>
        </offsets>
    </model>

    <!-- White navigation light on tail -->
    <model>
        <name>nav-light-tail</name>
        <path>Effects/lights/procedural_light_nav_tail.xml</path>
        <offsets>
            <x-m>6.0961</x-m>
            <y-m>0.0042</y-m>
            <z-m>0.9722</z-m>
        </offsets>
    </model>

    <!-- non-Canvas remote Garmin 196 GPS (FGDATA) -->
    <!-- TODO Remove this old version, unhide and implement the Canvas version below -->
    <model>
        <name>Garmin196-GPS-non-Canvas</name>
        <path>Aircraft/Instruments-3d/garmin196/garmin196.xml</path>
        <offsets>
            <x-m>-0.4</x-m>
            <y-m>0.16</y-m>
            <z-m>0.205</z-m>
            <heading-deg>-12.0</heading-deg>
        </offsets>
    </model>
    <animation>
        <type>select</type>
        <object-name>Garmin196-GPS-non-Canvas</object-name>
        <condition>
            <property>/sim/model/c172p/garmin196-visible</property>
        </condition>
    </animation>

    <!-- Canvas local Garmin 196 GPS -->
    <!--<model>
        <name>Garmin196-GPS</name>
        <path>Interior/Panel/garmin196/garmin196.xml</path>
        <offsets>
            <x-m>-0.4</x-m>
            <y-m>0.36</y-m>
            <z-m>0.205</z-m>
            <heading-deg>-12.0</heading-deg>
        </offsets>
    </model>
    <model>
        <name>Garmin196-GPS-support</name>
        <path>Interior/Panel/garmin196/garmin196_support.xml</path>
        <offsets>
            <x-m>-0.4</x-m>
            <y-m>0.36</y-m>
            <z-m>0.205</z-m>
            <heading-deg>-12.0</heading-deg>
        </offsets>
    </model>
    <animation>
        <type>select</type>
        <object-name>Garmin196-GPS</object-name>
        <object-name>Garmin196-GPS-support</object-name>
        <condition>
            <property>/sim/model/c172p/garmin196-visible</property>
        </condition>
    </animation>-->

    <nasal>
        <load>
            var livery_update = aircraft.livery_update.new(
            "Aircraft/c172p/Models/Liveries", 10,
            func { print("c172p livery update") });

            var rplayer = cmdarg();

            # Beacon and strobes lighting
            var lighting_beacon_enabled = rplayer.getNode("sim/multiplay/generic/int[12]").getPath();
            var lighting_strobes_enabled = rplayer.getNode("sim/multiplay/generic/int[13]").getPath();

            var lighting_beacon_state = rplayer.getNode("sim/model/c172p/lighting/beacon").getPath();
            var lighting_strobes_state = rplayer.getNode("sim/model/c172p/lighting/strobes").getPath();

            aircraft.light.new(lighting_beacon_state, [0.10, 0.90], lighting_beacon_enabled);
            aircraft.light.new(lighting_strobes_state, [0.015, 1.985], lighting_strobes_enabled);

            io.include("Aircraft/c172p/Nasal/registration_number.nas");

            # Registration number
            var regnum_path = rplayer.getNode("sim/multiplay/generic/string[0]").getPath();
            setlistener(regnum_path, func (node) {
                set_registration_number(rplayer, node.getValue());
            }, 1, 0);

            # Passengers
            var pax_state_path = rplayer.getNode("sim/multiplay/generic/int[16]").getPath();

            var co_pilot = rplayer.initNode("pax/co-pilot/present", 0, "BOOL");
            var left_passenger = rplayer.initNode("pax/left-passenger/present", 0, "BOOL");
            var right_passenger = rplayer.initNode("pax/right-passenger/present", 0, "BOOL");
            var pilot = rplayer.initNode("pax/pilot/present", 0, "BOOL");

            setlistener(pax_state_path, func (node) {
                var state = node.getValue();
                co_pilot.setBoolValue(bits.test(state, 0));
                left_passenger.setBoolValue(bits.test(state, 1));
                right_passenger.setBoolValue(bits.test(state, 2));
                pilot.setBoolValue(bits.test(state, 3));
            }, 1, 0);

            # Securing attributes
            var securing_state_path = rplayer.getNode("sim/multiplay/generic/int[9]").getPath();

            var pitot_cover   = rplayer.initNode("sim/model/c172p/securing/pitot-cover-visible", 0, "BOOL");
            var wheel_chock   = rplayer.initNode("sim/model/c172p/securing/chock-visible", 0, "BOOL");
            var left_tiedown  = rplayer.initNode("sim/model/c172p/securing/tiedownL-visible", 0, "BOOL");
            var right_tiedown = rplayer.initNode("sim/model/c172p/securing/tiedownR-visible", 0, "BOOL");
            var tail_tiedown  = rplayer.initNode("sim/model/c172p/securing/tiedownT-visible", 0, "BOOL");

            setlistener(securing_state_path, func (node) {
                var state = node.getValue();
                pitot_cover.setBoolValue(bits.test(state, 0));
                wheel_chock.setBoolValue(bits.test(state, 1));
                left_tiedown.setBoolValue(bits.test(state, 2));
                right_tiedown.setBoolValue(bits.test(state, 3));
                tail_tiedown.setBoolValue(bits.test(state, 4));
            }, 1, 0);

            # Make sure human occupants are always visible in remote aircraft
            rplayer.initNode("sim/model/occupants", 1, "BOOL");

            # Disable ALS 3D shadow for remote aircraft because of issue #387
            rplayer.initNode("sim/rendering/shadow-volume", 0, "BOOL");

            # Gear
            rplayer.initNode("sim/multiplay/generic/int[6]", 0, "BOOL");
            rplayer.initNode("sim/multiplay/generic/int[7]", 0, "BOOL");
            rplayer.initNode("sim/multiplay/generic/int[8]", 0, "BOOL");

            # Bush kit
            rplayer.initNode("sim/model/variant", 0, "INT");

            # Damage
            var wings_collapsed = rplayer.initNode("sim/multiplay/generic/int[15]", 0, "INT");
            var wing_left_state = rplayer.initNode("sim/multiplay/generic/int[18]", 0, "INT");
            var wing_right_state = rplayer.initNode("sim/multiplay/generic/int[19]", 0, "INT");

            var move_nav_light_left  = rplayer.initNode("sim/model/c172p/lighting/nav-lights/left-damaged", 0, "BOOL");
            var move_nav_light_right = rplayer.initNode("sim/model/c172p/lighting/nav-lights/right-damaged", 0, "BOOL");

            setlistener(wing_left_state.getPath(), func (node) {
                var move = node.getValue() == 2 and !wings_collapsed.getBoolValue();
                move_nav_light_left.setBoolValue(move);
            }, 1, 0);

            setlistener(wing_right_state.getPath(), func (node) {
                var move = node.getValue() == 2 and !wings_collapsed.getBoolValue();
                move_nav_light_right.setBoolValue(move);
            }, 1, 0);

            setlistener(wings_collapsed.getPath(), func (node) {
                var move = wing_left_state.getValue() == 2 and !node.getBoolValue();
                move_nav_light_left.setBoolValue(move);

                var move = wing_right_state.getValue() == 2 and !node.getBoolValue();
                move_nav_light_right.setBoolValue(move);
            }, 1, 0);
        </load>
        <unload>
            livery_update.stop();
        </unload>
    </nasal>

    <params>
        <lighting>
            <navigation>sim/multiplay/generic/int[14]</navigation>
            <beacon>sim/model/c172p/lighting/beacon/state</beacon>
            <strobes>sim/model/c172p/lighting/strobes/state</strobes>
            <taxi>
                <property>sim/multiplay/generic/int[4]</property>
            </taxi>
            <landing>
                <property>sim/multiplay/generic/int[5]</property>
            </landing>
        </lighting>
        <doors>
            <left>
                <property>sim/multiplay/generic/float[1]</property>
            </left>
            <right>
                <property>sim/multiplay/generic/float[0]</property>
            </right>
            <baggage>
                <property>sim/multiplay/generic/float[2]</property>
            </baggage>
        </doors>
        <windows>
            <left>sim/multiplay/generic/float[3]</left>
            <right>sim/multiplay/generic/float[4]</right>
        </windows>
        <crash>
            <property>sim/multiplay/generic/int[15]</property>
        </crash>
        <gear_nose_broken>
            <property>sim/multiplay/generic/int[6]</property>
        </gear_nose_broken>
        <gear_left_broken>
            <property>sim/multiplay/generic/int[7]</property>
        </gear_left_broken>
        <gear_right_broken>
            <property>sim/multiplay/generic/int[8]</property>
        </gear_right_broken>
        <bushkit>sim/model/variant</bushkit>
        <gear-ski>
            <ski-nose-rollspeed-ms>rotors/main/blade[0]/position-deg</ski-nose-rollspeed-ms>
            <ski-left-rollspeed-ms>rotors/main/blade[1]/position-deg</ski-left-rollspeed-ms>
            <ski-right-rollspeed-ms>rotors/main/blade[2]/position-deg</ski-right-rollspeed-ms>
        </gear-ski>

        <!-- 0 = normal, 1 = broken, 2 = damaged -->
        <pontoon_left_damaged>
            <property>sim/multiplay/generic/int[10]</property>
        </pontoon_left_damaged>
        <pontoon_right_damaged>
            <property>sim/multiplay/generic/int[11]</property>
        </pontoon_right_damaged>

        <!-- 0 = normal, 1 = broken, 2 = damaged -->
        <wing_left_damaged>
            <property>sim/multiplay/generic/int[18]</property>
        </wing_left_damaged>
        <wing_right_damaged>
            <property>sim/multiplay/generic/int[19]</property>
        </wing_right_damaged>

        <gear>
            <nose-rollspeed-ms>engines/engine[7]/rpm</nose-rollspeed-ms>
            <left-rollspeed-ms>engines/engine[7]/n1</left-rollspeed-ms>
            <right-rollspeed-ms>engines/engine[7]/n2</right-rollspeed-ms>
        </gear>
        <gear-amphibious>
            <front-left-compression-ft>engines/engine[3]/n1</front-left-compression-ft>
            <front-left-position-norm>engines/engine[3]/n2</front-left-position-norm>
            <front-left-rollspeed-ms>engines/engine[3]/rpm</front-left-rollspeed-ms>
            <front-right-compression-ft>engines/engine[4]/n1</front-right-compression-ft>
            <front-right-position-norm>engines/engine[4]/n2</front-right-position-norm>
            <front-right-rollspeed-ms>engines/engine[4]/rpm</front-right-rollspeed-ms>
            <rear-left-compression-ft>engines/engine[5]/n1</rear-left-compression-ft>
            <rear-left-position-norm>engines/engine[5]/n2</rear-left-position-norm>
            <rear-left-rollspeed-ms>engines/engine[5]/rpm</rear-left-rollspeed-ms>
            <rear-right-compression-ft>engines/engine[6]/n1</rear-right-compression-ft>
            <rear-right-position-norm>engines/engine[6]/n2</rear-right-position-norm>
            <rear-right-rollspeed-ms>engines/engine[6]/rpm</rear-right-rollspeed-ms>
        </gear-amphibious>

        <water-rudder-norm>sim/multiplay/generic/float[5]</water-rudder-norm>
        <engine>
            <rpm>engines/engine[2]/rpm</rpm>
            <crashed>sim/multiplay/generic/int[3]</crashed>
        </engine>

        <securing>
            <pitot-cover>sim/model/c172p/securing/pitot-cover-visible</pitot-cover>
            <chocks>sim/model/c172p/securing/chock-visible</chocks>
            <tiedowns>
                <left>
                    <visible>sim/model/c172p/securing/tiedownL-visible</visible>
                </left>
                <right>
                    <visible>sim/model/c172p/securing/tiedownR-visible</visible>
                </right>
                <tail>
                    <visible>sim/model/c172p/securing/tiedownT-visible</visible>
                </tail>
            </tiedowns>
        </securing>

        <!-- TODO To be made MP properties in the future when we get passengers or dual-control -->
        <controls>
            <throttle>/controls/engines/current-engine/throttle</throttle>
            <mixture>/controls/engines/current-engine/mixture</mixture>
            <carb-heat>/controls/engines/current-engine/carb-heat</carb-heat>
            <parking-lever>/sim/model/c172p/cockpit/parking-lever</parking-lever>
        </controls>
        <air-vents>
            <front-left>/controls/climate-control/overhead-vent-front-left</front-left>
            <front-right>/controls/climate-control/overhead-vent-front-right</front-right>
        </air-vents>
        <cockpit>
            <electrical>
                <gear-amphibious>/sim/model/c172p/lighting/amphibious</gear-amphibious>
            </electrical>
        </cockpit>
    </params>

    <!-- exterior effects -->
    <!-- Normal shader effect. Separate effects required for each normal map texture -->
    <effect>
        <inherits-from>Effects/exterior/bumpspec-wing</inherits-from>
        <object-name>flaps</object-name>
        <object-name>leftaileron</object-name>
        <object-name>rightaileron</object-name>
        <object-name>wing_1</object-name>
        <object-name>PitotTube</object-name>
    </effect>
    <effect>
        <inherits-from>Effects/exterior/bumpspec-fuselage</inherits-from>
        <object-name>LeftWheelStrut</object-name>
        <object-name>RightWheelStrut</object-name>
        <object-name>baggagedoor</object-name>
        <object-name>charniere1</object-name>
        <object-name>charniere2</object-name>
        <object-name>charniere3</object-name>
        <object-name>charniere4</object-name>
        <object-name>fairing1</object-name>
        <object-name>fairing2</object-name>
        <object-name>fairing3</object-name>
        <object-name>fuselage_1</object-name>
        <object-name>leftdoor</object-name>
        <object-name>rightdoor</object-name>
        <object-name>Spinner</object-name>
        <object-name>Propeller</object-name>
        <object-name>NoseWheel</object-name>
        <object-name>LeftWheel</object-name>
        <object-name>RightWheel</object-name>
    </effect>
    <effect>
        <inherits-from>Effects/exterior/bumpspec-tail</inherits-from>
        <object-name>elevatorleft</object-name>
        <object-name>elevatorright</object-name>
        <object-name>hstab</object-name>
        <object-name>rudder_1</object-name>
        <object-name>vstab</object-name>
    </effect>

    <effect>
        <inherits-from>Effects/model-transparent</inherits-from>
        <object-name>landinglightcover</object-name>
        <!--object-name>landinglightcoverLD</object-name>
        <object-name>landinglightcoverRD</object-name>
        <object-name>landinglightcoverBD</object-name>
        <object-name>landinglightcoverCollapse</object-name-->
        <object-name>strobe1</object-name>
        <object-name>strobe2</object-name>
        <object-name>BeaconOffX</object-name>
        <object-name>Propeller.Fast</object-name>
        <!-- damage mod -->
        <object-name>strobe1BD</object-name>
        <object-name>strobe2BD</object-name>
        <object-name>strobe1Collapse</object-name>
        <object-name>strobe2Collapse</object-name>
    </effect>

    <effect>
        <inherits-from>Effects/exterior/exterior-glass-reflection</inherits-from>
        <object-name>glas</object-name>
        <object-name>leftwindow</object-name>
        <object-name>rightwindow</object-name>
    </effect>

    <!-- Specularity fix -->
    <animation>
        <type>material</type>
        <object-name>LeftWheelStrut</object-name>
        <object-name>RightWheelStrut</object-name>
        <object-name>baggagedoor</object-name>
        <object-name>charniere1</object-name>
        <object-name>charniere2</object-name>
        <object-name>charniere3</object-name>
        <object-name>charniere4</object-name>
        <object-name>elevatorleft</object-name>
        <object-name>elevatorright</object-name>
        <object-name>fairing1</object-name>
        <object-name>fairing2</object-name>
        <object-name>fairing3</object-name>
        <object-name>flaps</object-name>
        <object-name>fuselage_0</object-name>
        <object-name>fuselage_1</object-name>
        <object-name>hstab</object-name>
        <object-name>leftaileron</object-name>
        <object-name>leftdoor</object-name>
        <object-name>rightaileron</object-name>
        <object-name>rightdoor</object-name>
        <object-name>rudder_1</object-name>
        <object-name>vstab</object-name>
        <object-name>wing_1</object-name>
        <object-name>doorhandleint_right</object-name>
        <object-name>Propeller</object-name>
        <object-name>Spinner</object-name>
        <shininess>128</shininess>
        <specular>
            <r>1</r>
            <g>1</g>
            <b>1</b>
        </specular>
        <ambient>
            <r>1</r>
            <g>1</g>
            <b>1</b>
        </ambient>
    </animation>

    <!-- interior effects  -->
    <effect>
        <inherits-from>Effects/interior/c172p-interior</inherits-from>
        <object-name>wing_1L</object-name>
        <object-name>wing_1R</object-name>
        <object-name>Firewall</object-name>
        <object-name>AirVent_left</object-name>
        <object-name>AirVent_right</object-name>
        <object-name>chassis</object-name>
        <object-name>doorint_right</object-name>
        <object-name>doorint_left</object-name>
        <object-name>CeilingSpeaker</object-name>
        <object-name>TrimWheel</object-name>
        <object-name>ElevatorTrimPos</object-name>
        <object-name>FuelSelectorFace</object-name>
        <object-name>FuelSelectorLeft</object-name>
        <object-name>FuelSelectorRight</object-name>
        <object-name>FuelSelectorBoth</object-name>
        <object-name>FuelSelectorOff</object-name>
        <object-name>mike_mount</object-name>
        <object-name>Pedestal</object-name>
        <object-name>CabinAirMounts</object-name>
        <object-name>CabinAir</object-name>
        <object-name>CabinHeat</object-name>
        <object-name>BeaconSwitch</object-name>
        <object-name>CarbHeat</object-name>
        <object-name>CarbHeatMount</object-name>
        <object-name>GenSwitch</object-name>
        <object-name>LandingLightSwitch</object-name>
        <object-name>MasterSwitch</object-name>
        <object-name>Mixture</object-name>
        <object-name>MixtureMount</object-name>
        <object-name>NavLightSwitch</object-name>
        <object-name>PitotHeatSwitch</object-name>
        <object-name>PrimerLeverMount</object-name>
        <object-name>StrobeSwitch</object-name>
        <object-name>TaxiLightSwitch</object-name>
        <object-name>Throttle</object-name>
        <object-name>ThrottleMount</object-name>
        <object-name>mike</object-name>
        <object-name>mike_chord</object-name>
        <object-name>doorhandleint_right</object-name>
        <object-name>doorhandleint_left</object-name>
        <object-name>ParkingBrake</object-name>
        <object-name>PrimerLever</object-name>
        <object-name>windlocket_right</object-name>
        <object-name>windlocket_left</object-name>
        <object-name>windlocketbak_right</object-name>
        <object-name>windlocketbak_left</object-name>
        <object-name>backseat_left</object-name>
        <object-name>carpet</object-name>
        <object-name>pilotseat_left</object-name>
        <object-name>pilotseat_right</object-name>
        <object-name>InstrumentCover</object-name>
        <object-name>panel_1_1.inf</object-name>
        <object-name>panel_1_1_right</object-name>
        <object-name>panel_1_gauges</object-name>
        <object-name>LeftBag</object-name>
        <object-name>bolt.012</object-name>
        <object-name>bolt.013</object-name>
        <object-name>bolt.014</object-name>
        <object-name>bolt.015</object-name>
        <object-name>Panel_0</object-name>
        <object-name>bolts_cabin</object-name>
        <object-name>bolts_panel</object-name>
        <object-name>bolts</object-name>
        <object-name>SeatMounts.0</object-name>
        <object-name>SeatMounts.1</object-name>
        <object-name>SeatMounts.2</object-name>
        <object-name>SeatMounts.3</object-name>
    </effect>
    <effect>
        <inherits-from>Effects/interior/c172p-interior-glass-reflection-front</inherits-from>
        <object-name>glas_interior</object-name>
    </effect>
    <effect>
        <inherits-from>Effects/interior/c172p-interior-glass-reflection-side</inherits-from>
        <object-name>leftwindow_interior</object-name>
        <object-name>rightwindow_interior</object-name>
        <object-name>glas_interior_sides</object-name>
    </effect>

    <!-- Gear Damage Spark and Smoke Mod -->
    <model>
        <path>Effects/damage/nose_gear.xml</path>
        <offsets>
            <x-m> -.85 </x-m>
            <y-m>  0.0000 </y-m>
            <z-m> -.98 </z-m>
        </offsets>
    </model>
    <model>
        <path>Effects/damage/left_gear.xml</path>
        <offsets>
            <x-m> -0.7 </x-m>
            <y-m> -1.9 </y-m>
            <z-m> -0.95 </z-m>
        </offsets>
    </model>
    <model>
        <path>Effects/damage/right_gear.xml</path>
        <offsets>
            <x-m> -0.7 </x-m>
            <y-m> 1.9 </y-m>
            <z-m> -0.95 </z-m>
        </offsets>
    </model>
    <model>
        <path>Effects/damage/tail.xml</path>
        <offsets>
            <x-m>  4.9264 </x-m>
            <y-m>  0.0000 </y-m>
            <z-m> -0.6</z-m>
        </offsets>
    </model>
    <model>
        <path>Effects/damage/wing-left.xml</path>
        <offsets>
            <x-m> .15 </x-m>
            <y-m> -5.6338 </y-m>
            <z-m> 0.49 </z-m>
        </offsets>
    </model>
    <model>
        <path>Effects/damage/wing-right.xml</path>
        <offsets>
            <x-m> .15 </x-m>
            <y-m> 5.6338 </y-m>
            <z-m> 0.49 </z-m>
        </offsets>
    </model>

    <!-- Pontoon Damage Spark and Smoke Mod -->
    <model>
        <path>Effects/pontoon/left_ground.xml</path>
        <offsets>
            <x-m> -0.7 </x-m>
            <y-m> -1.9 </y-m>
            <z-m> -1.8 </z-m>
        </offsets>
    </model>
    <model>
        <path>Effects/pontoon/right_ground.xml</path>
        <offsets>
            <x-m> -0.7 </x-m>
            <y-m>  1.9 </y-m>
            <z-m> -1.8 </z-m>
        </offsets>
    </model>

    <!-- Ski Damage Spark Mod -->
    <model>
        <path>Effects/skis/nose_gear.xml</path>
        <offsets>
            <x-m>  -.85 </x-m>
            <y-m>  -.0  </y-m>
            <z-m> -1.15 </z-m>
        </offsets>
    </model>
    <model>
        <path>Effects/skis/left_gear.xml</path>
        <offsets>
            <x-m>  0.7  </x-m>
            <y-m> -1.35 </y-m>
            <z-m> -1.15 </z-m>
        </offsets>
    </model>
    <model>
        <path>Effects/skis/right_gear.xml</path>
        <offsets>
            <x-m>  1.10 </x-m>
            <y-m>  0.91 </y-m>
            <z-m> -1.15 </z-m>
        </offsets>
    </model>

    <!-- Registration number -->
    <model>
        <path>Immat/immat.xml</path>
        <offsets>
            <x-m> 0.0 </x-m>
            <y-m> 0.0 </y-m>
            <z-m> 0.0 </z-m>
            <roll-deg>    0.0 </roll-deg>
            <pitch-deg>   0.0 </pitch-deg>
            <heading-deg> 0.0 </heading-deg>
        </offsets>
    </model>

    <model>
        <path>Aircraft/Generic/marker.xml</path>
    </model>

    <!-- Breakers and avionics switch -->
    <model>
        <name>BreakersAndAvionicsSwitch</name>
        <path>Interior/Panel/Buttons/breakers/breakers.xml</path>
        <offsets>
            <x-m>-0.36873</x-m>
            <y-m>-0.30291</y-m>
            <z-m>-0.26824</z-m>
        </offsets>
    </model>

    <!-- Instrumentation -->

    <model>
        <name>Gear</name>
        <path>Interior/Panel/Instruments/gear/gear-ctl.xml</path>
        <offsets>
            <x-m>-0.36</x-m>
            <y-m>0.26</y-m>
            <z-m>0.06</z-m>
        </offsets>
    </model>

    <model>
        <name>MagCompass</name>
        <path>Interior/Panel/Instruments/mag-compass/mag-compass.xml</path>
        <offsets>
            <x-m>-0.35</x-m>
            <y-m>0.00</y-m>
            <z-m>0.18</z-m>
        </offsets>
    </model>
    <model>
        <name>AI</name>
        <path>Interior/Panel/Instruments/AI/AI.xml</path>
        <offsets>
            <x-m>-0.369</x-m>
            <y-m>-0.22147</y-m>
            <z-m>0.06863</z-m>
        </offsets>
    </model>
    <model>
        <name>Altimeter</name>
        <path>Interior/Panel/Instruments/alt/alt.xml</path>
        <offsets>
            <x-m>-0.369</x-m>
            <y-m>-0.13245</y-m>
            <z-m>0.06775</z-m>
        </offsets>
    </model>
    <model>
        <name>BatteryGauge</name>
        <path>Interior/Panel/Instruments/BatteryGauge/BatteryGauge.xml</path>
        <offsets>
            <x-m>-0.367</x-m>
            <y-m>-0.410</y-m>
            <z-m>-0.171</z-m>
        </offsets>
    </model>
    <model>
        <name>Kap140</name>
        <path>Interior/Panel/Instruments/kap140/KAP140TwoAxisAlt.xml</path>
        <offsets>
            <x-m>-0.357879</x-m>
            <y-m>0.115</y-m>
            <z-m>-0.132</z-m>
        </offsets>
    </model>
    <model>
        <name>dme</name>
        <path>Interior/Panel/Instruments/dme/dme.xml</path>
        <offsets>
            <x-m>-0.357</x-m>
            <y-m>0.115</y-m>
            <z-m>-0.088</z-m>
        </offsets>
    </model>
    <model>
        <name>asi</name>
        <path>Interior/Panel/Instruments/asi/asi.xml</path>
        <offsets>
            <x-m>-0.369</x-m>
            <y-m>-0.31185</y-m>
            <z-m>0.06863</z-m>
        </offsets>
    </model>
    <model>
        <name>Turn</name>
        <path>Interior/Panel/Instruments/tc/tc.xml</path>
        <offsets>
            <x-m>-0.369</x-m>
            <y-m>-0.31165</y-m>
            <z-m>-0.03574</z-m>
        </offsets>
    </model>
    <model>
        <name>VSI</name>
        <path>Interior/Panel/Instruments/VSI/VSI.xml</path>
        <offsets>
            <x-m>-0.369</x-m>
            <y-m>-0.13245</y-m>
            <z-m>-0.0365</z-m>
        </offsets>
    </model>
    <model>
        <name>RPM</name>
        <path>Interior/Panel/Instruments/RPM/RPM.xml</path>
        <offsets>
            <x-m>-0.36</x-m>
            <y-m>-0.31190</y-m>
            <z-m>-0.14063</z-m>
        </offsets>
    </model>
    <model>
        <name>EGT</name>
        <path>Interior/Panel/Instruments/EGT/EGT.xml</path>
        <offsets>
            <x-m>-0.368</x-m>
            <y-m>-0.1326</y-m>
            <z-m>-0.1405</z-m>
        </offsets>
    </model>
    <model>
        <name>hi</name>
        <path>Interior/Panel/Instruments/hi/hi.xml</path>
        <offsets>
            <x-m>-0.368</x-m>
            <y-m>-0.222</y-m>
            <z-m>-0.036</z-m>
        </offsets>
    </model>
    <model>
        <name>avor</name>
        <path>Interior/Panel/Instruments/vor/vor.xml</path>
        <offsets>
            <x-m>-0.369</x-m>
            <y-m>-0.0423</y-m>
            <z-m>0.06863</z-m>
        </offsets>
    </model>
    <model>
        <name>vor2</name>
        <path>Interior/Panel/Instruments/vor/vor2.xml</path>
        <offsets>
            <x-m>-0.369</x-m>
            <y-m>-0.0423</y-m>
            <z-m>-0.03574</z-m>
        </offsets>
    </model>
    <model>
        <name>adf</name>
        <path>Interior/Panel/Instruments/kr87-adf/ki227_228.xml</path>
        <offsets>
            <x-m>-0.372</x-m>
            <y-m>-0.04214</y-m>
            <z-m>-0.14037</z-m>
        </offsets>
    </model>
    <model>
        <name>kx165-1</name>
        <path>Interior/Panel/Instruments/kx165/kx165-1.xml</path>
        <overlay>
            <params>
                <dimming>sim/model/material/instruments/factor</dimming>
                <red>0.6</red>
                <green>0.1</green>
                <blue>0.0</blue>
            </params>
        </overlay>
        <offsets>
            <x-m>-0.364</x-m>
            <y-m>0.113</y-m>
            <z-m>0.051</z-m>
        </offsets>
    </model>
    <model>
        <name>kx165-2</name>
        <path>Interior/Panel/Instruments/kx165/kx165-2.xml</path>
        <overlay>
            <params>
                <dimming>sim/model/material/instruments/factor</dimming>
                <red>0.6</red>
                <green>0.1</green>
                <blue>0.0</blue>
            </params>
        </overlay>
        <offsets>
            <x-m>-0.364</x-m>
            <y-m>0.113</y-m>
            <z-m>-0.002</z-m>
        </offsets>
    </model>
    <model>
        <name>kma20</name>
        <path>Interior/Panel/Instruments/kma20/kma20.xml</path>
        <offsets>
            <x-m>-0.364</x-m>
            <y-m>0.113</y-m>
            <z-m>0.100</z-m>
        </offsets>
    </model>
    <model>
        <name>kr87</name>
        <path>Interior/Panel/Instruments/kr87-adf/kr87.xml</path>
        <offsets>
            <x-m>-0.364</x-m>
            <y-m>0.114</y-m>
            <z-m>-0.047</z-m>
        </offsets>
    </model>

    <!-- MOD: transponder -->
    <model>
        <name>transponder</name>
        <path>Interior/Panel/Instruments/kt76a/kt76a.xml</path>
        <overlay>
            <params>
                <dimming>sim/model/material/instruments/factor</dimming>
                <red>0.6</red>
                <green>0.1</green>
                <blue>0.0</blue>
            </params>
        </overlay>
        <offsets>
            <x-m>-0.36</x-m>
            <y-m>0.115</y-m>
            <z-m>-0.177</z-m>
        </offsets>
    </model>
    <!-- MODEND -->

    <model>
        <name>clock</name>
        <path>Interior/Panel/Instruments/clock/clock.xml</path>
        <offsets>
            <x-m>-0.364</x-m>
            <y-m>-0.389</y-m>
            <z-m>0.049</z-m>
        </offsets>
    </model>
    <model>
        <name>vac</name>
        <path>Interior/Panel/Instruments/vac/vac.xml</path>
        <offsets>
            <!-- MOD: Reposition VAC
                 <x-m>-0.365</x-m>
                 <y-m>-0.432</y-m>
                 <z-m>0.0228</z-m>
            -->
            <x-m>-0.36246</x-m>
            <y-m>-0.43197</y-m>
            <z-m>0.02361</z-m>
            <!-- MODEND: Reposition VAC -->
        </offsets>
    </model>
    <model>
        <name>fuel</name>
        <path>Interior/Panel/Instruments/FuelOilAmps/c172fuel.xml</path>
        <offsets>
            <x-m>-0.362</x-m>
            <y-m>-0.405</y-m>
            <z-m>-0.013</z-m>
        </offsets>
    </model>
    <model>
        <name>oil</name>
        <path>Interior/Panel/Instruments/FuelOilAmps/c172oil.xml</path>
        <offsets>
            <x-m>-0.362</x-m>
            <y-m>-0.405</y-m>
            <z-m>-0.058</z-m>
        </offsets>
    </model>
    <model>
        <name>mag_sw</name>
        <path>Interior/Panel/Instruments/magneto-switch/magneto-switch.xml</path>
        <offsets>
            <x-m>-0.369</x-m>
            <y-m>-0.364</y-m>
            <z-m>-0.280</z-m>
        </offsets>
    </model>
    <model>
        <name>PanelLight</name>
        <path>Interior/Panel/Instruments/light/light_control.xml</path>
        <offsets>
            <x-m>-0.36</x-m>
            <y-m>-0.035</y-m>
            <z-m>-0.273</z-m>
        </offsets>
    </model>
    <model>
        <name>LeftYoke</name>
        <path>Interior/Yoke/yoke.xml</path>
        <offsets>
            <x-m>-0.36</x-m>
            <y-m>-0.219</y-m>
            <z-m>-0.130</z-m>
        </offsets>
    </model>
    <model>
        <name>RightYoke</name>
        <path>Interior/Yoke/yoke.xml</path>
        <offsets>
            <x-m>-0.36</x-m>
            <y-m> 0.239</y-m>
            <z-m>-0.130</z-m>
        </offsets>
    </model>
    <model>
        <name>FlapSwitch</name>
        <path>Interior/Panel/Flaps/flaps.xml</path>
        <offsets>
            <x-m>-0.36</x-m>
            <y-m>0.19</y-m>
            <z-m>-0.25</z-m>
        </offsets>
    </model>

    <!-- MOD: OAT -->
    <model>
        <name>OAT-object</name>
        <path>Interior/Panel/Instruments/oat/oat.xml</path>
        <offsets>
            <x-m>-0.0375</x-m>
            <y-m>0.44</y-m>
            <z-m>0.482</z-m>
        </offsets>
    </model>
    <!-- MODEND -->

    <!-- Pedals -->
    <model>
        <name>PilotPedals</name>
        <path>Interior/Pedals/pedals.xml</path>
        <offsets>
            <x-m>-0.56</x-m>
            <y-m>-0.24</y-m>
            <z-m>-0.65</z-m>
        </offsets>
    </model>
    <model>
        <name>CoPilotPedals</name>
        <path>Interior/Pedals/pedals.xml</path>
        <offsets>
            <x-m>-0.56</x-m>
            <y-m>0.24</y-m>
            <z-m>-0.65</z-m>
        </offsets>
    </model>

    <!--Exhaust-->
    <model>
        <object-name>Exhaust</object-name>
        <path>Effects/exhaust/exhaust.xml</path>
        <offsets>
            <x-m>-1.3093</x-m>
            <y-m>0.324625</y-m>
            <z-m>-0.782313</z-m>
        </offsets>
    </model>

    <!-- MOD: Tyre smoke -->
    <model>
        <path>Effects/tyresmoke/tyre-smoke-nose.xml</path>
        <object-name>tyre-smoke-n</object-name>
        <offsets>
            <x-m> -1. </x-m>
            <y-m>  0.0 </y-m>
            <z-m> -1.5 </z-m>
        </offsets>
    </model>
    <model>
        <path>Effects/tyresmoke/tyre-smoke-port.xml</path>
        <object-name>tyre-smoke-p</object-name>
        <offsets>
            <x-m> .3 </x-m>
            <y-m> -1.15 </y-m>
            <z-m> -1.5 </z-m>
        </offsets>
    </model>
    <model>
        <path>Effects/tyresmoke/tyre-smoke-stbd.xml</path>
        <object-name>tyre-smoke-s</object-name>
        <offsets>
            <x-m> .3 </x-m>
            <y-m> 1.15 </y-m>
            <z-m> -1.5 </z-m>
        </offsets>
    </model>
    <!-- MODEND: Tyre smoke -->

    <!-- MOD: Tyre Spray -->
    <model>
        <path>Effects/tyrespray/rain-nose.xml</path>
        <name>rain-nose</name>
        <offsets>
            <x-m> -1. </x-m>
            <y-m>  0.0 </y-m>
            <z-m> -1.5 </z-m>
        </offsets>
    </model>
    <model>
        <path>Effects/tyrespray/rain-port.xml</path>
        <name>rain-port</name>
        <offsets>
            <x-m> .3 </x-m>
            <y-m> -1.15 </y-m>
            <z-m> -1.5 </z-m>
        </offsets>
    </model>
    <model>
        <path>Effects/tyrespray/rain-stbd.xml</path>
        <name>rain-stbd</name>
        <offsets>
            <x-m>0.1</x-m>
            <y-m>0.9</y-m>
            <z-m>-1.85</z-m>
        </offsets>
    </model>
    <!-- MODEND: Tyre Spray -->

    <!-- MOD: Prop Spray -->
    <model>
        <path>Effects/propspray/rain-nose-propeller.xml</path>
        <name>rain-nose-propeller</name>
        <offsets>
            <x-m> -6.0 </x-m>
            <y-m> 0.0 </y-m>
            <z-m> 0.0 </z-m>
        </offsets>
    </model>
    <!-- MODEND: Prop Spray -->

    <!-- MOD: Floats Spray-->
    <model>
        <path>Effects/pontoon/left-spray.xml</path>
        <name>spray-left</name>
        <offsets>
            <x-m>-1.0</x-m>
            <y-m>-1.5</y-m>
            <z-m>-2.0</z-m>
        </offsets>
    </model>
    <model>
        <path>Effects/pontoon/right-spray.xml</path>
        <name>spray-right</name>
        <offsets>
            <x-m>-1.0</x-m>
            <y-m>1.5</y-m>
            <z-m>-2.0</z-m>
        </offsets>
    </model>
    <!-- MODEND: Floats Spray-->

    <!-- MOD: Floats Wake-->
    <model>
        <path>Effects/pontoon/left-wake.xml</path>
        <name>spray-wake</name>
        <offsets>
            <x-m>1</x-m>
            <y-m>-1.5</y-m>
            <z-m>-4.25</z-m>
            <pitch-deg> -50 </pitch-deg>
        </offsets>
    </model>
    <model>
        <path>Effects/pontoon/right-wake.xml</path>
        <name>spray-wake</name>
        <offsets>
            <x-m>1</x-m>
            <y-m>1.5</y-m>
            <z-m>-4.25</z-m>
            <pitch-deg> -50 </pitch-deg>
        </offsets>
    </model>
    <model>
        <path>Effects/pontoon/middle-wake.xml</path>
        <name>spray-wake</name>
        <offsets>
            <x-m>1</x-m>
            <y-m>0</y-m>
            <z-m>-4.25</z-m>
            <pitch-deg> -55 </pitch-deg>
        </offsets>
    </model>
    <!-- MODEND: Floats Wake-->

    <model>
        <path>Interior/Panel/Instruments/hobbs/hobbs.xml</path>
        <offsets>
            <x-m>-0.36</x-m>
            <y-m>0.42</y-m>
            <z-m>0</z-m>
        </offsets>
    </model>

    <!-- Labels activated by hotspots -->
    <text>
        <name>LabelASI</name>
        <type type="string">literal</type>
        <text type="string">Airspeed Indicator</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.07</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>-0.311</y-m>
            <z-m>0.068</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelAI</name>
        <type type="string">literal</type>
        <text type="string">Attitude Indicator</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.07</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>-0.222</y-m>
            <z-m>0.069</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelMagCompass</name>
        <type type="string">literal</type>
        <text type="string">Magnetic Compass</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.07</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.3</x-m>
            <y-m>0.00</y-m>
            <z-m>0.18</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelAltimeter</name>
        <type type="string">literal</type>
        <text type="string">Altimeter (ft)</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.07</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>-0.133</y-m>
            <z-m>0.069</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelBatteryGauge</name>
        <type type="string">literal</type>
        <text type="string">Battery Gauge</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.07</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>-0.410</y-m>
            <z-m>-0.171</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelAutopilot</name>
        <type type="string">literal</type>
        <text type="string">Autopilot</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.15</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>0.116</y-m>
            <z-m>-0.122</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelTransponder</name>
        <type type="string">literal</type>
        <text type="string">Transponder</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.15</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m> 0.116</y-m>
            <z-m>-0.186</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelDME</name>
        <type type="string">literal</type>
        <text type="string">DME</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.07</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>0.116</y-m>
            <z-m>-0.085</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelTurn</name>
        <type type="string">literal</type>
        <text type="string">Turn &amp; Bank</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.07</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>-0.311</y-m>
            <z-m>-0.037</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelVSI</name>
        <type type="string">literal</type>
        <text type="string">Vertical Speed Indicator</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.07</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>-0.131</y-m>
            <z-m>-0.036</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelRPM</name>
        <type type="string">literal</type>
        <text type="string">Tachometer</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.07</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>-0.311</y-m>
            <z-m>-0.142</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelHI</name>
        <type type="string">literal</type>
        <text type="string">Heading Indicator</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.07</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>-0.222</y-m>
            <z-m>-0.036</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelVOR1</name>
        <type type="string">literal</type>
        <text type="string">NAV 1 display</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.07</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>-0.041</y-m>
            <z-m>0.069</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelVOR2</name>
        <type type="string">literal</type>
        <text type="string">NAV 2 display</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.07</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>-0.041</y-m>
            <z-m>-0.036</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelADF</name>
        <type type="string">literal</type>
        <text type="string">ADF display</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.15</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>-0.041</y-m>
            <z-m>-0.141</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelKMA</name>
        <type type="string">literal</type>
        <text type="string">Audio Panel</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.15</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>0.113</y-m>
            <z-m>0.100</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelKR87</name>
        <type type="string">literal</type>
        <text type="string">ADF</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.15</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>0.113</y-m>
            <z-m>-0.036</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelClock</name>
        <type type="string">literal</type>
        <text type="string">Clock</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.07</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>-0.389</y-m>
            <z-m>0.049</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelVac</name>
        <type type="string">literal</type>
        <text type="string">Vacuum Gauge</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.07</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>-0.432</y-m>
            <z-m>0.0228</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelFuel</name>
        <type type="string">literal</type>
        <text type="string">Fuel Gauge</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.07</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>-0.405</y-m>
            <z-m>-0.013</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelOil</name>
        <type type="string">literal</type>
        <text type="string">Oil Gauge</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.07</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>-0.405</y-m>
            <z-m>-0.060</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelMags</name>
        <type type="string">literal</type>
        <text type="string">Magneto &amp; Starter</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.07</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>-0.354</y-m>
            <z-m>-0.250</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelPrimer</name>
        <type type="string">literal</type>
        <text type="string">Primer</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.07</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>-0.454</y-m>
            <z-m>-0.230</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelLights</name>
        <type type="string">literal</type>
        <text type="string">Panel Lights</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.07</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>-0.035</y-m>
            <z-m>-0.273</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelFlaps</name>
        <type type="string">literal</type>
        <text type="string">Flaps</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.07</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>0.19</y-m>
            <z-m>-0.25</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelParkingBrake</name>
        <type type="string">literal</type>
        <text type="string">Parking Brake</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.15</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>-0.20</y-m>
            <z-m>-0.29</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelCarbHeat</name>
        <type type="string">literal</type>
        <text type="string">Carburetor Heat</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.15</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>-0.08</y-m>
            <z-m>-0.19</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelThrottle</name>
        <type type="string">literal</type>
        <text type="string">Throttle</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.07</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m>-0.02</y-m>
            <z-m>-0.18</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelMixture</name>
        <type type="string">literal</type>
        <text type="string">Mixture</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.07</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.34</x-m>
            <y-m> 0.05</y-m>
            <z-m>-0.22</z-m>
        </offsets>
    </text>
    <text>
        <name>LabelTrim</name>
        <type type="string">literal</type>
        <text type="string">Elevator Trim</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.012</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.2</max-height>
        <max-width>0.07</max-width>
        <font-resolution>
            <width type="int">32</width>
            <height type="int">32</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>-0.24</x-m>
            <y-m>-0.10</y-m>
            <z-m>-0.38</z-m>
        </offsets>
    </text>

    <animation>
        <type>material</type>
        <object-name>LabelASI</object-name>
        <object-name>LabelAI</object-name>
        <object-name>LabelMagCompass</object-name>
        <object-name>LabelAltimeter</object-name>
        <object-name>LabelBatteryGauge</object-name>
        <object-name>LabelAutopilot</object-name>
        <object-name>LabelTransponder</object-name>
        <object-name>LabelDME</object-name>
        <object-name>LabelTurn</object-name>
        <object-name>LabelVSI</object-name>
        <object-name>LabelRPM</object-name>
        <object-name>LabelHI</object-name>
        <object-name>LabelVOR1</object-name>
        <object-name>LabelVOR2</object-name>
        <object-name>LabelADF</object-name>
        <object-name>LabelRadio1</object-name>
        <object-name>LabelRadio2</object-name>
        <object-name>LabelKMA</object-name>
        <object-name>LabelKR87</object-name>
        <object-name>LabelClock</object-name>
        <object-name>LabelVac</object-name>
        <object-name>LabelFuel</object-name>
        <object-name>LabelOil</object-name>
        <object-name>LabelMags</object-name>
        <object-name>LabelLights</object-name>
        <object-name>LabelFlaps</object-name>
        <object-name>LabelParkingBrake</object-name>
        <object-name>LabelCarbHeat</object-name>
        <object-name>LabelThrottle</object-name>
        <object-name>LabelMixture</object-name>
        <object-name>LabelTrim</object-name>
        <object-name>LabelPrimer</object-name>
        <emission>
            <red>1.0</red>
            <green>0.8</green>
            <blue>0.0</blue>
        </emission>
    </animation>
    <animation>
        <type>select</type>
        <object-name>LabelASI</object-name>
        <object-name>LabelAI</object-name>
        <object-name>LabelMagCompass</object-name>
        <object-name>LabelAltimeter</object-name>
        <object-name>LabelBatteryGauge</object-name>
        <object-name>LabelAutopilot</object-name>
        <object-name>LabelTransponder</object-name>
        <object-name>LabelDME</object-name>
        <object-name>LabelTurn</object-name>
        <object-name>LabelVSI</object-name>
        <object-name>LabelRPM</object-name>
        <object-name>LabelHI</object-name>
        <object-name>LabelVOR1</object-name>
        <object-name>LabelVOR2</object-name>
        <object-name>LabelADF</object-name>
        <object-name>LabelRadio1</object-name>
        <object-name>LabelRadio2</object-name>
        <object-name>LabelKMA</object-name>
        <object-name>LabelKR87</object-name>
        <object-name>LabelClock</object-name>
        <object-name>LabelVac</object-name>
        <object-name>LabelFuel</object-name>
        <object-name>LabelOil</object-name>
        <object-name>LabelMags</object-name>
        <object-name>LabelLights</object-name>
        <object-name>LabelFlaps</object-name>
        <object-name>LabelParkingBrake</object-name>
        <object-name>LabelCarbHeat</object-name>
        <object-name>LabelThrottle</object-name>
        <object-name>LabelMixture</object-name>
        <object-name>LabelTrim</object-name>
        <object-name>LabelPanelLight</object-name>
        <object-name>LabelPrimer</object-name>
        <condition>
            <property>sim/panel-hotspots</property>
        </condition>
    </animation>

    <!-- Controls -->
    <animation>
        <name>CarbHeatGroup</name>
        <object-name>CarbHeat</object-name>
        <object-name>CarbHeatBack</object-name>
        <object-name>CarbHeatRod</object-name>
    </animation>
    <animation>
        <name>ControlsGroup</name>
        <object-name>LeftYoke</object-name>
        <object-name>RightYoke</object-name>
        <object-name>CarbHeatGroup</object-name>
        <object-name>Throttle</object-name>
        <object-name>Mixture</object-name>
        <object-name>FlapSwitchGroup</object-name>
        <object-name>TrimWheel</object-name>
        <object-name>PilotPedals</object-name>
        <object-name>CoPilotPedals</object-name>
        <object-name>MagCompass</object-name>
    </animation>

    <!-- MOD: animation for the checklists -->
    <animation>
        <type>pick</type>
        <object-name>LeftBag</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>dialog-show</command>
                <dialog-name>checklist</dialog-name>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <tooltip-id>checklist</tooltip-id>
                <label>Show checklists</label>
            </binding>
        </hovered>
    </animation>
    <!-- MODEND -->

    <!-- Primer -->
    <animation>
        <type>pick</type>
        <object-name>PrimerLever</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>nasal</command>
                <script>c172p.pumpPrimer();</script>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <tooltip-id>primer</tooltip-id>
                <label>Engine primer (%1d)</label>
                <property>controls/engines/engine/primer</property>
            </binding>
        </hovered>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>PrimerLever</object-name>
        <property>/controls/engines/engine/primer-lever</property>
        <factor>0.04</factor>
        <axis>
            <x>1.0</x>
            <y>0.0</y>
            <z>0.0</z>
        </axis>
    </animation>

    <!-- Cabin heat and Air -->
    <animation>
        <type>slider</type>
        <object-name>CabinHeat</object-name>
        <visible>true</visible>
        <drag-direction>vertical</drag-direction>
        <action>
            <binding>
                <command>property-adjust</command>
                <property>/environment/aircraft-effects/cabin-heat-set</property>
                <factor>-0.05</factor>
                <min>0</min>
                <max>1</max>
                <wrap>0</wrap>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <label>Cabin Heat: %3d%%</label>
                <measure-text>Cabin Heat: 100%</measure-text>
                <tooltip-id>cabinheat</tooltip-id>
                <mapping>percent</mapping>
                <property>/environment/aircraft-effects/cabin-heat-set</property>
            </binding>
        </hovered>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>CabinHeat</object-name>
        <property>/environment/aircraft-effects/cabin-heat-set</property>
        <factor>0.03</factor>
        <axis>
            <x>1.0</x>
            <y>0.0</y>
            <z>0.0</z>
        </axis>
    </animation>
    <animation>
        <type>slider</type>
        <object-name>CabinAir</object-name>
        <visible>true</visible>
        <drag-direction>vertical</drag-direction>
        <action>
            <binding>
                <command>property-adjust</command>
                <property>/environment/aircraft-effects/cabin-air-set</property>
                <factor>-0.05</factor>
                <min>0</min>
                <max>1</max>
                <wrap>0</wrap>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <label>Cabin Air: %3d%%</label>
                <measure-text>Cabin Air: 100%</measure-text>
                <tooltip-id>cabinair</tooltip-id>
                <mapping>percent</mapping>
                <property>/environment/aircraft-effects/cabin-air-set</property>
            </binding>
        </hovered>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>CabinAir</object-name>
        <property>/environment/aircraft-effects/cabin-air-set</property>
        <factor>0.03</factor>
        <axis>
            <x>1.0</x>
            <y>0.0</y>
            <z>0.0</z>
        </axis>
    </animation>

    <animation>
        <type>slider</type>
        <object-name>AirVent_left</object-name>
        <visible>true</visible>
        <drag-direction>horizontal</drag-direction>
        <drag-scale-px>-10.0</drag-scale-px>
        <action>
            <binding>
                <command>property-adjust</command>
                <property>/controls/climate-control/overhead-vent-front-left</property>
                <factor>-0.05</factor>
                <min>0</min>
                <max>1</max>
                <wrap>false</wrap>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <label>Air Vent: %3d%%</label>
                <measure-text>Air Vent: 100%</measure-text>
                <tooltip-id>air-vent-front-left</tooltip-id>
                <mapping>percent</mapping>
                <property alias="/params/air-vents/front-left"/>
            </binding>
        </hovered>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>AirVent_left</object-name>
        <property alias="/params/air-vents/front-left"/>
        <factor>0.032</factor>
        <offset-m>-0.032</offset-m>
        <axis>
            <y>1.0</y>
        </axis>
    </animation>

    <animation>
        <type>slider</type>
        <object-name>AirVent_right</object-name>
        <object-name>OAT-object</object-name>
        <visible>true</visible>
        <drag-direction>horizontal</drag-direction>
        <drag-scale-px>10.0</drag-scale-px>
        <action>
            <binding>
                <command>property-adjust</command>
                <property>/controls/climate-control/overhead-vent-front-right</property>
                <factor>-0.05</factor>
                <min>0</min>
                <max>1</max>
                <wrap>false</wrap>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <label>Air Vent: %3d%%</label>
                <measure-text>Air Vent: 100%</measure-text>
                <tooltip-id>air-vent-front-right</tooltip-id>
                <mapping>percent</mapping>
                <property alias="/params/air-vents/front-right"/>
            </binding>
        </hovered>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>AirVent_right</object-name>
        <object-name>OAT-object</object-name>
        <property alias="/params/air-vents/front-right"/>
        <factor>-0.050</factor>
        <offset-m>0.050</offset-m>
        <axis>
            <y>1.0</y>
        </axis>
    </animation>

    <!-- Pick animation for the doors -->
    <animation>
        <type>pick</type>
        <object-name>rightdoor</object-name>
        <object-name>doorhandleint_right</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>nasal</command>
                <script>c172p.rightDoor.toggle();</script>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <tooltip-id>door-handle-r</tooltip-id>
                <label>Right Door Open/Close</label>
            </binding>
        </hovered>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>leftdoor</object-name>
        <object-name>doorhandleint_left</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>nasal</command>
                <script>c172p.leftDoor.toggle();</script>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <tooltip-id>door-handle-l</tooltip-id>
                <label>Left Door Open/Close</label>
            </binding>
        </hovered>
    </animation>

    <!-- Pick animation for the windows -->
    <animation>
        <type>pick</type>
        <object-name>lefttwindow</object-name>
        <object-name>windlocket_left</object-name>
        <object-name>leftwindow_interior</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>nasal</command>
                <script>c172p.leftWindow.toggle();</script>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <tooltip-id>window-handle-l</tooltip-id>
                <label>Left Window Open/Close</label>
            </binding>
        </hovered>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>rightwindow</object-name>
        <object-name>windlocket_right</object-name>
        <object-name>rightwindow_interior</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>nasal</command>
                <script>c172p.rightWindow.toggle();</script>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <tooltip-id>window-handle-r</tooltip-id>
                <label>Right Window Open/Close</label>
            </binding>
        </hovered>
    </animation>

    <animation>
        <type>pick</type>
        <object-name>baggagedoorexterior</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <condition>
                    <or>
                        <equals>
                            <property>/sim/model/door-positions/baggageDoor/position-norm</property>
                            <value>1</value>
                        </equals>
                        <and>
                            <equals>
                                <property>/sim/model/door-positions/baggageDoor/position-norm</property>
                                <value>0</value>
                            </equals>
                            <less-than>
                                <property>velocities/groundspeed-kt</property>
                                <value>1.0</value>
                            </less-than>
                        </and>
                    </or>
                </condition>
                <command>nasal</command>
                <script>c172p.baggageDoor.toggle();</script>
            </binding>
            <binding>
                <condition>
                    <equals>
                        <property>/sim/model/door-positions/baggageDoor/position-norm</property>
                        <value>0</value>
                    </equals>
                </condition>
                <command>dialog-show</command>
                <dialog-name>c172p-baggage-weight-dialog</dialog-name>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <tooltip-id>door-handle-baggage</tooltip-id>
                <label>Baggage Door Open/Close</label>
            </binding>
        </hovered>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>FuelCapPort</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>dialog-show</command>
                <dialog-name>c172p-left-fuel-dialog</dialog-name>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <tooltip-id>fuel-cap-port</tooltip-id>
                <label>Fuel Cap</label>
            </binding>
        </hovered>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>FuelCapStarboard</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>dialog-show</command>
                <dialog-name>c172p-right-fuel-dialog</dialog-name>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <tooltip-id>fuel-cap-starboard</tooltip-id>
                <label>Fuel Cap</label>
            </binding>
        </hovered>
    </animation>

    <!-- Door animation -->
    <animation>
        <type>rotate</type>
        <object-name>rightdoor</object-name>
        <object-name>rightwindow</object-name>
        <object-name>doorhandleext_right</object-name>
        <object-name>doorint_right</object-name>
        <object-name>doorhandleint_right</object-name>
        <object-name>windlocket_right</object-name>
        <object-name>windlocketbak_right</object-name>
        <!-- MOD: Added an interior window-->
        <!--object-name>rightwindow_int</object-name-->
        <object-name>rightwindow_interior</object-name>
        <!-- MODEND: Added an interior window -->
        <property alias="../../params/doors/right/property"/>
        <interpolation>
            <entry>
                <ind>0.0</ind>
                <dep>0.0</dep>
            </entry>
            <entry>
                <ind>0.5</ind>
                <dep>0</dep>
            </entry>
            <entry>
                <ind>1</ind>
                <dep>70.0</dep>
            </entry>
        </interpolation>
        <axis>
            <x1-m>-0.117</x1-m>
            <y1-m>0.530</y1-m>
            <z1-m>-0.376</z1-m>
            <x2-m>-0.054</x2-m>
            <y2-m>0.535</y2-m>
            <z2-m>-0.117</z2-m>
        </axis>
    </animation>

    <!-- MOD: Changed angles from 70 to 50 - two entries on this block-->
    <animation>
        <type>rotate</type>
        <object-name>doorhandleint_right</object-name>
        <property alias="../../params/doors/right/property"/>
        <interpolation>
            <entry>
                <ind>0.0</ind>
                <dep>0.0</dep>
            </entry>
            <entry>
                <ind>0.5</ind>
                <dep>50.0</dep>
            </entry>
            <entry>
                <ind>1</ind>
                <dep>50.0</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>0.166</x-m>
            <y-m>0.482</y-m>
            <z-m>-0.263</z-m>
        </center>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
    </animation>

    <animation>
        <type>rotate</type>
        <object-name>leftdoor</object-name>
        <object-name>leftwindow</object-name>
        <object-name>doorhandleext_left</object-name>
        <object-name>doorint_left</object-name>
        <object-name>doorhandleint_left</object-name>
        <object-name>windlocket_left</object-name>
        <object-name>windlocketbak_left</object-name>
        <!-- MOD: Added an interior window-->
        <object-name>leftwindow_int</object-name>
        <object-name>leftwindow_interior</object-name>
        <!-- MODEND: Added an interior window -->
        <property alias="../../params/doors/left/property"/>
        <interpolation>
            <entry>
                <ind>0.0</ind>
                <dep>0.0</dep>
            </entry>
            <entry>
                <ind>0.5</ind>
                <dep>0</dep>
            </entry>
            <entry>
                <ind>1</ind>
                <dep>-70.0</dep>
            </entry>
        </interpolation>
        <axis>
            <x1-m>-0.117</x1-m>
            <y1-m>-0.530</y1-m>
            <z1-m>-0.376</z1-m>
            <x2-m>-0.054</x2-m>
            <y2-m>-0.535</y2-m>
            <z2-m>-0.117</z2-m>
        </axis>
    </animation>

    <!-- MOD: Changed angles from 70 to 50 - two entries on this block-->
    <animation>
        <type>rotate</type>
        <object-name>doorhandleint_left</object-name>
        <property alias="../../params/doors/left/property"/>
        <interpolation>
            <entry>
                <ind>0.0</ind>
                <dep>0.0</dep>
            </entry>
            <entry>
                <ind>0.5</ind>
                <dep>50.0</dep>
            </entry>
            <entry>
                <ind>1</ind>
                <dep>50.0</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>0.166</x-m>
            <y-m>-0.482</y-m>
            <z-m>-0.263</z-m>
        </center>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
    </animation>

    <!-- Left Window -->
    <animation>
        <type>rotate</type>
        <object-name>leftwindow</object-name>
        <object-name>leftwindow_interior</object-name>
        <object-name>windlocket_left</object-name>
        <object-name>windlocketbak_left</object-name>
        <property alias="/params/windows/left"/>
        <interpolation>
            <entry>
                <ind>0.0</ind>
                <dep>0.0</dep>
            </entry>
            <entry>
                <ind>0.5</ind>
                <dep>0.0</dep>
            </entry>
            <entry>
                <ind>1</ind>
                <dep>-20.0</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>0.4485</x-m>
            <y-m>-0.5212</y-m>
            <z-m>0.2791</z-m>
        </center>
        <axis>
            <x>1</x>
            <y>0</y>
            <z>0</z>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>windlocket_left</object-name>
        <property alias="/params/windows/left"/>
        <interpolation>
            <entry>
                <ind>0.0</ind>
                <dep>0.0</dep>
            </entry>
            <entry>
                <ind>0.5</ind>
                <dep>90.0</dep>
            </entry>
            <entry>
                <ind>1</ind>
                <dep>90.0</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>0.33704</x-m>
            <y-m>-0.51572</y-m>
            <z-m>-0.05777</z-m>
        </center>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>

    <!-- Right Window -->
    <animation>
        <type>rotate</type>
        <object-name>rightwindow</object-name>
        <object-name>rightwindow_interior</object-name>
        <object-name>windlocket_right</object-name>
        <object-name>windlocketbak_right</object-name>
        <property alias="/params/windows/right"/>
        <interpolation>
            <entry>
                <ind>0.0</ind>
                <dep>0.0</dep>
            </entry>
            <entry>
                <ind>0.5</ind>
                <dep>0.0</dep>
            </entry>
            <entry>
                <ind>1</ind>
                <dep>20.0</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>0.4564</x-m>
            <y-m>0.5226</y-m>
            <z-m>0.2798</z-m>
        </center>
        <axis>
            <x>1</x>
            <y>0</y>
            <z>0</z>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>windlocket_right</object-name>
        <property alias="/params/windows/right"/>
        <interpolation>
            <entry>
                <ind>0.0</ind>
                <dep>0.0</dep>
            </entry>
            <entry>
                <ind>0.5</ind>
                <dep>90.0</dep>
            </entry>
            <entry>
                <ind>1</ind>
                <dep>90.0</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>0.33704</x-m>
            <y-m>0.51535</y-m>
            <z-m>-0.05777</z-m>
        </center>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <type>rotate</type>
        <object-name>baggagedoorexterior</object-name>
        <object-name>baggagedoorinterior</object-name>
        <object-name>baggagedoorhandle</object-name>
        <property alias="../../params/doors/baggage/property"/>
        <factor>-90</factor>
        <axis>
            <x1-m>1.373</x1-m>
            <y1-m>-0.445</y1-m>
            <z1-m>-0.656</z1-m>
            <x2-m>1.424</x2-m>
            <y2-m>-0.445</y2-m>
            <z2-m>-0.204</z2-m>
        </axis>
    </animation>

    <!-- Pick animation for switches -->
    <animation>
        <type>pick</type>
        <object-name>LandingLightSwitch</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>property-toggle</command>
                <property>controls/lighting/landing-lights</property>
            </binding>
            <binding>
                <command>nasal</command>
                <script>c172p.click("light")</script>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <tooltip-id>landing-light-switch</tooltip-id>
                <label>Landing Lights: %s</label>
                <mapping>on-off</mapping>
                <property>controls/lighting/landing-lights</property>
            </binding>
        </hovered>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>TaxiLightSwitch</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>property-toggle</command>
                <property>controls/lighting/taxi-light</property>
            </binding>
            <binding>
                <command>nasal</command>
                <script>c172p.click("light")</script>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <tooltip-id>taxi-light-switch</tooltip-id>
                <label>Taxi Light: %s</label>
                <mapping>on-off</mapping>
                <property>controls/lighting/taxi-light</property>
            </binding>
        </hovered>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>StrobeSwitch</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>property-toggle</command>
                <property>controls/lighting/strobe</property>
            </binding>
            <binding>
                <command>nasal</command>
                <script>c172p.click("light")</script>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <tooltip-id>strobe-switch</tooltip-id>
                <label>Strobe: %s</label>
                <mapping>on-off</mapping>
                <property>controls/lighting/strobe</property>
            </binding>
        </hovered>
    </animation>

    <!-- MOD: MASTER/GEN Switches included 2/3 -->

    <!-- MasterSwitch -->
    <animation>
        <type>pick</type>
        <object-name>MasterSwitch</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>property-toggle</command>
                <property>controls/switches/master-bat</property>
            </binding>
            <binding>
                <command>nasal</command>
                <script>c172p.click("master")</script>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <tooltip-id>master-switch</tooltip-id>
                <label>Battery: %s</label>
                <mapping>on-off</mapping>
                <property>controls/switches/master-bat</property>
            </binding>
        </hovered>
    </animation>

    <!-- GenSwitch -->
    <animation>
        <type>pick</type>
        <object-name>GenSwitch</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>property-toggle</command>
                <property>controls/switches/master-alt</property>
            </binding>
            <binding>
                <command>nasal</command>
                <script>c172p.click("master")</script>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <tooltip-id>alt-switch</tooltip-id>
                <label>Alt: %s</label>
                <mapping>on-off</mapping>
                <property>controls/switches/master-alt</property>
            </binding>
        </hovered>
    </animation>
    <!-- MODEND: MASTER/GEN 2/3 -->

    <animation>
        <type>pick</type>
        <object-name>BeaconSwitch</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>property-toggle</command>
                <property>controls/lighting/beacon</property>
            </binding>
            <binding>
                <command>nasal</command>
                <script>c172p.click("light")</script>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <tooltip-id>beacon-switch</tooltip-id>
                <label>Beacon: %s</label>
                <mapping>on-off</mapping>
                <property>controls/lighting/beacon</property>
            </binding>
        </hovered>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>NavLightSwitch</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>property-toggle</command>
                <property>controls/lighting/nav-lights</property>
            </binding>
            <binding>
                <command>nasal</command>
                <script>c172p.click("light")</script>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <tooltip-id>nav-light-switch</tooltip-id>
                <label>Navigation Lights: %s</label>
                <mapping>on-off</mapping>
                <property>controls/lighting/nav-lights</property>
            </binding>
        </hovered>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>PitotHeatSwitch</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>property-toggle</command>
                <property>controls/anti-ice/pitot-heat</property>
            </binding>
            <binding>
                <command>nasal</command>
                <script>c172p.click("light")</script>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <tooltip-id>pitot-heat</tooltip-id>
                <label>Pitot Heat: %s</label>
                <mapping>on-off</mapping>
                <property>controls/anti-ice/pitot-heat</property>
            </binding>
        </hovered>
    </animation>

    <!-- Parking Brake -->
    <animation>
        <type>translate</type>
        <object-name>ParkingBrake</object-name>
        <property alias="/params/controls/parking-lever"/>
        <factor>0.04</factor>
        <axis>
            <x>1.0</x>
            <y>0.0</y>
            <z>0.0</z>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>ParkingBrake</object-name>
        <property alias="/params/controls/parking-lever"/>
        <factor>90</factor>
        <axis>
            <x>1.0</x>
            <y>0.0</y>
            <z>0.0</z>
        </axis>
        <center>
            <x-m>-0.36</x-m>
            <y-m>-0.20</y-m>
            <z-m>-0.33</z-m>
        </center>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>ParkingBrake</object-name>
        <visible>true</visible>
        <action>
            <name>Select</name>
            <button>0</button>
            <binding>
                <command>property-toggle</command>
                <property>/sim/model/c172p/brake-parking</property>
            </binding>
            <binding>
                <command>nasal</command>
                <script>c172p.click("parking", 1.6)</script>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <label>Parking brake: %s</label>
                <property>/sim/model/c172p/brake-parking</property>
                <tooltip-id>parking-brake</tooltip-id>
                <mapping>on-off</mapping>
            </binding>
        </hovered>
    </animation>

    <!-- Carb Heat -->
    <animation>
        <type>translate</type>
        <object-name>CarbHeatGroup</object-name>
        <property alias="/params/controls/carb-heat"/>
        <factor>0.04</factor>
        <axis>
            <x>1.0</x>
            <y>0.0</y>
            <z>0.0</z>
        </axis>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>CarbHeatGroup</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>property-toggle</command>
                <property>/controls/engines/current-engine/carb-heat</property>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <tooltip-id>carburetor-heat</tooltip-id>
                <label>Carburetor: %s</label>
                <mapping>nasal</mapping>
                <property>/controls/engines/current-engine/carb-heat</property>
                <script>
                    var modes = ['COLD', 'HEATED'];
                    return modes[arg[0]];
                </script>
            </binding>
        </hovered>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>Throttle</object-name>
        <property alias="/params/controls/throttle"/>
        <factor>-0.08</factor>
        <axis>
            <x>1.0</x>
            <y>0.0</y>
            <z>0.0</z>
        </axis>
    </animation>
    <animation>
        <type>slider</type>
        <object-name>Throttle</object-name>
        <object-name>ThrottleMount</object-name>
        <visible>true</visible>
        <drag-direction>vertical</drag-direction>
        <!-- no translation, we handle that seperately -->
        <action>
            <binding>
                <command>property-adjust</command>
                <property>/controls/engines/current-engine/throttle</property>
                <factor>0.05</factor>
                <min>0</min>
                <max>1</max>
                <wrap>0</wrap>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <label>Throttle: %3d%%</label>
                <measure-text>Throttle: 100%</measure-text>
                <tooltip-id>throttle</tooltip-id>
                <mapping>percent</mapping>
                <property alias="/params/controls/throttle"/>
            </binding>
        </hovered>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>Mixture</object-name>
        <property alias="/params/controls/mixture"/>
        <factor>-0.08</factor>
        <axis>
            <x>1.0</x>
            <y>0.0</y>
            <z>0.0</z>
        </axis>
    </animation>
    <animation>
        <type>slider</type>
        <object-name>Mixture</object-name>
        <object-name>MixtureMount</object-name>
        <visible>true</visible>
        <!-- no translation, we handle that seperately -->
        <drag-direction>vertical</drag-direction>
        <action>
            <binding>
                <command>property-adjust</command>
                <property>controls/engines/current-engine/mixture</property>
                <factor>0.05</factor>
                <min>0</min>
                <max>1</max>
                <wrap>0</wrap>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <label>Mixture: %3d%%</label>
                <measure-text>Mixture: 100%</measure-text>
                <tooltip-id>mixture</tooltip-id>
                <mapping>percent</mapping>
                <property alias="/params/controls/mixture"/>
            </binding>
        </hovered>
    </animation>

    <!-- Elevator Trim -->
    <animation>
        <type>knob</type>
        <object-name>TrimWheel</object-name>
        <property>controls/flight/elevator-trim</property>
        <factor>-360</factor>
        <drag-direction>vertical</drag-direction>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
        <center>
            <x-m>-0.406</x-m>
            <y-m>-0.20</y-m>
            <z-m>-0.48</z-m>
        </center>
        <action>
            <binding>
                <command>property-adjust</command>
                <property>controls/flight/elevator-trim</property>
                <factor>0.01</factor>
                <min>-1</min>
                <max>1</max>
                <wrap>0</wrap>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <label>Elevator trim: %3f</label>
                <tooltip-id>pitch-trim</tooltip-id>
                <property>controls/flight/elevator-trim</property>
            </binding>
        </hovered>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>ElevatorTrimPos</object-name>
        <property>controls/flight/elevator-trim</property>
        <factor>-12</factor>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
        <center>
            <x-m>-0.406</x-m>
            <y-m>-0.20</y-m>
            <z-m>-0.48</z-m>
        </center>
    </animation>

    <!-- Hide interior glass when in exterior view unless raining-->
    <animation>
        <type>select</type>
        <object-name>glas_interior</object-name>
        <object-name>leftwindow_interior</object-name>
        <object-name>rightwindow_interior</object-name>
        <object-name>glas_interior_sides</object-name>
        <condition>
            <or>
                <property>/sim/current-view/internal</property>
                <property>/environment/rain-norm</property>
            </or>
        </condition>
    </animation>

    <!-- Fuel Selector -->
    <animation>
        <type>select</type>
        <object-name>FuelSelectorOff</object-name>
        <condition>
            <and>
                <not>
                    <property>consumables/fuel/tank[0]/selected</property>
                </not>
                <not>
                    <property>consumables/fuel/tank[1]/selected</property>
                </not>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>FuelSelectorLeft</object-name>
        <condition>
            <and>
                <property>consumables/fuel/tank[0]/selected</property>
                <not>
                    <property>consumables/fuel/tank[1]/selected</property>
                </not>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>FuelSelectorRight</object-name>
        <condition>
            <and>
                <not>
                    <property>consumables/fuel/tank[0]/selected</property>
                </not>
                <property>consumables/fuel/tank[1]/selected</property>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>FuelSelectorBoth</object-name>
        <condition>
            <and>
                <property>consumables/fuel/tank[0]/selected</property>
                <property>consumables/fuel/tank[1]/selected</property>
            </and>
        </condition>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>FuelHotspotOff</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>property-assign</command>
                <property>consumables/fuel/tank[0]/selected</property>
                <value>false</value>
            </binding>
            <binding>
                <command>property-assign</command>
                <property>consumables/fuel/tank[1]/selected</property>
                <value>false</value>
            </binding>
        </action>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>FuelHotspotLeft</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>property-assign</command>
                <property>consumables/fuel/tank[0]/selected</property>
                <value>true</value>
            </binding>
            <binding>
                <command>property-assign</command>
                <property>consumables/fuel/tank[1]/selected</property>
                <value>false</value>
            </binding>
        </action>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>FuelHotspotRight</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>property-assign</command>
                <property>consumables/fuel/tank[0]/selected</property>
                <value>false</value>
            </binding>
            <binding>
                <command>property-assign</command>
                <property>consumables/fuel/tank[1]/selected</property>
                <value>true</value>
            </binding>
        </action>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>FuelHotspotBoth</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>property-assign</command>
                <property>consumables/fuel/tank[0]/selected</property>
                <value>true</value>
            </binding>
            <binding>
                <command>property-assign</command>
                <property>consumables/fuel/tank[1]/selected</property>
                <value>true</value>
            </binding>
        </action>
    </animation>

    <!-- Switches -->
    <animation>
        <type>rotate</type>
        <object-name>TaxiLightSwitch</object-name>
        <property>controls/lighting/taxi-light</property>
        <factor>-55</factor>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
        <center>
            <x-m>-0.363</x-m>
            <y-m>0</y-m>
            <z-m>-0.221</z-m>
        </center>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>LandingLightSwitch</object-name>
        <property>controls/lighting/landing-lights</property>
        <factor>-55</factor>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
        <center>
            <x-m>-0.363</x-m>
            <y-m>0</y-m>
            <z-m>-0.221</z-m>
        </center>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>PitotHeatSwitch</object-name>
        <property>controls/anti-ice/pitot-heat</property>
        <factor>-55</factor>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
        <center>
            <x-m>-0.363</x-m>
            <y-m>0</y-m>
            <z-m>-0.269</z-m>
        </center>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>NavLightSwitch</object-name>
        <property>controls/lighting/nav-lights</property>
        <factor>-55</factor>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
        <center>
            <x-m>-0.363</x-m>
            <y-m>0</y-m>
            <z-m>-0.269</z-m>
        </center>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>BeaconSwitch</object-name>
        <property>controls/lighting/beacon</property>
        <factor>-55</factor>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
        <center>
            <x-m>-0.363</x-m>
            <y-m>0</y-m>
            <z-m>-0.269</z-m>
        </center>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>StrobeSwitch</object-name>
        <property>controls/lighting/strobe</property>
        <factor>-55</factor>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
        <center>
            <x-m>-0.363</x-m>
            <y-m>0</y-m>
            <z-m>-0.269</z-m>
        </center>
    </animation>

    <!-- MOD: MASTER/GEN Switches included 3/3 -->

    <!-- MasterSwitch -->
    <animation>
        <type>rotate</type>
        <object-name>MasterSwitch</object-name>
        <property>controls/switches/master-bat</property>
        <factor>-10</factor>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
        <center>
            <x-m>-0.36529</x-m>
            <y-m>0</y-m>
            <z-m>-0.23981</z-m>
        </center>
    </animation>

    <!-- GenSwitch -->
    <animation>
        <type>rotate</type>
        <object-name>GenSwitch</object-name>
        <property>controls/switches/master-alt</property>
        <factor>-10</factor>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
        <center>
            <x-m>-0.36529</x-m>
            <y-m>0</y-m>
            <z-m>-0.23971</z-m>
        </center>
    </animation>
    <!-- MODEND: MASTER/GEN 3/3 -->

    <!-- Interior -->
    <animation>
        <name>InstrumentsGroup</name>
        <!-- Note: excluding AI and Turn because they are clearly visible even from a distance -->
        <object-name>Gear</object-name>
        <object-name>Altimeter</object-name>
        <object-name>BatteryGauge</object-name>
        <object-name>Kap140</object-name>
        <object-name>dme</object-name>
        <object-name>asi</object-name>
        <object-name>VSI</object-name>
        <object-name>RPM</object-name>
        <object-name>EGT</object-name>
        <object-name>hi</object-name>
        <object-name>avor</object-name>
        <object-name>vor2</object-name>
        <object-name>adf</object-name>
        <object-name>clock</object-name>
        <object-name>vac</object-name>
        <object-name>fuel</object-name>
        <object-name>oil</object-name>
        <object-name>BreakersAndAvionicsSwitch</object-name>
    </animation>
    <animation>
        <name>RadioGroup</name>
        <object-name>kx165-1</object-name>
        <object-name>kx165-2</object-name>
        <object-name>kma20</object-name>
        <object-name>kr87</object-name>
        <object-name>transponder</object-name>
    </animation>
    <animation>
        <type>range</type>
        <object-name>InstrumentsGroup</object-name>
        <object-name>ControlsGroup</object-name>
        <min-m>0</min-m>
        <max-m>35</max-m>
    </animation>
    <animation>
        <type>range</type>
        <object-name>RadioGroup</object-name>
        <min-m>0</min-m>
        <max-m>60</max-m>
    </animation>

    <!-- Airframe -->
    <animation>
        <type>select</type>
        <object-name>Propeller</object-name>
        <condition>
            <less-than>
                <property alias="/params/engine/rpm"/>
                <value>500</value>
            </less-than>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>Propeller.Fast</object-name>
        <nopreview/>
        <condition>
            <greater-than>
                <property alias="/params/engine/rpm"/>
                <value>400</value>
            </greater-than>
        </condition>
    </animation>
    <animation>
        <type>blend</type>
        <object-name>Propeller.Fast</object-name>
        <property alias="/params/engine/rpm"/>
        <factor>0.0004</factor>
        <max>0.5</max>
        <min>0.0</min>
    </animation>

    <!-- ================================================================== -->
    <!-- ALS Lighting                                                       -->
    <!-- ================================================================== -->

    <animation>
        <type>select</type>
        <object-name>nav-light-left</object-name>
        <nopreview/>
        <condition>
            <and>
                <property alias="/params/lighting/navigation"/>
                <property>/sim/rendering/shaders/skydome</property>
                <not-equals>
                    <property alias="/params/wing_left_damaged/property"/>
                    <value>1</value>
                </not-equals>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>nav-light-right</object-name>
        <nopreview/>
        <condition>
            <and>
                <property alias="/params/lighting/navigation"/>
                <property>/sim/rendering/shaders/skydome</property>
                <not-equals>
                    <property alias="/params/wing_right_damaged/property"/>
                    <value>1</value>
                </not-equals>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>nav-light-tail</object-name>
        <nopreview/>
        <condition>
            <and>
                <property alias="/params/lighting/navigation"/>
                <property>/sim/rendering/shaders/skydome</property>
            </and>
        </condition>
    </animation>

    <!-- ================================================================== -->
    <!-- Basic And Rembrandt Lighting                                       -->
    <!-- ================================================================== -->

    <animation>
        <type>select</type>
        <object-name>navlight_left</object-name><!-- TODO Drop Rembrandt or add a real Rembrandt light -->
        <nopreview/>
        <condition>
            <and>
                <property alias="/params/lighting/navigation"/>
                <not>
                    <property>/sim/rendering/shaders/skydome</property>
                </not>
                <not-equals>
                    <property alias="/params/wing_left_damaged/property"/>
                    <value>1</value>
                </not-equals>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>navlight_right</object-name><!-- TODO Drop Rembrandt or add a real Rembrandt light -->
        <nopreview/>
        <condition>
            <and>
                <property alias="/params/lighting/navigation"/>
                <not>
                    <property>/sim/rendering/shaders/skydome</property>
                </not>
                <not-equals>
                    <property alias="/params/wing_right_damaged/property"/>
                    <value>1</value>
                </not-equals>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>navlight_back</object-name><!-- TODO Drop Rembrandt or add a real Rembrandt light -->
        <nopreview/>
        <condition>
            <and>
                <property alias="/params/lighting/navigation"/>
                <not>
                    <property>/sim/rendering/shaders/skydome</property>
                </not>
            </and>
        </condition>
    </animation>

    <animation>
        <type>spin</type>
        <object-name>Propeller</object-name>
        <object-name>Spinner</object-name>
        <property alias="/params/engine/rpm"/>
        <factor>-1</factor>
        <center>
            <x-m>-1.79</x-m>
            <y-m>0</y-m>
            <z-m>-0.05</z-m>
        </center>
        <axis>
            <x>1.0</x>
            <y>0.0</y>
            <z>-0.05240773494</z>
        </axis>
    </animation>
    <animation>
        <type>spin</type>
        <object-name>Propeller.Fast</object-name>
        <object-name>Spinner</object-name>
        <property alias="/params/engine/rpm"/>
        <factor>-0.001</factor>
        <center>
            <x-m>-1.79</x-m>
            <y-m>0</y-m>
            <z-m>-0.05</z-m>
        </center>
        <axis>
            <x>1.0</x>
            <y>0.0</y>
            <z>-0.05240773494</z>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>leftaileron</object-name>
        <!-- Damage Mod -->
        <object-name>leftaileronRD</object-name>
        <object-name>leftaileronLD</object-name>
        <object-name>leftaileronBD</object-name>
        <object-name>leftaileronCollapse</object-name>
        <property>surface-positions/left-aileron-pos-norm</property>
        <condition>
            <and>
                <not-equals>
                    <property alias="/params/wing_left_damaged/property"/>
                    <value>1</value>
                </not-equals>
                <not>
                    <property alias="/params/crash/property"/>
                </not>
            </and>
        </condition>
        <interpolation>
            <entry>
                <ind>-1.0</ind>
                <dep>-15</dep>
            </entry>
            <entry>
                <ind>0.0</ind>
                <dep>0</dep>
            </entry>
            <entry>
                <ind>1.0</ind>
                <dep>20</dep>
            </entry>
        </interpolation>
        <axis>
            <x1-m>0.862</x1-m>
            <y1-m>-5.464</y1-m>
            <z1-m>0.459</z1-m>
            <x2-m>1.158</x2-m>
            <y2-m>-2.616</y2-m>
            <z2-m>0.337</z2-m>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>rightaileron</object-name>
        <!-- Damage Mod -->
        <object-name>rightaileronRD</object-name>
        <object-name>rightaileronLD</object-name>
        <object-name>rightaileronBD</object-name>
        <object-name>rightaileronCollapse</object-name>
        <property>surface-positions/right-aileron-pos-norm</property>
        <condition>
            <and>
                <less-than>
                    <property alias="/params/wing_right_damaged/property"/>
                    <value>1.0</value>
                </less-than>
                <not>
                    <property alias="/params/crash/property"/>
                </not>
            </and>
        </condition>
        <interpolation>
            <entry>
                <ind>-1.0</ind>
                <dep>20</dep>
            </entry>
            <entry>
                <ind>0.0</ind>
                <dep>0</dep>
            </entry>
            <entry>
                <ind>1.0</ind>
                <dep>-15</dep>
            </entry>
        </interpolation>
        <axis>
            <x1-m>1.158</x1-m>
            <y1-m>2.616</y1-m>
            <z1-m>0.337</z1-m>
            <x2-m>0.862</x2-m>
            <y2-m>5.464</y2-m>
            <z2-m>0.459</z2-m>
        </axis>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>flaps</object-name>
        <!-- Damage Mod -->
        <object-name>flapsD</object-name>
        <property>surface-positions/flap-pos-norm</property>
        <factor>0.07</factor>
        <axis>
            <x>1.0</x>
            <y>0.0</y>
            <z>0.0</z>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>flaps</object-name>
        <!-- Damage Mod -->
        <object-name>flapsD</object-name>
        <property>surface-positions/flap-pos-norm</property>
        <factor>30</factor>
        <center>
            <x-m>1.152</x-m>
            <y-m>-0.53</y-m>
            <z-m>0.32</z-m>
        </center>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>elevatorleft</object-name>
        <property>surface-positions/elevator-pos-norm</property>
        <interpolation>
            <entry>
                <ind>-1.0</ind>
                <dep>28</dep>
            </entry>
            <entry>
                <ind>0</ind>
                <dep>0</dep>
            </entry>
            <entry>
                <ind>1.0</ind>
                <dep>-23</dep>
            </entry>
        </interpolation>
        <axis>
            <x1-m>4.87869</x1-m>
            <y1-m>-0.1350</y1-m>
            <z1-m>-0.42222</z1-m>
            <x2-m>4.7439</x2-m>
            <y2-m>-1.7279</y2-m>
            <z2-m>-0.4222</z2-m>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>elevatorright</object-name>
        <property>surface-positions/elevator-pos-norm</property>
        <interpolation>
            <entry>
                <ind>-1.0</ind>
                <dep>28</dep>
            </entry>
            <entry>
                <ind>0</ind>
                <dep>0</dep>
            </entry>
            <entry>
                <ind>1.0</ind>
                <dep>-23</dep>
            </entry>
        </interpolation>
        <axis>
            <x1-m>4.7439</x1-m>
            <y1-m>1.7279</y1-m>
            <z1-m>-0.4222</z1-m>
            <x2-m>4.87869</x2-m>
            <y2-m>0.1350</y2-m>
            <z2-m>-0.42222</z2-m>
        </axis>
    </animation>
    <!--<animation>
        <type>rotate</type>
        <object-name>ElevatorTrimTab</object-name>
        <property>controls/flight/elevator-trim</property>
        <factor>25</factor>
        <center>
            <x-m>5.06</x-m>
            <y-m>1.12</y-m>
            <z-m>-0.18</z-m>
        </center>
        <axis>
            <x>0.17</x>
            <y>-0.82</y>
            <z>0.0</z>
        </axis>
    </animation>-->
    <animation>
        <type>rotate</type>
        <object-name>rudder</object-name>
        <object-name>rudder_1</object-name>
        <object-name>RearNavLightOff</object-name>
        <property>surface-positions/rudder-pos-norm</property>
        <factor>13</factor>
        <axis>
            <x1-m>4.918</x1-m>
            <y1-m>0</y1-m>
            <z1-m>-0.310</z1-m>
            <x2-m>5.805</x2-m>
            <y2-m>-0.013</y2-m>
            <z2-m>1.007</z2-m>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>fairing1</object-name>
        <object-name>NoseWheel</object-name>
        <object-name>NoseWheelStrut</object-name>
        <object-name>TopLink</object-name>
        <object-name>BottomLink</object-name>
        <object-name>Axle</object-name>
        <!-- Bushkit Mod -->
        <object-name>NoseWheelBK</object-name>
        <object-name>NoseWheelStrutBK</object-name>
        <object-name>AxleBK.001</object-name>
        <object-name>NoseSki</object-name>
        <object-name>NoseSkiAxle</object-name>
        <object-name>NoseSkiAxleBl</object-name>
        <object-name>NoseSkiAxleBr</object-name>
        <object-name>NoseSkiBraceL</object-name>
        <object-name>NoseSkiBraceR</object-name>
        <object-name>NoseSkiWireF</object-name>
        <object-name>NoseCableConnect</object-name>
        <object-name>NoseSkiWheel</object-name>
        <object-name>NoseSkiWheelAxleL</object-name>
        <object-name>NoseSkiWheelAxleR</object-name>
        <property>surface-positions/rudder-pos-norm</property>
        <factor>30</factor>
        <axis>
            <x1-m>-0.975</x1-m>
            <y1-m>0</y1-m>
            <z1-m>-0.6781</z1-m>
            <x2-m>-1.123</x2-m>
            <y2-m>0.0</y2-m>
            <z2-m>-1.172</z2-m>
        </axis>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>fairing1</object-name>
        <object-name>NoseWheel</object-name>
        <object-name>NoseWheelStrut</object-name>
        <object-name>BottomLink</object-name>
        <object-name>Axle</object-name>
        <!-- Bushkit Mod -->
        <object-name>NoseWheelBK</object-name>
        <object-name>NoseWheelStrutBK</object-name>
        <object-name>AxleBK.001</object-name>
        <object-name>NoseSki</object-name>
        <object-name>NoseSkiAxle</object-name>
        <object-name>NoseSkiAxleBl</object-name>
        <object-name>NoseSkiAxleBr</object-name>
        <object-name>NoseSkiBraceL</object-name>
        <object-name>NoseSkiBraceR</object-name>
        <object-name>NoseSkiWireF</object-name>
        <object-name>NoseCableConnect</object-name>
        <object-name>NoseSkiWheel</object-name>
        <object-name>NoseSkiWheelAxleL</object-name>
        <object-name>NoseSkiWheelAxleR</object-name>
        <property>gear/gear[0]/compression-norm</property>
        <factor>0.30</factor>
        <axis>
            <x>0.3</x>
            <y>0</y>
            <z>1.0</z>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>TopLink</object-name>
        <property>gear/gear[0]/compression-norm</property>
        <center>
            <x-m>-0.95412</x-m>
            <y-m>0.0</y-m>
            <z-m>-0.72408</z-m>
        </center>
        <axis>
            <x>0.0</x>
            <y>-1.0</y>
            <z>0.0</z>
        </axis>
        <interpolation include="GearScissorInterpolation.xml"/>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>BottomLink</object-name>
        <property>gear/gear[0]/compression-norm</property>
        <center>
            <x-m>-1.02349</x-m>
            <y-m>0.0</y-m>
            <z-m>-0.95449</z-m>
        </center>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
        <interpolation include="GearScissorInterpolation.xml"/>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>fairing3</object-name>
        <object-name>RightWheelStrut</object-name>
        <object-name>RightWheel</object-name>
        <!-- Bushkit Mod -->
        <object-name>RightWheelBK</object-name>
        <object-name>RightWheelBKs</object-name>
        <object-name>RightSki</object-name>
        <object-name>RightSkiAxle</object-name>
        <object-name>RightSkiAxleBl</object-name>
        <object-name>RightSkiAxleBr</object-name>
        <object-name>RightSkiBraceL</object-name>
        <object-name>RightSkiBraceR</object-name>
        <object-name>RightSkiWireF</object-name>
        <object-name>RightSkiWireB</object-name>
        <object-name>RightCableConnectF</object-name>
        <object-name>RightCableConnectB</object-name>
        <object-name>RightSkiWheel</object-name>
        <object-name>RightSkiWheelAxle</object-name>
        <property>gear/gear[2]/compression-norm</property>
        <center>
            <x-m>0.711</x-m>
            <y-m>0.4518</y-m>
            <z-m>-0.70</z-m>
        </center>
        <axis>
            <x>1.0</x>
            <y>0.0</y>
            <z>0.0</z>
        </axis>
        <interpolation include="MainRotationInterpolation.xml"/>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>fairing2</object-name>
        <object-name>LeftWheelStrut</object-name>
        <object-name>LeftWheel</object-name>
        <!-- Bushkit Mod -->
        <object-name>LeftWheelBK</object-name>
        <object-name>LeftWheelBKs</object-name>
        <object-name>LeftSki</object-name>
        <object-name>LeftSkiAxle</object-name>
        <object-name>LeftSkiAxleBl</object-name>
        <object-name>LeftSkiAxleBr</object-name>
        <object-name>LeftSkiBraceL</object-name>
        <object-name>LeftSkiBraceR</object-name>
        <object-name>LeftSkiWireF</object-name>
        <object-name>LeftSkiWireB</object-name>
        <object-name>LeftCableConnectF</object-name>
        <object-name>LeftCableConnectB</object-name>
        <object-name>LeftSkiWheel</object-name>
        <object-name>LeftSkiWheelAxle</object-name>
        <property>gear/gear[1]/compression-norm</property>
        <center>
            <x-m>0.711</x-m>
            <y-m>-0.4518</y-m>
            <z-m>-0.70</z-m>
        </center>
        <axis>
            <x>-1.0</x>
            <y>0.0</y>
            <z>0.0</z>
        </axis>
        <interpolation include="MainRotationInterpolation.xml"/>
    </animation>

    <!-- Rotate front ski angle from 0 to 10 deg -->
    <animation>
        <type>rotate</type>
        <object-name>NoseSki</object-name>
        <object-name>NoseSkiAxle</object-name>
        <object-name>NoseSkiAxleBl</object-name>
        <object-name>NoseSkiAxleBr</object-name>
        <object-name>NoseSkiBraceL</object-name>
        <object-name>NoseSkiBraceR</object-name>
        <object-name>NoseSkiWireF</object-name>
        <object-name>NoseCableConnect</object-name>
        <object-name>NoseSkiWheel</object-name>
        <object-name>NoseSkiWheelAxleL</object-name>
        <object-name>NoseSkiWheelAxleR</object-name>
        <property>/fdm/jsbsim/ski/atan-actual</property>
        <interpolation>
            <entry>
                <ind>0.65</ind>
                <dep>0.0</dep>
            </entry>
            <entry>
                <ind>0.61</ind>
                <dep>10.0</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>-1.113</x-m>
            <y-m>-0.004</y-m>
            <z-m>-1.202</z-m>
        </center>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
    </animation>

    <!-- rotate front ski wire -->
    <animation>
        <type>rotate</type>
        <object-name>NoseSkiWireF</object-name>
        <property>/fdm/jsbsim/ski/atan-actual</property>
        <interpolation>
             <entry>
                <ind>0.6517</ind>
                <dep>0.0</dep>
            </entry>
            <entry>
                <ind>0.493</ind>
                <dep>-3</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>-2.1396</x-m>
            <y-m>-0.0177</y-m>
            <z-m>-1.1274</z-m>
        </center>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
    </animation>

    <!-- rotate left ski atan above-equal 1.78 agl -->
    <animation>
        <type>rotate</type>
        <object-name>LeftSki</object-name>
        <object-name>LeftSkiAxleBl</object-name>
        <object-name>LeftSkiAxleBr</object-name>
        <object-name>LeftSkiBraceL</object-name>
        <object-name>LeftSkiBraceR</object-name>
        <object-name>LeftSkiWireF</object-name>
        <object-name>LeftSkiWireB</object-name>
        <object-name>LeftCableConnectF</object-name>
        <object-name>LeftCableConnectB</object-name>
        <object-name>LeftSkiWheel</object-name>
        <object-name>LeftSkiWheelAxle</object-name>
        <property>/fdm/jsbsim/ski/atan-actual</property>
        <interpolation>
            <entry>
                <ind>0.6517</ind>
                <dep>0.0</dep>
            </entry>
            <entry>
                <ind>0.493</ind>
                <dep>10.0</dep>
            </entry>
        </interpolation>
        <center>
            <x-m> 0.528</x-m>
            <y-m>-1.179</y-m>
            <z-m>-1.148</z-m>
        </center>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
    </animation>

    <!-- rotate left front bungee (top) ski wire -->
    <animation>
        <type>rotate</type>
        <object-name>LeftSkiSpring</object-name>
        <property>/fdm/jsbsim/ski/atan-actual</property>
        <interpolation>
             <entry>
                <ind>0.6517</ind>
                <dep>0.</dep>
            </entry>
            <entry>
                <ind>0.493</ind>
                <dep>1</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>-0.6362</x-m>
            <y-m>-0.5327</y-m>
            <z-m>-0.1468</z-m>
        </center>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>LeftSkiSpring</object-name>
        <property>/fdm/jsbsim/ski/atan-actual</property>
        <interpolation>
             <entry>
                <ind>0.6517</ind>
                <dep>0.0</dep>
            </entry>
            <entry>
                <ind>0.493</ind>
                <dep>-6</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>-0.6362</x-m>
            <y-m>-0.5327</y-m>
            <z-m>-0.1468</z-m>
        </center>
        <axis>
            <x>1.0</x>
            <y>0.0</y>
            <z>0.0</z>
        </axis>
    </animation>

    <!-- rotate left front bottom ski wire -->
    <animation>
        <type>rotate</type>
        <object-name>LeftSkiWireF</object-name>
        <property>/fdm/jsbsim/ski/atan-actual</property>
        <interpolation>
             <entry>
                <ind>0.6517</ind>
                <dep>0.0</dep>
            </entry>
            <entry>
                <ind>0.493</ind>
                <dep>-8</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>-0.8426</x-m>
            <y-m>-0.9569</y-m>
            <z-m>-1.1537</z-m>
        </center>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>LeftSkiWireF</object-name>
        <property>/fdm/jsbsim/ski/atan-actual</property>
        <interpolation>
            <entry>
                <ind>0.6517</ind>
                <dep>0.0</dep>
            </entry>
            <entry>
                <ind>0.493</ind>
                <dep>-6</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>-0.8426</x-m>
            <y-m>-0.9569</y-m>
            <z-m>-1.1537</z-m>
        </center>
        <axis>
            <x>1.0</x>
            <y>0.0</y>
            <z>0.0</z>
        </axis>
    </animation>

    <!-- rotate left back ski wire -->
    <animation>
        <type>rotate</type>
        <object-name>LeftSkiWireB</object-name>
        <property>/fdm/jsbsim/ski/atan-actual</property>
        <interpolation>
             <entry>
                <ind>0.6517</ind>
                <dep>0.0</dep>
            </entry>
            <entry>
                <ind>0.493</ind>
                <dep>-3</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>1.4231</x-m>
            <y-m>-0.9603</y-m>
            <z-m>-1.3955</z-m>
        </center>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
    </animation>

    <!-- rotate right ski atan above-equal 1.78 agl -->
    <animation>
        <type>rotate</type>
        <object-name>RightSki</object-name>
        <object-name>RightSkiAxleBl</object-name>
        <object-name>RightSkiAxleBr</object-name>
        <object-name>RightSkiBraceL</object-name>
        <object-name>RightSkiBraceR</object-name>
        <object-name>RightSkiWireF</object-name>
        <object-name>RightSkiWireB</object-name>
        <object-name>RightCableConnectF</object-name>
        <object-name>RightCableConnectB</object-name>
        <object-name>RightSkiWheel</object-name>
        <object-name>RightSkiWheelAxle</object-name>
        <property>/fdm/jsbsim/ski/atan-actual</property>
        <interpolation>
            <entry>
                <ind>0.6517</ind>
                <dep>0.0</dep>
            </entry>
            <entry>
                <ind>0.493</ind>
                <dep>10.0</dep>
            </entry>
        </interpolation>
        <center>
            <x-m> 0.530</x-m>
            <y-m>1.189</y-m>
            <z-m>-1.145</z-m>
        </center>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
    </animation>

    <!-- rotate right front bungee (top) ski wire -->
    <animation>
        <type>rotate</type>
        <object-name>RightSkiSpring</object-name>
        <property>/fdm/jsbsim/ski/atan-actual</property>
        <interpolation>
             <entry>
                <ind>0.6517</ind>
                <dep>0.0</dep>
            </entry>
            <entry>
                <ind>0.493</ind>
                <dep>2</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>-0.6344</x-m>
            <y-m>0.5495</y-m>
            <z-m>-0.1629</z-m>
        </center>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>RightSkiSpring</object-name>
        <property>/fdm/jsbsim/ski/atan-actual</property>
        <interpolation>
             <entry>
                <ind>0.6517</ind>
                <dep>0.0</dep>
            </entry>
            <entry>
                <ind>0.493</ind>
                <dep>6</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>-0.6344</x-m>
            <y-m>0.5495</y-m>
            <z-m>-0.1629</z-m>
        </center>
        <axis>
            <x>1.0</x>
            <y>0.0</y>
            <z>0.0</z>
        </axis>
    </animation>

    <!-- rotate right front bottom ski wire -->
    <animation>
        <type>rotate</type>
        <object-name>RightSkiWireF</object-name>
        <property>/fdm/jsbsim/ski/atan-actual</property>
        <interpolation>
             <entry>
                <ind>0.6517</ind>
                <dep>0.0</dep>
            </entry>
            <entry>
                <ind>0.493</ind>
                <dep>-8</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>-0.844</x-m>
            <y-m> 0.9575</y-m>
            <z-m>-1.1582</z-m>
        </center>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>RightSkiWireF</object-name>
        <property>/fdm/jsbsim/ski/atan-actual</property>
        <interpolation>
            <entry>
                <ind>0.6517</ind>
                <dep>0.0</dep>
            </entry>
            <entry>
                <ind>0.493</ind>
                <dep>6</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>-0.844</x-m>
            <y-m> 0.9575</y-m>
            <z-m>-1.1582</z-m>
        </center>
        <axis>
            <x>1.0</x>
            <y>0.0</y>
            <z>0.0</z>
        </axis>
    </animation>

    <!-- rotate right rear ski wire -->
    <animation>
        <type>rotate</type>
        <object-name>RightSkiWireB</object-name>
        <property>/fdm/jsbsim/ski/atan-actual</property>
        <interpolation>
             <entry>
                <ind>0.6517</ind>
                <dep>0.0</dep>
            </entry>
            <entry>
                <ind>0.493</ind>
                <dep>-3.5</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>1.4278</x-m>
            <y-m>0.9737</y-m>
            <z-m>-1.3889</z-m>
        </center>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
    </animation>

    <!-- MOD: Spin to gears -->
    <animation>
        <type>spin</type>
        <object-name>RightWheel</object-name>
        <!-- Bushkit Mod -->
        <object-name>RightWheelBK</object-name>
        <object-name>RightWheelBKs</object-name>

        <expression>
            <product>
                <property alias="/params/gear/right-rollspeed-ms"/>
                <property>/fdm/jsbsim/gear/gear-spin-right</property>
            </product>
        </expression>
        <axis>
            <x>0</x>
            <y>-1</y>
            <z>0</z>
        </axis>
        <center>
            <x-m>0.53015</x-m>
            <y-m>1.127</y-m>
            <z-m>-1.14693</z-m>
        </center>
    </animation>
    <animation>
        <type>spin</type>
        <object-name>LeftWheel</object-name>
        <!-- Bushkit Mod -->
        <object-name>LeftWheelBK</object-name>
        <object-name>LeftWheelBKs</object-name>
        <expression>
            <product>
                <property alias="/params/gear/left-rollspeed-ms"/>
                <property>/fdm/jsbsim/gear/gear-spin-left</property>
            </product>
        </expression>
        <axis>
            <x>0</x>
            <y>-1</y>
            <z>0</z>
        </axis>
        <center>
            <x-m>0.53015</x-m>
            <y-m>-1.127</y-m>
            <z-m>-1.14693</z-m>
        </center>
    </animation>
    <animation>
        <type>spin</type>
        <object-name>NoseWheel</object-name>
        <!-- Bushkit Mod -->
        <object-name>NoseWheelBK</object-name>
        <expression>
            <product>
                <property alias="/params/gear/nose-rollspeed-ms"/>
                <property>/fdm/jsbsim/gear/gear-spin-nose</property>
            </product>
        </expression>
        <axis>
            <x>0</x>
            <y>-1</y>
            <z>0</z>
        </axis>
        <center>
            <x-m>-1.1149</x-m>
            <y-m>0.00000</y-m>
            <z-m>-1.1889</z-m>
        </center>
    </animation>

    <!-- Spin to Ski Wheels -->
    <animation>
        <type>spin</type>
        <object-name>NoseSkiWheel</object-name>
        <property alias="/params/gear-ski/ski-nose-rollspeed-ms"/>
        <factor>20</factor>
        <axis>
            <x>0</x>
            <y>-1</y>
            <z>0</z>
        </axis>
        <center>
            <x-m>-0.56607</x-m>
            <y-m>-0.00027</y-m>
            <z-m>-1.34917</z-m>
        </center>
    </animation>
    <animation>
        <type>spin</type>
        <object-name>LeftSkiWheel</object-name>
        <property alias="/params/gear-ski/ski-left-rollspeed-ms"/>
        <factor>18</factor>
        <axis>
            <x>0</x>
            <y>-1</y>
            <z>0</z>
        </axis>
        <center>
            <x-m>1.24648</x-m>
            <y-m>-1.30575</y-m>
            <z-m>-1.48968</z-m>
        </center>
    </animation>
    <animation>
        <type>spin</type>
        <object-name>RightSkiWheel</object-name>
        <property alias="/params/gear-ski/ski-right-rollspeed-ms"/>
        <factor>18</factor>
        <axis>
            <x>0</x>
            <y>-1</y>
            <z>0</z>
        </axis>
        <center>
            <x-m>1.24648</x-m>
            <y-m>1.33153</y-m>
            <z-m>-1.48274</z-m>
        </center>
    </animation>
    <!-- MODEND: Spin to gears -->

    <!-- Damage Mod  -->

    <!-- Props Not Damaged -->
    <animation>
        <type>select</type>
        <object-name>Propeller</object-name>
        <object-name>Spinner</object-name>
        <object-name>Propeller.Fast</object-name>
        <condition>
            <not>
                <property alias="/params/engine/crashed"/>
            </not>
        </condition>
    </animation>

    <!--Prop Damaged -->
    <animation>
        <type>select</type>
        <object-name>PropellerD</object-name>
        <object-name>SpinnerD</object-name>
        <condition>
            <property alias="/params/engine/crashed"/>
        </condition>
    </animation>

    <!-- Wing Flaps Damage -->
    <animation>
        <type>select</type>
        <object-name>flapsD</object-name>
        <condition>
            <or>
                <not-equals>
                    <property alias="/params/wing_left_damaged/property"/>
                    <value>0</value>
                </not-equals>
                <not-equals>
                    <property alias="/params/wing_right_damaged/property"/>
                    <value>0</value>
                </not-equals>
                <property alias="/params/crash/property"/>
            </or>
        </condition>
    </animation>

    <!-- Wings No Damage -->
    <animation>
        <type>select</type>
        <object-name>wing_1</object-name>
        <object-name>wing_0</object-name>
        <object-name>rightaileron</object-name>
        <object-name>leftaileron</object-name>
        <object-name>flaps</object-name>
        <object-name>RightNavLight</object-name>
        <object-name>LeftNavLight</object-name>
        <object-name>landinglightcover</object-name>
        <object-name>landinglight2</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/wing_left_damaged/property"/>
                    <value>0</value>
                </equals>
                <equals>
                    <property alias="/params/wing_right_damaged/property"/>
                    <value>0</value>
                </equals>
                <not>
                    <property alias="/params/crash/property"/>
                </not>
            </and>
        </condition>
    </animation>

    <!-- Wings Both Collapsed -->
    <animation>
        <type>select</type>
        <object-name>wing_1Collapse</object-name>
        <object-name>wing_0Collapse</object-name>
        <object-name>rightaileronCollapse</object-name>
        <object-name>leftaileronCollapse</object-name>
        <object-name>RightNavLightCollapse</object-name>
        <object-name>LeftNavLightCollapse</object-name>
        <object-name>landinglightcoverCollapse</object-name>
        <object-name>landinglight2Collapse</object-name>
        <condition>
            <property alias="/params/crash/property"/>
        </condition>
    </animation>

    <!-- Wings Both Broken -->
    <animation>
        <type>select</type>
        <object-name>wing_1BB</object-name>
        <condition>
            <and>
                <and>
                    <equals>
                        <property alias="/params/wing_left_damaged/property"/>
                        <value>1</value>
                    </equals>
                    <equals>
                        <property alias="/params/wing_right_damaged/property"/>
                        <value>1</value>
                    </equals>
                </and>
                <not>
                    <property alias="/params/crash/property"/>
                </not>
            </and>
        </condition>
    </animation>

    <!-- Wings Both Damaged -->
    <animation>
        <type>select</type>
        <object-name>wing_0BD</object-name>
        <object-name>wing_1BD</object-name>
        <object-name>rightaileronBD</object-name>
        <object-name>leftaileronBD</object-name>
        <object-name>RightNavLightBD</object-name>
        <object-name>LeftNavLightBD</object-name>
        <object-name>landinglightcoverBD</object-name>
        <object-name>landinglight2BD</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/wing_left_damaged/property"/>
                    <value>2</value>
                </equals>
                <equals>
                    <property alias="/params/wing_right_damaged/property"/>
                    <value>2</value>
                </equals>
                <not>
                    <property alias="/params/crash/property"/>
                </not>
            </and>
        </condition>
    </animation>

    <!-- Wings Left Damaged -->
    <animation>
        <type>select</type>
        <object-name>wing_0LD</object-name>
        <object-name>wing_1LD</object-name>
        <object-name>rightaileronLD</object-name>
        <object-name>leftaileronLD</object-name>
        <object-name>LeftNavLightD</object-name>
        <object-name>RightNavLightU</object-name>
        <object-name>landinglightcoverLD</object-name>
        <object-name>landinglight2LD</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/wing_left_damaged/property"/>
                    <value>2</value>
                </equals>
                <equals>
                    <property alias="/params/wing_right_damaged/property"/>
                    <value>0</value>
                </equals>
                <not>
                    <property alias="/params/crash/property"/>
                </not>
            </and>
        </condition>
    </animation>

    <!-- Wings Right Damaged -->
    <animation>
        <type>select</type>
        <object-name>wing_0RD</object-name>
        <object-name>wing_1RD</object-name>
        <object-name>rightaileronRD</object-name>
        <object-name>leftaileronRD</object-name>
        <object-name>RightNavLightD</object-name>
        <object-name>LeftNavLightU</object-name>
        <object-name>landinglightcoverRD</object-name>
        <object-name>landinglight2RD</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/wing_right_damaged/property"/>
                    <value>2</value>
                </equals>
                <equals>
                    <property alias="/params/wing_left_damaged/property"/>
                    <value>0</value>
                </equals>
                <not>
                    <property alias="/params/crash/property"/>
                </not>
            </and>
        </condition>
    </animation>

    <!-- Wings Left Broken Right Damaged -->
    <animation>
        <type>select</type>
        <object-name>wing_1RDLB</object-name>
        <object-name>rightaileronRDLB</object-name>
        <object-name>RightNavLightDLB</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/wing_left_damaged/property"/>
                    <value>1</value>
                </equals>
                <equals>
                    <property alias="/params/wing_right_damaged/property"/>
                    <value>2</value>
                </equals>
                <not>
                    <property alias="/params/crash/property"/>
                </not>
            </and>
        </condition>
    </animation>

    <!-- Wings Right Broken Left Damaged -->
    <animation>
        <type>select</type>
        <object-name>wing_0LDRB</object-name>
        <object-name>wing_1LDRB</object-name>
        <object-name>leftaileronLDRB</object-name>
        <object-name>LeftNavLightDRB</object-name>
        <object-name>landinglightcoverLDRB</object-name>
        <object-name>landinglight2LDRB</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/wing_right_damaged/property"/>
                    <value>1</value>
                </equals>
                <equals>
                    <property alias="/params/wing_left_damaged/property"/>
                    <value>2</value>
                </equals>
                <not>
                    <property alias="/params/crash/property"/>
                </not>
            </and>
        </condition>
    </animation>

    <!-- Wings Left Broken Right Un-damaged -->
    <animation>
        <type>select</type>
        <object-name>wing_1RGLB</object-name>
        <object-name>rightaileronRGLB</object-name>
        <object-name>RightNavLightGLB</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/wing_left_damaged/property"/>
                    <value>1</value>
                </equals>
                <equals>
                    <property alias="/params/wing_right_damaged/property"/>
                    <value>0</value>
                </equals>
                <not>
                    <property alias="/params/crash/property"/>
                </not>
            </and>
        </condition>
    </animation>

    <!-- Wings Right Broken Left Un-damaged -->
    <animation>
        <type>select</type>
        <object-name>wing_0LGRB</object-name>
        <object-name>wing_1LGRB</object-name>
        <object-name>leftaileronLGRB</object-name>
        <object-name>LeftNavLightGRB</object-name>
        <object-name>landinglightcoverLGRB</object-name>
        <object-name>landinglight2LGRB</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/wing_right_damaged/property"/>
                    <value>1</value>
                </equals>
                <equals>
                    <property alias="/params/wing_left_damaged/property"/>
                    <value>0</value>
                </equals>
                <not>
                    <property alias="/params/crash/property"/>
                </not>
            </and>
        </condition>
    </animation>

    <!-- Left Pontoons Not Damaged -->
    <animation>
        <type>select</type>
        <object-name>L-FloatC</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/pontoon_left_damaged/property"/>
                    <value>0</value>
                </equals>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>3</value>
                </equals>
            </and>
        </condition>
    </animation>

    <!-- Right Pontoons Not Damaged -->
    <animation>
        <type>select</type>
        <object-name>R-FloatC</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/pontoon_right_damaged/property"/>
                    <value>0</value>
                </equals>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>3</value>
                </equals>
            </and>
        </condition>
    </animation>

    <!-- Left Amphibious Not Damaged -->
    <animation>
        <type>select</type>
        <object-name>L-Float</object-name>
        <object-name>LRwheel</object-name>
        <object-name>LRAxle</object-name>
        <object-name>LFrontWheel</object-name>
        <object-name>LAxle</object-name>
        <object-name>LRtarm</object-name>
        <object-name>Ldamper</object-name>
        <object-name>Lstrut.001</object-name>
        <object-name>Lstrut.002</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/pontoon_left_damaged/property"/>
                    <value>0</value>
                </equals>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>4</value>
                </equals>
            </and>
        </condition>
    </animation>

    <!-- Right Amphibious Not Damaged -->
    <animation>
        <type>select</type>
        <object-name>R-Float</object-name>
        <object-name>RRwheel</object-name>
        <object-name>RRAxle</object-name>
        <object-name>RFrontWheel</object-name>
        <object-name>RAxle</object-name>
        <object-name>RRtarm</object-name>
        <object-name>Rdamper</object-name>
        <object-name>Rstrut.001</object-name>
        <object-name>Rstrut.002</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/pontoon_right_damaged/property"/>
                    <value>0</value>
                </equals>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>4</value>
                </equals>
            </and>
        </condition>
    </animation>

    <!-- Left Float Not Damaged -->
    <animation>
        <type>select</type>
        <object-name>LHrudder</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/pontoon_left_damaged/property"/>
                    <value>0</value>
                </equals>
                <or>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>3</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>4</value>
                    </equals>
                </or>
            </and>
        </condition>
    </animation>

    <!--Right Float Not Damaged -->
    <animation>
        <type>select</type>
        <object-name>RHrudder</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/pontoon_right_damaged/property"/>
                    <value>0</value>
                </equals>
                <or>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>3</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>4</value>
                    </equals>
                </or>
            </and>
        </condition>
    </animation>

    <!-- Pontoon and Amphibious -->
    <animation>
        <type>select</type>
        <object-name>RuddWires</object-name>
        <object-name>FloatStruts</object-name>
        <object-name>FloatReinforceLeft</object-name>
        <object-name>FloatReinforceRight</object-name>
        <object-name>FloatReinforceJoin</object-name>
        <object-name>RudderCatch</object-name>
        <object-name>RudderHandle</object-name>
        <object-name>RudderScrews</object-name>
        <object-name>RudderTube</object-name>
        <condition>
            <or>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>3</value>
                </equals>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>4</value>
                </equals>
            </or>
        </condition>
    </animation>

    <!-- Rudder cable -->
    <animation>
        <type>select</type>
        <object-name>RudderCable</object-name>
        <condition>
            <and>
                <or>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>3</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>4</value>
                    </equals>
                </or>
                <not>
                    <property>/controls/gear/water-rudder</property>
                </not>
            </and>
        </condition>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>RudderHandle</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <binding>
                <command>property-toggle</command>
                <property>/controls/gear/water-rudder</property>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <label>Water rudders: %s</label>
                <property>/controls/gear/water-rudder</property>
                <tooltip-id>water-rudders</tooltip-id>
                <mapping>down-up</mapping>
            </binding>
        </hovered>
    </animation>

    <animation>
        <type>translate</type>
        <object-name>RudderHandle</object-name>
        <property>/controls/gear/water-rudder</property>
        <factor>-0.21348</factor>
        <axis>
            <x>1.0</x>
            <y>0.0</y>
            <z>0.0</z>
        </axis>
    </animation>

    <!-- Left Pontoon Damaged -->
    <animation>
        <type>select</type>
        <object-name>L-FloatCD</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/pontoon_left_damaged/property"/>
                    <value>2</value>
                </equals>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>3</value>
                </equals>
            </and>
        </condition>
    </animation>

    <!--Right Pontoon Damaged -->
    <animation>
        <type>select</type>
        <object-name>R-FloatCD</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/pontoon_right_damaged/property"/>
                    <value>2</value>
                </equals>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>3</value>
                </equals>
            </and>
        </condition>
    </animation>

    <!--Left Pontoon Broken -->
    <animation>
        <type>select</type>
        <object-name>L-FloatCB</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/pontoon_left_damaged/property"/>
                    <value>1</value>
                </equals>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>3</value>
                </equals>
            </and>
        </condition>
    </animation>

    <!--Right Pontoon Broken -->
    <animation>
        <type>select</type>
        <object-name>R-FloatCB</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/pontoon_right_damaged/property"/>
                    <value>1</value>
                </equals>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>3</value>
                </equals>
            </and>
        </condition>
    </animation>

    <!-- Left Amphibious Damaged -->
    <animation>
        <type>select</type>
        <object-name>L-FloatOD</object-name>
        <object-name>LRwheelOD</object-name>
        <object-name>LdamperOD</object-name>
        <object-name>LstrutOD.001</object-name>
        <object-name>LstrutOD.002</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/pontoon_left_damaged/property"/>
                    <value>2</value>
                </equals>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>4</value>
                </equals>
            </and>
        </condition>
    </animation>

    <!--Right Amphibious Damaged -->
    <animation>
        <type>select</type>
        <object-name>R-FloatOD</object-name>
        <object-name>RRwheelOD</object-name>
        <object-name>RdamperOD</object-name>
        <object-name>RstrutOD.001</object-name>
        <object-name>RstrutOD.002</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/pontoon_right_damaged/property"/>
                    <value>2</value>
                </equals>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>4</value>
                </equals>
            </and>
        </condition>
    </animation>

    <!--Left Amphibious Broken -->
    <animation>
        <type>select</type>
        <object-name>L-FloatOB</object-name>
        <object-name>LRwheelOB</object-name>
        <object-name>LdamperOB</object-name>
        <object-name>LstrutOB.001</object-name>
        <object-name>LstrutOB.002</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/pontoon_left_damaged/property"/>
                    <value>1</value>
                </equals>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>4</value>
                </equals>
            </and>
        </condition>
    </animation>

    <!--Right Amphibious Broken -->
    <animation>
        <type>select</type>
        <object-name>R-FloatOB</object-name>
        <object-name>RRwheelOB</object-name>
        <object-name>RdamperOB</object-name>
        <object-name>RstrutOB.001</object-name>
        <object-name>RstrutOB.002</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/pontoon_right_damaged/property"/>
                    <value>1</value>
                </equals>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>4</value>
                </equals>
            </and>
        </condition>
    </animation>

    <!-- Left Float Damaged -->
    <animation>
        <type>select</type>
        <object-name>LHrudderD</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/pontoon_left_damaged/property"/>
                    <value>2</value>
                </equals>
                <or>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>3</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>4</value>
                    </equals>
                </or>
            </and>
        </condition>
    </animation>

    <!--Right Float Damaged -->
    <animation>
        <type>select</type>
        <object-name>RHrudderD</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/pontoon_right_damaged/property"/>
                    <value>2</value>
                </equals>
                <or>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>3</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>4</value>
                    </equals>
                </or>
            </and>
        </condition>
    </animation>

    <!--Left Float Broken -->
    <animation>
        <type>select</type>
        <object-name>LHrudderB</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/pontoon_left_damaged/property"/>
                    <value>1</value>
                </equals>
                <or>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>3</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>4</value>
                    </equals>
                </or>
            </and>
        </condition>
    </animation>

    <!--Right Float Broken -->
    <animation>
        <type>select</type>
        <object-name>RHrudderB</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/pontoon_right_damaged/property"/>
                    <value>1</value>
                </equals>
                <or>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>3</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>4</value>
                    </equals>
                </or>
            </and>
        </condition>
    </animation>

    <!-- Nose Gear No Damage -->
    <animation>
        <type>select</type>
        <object-name>NoseWheel</object-name>
        <object-name>Axle</object-name>
        <object-name>NoseWheelStrut</object-name>
        <condition>
            <and>
                <not>
                    <property alias="/params/gear_nose_broken/property"/>
                </not>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>0</value>
                </equals>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>NoseWheelBK</object-name>
        <object-name>NoseWheelStrutBK</object-name>
        <condition>
            <and>
                <not>
                    <property alias="/params/gear_nose_broken/property"/>
                </not>
                <or>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>1</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>2</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>5</value>
                    </equals>
                </or>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>AxleBK.001</object-name>
        <condition>
            <and>
                <not>
                    <property alias="/params/gear_nose_broken/property"/>
                </not>
                <or>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>1</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>2</value>
                    </equals>
                </or>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>TopLink</object-name>
        <object-name>BottomLink</object-name>
        <condition>
            <and>
                <not>
                    <property alias="/params/gear_nose_broken/property"/>
                </not>
                <or>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>0</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>1</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>2</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>5</value>
                    </equals>
                </or>
            </and>
        </condition>
    </animation>

    <!-- Nose Gear Damage -->
    <animation>
        <type>select</type>
        <object-name>NoseWheelD</object-name>
        <object-name>AxleD.001</object-name>
        <object-name>NoseWheelStrutD</object-name>
        <object-name>TopLinkD</object-name>
        <object-name>BottomLinkD</object-name>
        <condition>
            <and>
                <property alias="/params/gear_nose_broken/property"/>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>0</value>
                </equals>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>NoseWheelBKD</object-name>
        <object-name>AxleBKD.001</object-name>
        <object-name>NoseWheelStrutBKD</object-name>
        <object-name>TopLinkBKD</object-name>
        <object-name>BottomLinkBKD</object-name>
        <condition>
            <and>
                <property alias="/params/gear_nose_broken/property"/>
                <or>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>1</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>2</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>5</value>
                    </equals>
                </or>
            </and>
        </condition>
    </animation>

    <!-- Left Gear No Damage -->
    <animation>
        <type>select</type>
        <object-name>LeftWheel</object-name>
        <condition>
            <and>
                <not>
                    <property alias="/params/gear_left_broken/property"/>
                </not>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>0</value>
                </equals>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>LeftWheelBKs</object-name>
        <condition>
            <and>
                <not>
                    <property alias="/params/gear_left_broken/property"/>
                </not>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>1</value>
                </equals>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>LeftWheelBK</object-name>
        <condition>
            <and>
                <not>
                    <property alias="/params/gear_left_broken/property"/>
                </not>
                <or>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>2</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>5</value>
                    </equals>
                </or>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>LeftWheelStrut</object-name>
        <condition>
            <and>
                <not>
                    <property alias="/params/gear_left_broken/property"/>
                </not>
                <or>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>0</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>1</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>2</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>5</value>
                    </equals>
                </or>
            </and>
        </condition>
    </animation>

    <!-- Left Gear Damage -->
    <animation>
        <type>select</type>
        <object-name>LeftWheelD</object-name>
        <condition>
            <and>
                <property alias="/params/gear_left_broken/property"/>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>0</value>
                </equals>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>LeftWheelBKsD</object-name>
        <condition>
            <and>
                <property alias="/params/gear_left_broken/property"/>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>1</value>
                </equals>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>LeftWheelBKD</object-name>
        <condition>
            <and>
                <property alias="/params/gear_left_broken/property"/>
                <or>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>2</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>5</value>
                    </equals>
                </or>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>LeftWheelStrutBKD</object-name>
        <condition>
            <and>
                <property alias="/params/gear_left_broken/property"/>
                <or>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>0</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>1</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>2</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>5</value>
                    </equals>
                </or>
            </and>
        </condition>
    </animation>

    <!-- Right Gear No Damage -->
    <animation>
        <type>select</type>
        <object-name>RightWheel</object-name>
        <condition>
            <and>
                <not>
                    <property alias="/params/gear_right_broken/property"/>
                </not>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>0</value>
                </equals>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>RightWheelBKs</object-name>
        <condition>
            <and>
                <not>
                    <property alias="/params/gear_right_broken/property"/>
                </not>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>1</value>
                </equals>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>RightWheelBK</object-name>
        <condition>
            <and>
                <not>
                    <property alias="/params/gear_right_broken/property"/>
                </not>
                <or>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>2</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>5</value>
                    </equals>
                </or>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>RightWheelStrut</object-name>
        <condition>
            <and>
                <not>
                    <property alias="/params/gear_right_broken/property"/>
                </not>
                <or>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>0</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>1</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>2</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>5</value>
                    </equals>
                </or>
            </and>
        </condition>
    </animation>

    <!-- Right Gear Damage -->
    <animation>
        <type>select</type>
        <object-name>RightWheelD</object-name>
        <condition>
            <and>
                <property alias="/params/gear_right_broken/property"/>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>0</value>
                </equals>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>RightWheelBKsD</object-name>
        <condition>
            <and>
                <property alias="/params/gear_right_broken/property"/>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>1</value>
                </equals>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>RightWheelBKD</object-name>
        <condition>
            <and>
                <property alias="/params/gear_right_broken/property"/>
                <or>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>2</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>5</value>
                    </equals>
                </or>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>RightWheelStrutBKD</object-name>
        <condition>
            <and>
                <property alias="/params/gear_right_broken/property"/>
                <or>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>0</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>1</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>2</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>5</value>
                    </equals>
                </or>
            </and>
        </condition>
    </animation>

    <!-- Nose Ski No Damage -->
    <animation>
        <type>select</type>
        <object-name>NoseSki</object-name>
        <object-name>NoseSkiAxle</object-name>
        <object-name>NoseSkiAxleBl</object-name>
        <object-name>NoseSkiAxleBr</object-name>
        <object-name>NoseSkiBraceL</object-name>
        <object-name>NoseSkiBraceR</object-name>
        <object-name>NoseSkiWireF</object-name>
        <object-name>NoseCableConnect</object-name>
        <object-name>NoseSkiWheel</object-name>
        <object-name>NoseSkiWheelAxleL</object-name>
        <object-name>NoseSkiWheelAxleR</object-name>
        <condition>
            <and>
                <not>
                    <property alias="/params/gear_nose_broken/property"/>
                </not>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>5</value>
                </equals>
            </and>
        </condition>
    </animation>

    <!-- Nose Ski Damage -->
    <animation>
        <type>select</type>
        <object-name>NoseSkid</object-name>
        <object-name>NoseSkiAxled</object-name>
        <object-name>NoseSkiAxleBld</object-name>
        <object-name>NoseSkiAxleBrd</object-name>
        <object-name>NoseSkiBraceLd</object-name>
        <object-name>NoseSkiBraceRd</object-name>
        <object-name>NoseSkiWireFd</object-name>
        <object-name>NoseCableConnectd</object-name>
        <object-name>NoseSkiWheeld</object-name>
        <object-name>NoseSkiWheelAxleLd</object-name>
        <object-name>NoseSkiWheelAxleRd</object-name>
        <condition>
            <and>
                <property alias="/params/gear_nose_broken/property"/>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>5</value>
                </equals>
            </and>
        </condition>
    </animation>

    <!-- Left Ski No Damage -->
    <animation>
        <type>select</type>
        <object-name>LeftSki</object-name>
        <object-name>LeftSkiAxle</object-name>
        <object-name>LeftSkiAxleBl</object-name>
        <object-name>LeftSkiAxleBr</object-name>
        <object-name>LeftSkiBraceL</object-name>
        <object-name>LeftSkiBraceR</object-name>
        <object-name>LeftSkiWireF</object-name>
        <object-name>LeftSkiWireB</object-name>
        <object-name>LeftCableConnectF</object-name>
        <object-name>LeftCableConnectB</object-name>
        <object-name>LeftSkiWheel</object-name>
        <object-name>LeftCableConnectT</object-name>
        <object-name>LeftSkiSpring</object-name>
        <object-name>LeftSkiWheelAxle</object-name>
       <condition>
            <and>
                <not>
                    <property alias="/params/gear_left_broken/property"/>
                </not>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>5</value>
                </equals>
            </and>
        </condition>
    </animation>

    <!-- Left Ski Damage -->
    <animation>
        <type>select</type>
        <object-name>LeftSkid</object-name>
        <object-name>LeftSkiAxled</object-name>
        <object-name>LeftSkiAxleBld</object-name>
        <object-name>LeftSkiAxleBrd</object-name>
        <object-name>LeftSkiBraceLd</object-name>
        <object-name>LeftSkiBraceRd</object-name>
        <object-name>LeftSkiWireFd</object-name>
        <object-name>LeftSkiWireBd</object-name>
        <object-name>LeftCableConnectFd</object-name>
        <object-name>LeftCableConnectBd</object-name>
        <object-name>LeftCableConnectTd</object-name>
        <object-name>LeftSkiWheeld</object-name>
        <object-name>LeftSkiSpringd</object-name>
        <object-name>LeftSkiWheelAxled</object-name>
        <condition>
            <and>
                <property alias="/params/gear_left_broken/property"/>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>5</value>
                </equals>
            </and>
        </condition>
    </animation>

    <!-- Right Ski No Damage -->
    <animation>
        <type>select</type>
        <object-name>RightSki</object-name>
        <object-name>RightSkiAxle</object-name>
        <object-name>RightSkiAxleBl</object-name>
        <object-name>RightSkiAxleBr</object-name>
        <object-name>RightSkiBraceL</object-name>
        <object-name>RightSkiBraceR</object-name>
        <object-name>RightSkiWireF</object-name>
        <object-name>RightSkiWireB</object-name>
        <object-name>RightCableConnectF</object-name>
        <object-name>RightCableConnectB</object-name>
        <object-name>RightSkiWheel</object-name>
        <object-name>RightCableConnectT</object-name>
        <object-name>RightSkiSpring</object-name>
        <object-name>RightSkiWheelAxle</object-name>
        <condition>
            <and>
                <not>
                    <property alias="/params/gear_right_broken/property"/>
                </not>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>5</value>
                </equals>
            </and>
        </condition>
    </animation>

    <!-- Right Ski Damage -->
    <animation>
        <type>select</type>
        <object-name>RightSkid</object-name>
        <object-name>RightSkiAxled</object-name>
        <object-name>RightSkiAxleBld</object-name>
        <object-name>RightSkiAxleBrd</object-name>
        <object-name>RightSkiBraceLd</object-name>
        <object-name>RightSkiBraceRd</object-name>
        <object-name>RightCableConnectTd</object-name>
        <object-name>RightSkiWireFd</object-name>
        <object-name>RightSkiWireBd</object-name>
        <object-name>RightCableConnectFd</object-name>
        <object-name>RightCableConnectBd</object-name>
        <object-name>RightSkiWheeld</object-name>
        <object-name>RightSkiSpringd</object-name>
        <object-name>RightSkiWheelAxled</object-name>
        <condition>
            <and>
                <property alias="/params/gear_right_broken/property"/>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>5</value>
                </equals>
            </and>
        </condition>
    </animation>
    <!-- End Damage Mod-->

    <!-- ================================================================== -->
    <!-- Lighting                                                           -->
    <!-- ================================================================== -->

    <!-- Moves the red navigation light when then left wing is damaged -->
    <animation>
        <type>translate</type>
        <object-name>nav-light-left</object-name>
        <object-name>navlight_left</object-name><!-- TODO Drop Rembrandt or add a real Rembrandt light -->

        <!-- Magnitude (distance) of the vector -->
        <factor>0.59</factor>
        <property>sim/model/c172p/lighting/nav-lights/left-damaged</property>

        <!-- The vector pointing from the original position to the
             damaged position.
        -->
        <axis>
            <x>0.57</x>
            <y>0.3</y>
            <z>1.0</z>
        </axis>
    </animation>

    <!-- Moves the green navigation light when then right wing is damaged -->
    <animation>
        <type>translate</type>
        <object-name>nav-light-right</object-name>
        <object-name>navlight_right</object-name><!-- TODO Drop Rembrandt or add a real Rembrandt light -->

        <!-- Magnitude (distance) of the vector -->
        <factor>0.56</factor>
        <property>sim/model/c172p/lighting/nav-lights/right-damaged</property>

        <!-- The vector pointing from the original position to the
             damaged position.
        -->
        <axis>
            <x>0.33</x>
            <y>-0.05</y>
            <z>1.0</z>
        </axis>
    </animation>

    <!-- Disable/enable different light types depending on Rembrandt -->
    <animation>
        <type>select</type>
        <object-name>LandingLightCone</object-name>
        <condition>
            <and>
                <property>/sim/rendering/rembrandt/enabled</property>
                <property alias="/params/lighting/landing/property"/>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>TaxiLightCone</object-name>
        <condition>
            <and>
                <property>/sim/rendering/rembrandt/enabled</property>
                <property alias="/params/lighting/taxi/property"/>
            </and>
        </condition>
    </animation>

    <!-- Landing Light -->
    <animation>
        <type>select</type>
        <object-name>landinglight</object-name>
        <!-- Damage Mod
        <object-name>landinglightBD</object-name>
        <object-name>landinglightCollapse</object-name>
        <object-name>landinglight2BD</object-name>
        <object-name>landinglight2LD</object-name>
        <object-name>landinglight2RD</object-name>
        <object-name>landinglight2Collapse</object-name> -->
        <nopreview/>
        <condition>
            <and>
                <property alias="/params/lighting/landing/property"/>
                <not>
                    <property>/sim/rendering/rembrandt/enabled</property>
                </not>
            </and>
        </condition>
    </animation>

    <!-- Taxi Light -->
    <animation>
        <type>select</type>
        <object-name>taxilight</object-name>
        <nopreview/>
        <condition>
            <and>
                <property alias="/params/lighting/taxi/property"/>
                <not>
                    <property>/sim/rendering/rembrandt/enabled</property>
                </not>
            </and>
        </condition>
    </animation>

    <!-- Recessed Light -->
    <animation>
        <type>select</type>
        <object-name>landinglight2</object-name>
        <nopreview/>
        <condition>
            <and>
                <or>
                    <property alias="/params/lighting/landing/property"/>
                    <property alias="/params/lighting/taxi/property"/>
                </or>
                <not>
                    <property>/sim/rendering/rembrandt/enabled</property>
                </not>
            </and>
        </condition>
    </animation>

    <animation>
        <type>light</type>
        <light-type>spot</light-type>
        <name>LandingLight</name>
        <object-name>LandingLightCone</object-name>
        <nopreview/>
        <condition>
            <property alias="/params/lighting/landing/property"/>
        </condition>
        <position>
            <x>-0.078</x>
            <y>-3.086</y>
            <z>0.536</z>
        </position>
        <direction>
            <x>-1</x>
            <y>0</y>
            <z>-0.1</z>
        </direction>
        <ambient>
            <r>0.5</r>
            <g>0.5</g>
            <b>0.55</b>
            <a>1.0</a>
        </ambient>
        <diffuse>
            <r>0.95</r>
            <g>0.95</g>
            <b>0.8</b>
            <a>1.0</a>
        </diffuse>
        <specular>
            <r>0.95</r>
            <g>0.95</g>
            <b>0.8</b>
            <a>1.0</a>
        </specular>
        <attenuation>
            <c>1.0</c>
            <l>0.0</l>
            <q>0.00015</q>
        </attenuation>
        <exponent>25</exponent>
        <cutoff>85</cutoff>
        <near-m>2</near-m>
        <far-m>250</far-m>
    </animation>

    <animation>
        <type>light</type>
        <light-type>spot</light-type>
        <name>TaxiLight</name>
        <object-name>TaxiLightCone</object-name>
        <nopreview/>
        <condition>
            <property alias="/params/lighting/taxi/property"/>
        </condition>
        <position>
            <x>-0.078</x>
            <y>-3.086</y>
            <z>0.536</z>
        </position>
        <direction>
            <x>-1</x>
            <y>0</y>
            <z>-0.3</z>
        </direction>
        <ambient>
            <r>0.5</r>
            <g>0.5</g>
            <b>0.55</b>
            <a>1.0</a>
        </ambient>
        <diffuse>
            <r>0.85</r>
            <g>0.85</g>
            <b>0.65</b>
            <a>1.0</a>
        </diffuse>
        <specular>
            <r>0.85</r>
            <g>0.85</g>
            <b>0.7</b>
            <a>1.0</a>
        </specular>
        <attenuation>
            <c>1.0</c>
            <l>0.0</l>
            <q>0.0018</q>
        </attenuation>
        <exponent>4.5</exponent>
        <cutoff>160</cutoff>
        <near-m>2</near-m>
        <far-m>150</far-m>
    </animation>
    <animation>
        <type>select</type>
        <object-name>landinglightcover</object-name>
        <!-- Damage Mod
        <object-name>landinglightcoverBD</object-name>
        <object-name>landinglightcoverLD</object-name>
        <object-name>landinglightcoverRD</object-name>
        <object-name>landinglightcoverCollapse</object-name>-->
        <condition>
            <not>
                <property alias="/params/lighting/landing/property"/>
            </not>
        </condition>
    </animation>
    <animation>
        <type>noshadow</type>
        <object-name>landinglight</object-name>
        <object-name>taxilight</object-name>
        <!-- Damage Mod
        <object-name>landinglightBD</object-name>
        <object-name>landinglightCollapse</object-name>-->
    </animation>

    <!--Landing Light-->
    <animation>
        <type>flash</type>
        <object-name>landinglight</object-name>
        <!-- Damage Mod
        <object-name>landinglightBD</object-name>
        <object-name>landinglightCollapse</object-name>-->
        <center>
            <x-m>-0.135</x-m>
            <y-m>-2.940</y-m>
            <z-m> 0.520</z-m>
        </center>
        <axis>
            <x>-1</x>
            <y>0</y>
            <z>0</z>
        </axis>
        <power>8</power>
        <factor>6</factor>
        <offset>0</offset>
        <two-sides type="bool">false</two-sides>
        <min>0.5</min>
        <max>80</max>
    </animation>

    <!--Taxi Light-->
    <animation>
        <type>flash</type>
        <object-name>taxilight</object-name>
        <center>
            <x-m>-0.135</x-m>
            <y-m>-2.750</y-m>
            <z-m> 0.520</z-m>
        </center>
        <axis>
            <x>-1</x>
            <y>0</y>
            <z>0</z>
        </axis>
        <power>8</power>
        <factor>5</factor>
        <offset>0</offset>
        <two-sides type="bool">false</two-sides>
        <min>0.5</min>
        <max>80</max>
    </animation>

    <!-- Strobe -->

    <!-- Damage Mod -->
    <animation>
        <type>select</type>
        <object-name>strobe1</object-name>
        <nopreview/>
        <condition>
            <and>
                <property alias="/params/lighting/strobes"/>
                <equals>
                    <property alias="/params/wing_left_damaged/property"/>
                    <value>0</value>
                </equals>
                <not>
                    <property alias="/params/crash/property"/>
                </not>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>strobe2</object-name>
        <nopreview/>
        <condition>
            <and>
                <property alias="/params/lighting/strobes"/>
                <equals>
                    <property alias="/params/wing_right_damaged/property"/>
                    <value>0</value>
                </equals>
                <not>
                    <property alias="/params/crash/property"/>
                </not>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>strobe1BD</object-name>
        <condition>
            <and>
                <property alias="/params/lighting/strobes"/>
                <equals>
                    <property alias="/params/wing_left_damaged/property"/>
                    <value>2</value>
                </equals>
                <not>
                    <property alias="/params/crash/property"/>
                </not>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>strobe2BD</object-name>
        <condition>
            <and>
                <property alias="/params/lighting/strobes"/>
                <equals>
                    <property alias="/params/wing_right_damaged/property"/>
                    <value>2</value>
                </equals>
                <not>
                    <property alias="/params/crash/property"/>
                </not>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>strobe1Collapse</object-name>
        <object-name>strobe2Collapse</object-name>
        <condition>
            <and>
                <property alias="/params/lighting/strobes"/>
                <property alias="/params/crash/property"/>
            </and>
        </condition>
    </animation>
    <!-- End Damage Mod -->

    <Plane.014Xparams>
        <light-near>0.8</light-near>
        <light-med>3.2</light-med>
        <light-far>160</light-far>
    </Plane.014Xparams>
    <animation>
        <name>Plane.014XGroup</name>
        <object-name>strobe1</object-name>
        <object-name>strobe2</object-name>
        <!-- Damage Mod -->
        <object-name>strobe1BD</object-name>
        <object-name>strobe2BD</object-name>
        <object-name>strobe1Collapse</object-name>
        <object-name>strobe2Collapse</object-name>
    </animation>
    <animation>
        <type>alpha-test</type>
        <object-name>Plane.014XGroup</object-name>
        <alpha-factor>0.001</alpha-factor>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>strobe1</object-name>
        <offset-m>5.760493</offset-m>
        <axis>
            <x>0.293912</x>
            <y>-5.727128</y>
            <z>0.564638</z>
        </axis>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>strobe2</object-name>
        <offset-m>5.742337</offset-m>
        <axis>
            <x>0.253912</x>
            <y>5.708865</y>
            <z>0.564638</z>
        </axis>
    </animation>

    <!-- Damage Mod -->
    <animation>
        <type>translate</type>
        <object-name>strobe1BD</object-name>
        <offset-m>5.760493</offset-m>
        <axis>
            <x>0.293912</x>
            <y>-5.227128</y>
            <z>0.999938</z>
        </axis>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>strobe2BD</object-name>
        <offset-m>5.742337</offset-m>
        <axis>
            <x>0.383912</x>
            <y>5.708865</y>
            <z>0.999938</z>
        </axis>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>strobe1Collapse</object-name>
        <offset-m>5.460493</offset-m>
        <axis>
            <x>0.153912</x>
            <y>-5.327128</y>
            <z>-0.799938</z>
        </axis>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>strobe2Collapse</object-name>
        <offset-m>5.342337</offset-m>
        <axis>
            <x>0.283912</x>
            <y>5.308865</y>
            <z>-0.799938</z>
        </axis>
    </animation>
    <!-- End Damage Mod -->

    <animation>
        <type>billboard</type>
        <object-name>strobe1</object-name>
        <object-name>strobe2</object-name>
        <!-- Damage Mod -->
        <object-name>strobe1BD</object-name>
        <object-name>strobe2BD</object-name>
        <object-name>strobe1Collapse</object-name>
        <object-name>strobe2Collapse</object-name>
        <spherical type="bool">true</spherical>
    </animation>
    <animation>
        <type>dist-scale</type>
        <object-name>strobe1</object-name>
        <object-name>strobe2</object-name>
        <!-- Damage Mod -->
        <object-name>strobe1BD</object-name>
        <object-name>strobe2BD</object-name>
        <object-name>strobe1Collapse</object-name>
        <object-name>strobe2Collapse</object-name>
        <interpolation>
            <entry>
                <ind>0</ind>
                <dep alias="/Plane.014Xparams/light-near"/>
            </entry>
            <entry>
                <ind>500</ind>
                <dep alias="/Plane.014Xparams/light-med"/>
            </entry>
            <entry>
                <ind>16000</ind>
                <dep alias="/Plane.014Xparams/light-far"/>
            </entry>
        </interpolation>
    </animation>
    <animation>
        <type>select</type>
        <object-name>BeaconOffX</object-name>
        <nopreview/>
        <condition>
            <property alias="/params/lighting/beacon"/>
        </condition>
    </animation>
    <BeaconOffXparams>
        <light-near>0.4</light-near>
        <light-med>0.8</light-med>
        <light-far>10</light-far>
    </BeaconOffXparams>
    <animation>
        <type>alpha-test</type>
        <object-name>BeaconOffX</object-name>
        <alpha-factor>0.001</alpha-factor>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>BeaconOffX</object-name>
        <offset-m>5.618312</offset-m>
        <axis>
            <!-- MOD: Position beacon light at MEDIAN point of the object -->
            <x> 5.49464</x>
            <y>-0.00000</y>
            <z> 1.11533</z>
            <!-- MODEND: Position beacon light at MEDIAN point of the object -->
        </axis>
    </animation>
    <animation>
        <type>billboard</type>
        <object-name>BeaconOffX</object-name>
        <spherical type="bool">true</spherical>
    </animation>
    <animation>
        <type>dist-scale</type>
        <object-name>BeaconOffX</object-name>
        <interpolation>
            <entry>
                <ind>0</ind>
                <dep alias="/BeaconOffXparams/light-near"/>
            </entry>
            <entry>
                <ind>500</ind>
                <dep alias="/BeaconOffXparams/light-med"/>
            </entry>
            <entry>
                <ind>16000</ind>
                <dep alias="/BeaconOffXparams/light-far"/>
            </entry>
        </interpolation>
    </animation>
    <animation>
        <type>select</type>
        <object-name>fairing1</object-name>
        <condition>
            <and>
                <property>sim/model/c172p/fairing1</property>
                <not>
                    <property alias="/params/gear_nose_broken/property"/>
                </not>
                <not>
                    <property alias="/params/bushkit"/>
                </not>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>fairing2</object-name>
        <condition>
            <and>
                <property>sim/model/c172p/fairing2</property>
                <not>
                    <property alias="/params/gear_left_broken/property"/>
                </not>
                <not>
                    <property alias="/params/bushkit"/>
                </not>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>fairing3</object-name>
        <condition>
            <and>
                <property>sim/model/c172p/fairing3</property>
                <not>
                    <property alias="/params/gear_right_broken/property"/>
                </not>
                <not>
                    <property alias="/params/bushkit"/>
                </not>
            </and>
        </condition>
    </animation>

    <!-- Damage Mod -->
    <animation>
        <type>select</type>
        <object-name>fairing1D</object-name>
        <condition>
            <and>
                <property>sim/model/c172p/fairing1</property>
                <property alias="/params/gear_nose_broken/property"/>
                <not>
                    <property alias="/params/bushkit"/>
                </not>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>fairing2D</object-name>
        <condition>
            <and>
                <property>sim/model/c172p/fairing2</property>
                <property alias="/params/gear_left_broken/property"/>
                <not>
                    <property alias="/params/bushkit"/>
                </not>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>fairing3D</object-name>
        <condition>
            <and>
                <property>sim/model/c172p/fairing3</property>
                <property alias="/params/gear_right_broken/property"/>
                <not>
                    <property alias="/params/bushkit"/>
                </not>
            </and>
        </condition>
    </animation>
    <animation>
        <type>material</type>
        <!--global type="bool">true</global-->
        <object-name>RightWheelStrut</object-name>
        <object-name>LeftWheelStrut</object-name>
        <object-name>fairing1</object-name>
        <object-name>fairing2</object-name>
        <object-name>fairing3</object-name>
        <object-name>fuselage_0</object-name>
        <object-name>fuselage_1</object-name>
        <object-name>charniere1</object-name>
        <object-name>charniere2</object-name>
        <object-name>charniere3</object-name>
        <object-name>charniere4</object-name>
        <object-name>leftdoor</object-name>
        <object-name>rightdoor</object-name>
        <object-name>baggagedoor</object-name>
        <object-name>Spinner</object-name>
        <object-name>Propeller</object-name>
        <object-name>LeftNavLight</object-name>
        <object-name>RightNavLight</object-name>
        <!-- damage mod -->
        <object-name>RightWheelStrutBKD</object-name>
        <object-name>LeftWheelStrutBKD</object-name>
        <object-name>RightNavLightCollapse</object-name>
        <object-name>LeftNavLightCollapse</object-name>
        <object-name>RightNavLightBD</object-name>
        <object-name>LeftNavLightBD</object-name>
        <object-name>LeftNavLightD</object-name>
        <object-name>RightNavLightD</object-name>
        <object-name>LeftNavLightU</object-name>
        <object-name>RightNavLightU</object-name>
        <object-name>LeftNavLightDRB</object-name>
        <object-name>LeftNavLightGRB</object-name>
        <object-name>RightNavLightDLB</object-name>
        <object-name>RightNavLightGLB</object-name>
        <object-name>fairing1D</object-name>
        <object-name>fairing2D</object-name>
        <object-name>fairing3D</object-name>
        <object-name>PropellerD</object-name>
        <object-name>SpinnerD</object-name>
        <property-base>sim/model/livery/</property-base>
        <texture-prop>texture</texture-prop>
        <texture>fuselage.png </texture>
    </animation>
    <animation>
        <type>material</type>
        <!--global type="bool">true</global-->
        <object-name>wing</object-name>
        <object-name>flaps</object-name>
        <object-name>rightaileron</object-name>
        <object-name>leftaileron</object-name>
        <!-- damage mod -->
        <object-name>wingRD</object-name>
        <object-name>wingLD</object-name>
        <object-name>wingBD</object-name>
        <object-name>wingBB</object-name>
        <object-name>wingLB</object-name>
        <object-name>wingRB</object-name>
        <object-name>wingCollapse</object-name>
        <object-name>flapsD</object-name>
        <object-name>rightaileronRD</object-name>
        <object-name>rightaileronLD</object-name>
        <object-name>rightaileronBD</object-name>
        <object-name>rightaileronCollapse</object-name>
        <object-name>rightaileronRDLB</object-name>
        <object-name>rightaileronRGLB</object-name>
        <object-name>leftaileronRD</object-name>
        <object-name>leftaileronLD</object-name>
        <object-name>leftaileronBD</object-name>
        <object-name>leftaileronCollapse</object-name>
        <object-name>leftaileronLDRB</object-name>
        <object-name>leftaileronLGRB</object-name>
        <property-base>sim/model/liverywing/</property-base>
        <texture-prop>texture</texture-prop>
        <texture>wing.png</texture>
    </animation>
    <animation>
        <type>material</type>
        <!--global type="bool">true</global-->
        <object-name>vstab</object-name>
        <object-name>hstab</object-name>
        <object-name>rudder_1</object-name>
        <object-name>elevatorleft</object-name>
        <object-name>elevatorright</object-name>
        <property-base>sim/model/liverytail/</property-base>
        <texture-prop>texture</texture-prop>
        <texture>tail.png</texture>
    </animation>
    <animation>
        <type>material</type>
        <object-name>L-Float</object-name>
        <object-name>R-Float</object-name>
        <object-name>L-FloatC</object-name>
        <object-name>R-FloatC</object-name>
        <object-name>LHrudder</object-name>
        <object-name>RHrudder</object-name>
        <!--object-name>RuddWires</object-name-->
        <object-name>FloatStruts</object-name>
        <!-- damage mod -->
        <object-name>L-FloatCD</object-name>
        <object-name>R-FloatCD</object-name>
        <object-name>L-FloatCB</object-name>
        <object-name>R-FloatCB</object-name>
        <object-name>L-FloatOD</object-name>
        <object-name>R-FloatOD</object-name>
        <object-name>L-FloatOB</object-name>
        <object-name>R-FloatOB</object-name>
        <object-name>LHrudderD</object-name>
        <object-name>RHrudderD</object-name>
        <object-name>LHrudderB</object-name>
        <object-name>RHrudderB</object-name>
        <property-base>sim/model/liveryfloat/</property-base>
        <texture-prop>texture</texture-prop>
        <texture>floats.png</texture>
    </animation>
    <animation>
        <type>material</type>
        <!--global type="bool">true</global-->
        <!-- MOD: resume some to GROUP_Interior
        door interior objects can't be grouped because it
        is inside another group -->
        <object-name>GROUP_Interior</object-name>
        <!-- MOD: resume some to GROUP_Interior -->
        <object-name>doorint_left</object-name>
        <object-name>doorint_right</object-name>
        <object-name>Firewall</object-name>
        <property-base>sim/model/liveryinterior/</property-base>
        <texture-prop>texture</texture-prop>
        <texture>interior.png</texture>
    </animation>
    <animation>
        <type>material</type>
        <!--global type="bool">true</global-->
        <!-- MOD: resume all to GROUP_FrontPanels -->
        <object-name>GROUP_FrontPanels</object-name>
        <!-- MODEND: resume all to Panel_Rack_Base -->
        <property-base>sim/model/liverypanel/</property-base>
        <texture-prop>texture</texture-prop>
        <texture>panel.png</texture>
    </animation>
    <animation>
        <type>material</type>
        <!--global type="bool">true</global-->
        <!-- MOD: resume some to GROUP_InteriorParts
        doorhandles can't be grouped because
        it is inside another group -->
        <object-name>GROUP_InteriorParts</object-name>
        <!-- MODEND: resume some to GROUP_InteriorParts -->
        <object-name>doorhandleint_left</object-name>
        <object-name>doorhandleint_right</object-name>
        <property-base>sim/model/liveryparts/</property-base>
        <texture-prop>texture</texture-prop>
        <texture>panel_parts.png</texture>
    </animation>

    <!-- ALS volume shadow  -->
    <model>
        <path>Effects/shadow/3dbushdefshadow.xml</path>
    </model>
    <model>
        <path>Effects/shadow/3dbush26shadow.xml</path>
    </model>
    <model>
        <path>Effects/shadow/3dbush36shadow.xml</path>
    </model>
    <model>
        <path>Effects/shadow/3dpontoonshadow.xml</path>
    </model>
    <model>
        <path>Effects/shadow/3damphibiousshadow.xml</path>
    </model>
    <model>
        <path>Effects/shadow/3dskishadow.xml</path>
    </model>

    <!-- Pilot, co-pilot, and passengers -->
    <model>
        <name>Pilot</name>
        <path>Human/female-pilot.xml</path>
        <offsets>
            <x-m> 0.2 </x-m>
            <y-m> -0.251 </y-m>
            <z-m> -1.4 </z-m>
        </offsets>
    </model>
    <model>
        <name>Copilot</name>
        <path>Human/male-copilot.xml</path>
        <offsets>
            <x-m> 0.2 </x-m>
            <y-m> 0.251 </y-m>
            <z-m> -1.4 </z-m>
        </offsets>
    </model>
    <model>
        <name>LeftPassenger</name>
        <path>Human/male-copilot.xml</path>
        <offsets>
            <x-m> 0.9 </x-m>
            <y-m> -0.2 </y-m>
            <z-m> -1.45 </z-m>
        </offsets>
    </model>
    <model>
        <name>RightPassenger</name>
        <path>Human/male-copilot.xml</path>
        <offsets>
            <x-m> 0.9 </x-m>
            <y-m> 0.2 </y-m>
            <z-m> -1.45 </z-m>
        </offsets>
    </model>

    <!-- Pilot visible only when not in the cockpit, the walker is not activated and if there is enough weight on his seat -->
    <animation>
        <type>select</type>
        <object-name>Pilot</object-name>
        <condition>
            <and>
                <!-- Note: the sim/ properties do NOT start with a /,
                     which means that FlightGear tries to find them in
                     either:

                        (a) the root (/) for the local aircraft, or:
                        (b) in /ai/models/multiplayer[i]

                     In the case of (b), the properties do not exist, thus
                     the <not-equals> gets evaluated to true (always), which
                     is what we want, but this behavior is error-prone.
                -->
                <not-equals>
                    <property>/sim/current-view/name</property>
                    <value>Cockpit View</value>
                </not-equals>
                <not>
                    <property>/sim/walker/outside</property>
                </not>
                <property>pax/pilot/present</property>
                <property>sim/model/occupants</property>
            </and>
        </condition>
    </animation>

    <!-- Co-pilot not visible if not enough weight on his seat or if using Cockpit Right Seat View-->
    <animation>
        <type>select</type>
        <object-name>Copilot</object-name>
        <condition>
            <and>
                <not-equals>
                    <property>sim/current-view/name</property>
                    <value>Cockpit Right Seat View</value>
                </not-equals>
                <property>pax/co-pilot/present</property>
                <property>sim/model/occupants</property>
            </and>
        </condition>
    </animation>

    <!-- Passangers not visible if not enough weight on their seats or if using their view -->
    <animation>
        <type>select</type>
        <object-name>LeftPassenger</object-name>
        <condition>
            <and>
                <not-equals>
                    <property>sim/current-view/name</property>
                    <value>Left Passenger Seat View</value>
                </not-equals>
                <property>pax/left-passenger/present</property>
                <property>sim/model/occupants</property>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>RightPassenger</object-name>
        <condition>
            <and>
                <not-equals>
                    <property>sim/current-view/name</property>
                    <value>Right Passenger Seat View</value>
                </not-equals>
                <property>pax/right-passenger/present</property>
                <property>sim/model/occupants</property>
            </and>
        </condition>
    </animation>

    <!-- MOD: Pontoon Gear -->
    <animation>
        <name>LeftFrontGear</name>
        <object-name>Lstrut.001</object-name>
        <object-name>Ldamper</object-name>
        <object-name>LAxle</object-name>
        <object-name>LFrontWheel</object-name>
    </animation>
    <animation>
        <name>RightFrontGear</name>
        <object-name>Rstrut.001</object-name>
        <object-name>Rdamper</object-name>
        <object-name>RAxle</object-name>
        <object-name>RFrontWheel</object-name>
    </animation>

    <!-- Retractable Gear -->
    <animation>
        <type>rotate</type>
        <object-name>Ldamper</object-name>
        <object-name>LAxle</object-name>
        <object-name>LFrontWheel</object-name>
        <property alias="/params/gear-amphibious/front-left-compression-ft"/>
        <factor>8</factor>
        <center>
            <x-m>-3.599</x-m>
            <y-m>1.434</y-m>
            <z-m>-2.189</z-m>
        </center>
        <axis>
            <x>0</x>
            <y>-1</y>
            <z>0</z>
        </axis>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>LeftFrontGear</object-name>
        <property alias="/params/gear-amphibious/front-left-position-norm"/>
        <interpolation>
            <entry>
                <ind>0.0</ind>
                <dep>0.220</dep>
            </entry>
            <entry>
                <ind>1.0</ind>
                <dep>0.0</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>-3.553</x-m>
            <y-m>1.430</y-m>
            <z-m>-1.901</z-m>
        </center>
        <axis>
            <x>0.342</x>
            <y>0</y>
            <z>0.940</z>
        </axis>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>Lstrut.002</object-name>
        <property alias="/params/gear-amphibious/front-left-position-norm"/>
        <interpolation>
            <entry>
                <ind>0.0</ind>
                <dep>0.115</dep>
            </entry>
            <entry>
                <ind>1.0</ind>
                <dep>0.0</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>-3.553</x-m>
            <y-m>1.430</y-m>
            <z-m>-1.901</z-m>
        </center>
        <axis>
            <x>0.342</x>
            <y>0</y>
            <z>0.940</z>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>Rdamper</object-name>
        <object-name>RAxle</object-name>
        <object-name>RFrontWheel</object-name>
        <property alias="/params/gear-amphibious/front-right-compression-ft"/>
        <factor>8</factor>
        <center>
            <x-m>-3.599</x-m>
            <y-m>-1.434</y-m>
            <z-m>-2.189</z-m>
        </center>
        <axis>
            <x>0</x>
            <y>-1</y>
            <z>0</z>
        </axis>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>RightFrontGear</object-name>
        <property alias="/params/gear-amphibious/front-right-position-norm"/>
        <interpolation>
            <entry>
                <ind>0.0</ind>
                <dep>0.220</dep>
            </entry>
            <entry>
                <ind>1.0</ind>
                <dep>0.0</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>-3.553</x-m>
            <y-m>-1.430</y-m>
            <z-m>-1.901</z-m>
        </center>
        <axis>
            <x>0.342</x>
            <y>0</y>
            <z>0.940</z>
        </axis>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>Rstrut.002</object-name>
        <property alias="/params/gear-amphibious/front-right-position-norm"/>
        <interpolation>
            <entry>
                <ind>0.0</ind>
                <dep>0.115</dep>
            </entry>
            <entry>
                <ind>1.0</ind>
                <dep>0.0</dep>
            </entry>
        </interpolation>
        <center>
            <x-m>-3.553</x-m>
            <y-m>-1.430</y-m>
            <z-m>-1.901</z-m>
        </center>
        <axis>
            <x>0.342</x>
            <y>0</y>
            <z>0.940</z>
        </axis>
    </animation>
    <!-- MOD: Spin to amphibious gears -->
    <animation>
        <type>spin</type>
        <object-name>LFrontWheel</object-name>
        <property alias="/params/gear-amphibious/front-left-rollspeed-ms"/>
        <factor>13</factor>
        <axis>
            <x>0</x>
            <y>-1</y>
            <z>0</z>
        </axis>
        <center>
            <x-m>-2.0435</x-m>
            <y-m>-1.1492</y-m>
            <z-m>-2.1462</z-m>
        </center>
    </animation>
    <animation>
        <type>spin</type>
        <object-name>RFrontWheel</object-name>
        <property alias="/params/gear-amphibious/front-right-rollspeed-ms"/>
        <factor>13</factor>
        <axis>
            <x>0</x>
            <y>-1</y>
            <z>0</z>
        </axis>
        <center>
            <x-m>-2.0435</x-m>
            <y-m>1.1656</y-m>
            <z-m>-2.1462</z-m>
        </center>
    </animation>

    <!-- MODEND: Spin to amphibious gears -->
    <animation>
        <type>rotate</type>
        <object-name>LRtarm</object-name>
        <object-name>LRAxle</object-name>
        <object-name>LRwheel</object-name>
        <expression>
            <sum>
                <product>
                    <sum>
                        <value>0.07</value>
                        <property alias="/params/gear-amphibious/rear-left-compression-ft"/>
                    </sum>
                    <value>15</value>
                </product>
                <product>
                    <table>
                        <property alias="/params/gear-amphibious/rear-left-position-norm"/>
                        <entry>
                            <ind>1</ind>
                            <dep>0</dep>
                        </entry>
                        <entry>
                            <ind>0</ind>
                            <dep>10</dep>
                        </entry>
                    </table>
                </product>
            </sum>
        </expression>
        <center>
            <x-m>-0.6019</x-m>
            <y-m>-1.1513</y-m>
            <z-m>-1.8621</z-m>
        </center>
        <axis>
            <x>0</x>
            <y>-1</y>
            <z>0</z>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>RRtarm</object-name>
        <object-name>RRAxle</object-name>
        <object-name>RRwheel</object-name>
        <expression>
            <sum>
                <product>
                    <sum>
                        <value>0.07</value>
                        <property alias="/params/gear-amphibious/rear-right-compression-ft"/>
                    </sum>
                    <value>15</value>
                </product>
                <product>
                    <table>
                        <property alias="/params/gear-amphibious/rear-right-position-norm"/>
                        <entry>
                            <ind>1</ind>
                            <dep>0</dep>
                        </entry>
                        <entry>
                            <ind>0</ind>
                            <dep>10</dep>
                        </entry>
                    </table>
                </product>
            </sum>
        </expression>
        <center>
            <x-m>-0.6019</x-m>
            <y-m>1.1676</y-m>
            <z-m>-1.8621</z-m>
        </center>
        <axis>
            <x>0</x>
            <y>-1</y>
            <z>0</z>
        </axis>
    </animation>
    <animation>
        <type>spin</type>
        <object-name>LRwheel</object-name>
        <property alias="/params/gear-amphibious/rear-left-rollspeed-ms"/>
        <factor>13</factor>
        <axis>
            <x>0</x>
            <y>-1</y>
            <z>0</z>
        </axis>
        <center>
            <x-m>0.9511</x-m>
            <y-m>-1.1513</y-m>
            <z-m>-2.0838</z-m>
        </center>
    </animation>
    <animation>
        <type>spin</type>
        <object-name>RRwheel</object-name>
        <property alias="/params/gear-amphibious/rear-right-rollspeed-ms"/>
        <factor>13</factor>
        <axis>
            <x>0</x>
            <y>-1</y>
            <z>0</z>
        </axis>
        <center>
            <x-m>0.9511</x-m>
            <y-m>1.1676</y-m>
            <z-m>-2.0838</z-m>
        </center>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>RHrudder</object-name>
        <expression>
            <product>
                <value>30</value>
                <property>surface-positions/rudder-pos-norm</property>
                <property alias="/params/water-rudder-norm"/>
            </product>
        </expression>
        <center>
            <x-m>3.5172</x-m>
            <y-m>1.1571</y-m>
            <z-m>-1.4308</z-m>
        </center>
        <axis>
            <x>-0.087</x>
            <y>0</y>
            <z>0.996</z>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>RHrudder</object-name>
        <property alias="/params/water-rudder-norm"/>
        <factor>90</factor>
        <center>
            <x-m>3.47</x-m>
            <y-m>1.434</y-m>
            <z-m>-1.49</z-m>
        </center>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>LHrudder</object-name>
        <expression>
            <product>
                <value>30</value>
                <property>surface-positions/rudder-pos-norm</property>
                <property alias="/params/water-rudder-norm"/>
            </product>
        </expression>
        <center>
            <x-m>3.5172</x-m>
            <y-m>-1.1571</y-m>
            <z-m>-1.4308</z-m>
        </center>
        <axis>
            <x>-0.087</x>
            <y>0</y>
            <z>0.996</z>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>LHrudder</object-name>
        <property alias="/params/water-rudder-norm"/>
        <factor>90</factor>
        <center>
            <x-m>3.47</x-m>
            <y-m>-1.434</y-m>
            <z-m>-1.49</z-m>
        </center>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>
    <!-- END MOD: Pontoon Gear -->

    <!-- Baggage models -->
    <model>
        <name>suitcase1</name>
        <path>Interior/Baggages/suitcase1.xml</path>
        <offsets>
            <x-m>1.68</x-m>
            <y-m>-0.14</y-m>
            <z-m>-0.59</z-m>
        </offsets>
    </model>
    <model>
        <name>suitcase2</name>
        <path>Interior/Baggages/suitcase2.xml</path>
        <offsets>
            <x-m>1.68</x-m>
            <y-m>0.14</y-m>
            <z-m>-0.59</z-m>
        </offsets>
    </model>
    <animation>
        <type>select</type>
        <object-name>suitcase1</object-name>
        <condition>
            <greater-than>
                <property>payload/weight[4]/weight-lb</property>
                <value>70.0</value>
            </greater-than>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>suitcase2</object-name>
        <condition>
            <greater-than>
                <property>payload/weight[4]/weight-lb</property>
                <value>20.0</value>
            </greater-than>
        </condition>
    </animation>

    <!-- Pitot tube cover "remove before flight" -->
    <model>
        <name>rbf-pitot</name>
        <path>Exterior/rbf/rbf.xml</path>
        <offsets>
            <x-m>-0.19</x-m>
            <y-m>-1.525</y-m>
            <z-m>0.337</z-m>
        </offsets>
    </model>
    <animation>
        <type>select</type>
        <object-name>rbf-pitot</object-name>
        <condition>
            <property alias="/params/securing/pitot-cover"/>
        </condition>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>rbf-pitot</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <condition>
                    <or>
                        <and>
                            <property>/sim/model/c172p/securing/pitot-cover-removable</property>
                            <not>
                                <property>/sim/current-view/internal</property>
                            </not>
                        </and>
                        <property>/nasal/tutorial/loaded</property>
                    </or>
                </condition>
                <command>property-assign</command>
                <property alias="/params/securing/pitot-cover"/>
                <value>false</value>
            </binding>
        </action>
        <hovered>
            <binding>
                <condition>
                    <or>
                        <and>
                            <property>/sim/model/c172p/securing/pitot-cover-removable</property>
                            <not>
                                <property>/sim/current-view/internal</property>
                            </not>
                        </and>
                        <property>/nasal/tutorial/loaded</property>
                    </or>
                </condition>
                <command>set-tooltip</command>
                <tooltip-id>remove-pitot-tube-cap</tooltip-id>
                <label>Remove Pitot Tube Cap</label>
            </binding>
        </hovered>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>PitotTube</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <condition>
                    <or>
                        <and>
                            <property>/sim/model/c172p/securing/pitot-cover-addable</property>
                            <not>
                                <property>/sim/current-view/internal</property>
                            </not>
                        </and>
                        <property>/nasal/tutorial/loaded</property>
                    </or>
                </condition>
                <command>property-assign</command>
                <property alias="/params/securing/pitot-cover"/>
                <value>true</value>
            </binding>
            <binding>
                <command>property-assign</command>
                <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
                <value>0.0</value>
            </binding>
        </action>
        <hovered>
            <binding>
                <condition>
                    <or>
                        <and>
                            <property>/sim/model/c172p/securing/pitot-cover-addable</property>
                            <not>
                                <property>/sim/current-view/internal</property>
                            </not>
                        </and>
                        <property>/nasal/tutorial/loaded</property>
                    </or>
                </condition>
                <command>set-tooltip</command>
                <tooltip-id>put-pitot-tube-cap</tooltip-id>
                <label>Put Pitot Tube Cap</label>
            </binding>
        </hovered>
    </animation>

    <!-- Small wheel chock -->
    <model>
        <name>chock1</name>
        <path>Exterior/chock/chock.xml</path>
        <offsets>
            <x-m>-0.02</x-m>
            <y-m>0.0</y-m>
            <z-m>0.032</z-m>
        </offsets>
    </model>
    <model>
        <name>chock2</name>
        <path>Exterior/chock/chock.xml</path>
        <offsets>
            <x-m>0.32</x-m>
            <y-m>0.0</y-m>
            <z-m>0.028</z-m>
        </offsets>
    </model>
    <animation>
        <type>translate</type>
        <object-name>chock1</object-name>
        <object-name>chock2</object-name>
        <property>gear/gear[0]/compression-norm</property>
        <factor>0.30</factor>
        <axis>
            <x>0.3</x>
            <y>0</y>
            <z>1.0</z>
        </axis>
    </animation>
    <animation>
        <type>select</type>
        <object-name>chock1</object-name>
        <object-name>chock2</object-name>
        <condition>
            <and>
                <property alias="/params/securing/chocks"/>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>0</value>
                </equals>
            </and>
        </condition>
    </animation>

    <!-- Wooden chocks -->
    <model>
        <name>woodenchock</name>
        <path>Exterior/wooden-chock/woodenchock.xml</path>
        <offsets>
            <x-m>-0.027</x-m>
            <y-m>0.0</y-m>
            <z-m>-0.088</z-m>
        </offsets>
    </model>
    <animation>
        <type>translate</type>
        <object-name>woodenchock</object-name>
        <property>gear/gear[0]/compression-norm</property>
        <factor>0.30</factor>
        <axis>
            <x>0.3</x>
            <y>0</y>
            <z>1.0</z>
        </axis>
    </animation>
    <animation>
        <type>select</type>
        <object-name>woodenchock</object-name>
        <condition>
            <and>
                <property alias="/params/securing/chocks"/>
                <or>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>1</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit"/>
                        <value>2</value>
                    </equals>
                </or>
            </and>
        </condition>
    </animation>

    <!-- Pick animations to show/hide chocks -->
    <animation>
        <type>pick</type>
        <object-name>chock1</object-name>
        <object-name>chock2</object-name>
        <object-name>woodenchock</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <condition>
                    <or>
                        <not>
                            <property>/sim/current-view/internal</property>
                        </not>
                        <property>/nasal/tutorial/loaded</property>
                    </or>
                </condition>
                <command>property-assign</command>
                <property>/sim/model/c172p/securing/chock</property>
                <value>false</value>
            </binding>
        </action>
        <hovered>
            <binding>
                <condition>
                    <property>/sim/model/c172p/securing/chock</property>
                    <or>
                        <not>
                            <property>/sim/current-view/internal</property>
                        </not>
                        <property>/nasal/tutorial/loaded</property>
                    </or>
                </condition>
                <command>set-tooltip</command>
                <tooltip-id>remove-wheel-chock</tooltip-id>
                <label>Remove Wheel Chock</label>
            </binding>
        </hovered>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>NoseWheel</object-name>
        <object-name>NoseWheelBK</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <condition>
                    <or>
                        <and>
                            <property>/sim/model/c172p/securing/chock-addable</property>
                            <not>
                                <property>/sim/current-view/internal</property>
                            </not>
                        </and>
                        <property>/nasal/tutorial/loaded</property>
                    </or>
                </condition>
                <command>property-assign</command>
                <property>sim/model/c172p/securing/chock</property>
                <value>true</value>
            </binding>
        </action>
        <hovered>
            <binding>
                <condition>
                    <property>/sim/model/c172p/securing/chock-addable</property>
                    <or>
                        <and>
                            <property>/sim/model/c172p/securing/chock-addable</property>
                            <not>
                                <property>/sim/current-view/internal</property>
                            </not>
                        </and>
                        <property>/nasal/tutorial/loaded</property>
                    </or>
                </condition>
                <command>set-tooltip</command>
                <tooltip-id>secure-with-wheel-chock</tooltip-id>
                <label>Secure With Wheel Chock</label>
            </binding>
        </hovered>
    </animation>

    <!-- Left Tiedowns -->
    <model>
        <name>tiedownL</name>
        <path>Exterior/tiedowns/tiedownL.xml</path>
        <offsets>
            <x-m>0.1188</x-m>
            <y-m>-2.2998</y-m>
            <z-m>0.4008</z-m>
            <heading-deg>-90.0</heading-deg>
        </offsets>
    </model>
    <animation>
        <type>select</type>
        <object-name>tiedownL</object-name>
        <condition>
            <property alias="/params/securing/tiedowns/left/visible"/>
        </condition>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>tiedownL</object-name>
        <object-name>TieDownLeft</object-name> <!-- tiedown handle -->
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <condition>
                    <or>
                        <not>
                            <property>/sim/current-view/internal</property>
                        </not>
                        <property>/nasal/tutorial/loaded</property>
                    </or>
                </condition>
                <command>property-assign</command>
                <property alias="/params/securing/tiedowns/left/visible"/>
                <value>false</value>
            </binding>
        </action>
        <hovered>
            <binding>
                <condition>
                    <property alias="/params/securing/tiedowns/left/visible"/>
                    <or>
                        <not>
                            <property>/sim/current-view/internal</property>
                        </not>
                        <property>/nasal/tutorial/loaded</property>
                    </or>
                </condition>
                <command>set-tooltip</command>
                <tooltip-id>remove-left-tiedowns</tooltip-id>
                <label>Remove Left Tie-Down</label>
            </binding>
        </hovered>
    </animation>
    <animation>
        <type>select</type>
        <object-name>TiedownHotSpotLeft</object-name>
        <condition>
            <property>/sim/model/c172p/securing/tiedownL-addable</property>
            <or>
                <not>
                    <property>/sim/current-view/internal</property>
                </not>
                <property>/nasal/tutorial/loaded</property>
            </or>
        </condition>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>TiedownHotSpotLeft</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <condition>
                    <or>
                        <and>
                            <property>/sim/model/c172p/securing/tiedownL-addable</property>
                            <not>
                                <property>/sim/current-view/internal</property>
                            </not>
                        </and>
                        <property>/nasal/tutorial/loaded</property>
                    </or>
                </condition>
                <command>property-assign</command>
                <property alias="/params/securing/tiedowns/left/visible"/>
                <value>true</value>
            </binding>
        </action>
        <hovered>
            <binding>
                <condition>
                    <or>
                        <and>
                            <property>/sim/model/c172p/securing/tiedownL-addable</property>
                            <not>
                                <property>/sim/current-view/internal</property>
                            </not>
                        </and>
                        <property>/nasal/tutorial/loaded</property>
                    </or>
                </condition>
                <command>set-tooltip</command>
                <tooltip-id>secure-with-left-tiedowns</tooltip-id>
                <label>Secure With Tie-Down</label>
            </binding>
        </hovered>
    </animation>

    <!-- Right Tiedowns -->
    <model>
        <name>tiedownR</name>
        <path>Exterior/tiedowns/tiedownR.xml</path>
        <offsets>
            <x-m>0.1188</x-m>
            <y-m>2.2998</y-m>
            <z-m>0.4008</z-m>
            <heading-deg>90.0</heading-deg>
        </offsets>
    </model>
    <animation>
        <type>select</type>
        <object-name>tiedownR</object-name>
        <condition>
            <property alias="/params/securing/tiedowns/right/visible"/>
        </condition>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>tiedownR</object-name>
        <object-name>TieDownRight</object-name> <!-- tiedown handle -->
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <condition>
                    <or>
                        <not>
                            <property>/sim/current-view/internal</property>
                        </not>
                        <property>/nasal/tutorial/loaded</property>
                    </or>
                </condition>
                <command>property-assign</command>
                <property alias="/params/securing/tiedowns/right/visible"/>
                <value>false</value>
            </binding>
        </action>
        <hovered>
            <binding>
                <condition>
                    <property alias="/params/securing/tiedowns/right/visible"/>
                    <or>
                        <not>
                            <property>/sim/current-view/internal</property>
                        </not>
                        <property>/nasal/tutorial/loaded</property>
                    </or>
                </condition>
                <command>set-tooltip</command>
                <tooltip-id>remove-right-tiedowns</tooltip-id>
                <label>Remove Right Tie-Down</label>
            </binding>
        </hovered>
    </animation>
    <animation>
        <type>select</type>
        <object-name>TiedownHotSpotRight</object-name>
        <condition>
            <property>/sim/model/c172p/securing/tiedownR-addable</property>
            <or>
                <not>
                    <property>/sim/current-view/internal</property>
                </not>
                <property>/nasal/tutorial/loaded</property>
            </or>
        </condition>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>TiedownHotSpotRight</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <condition>
                    <or>
                        <and>
                            <property>/sim/model/c172p/securing/tiedownR-addable</property>
                            <not>
                                <property>/sim/current-view/internal</property>
                            </not>
                        </and>
                        <property>/nasal/tutorial/loaded</property>
                    </or>
                </condition>
                <command>property-assign</command>
                <property alias="/params/securing/tiedowns/right/visible"/>
                <value>true</value>
            </binding>
        </action>
        <hovered>
            <binding>
                <condition>
                    <or>
                        <and>
                            <property>/sim/model/c172p/securing/tiedownR-addable</property>
                            <not>
                                <property>/sim/current-view/internal</property>
                            </not>
                        </and>
                        <property>/nasal/tutorial/loaded</property>
                    </or>
                </condition>
                <command>set-tooltip</command>
                <tooltip-id>secure-with-right-tiedowns</tooltip-id>
                <label>Secure With Tie-Down</label>
            </binding>
        </hovered>
    </animation>

    <!-- Tail Tiedowns -->
    <model>
        <name>tiedownT</name>
        <path>Exterior/tiedowns/tiedownT.xml</path>
        <offsets>
            <x-m>4.7116</x-m>
            <y-m>0.0</y-m>
            <z-m>-0.6663</z-m>
            <heading-deg>180.0</heading-deg>
        </offsets>
    </model>
    <animation>
        <type>select</type>
        <object-name>tiedownT</object-name>
        <condition>
            <property alias="/params/securing/tiedowns/tail/visible"/>
        </condition>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>tiedownT</object-name>
        <object-name>TieDownTail</object-name> <!-- tiedown handle -->
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <condition>
                    <or>
                        <not>
                            <property>/sim/current-view/internal</property>
                        </not>
                        <property>/nasal/tutorial/loaded</property>
                    </or>
                </condition>
                <command>property-assign</command>
                <property alias="/params/securing/tiedowns/tail/visible"/>
                <value>false</value>
            </binding>
        </action>
        <hovered>
            <binding>
                <condition>
                    <property alias="/params/securing/tiedowns/tail/visible"/>
                    <or>
                        <not>
                            <property>/sim/current-view/internal</property>
                        </not>
                        <property>/nasal/tutorial/loaded</property>
                    </or>
                </condition>
                <command>set-tooltip</command>
                <tooltip-id>remove-tail-tiedowns</tooltip-id>
                <label>Remove Tail Tie-Down</label>
            </binding>
        </hovered>
    </animation>
    <animation>
        <type>select</type>
        <object-name>TiedownHotSpotTail</object-name>
        <condition>
            <property>/sim/model/c172p/securing/tiedownT-addable</property>
            <or>
                <not>
                    <property>/sim/current-view/internal</property>
                </not>
                <property>/nasal/tutorial/loaded</property>
            </or>
        </condition>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>TiedownHotSpotTail</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <condition>
                    <or>
                        <and>
                            <property>/sim/model/c172p/securing/tiedownT-addable</property>
                            <not>
                                <property>/sim/current-view/internal</property>
                            </not>
                        </and>
                        <property>/nasal/tutorial/loaded</property>
                    </or>
                </condition>
                <command>property-assign</command>
                <property alias="/params/securing/tiedowns/tail/visible"/>
                <value>true</value>
            </binding>
        </action>
        <hovered>
            <binding>
                <condition>
                    <or>
                        <and>
                            <property>/sim/model/c172p/securing/tiedownT-addable</property>
                            <not>
                                <property>/sim/current-view/internal</property>
                            </not>
                        </and>
                        <property>/nasal/tutorial/loaded</property>
                    </or>
                </condition>
                <command>set-tooltip</command>
                <tooltip-id>secure-with-tail-tiedowns</tooltip-id>
                <label>Secure With Tie-Down</label>
            </binding>
        </hovered>
    </animation>

    <!-- Amphibious Gear Instrumentation -->
    <animation>
        <type>select</type>
        <object-name>Switch.nut</object-name>
        <object-name>Dim.bezel</object-name>
        <object-name>Dim.toggle</object-name>
        <object-name>Plane</object-name>
        <object-name>Wgear.bezel</object-name>
        <object-name>Gearswitch</object-name>
        <condition>
            <equals>
               <property alias="/params/bushkit"/>
               <value>4</value>
            </equals>
        </condition>
    </animation>

    <!--  Gear Down - land -->
    <animation>
        <type>select</type>
        <object-name>nosedn1</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/gear-amphibious/front-left-position-norm"/>
                    <value>1.0</value>
                </equals>
                <equals>
                   <property alias="/params/bushkit"/>
                   <value>4</value>
                </equals>
                <property alias="/params/cockpit/electrical/gear-amphibious"/>
            </and>
        </condition>
    </animation>

    <animation>
        <type>select</type>
        <object-name>nosedn2</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/gear-amphibious/front-right-position-norm"/>
                    <value>1.0</value>
                </equals>
                <equals>
                   <property alias="/params/bushkit"/>
                   <value>4</value>
                </equals>
                <property alias="/params/cockpit/electrical/gear-amphibious"/>
            </and>
        </condition>
    </animation>

    <animation>
        <type>select</type>
        <object-name>maindn1</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/gear-amphibious/rear-left-position-norm"/>
                    <value>1.0</value>
                </equals>
                <equals>
                   <property alias="/params/bushkit"/>
                   <value>4</value>
                </equals>
                <property alias="/params/cockpit/electrical/gear-amphibious"/>
            </and>
        </condition>
    </animation>

    <animation>
        <type>select</type>
        <object-name>maindn2</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/gear-amphibious/rear-right-position-norm"/>
                    <value>1.0</value>
                </equals>
                <equals>
                   <property alias="/params/bushkit"/>
                   <value>4</value>
                </equals>
                <property alias="/params/cockpit/electrical/gear-amphibious"/>
            </and>
        </condition>
    </animation>

    <!--  Gear Up - water -->
    <animation>
        <type>select</type>
        <object-name>noseup1</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/gear-amphibious/front-left-position-norm"/>
                    <value>0</value>
                </equals>
                <equals>
                   <property alias="/params/bushkit"/>
                   <value>4</value>
                </equals>
                <property alias="/params/cockpit/electrical/gear-amphibious"/>
            </and>
        </condition>
    </animation>

    <animation>
        <type>select</type>
        <object-name>noseup2</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/gear-amphibious/front-right-position-norm"/>
                    <value>0</value>
                </equals>
                <equals>
                   <property alias="/params/bushkit"/>
                   <value>4</value>
                </equals>
                <property alias="/params/cockpit/electrical/gear-amphibious"/>
            </and>
        </condition>
    </animation>

    <animation>
        <type>select</type>
        <object-name>mainup1</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/gear-amphibious/rear-left-position-norm"/>
                    <value>0</value>
                </equals>
                <equals>
                   <property alias="/params/bushkit"/>
                   <value>4</value>
                </equals>
                <property alias="/params/cockpit/electrical/gear-amphibious"/>
            </and>
        </condition>
    </animation>

    <animation>
        <type>select</type>
        <object-name>mainup2</object-name>
        <condition>
            <and>
                <equals>
                    <property alias="/params/gear-amphibious/rear-right-position-norm"/>
                    <value>0</value>
                </equals>
                <equals>
                   <property alias="/params/bushkit"/>
                   <value>4</value>
                </equals>
                <property alias="/params/cockpit/electrical/gear-amphibious"/>
            </and>
        </condition>
    </animation>

    <!-- in transit -->
    <animation>
        <type>select</type>
        <object-name>pump</object-name>
        <condition>
            <and>
                <greater-than>
                    <property alias="/params/gear-amphibious/front-left-position-norm"/>
                    <value>0</value>
                </greater-than>
                <less-than>
                    <property alias="/params/gear-amphibious/front-left-position-norm"/>
                    <value>1.0</value>
                </less-than>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>4</value>
                </equals>
                <property alias="/params/cockpit/electrical/gear-amphibious"/>
            </and>
        </condition>
    </animation>

    <animation>
        <type>rotate</type>
        <object-name>Gearswitch</object-name>
        <property>controls/gear/gear-down</property>
        <factor>180</factor>
        <axis>
            <x>-1</x>
            <y>0</y>
            <z>0</z>
        </axis>
        <center>
            <x-m>0</x-m>
            <y-m>0.015</y-m>
            <z-m>-0.018</z-m>
        </center>
    </animation>

    <animation>
        <type>pick</type>
        <object-name>Switch.nut</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>property-toggle</command>
                <property>controls/gear/gear-down</property>
            </binding>
        </action>
    </animation>

    <!-- TEXT OSG -->
    <text>
        <name>textosg</name>
        <type type="string">literal</type>
        <text type="string">Gear</text>
        <draw-text type="bool">true</draw-text>
        <font>Helvetica.txf</font>
        <character-size type="double">0.014</character-size>
        <character-aspect-ratio type="double">1.0</character-aspect-ratio>
        <axis-alignment>yz-plane</axis-alignment>
        <max-height>0.06</max-height>
        <max-width>0.05</max-width>
        <font-resolution>
            <width type="int">64</width>
            <height type="int">64</height>
        </font-resolution>
        <alignment>center-center</alignment>
        <offsets>
            <x-m>  0.005 </x-m>
            <y-m>  0.000 </y-m>
            <z-m>  0.000 </z-m>
        </offsets>
    </text>

    <animation>
        <type>material</type>
        <object-name>textosg</object-name>
        <emission>
            <red>   0.8 </red>
            <green> 0.8 </green>
            <blue>  0.0 </blue>
        </emission>
    </animation>

    <animation>
        <type>select</type>
        <object-name>textosg</object-name>
        <condition>
            <property>sim/panel-hotspots</property>
        </condition>
    </animation>

    <!-- Left Tank Drain Sump -->
    <animation>
        <type>select</type>
        <object-name>SumpHotSpotLeft</object-name>
            <condition>
                <and>
                    <property>/consumables/fuel/contamination_allowed</property>
                    <not>
                        <property>/sim/current-view/internal</property>
                    </not>
                </and>
            </condition>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>SumpHotSpotLeft</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <condition>
                    <property>/consumables/fuel/contamination_allowed</property>
                </condition>
                <command>dialog-show</command>
                <dialog-name>c172p-left-fuel-sample-dialog</dialog-name>
            </binding>
        </action>
        <hovered>
            <binding>
                <condition>
                    <property>/consumables/fuel/contamination_allowed</property>
                </condition>
                <command>set-tooltip</command>
                <tooltip-id>left-tank-drain-sump</tooltip-id>
                <label>Left Tank Drain Sump</label>
            </binding>
        </hovered>
    </animation>

    <!-- Right Tank Drain Sump -->
    <animation>
        <type>select</type>
        <object-name>SumpHotSpotRight</object-name>
            <condition>
                <and>
                    <property>/consumables/fuel/contamination_allowed</property>
                    <not>
                        <property>/sim/current-view/internal</property>
                    </not>
                </and>
            </condition>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>SumpHotSpotRight</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <condition>
                    <property>/consumables/fuel/contamination_allowed</property>
                </condition>
                <command>dialog-show</command>
                <dialog-name>c172p-right-fuel-sample-dialog</dialog-name>
            </binding>
        </action>
        <hovered>
            <binding>
                <condition>
                    <property>/consumables/fuel/contamination_allowed</property>
                </condition>
                <command>set-tooltip</command>
                <tooltip-id>right-tank-drain-sump</tooltip-id>
                <label>Right Tank Drain Sump</label>
            </binding>
        </hovered>
    </animation>

    <!-- oil level check -->
    <animation>
        <type>select</type>
        <object-name>OilDoorHotSpot</object-name>
            <condition>
                <and>
                    <property>/engines/active-engine/oil_consumption_allowed</property>
                    <not>
                        <property>/sim/current-view/internal</property>
                    </not>
                </and>
            </condition>
    </animation>
    <animation>
        <type>pick</type>
        <object-name>OilDoorHotSpot</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <condition>
                    <and>
                        <property>/engines/active-engine/oil_consumption_allowed</property>
                        <not>
                            <property>/engines/active-engine/running</property>
                        </not>
                        <or>
                            <property>/fdm/jsbsim/gear/unit[1]/WOW</property>
                            <property>/fdm/jsbsim/gear/unit[19]/WOW</property>
                            <property>/fdm/jsbsim/gear/unit[23]/WOW</property>
                            <property>/fdm/jsbsim/hydro/active-norm</property>
                        </or>
                        <equals>
                            <property>/controls/engines/active-engine</property>
                            <value>0</value>
                        </equals>
                        <not>
                            <property>/sim/current-view/internal</property>
                        </not>
                    </and>
                </condition>
                <command>dialog-show</command>
                <dialog-name>c172p-oil-dialog-160</dialog-name>
            </binding>
            <binding>
                <condition>
                    <and>
                        <property>/engines/active-engine/oil_consumption_allowed</property>
                        <not>
                            <property>/engines/active-engine/running</property>
                        </not>
                        <or>
                            <property>/fdm/jsbsim/gear/unit[1]/WOW</property>
                            <property>/fdm/jsbsim/gear/unit[19]/WOW</property>
                            <property>/fdm/jsbsim/gear/unit[23]/WOW</property>
                            <property>/fdm/jsbsim/hydro/active-norm</property>
                        </or>
                        <equals>
                            <property>/controls/engines/active-engine</property>
                            <value>1</value>
                        </equals>
                    </and>
                </condition>
                <command>dialog-show</command>
                <dialog-name>c172p-oil-dialog-180</dialog-name>
            </binding>
            <binding>
                <condition>
                    <and>
                        <property>/engines/active-engine/running</property>
                        <or>
                            <property>/fdm/jsbsim/gear/unit[1]/WOW</property>
                            <property>/fdm/jsbsim/gear/unit[19]/WOW</property>
                            <property>/fdm/jsbsim/gear/unit[23]/WOW</property>
                            <property>/fdm/jsbsim/hydro/active-norm</property>
                        </or>
                        <property>/engines/active-engine/oil_consumption_allowed</property>
                    </and>
                </condition>
                <command>nasal</command>
                <script>
                    gui.popupTip("You can't check the oil level with the engine running!");
                </script>
            </binding>
            <binding>
                <condition>
                    <and>
                        <not>
                            <or>
                                <property>/fdm/jsbsim/gear/unit[1]/WOW</property>
                                <property>/fdm/jsbsim/gear/unit[19]/WOW</property>
                                <property>/fdm/jsbsim/gear/unit[23]/WOW</property>
                                <property>/fdm/jsbsim/hydro/active-norm</property>
                            </or>
                        </not>
                        <property>/engines/active-engine/oil_consumption_allowed</property>
                    </and>
                </condition>
                <command>nasal</command>
                <script>
                    gui.popupTip("You can't check the oil level while in the air!");
                </script>
            </binding>
        </action>
        <hovered>
            <binding>
                <condition>
                    <and>
                        <not>
                            <property>/engines/active-engine/running</property>
                        </not>
                        <or>
                            <property>/fdm/jsbsim/gear/unit[1]/WOW</property>
                            <property>/fdm/jsbsim/gear/unit[19]/WOW</property>
                            <property>/fdm/jsbsim/gear/unit[23]/WOW</property>
                            <property>/fdm/jsbsim/hydro/active-norm</property>
                        </or>
                        <property>/engines/active-engine/oil_consumption_allowed</property>
                    </and>
                </condition>
                <command>set-tooltip</command>
                <tooltip-id>oil-sump</tooltip-id>
                <label>Oil Sump</label>
            </binding>
        </hovered>
    </animation>

    <model>
        <name>extinguisher</name>
        <path>Interior/FE-ELT/fe.xml</path>
        <offsets>
            <x-m>-1.3</x-m>
            <y-m>0.15</y-m>
            <z-m>-0.2</z-m>
            <roll-deg>-90.0</roll-deg>
            <heading-deg>0.0</heading-deg>
        </offsets>
    </model>
    <animation>
        <type>select</type>
        <object-name>extinguisher</object-name>
        <condition>
            <and>
                <not-equals>
                    <property alias="/params/bushkit"/>
                    <value>3</value>
                </not-equals>
                <not-equals>
                    <property alias="/params/bushkit"/>
                    <value>4</value>
                </not-equals>
            </and>
        </condition>
    </animation>

   <model>
        <name>extinguisher-amphibious</name>
        <path>Interior/FE-ELT/fe2.xml</path>
        <offsets>
            <x-m>-1.3</x-m>
            <y-m>-0.075</y-m>
            <z-m>-0.2</z-m>
            <roll-deg>-90.0</roll-deg>
            <heading-deg>0.0</heading-deg>
        </offsets>
    </model>
    <animation>
        <type>select</type>
        <object-name>extinguisher-amphibious</object-name>
        <condition>
            <or>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>3</value>
                </equals>
                <equals>
                    <property alias="/params/bushkit"/>
                    <value>4</value>
                </equals>
            </or>
        </condition>
    </animation>

    <model>
        <name>elt</name>
        <path>Interior/FE-ELT/elt.xml</path>
        <offsets>
            <x-m>-1.30</x-m>
            <y-m>0.0</y-m>
            <z-m>-0.3</z-m>
            <heading-deg>0.0</heading-deg>
        </offsets>
    </model>

</PropertyList>