<?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>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>

    <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");

            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));
            }, 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/multiplay/generic/int[9]", 0, "INT");

            # Damage
            rplayer.initNode("sim/multiplay/generic/int[14]", 0, "INT");
            rplayer.initNode("sim/multiplay/generic/int[18]", 0, "INT");
            rplayer.initNode("sim/multiplay/generic/int[19]", 0, "INT");
        </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>

        <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>
            <property>sim/multiplay/generic/int[9]</property>
        </bushkit>

        <!-- 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>
            <left-rollspeed-ms>engines/engine[7]/n1</left-rollspeed-ms>
            <right-rollspeed-ms>engines/engine[7]/n2</right-rollspeed-ms>
            <nose-rollspeed-ms>engines/engine[7]/rpm</nose-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>
        </engine>
        <!-- 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>
        </controls>
    </params>

    <!-- Normal shader effect. Separate effects required for each normal map texture -->
    <effect>
        <inherits-from>Effects/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>
    </effect>
    <effect>
        <inherits-from>Effects/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>LRwheel</object-name>
        <object-name>RRwheel</object-name>
        <object-name>LRAxle</object-name>
        <object-name>RRAxle</object-name>
        <object-name>LFrontWheel</object-name>
        <object-name>RFrontWheel</object-name>
        <object-name>LAxle</object-name>
        <object-name>RAxle</object-name>
        <object-name>LRtarm</object-name>
        <object-name>RRtarm</object-name>
        <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>Ldamper</object-name>
        <object-name>Rdamper</object-name>
        <object-name>Lstrut.001</object-name>
        <object-name>Lstrut.002</object-name>
        <object-name>Rstrut.001</object-name>
        <object-name>Rstrut.002</object-name>
        <object-name>LHrudder</object-name>
        <object-name>RHrudder</object-name>
    </effect>
    <effect>
        <inherits-from>Effects/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>

    <!--  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>
        <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>LRwheel</object-name>
        <object-name>RRwheel</object-name>
        <object-name>LRAxle</object-name>
        <object-name>RRAxle</object-name>
        <object-name>LFrontWheel</object-name>
        <object-name>RFrontWheel</object-name>
        <object-name>LAxle</object-name>
        <object-name>RAxle</object-name>
        <object-name>LRtarm</object-name>
        <object-name>RRtarm</object-name>
        <object-name>Ldamper</object-name>
        <object-name>Rdamper</object-name>
        <object-name>Lstrut.001</object-name>
        <object-name>Lstrut.002</object-name>
        <object-name>Rstrut.001</object-name>
        <object-name>Rstrut.002</object-name>
        <object-name>LHrudder</object-name>
        <object-name>RHrudder</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>

    <!-- Transparent Surfaces for Rembrandt rendering -->
    <effect>
        <inherits-from>Effects/model-transparent</inherits-from>
        <object-name>navlight_left</object-name>
        <object-name>navlight_right</object-name>
        <object-name>navlight_back</object-name>
        <object-name>strobe1</object-name>
        <object-name>strobe2</object-name>
        <object-name>navlight_back</object-name>
        <object-name>BeaconOffX</object-name>

        <!-- damage mod -->
        <object-name>navlight_leftU</object-name>
        <object-name>navlight_leftD</object-name>
        <object-name>navlight_leftBD</object-name>
        <object-name>navlight_leftCollapse</object-name>
        <object-name>navlight_leftDRB</object-name>
        <object-name>navlight_leftGRB</object-name>
        <object-name>navlight_rightU</object-name>
        <object-name>navlight_rightD</object-name>
        <object-name>navlight_rightBD</object-name>
        <object-name>navlight_rightCollapse</object-name>
        <object-name>navlight_rightDLB</object-name>
        <object-name>navlight_rightGLB</object-name>
        <object-name>strobe1BD</object-name>
        <object-name>strobe2BD</object-name>
        <object-name>strobe1Collapse</object-name>
        <object-name>strobe2Collapse</object-name>
    </effect>

    <!-- interior effects -->
    <effect>
        <inherits-from>Effects/interior/c172p-interior</inherits-from>
        <object-name>AirVent_left</object-name>
        <object-name>AirVent_right</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>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>backseat_left</object-name>
        <object-name>carpet</object-name>
        <object-name>chassis</object-name>
        <object-name>pilotseat_left</object-name>
        <object-name>pilotseat_right</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>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>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>Panel_0</object-name>
        <object-name>doorhandleint_right</object-name>
        <object-name>doorhandleint_left</object-name>
        <object-name>doorint_right</object-name>
        <object-name>doorint_left</object-name>
        <object-name>ParkingBrake</object-name>
        <object-name>PrimerLever</object-name>
        <object-name>bolts_cabin</object-name>
        <object-name>bolts_panel</object-name>
        <object-name>seat_mount</object-name>
        <object-name>windlocket_right</object-name>
        <object-name>windlocket_left</object-name>
        <object-name>CeilingSpeaker</object-name>
    </effect>
    <effect>
        <inherits-from>Effects/interior/c172p-interior-glass-shadow</inherits-from>
        <object-name>glas</object-name>
        <object-name>leftwindow</object-name>
        <object-name>rightwindow</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>
    <effect>
        <inherits-from>Effects/glass</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>
    </effect>
    <effect>
        <inherits-from>Effects/model-transparent</inherits-from>
        <object-name>Propeller.Fast</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>

    <!-- 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>Models/Aircraft/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>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>
            <!-- MOD: AI Position XYZ
                 <x-m>-0.369</x-m>
                 <y-m>-0.222</y-m>
                 <z-m>0.069</z-m>
            -->
            <x-m>-0.369</x-m>
            <y-m>-0.22147</y-m>
            <z-m>0.06863</z-m>
            <!-- MODEND: AI Position XYZ -->
        </offsets>
    </model>
    <model>
        <name>Altimeter</name>
        <path>Interior/Panel/Instruments/alt/alt.xml</path>
        <offsets>
            <!-- MOD: ALTIMETER Position XYZ
                 <x-m>-0.369</x-m>
                 <y-m>-0.133</y-m>
                 <z-m>0.069</z-m>
            -->
            <x-m>-0.369</x-m>
            <y-m>-0.13245</y-m>
            <z-m>0.06863</z-m>
            <!-- MODEND: ALTIMETER Position XYZ -->
        </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.116</y-m>
            <!-- <z-m>-0.092</z-m> -->
            <z-m>-0.135</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.116</y-m>
            <!-- <z-m>-0.142</z-m> -->
            <z-m>-0.088</z-m>
        </offsets>
    </model>
    <model>
        <name>asi</name>
        <path>Interior/Panel/Instruments/asi/asi.xml</path>
        <offsets>
            <!-- MOD: ASI Position XYZ
                 <x-m>-0.368</x-m>
                 <y-m>-0.311</y-m>
                 <z-m>0.068</z-m>
            -->
            <x-m>-0.369</x-m>
            <y-m>-0.31185</y-m>
            <z-m>0.06863</z-m>
            <!-- MODEND: ASI Position XYZ -->
        </offsets>
    </model>
    <model>
        <name>Turn</name>
        <path>Interior/Panel/Instruments/tc/tc.xml</path>
        <offsets>
            <!-- MOD: TC Position XYZ
                 <x-m>-0.368</x-m>
                 <y-m>-0.311</y-m>
                 <z-m>0.068</z-m>
            -->
            <x-m>-0.369</x-m>
            <y-m>-0.31165</y-m>
            <z-m>-0.03574</z-m>
            <!-- MODEND: TC Position XYZ -->
        </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.03574</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>
            <!-- MOD: VOR1 Position XYZ
                 <x-m>-0.368</x-m>
                 <y-m>-0.041</y-m>
                 <z-m>0.069</z-m>
            -->
            <x-m>-0.369</x-m>
            <y-m>-0.0423</y-m>
            <z-m>0.06863</z-m>
            <!-- MODEND: VOR2 Position YZ -->
        </offsets>
    </model>
    <model>
        <name>vor2</name>
        <path>Interior/Panel/Instruments/vor/vor2.xml</path>
        <offsets>
            <!-- MOD: VOR2 Position YZ
                 <x-m>-0.368</x-m>
                 <y-m>-0.041</y-m>
                 <z-m>-0.036</z-m>
            -->
            <x-m>-0.369</x-m>
            <y-m>-0.0423</y-m>
            <z-m>-0.03574</z-m>
            <!-- MODEND: VOR2 Position YZ -->
        </offsets>
    </model>
    <model>
        <name>adf</name>
        <path>Interior/Panel/Instruments/kr87-adf/ki227_228.xml</path>
        <offsets>
            <!-- MOD: ADF Position xyz
                 <x-m>-0.368</x-m>
                 <y-m>-0.041</y-m>
                 <z-m>-0.141</z-m>
            -->
            <x-m>-0.372</x-m>
            <y-m>-0.04214</y-m>
            <z-m>-0.14037</z-m>
            <!-- MODEND: ADF Position xyz -->
        </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.017</z-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.036</z-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.113</y-m>
            <!-- <z-m>0.061</z-m> -->
            <z-m>-0.045</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.113</y-m>
            <z-m>-0.178</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</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>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>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: 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>PanelInstruments</object-name>
        <object-name>ElectronicsGroup</object-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>
    </animation> -->
    <!-- <animation>
        <type>range</type>
        <object-name>ControlsGroup</object-name>
        <min-m>0</min-m>
        <max-m>10.0</max-m>
    </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</label>
            </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.1</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.1</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>

    <!-- Pick animation for the doors -->
    <animation>
        <type>pick</type>
        <object-name>doorhandleext_right</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>doorhandleext_left</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>
    <animation>
        <type>pick</type>
        <object-name>baggagedoorhandle</object-name>
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>nasal</command>
                <script>c172p.baggageDoor.toggle();</script>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <tooltip-id>door-handle-baggage</tooltip-id>
                <label>Baggage Door Open/Close</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>
        <!-- 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>
        <!-- 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>

    <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>/controls/gear/brake-parking</property>
        <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>/controls/gear/brake-parking</property>
        <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>/controls/gear/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>/controls/gear/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>controls/anti-ice/engine[0]/carb-heat</property>
        <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/anti-ice/engine[0]/carb-heat</property>
            </binding>
        </action>
    </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>

    <!-- 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>InteriorGroup</name>
        <object-name>Cabin</object-name>
        <object-name>Panel</object-name>
        <object-name>PilotSeat</object-name>
        <object-name>CopilotSeat</object-name>
        <object-name>BackSeat</object-name>
        <object-name>MagCompass</object-name>
    </animation>
    <animation>
        <type>range</type>
        <object-name>InteriorGroup</object-name>
        <min-m>0</min-m>
        <max-m>50</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>
        <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>1.0</max>
        <min>0.0</min>
    </animation>
    <animation>
        <type>select</type>
        <object-name>navlight_left</object-name>
        <object-name>navlight_right</object-name>
        <object-name>navlight_back</object-name>
        <!-- Damage Mod -->
        <object-name>navlight_leftU</object-name>
        <object-name>navlight_leftD</object-name>
        <object-name>navlight_leftBD</object-name>
        <object-name>navlight_leftCollapse</object-name>
        <object-name>navlight_leftDRB</object-name>
        <object-name>navlight_leftGRB</object-name>
        <object-name>navlight_rightU</object-name>
        <object-name>navlight_rightD</object-name>
        <object-name>navlight_rightBD</object-name>
        <object-name>navlight_rightCollapse</object-name>
        <object-name>navlight_rightDLB</object-name>
        <object-name>navlight_rightGLB</object-name>
        <condition>
            <property alias="../../../params/lighting/navigation"/>
        </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>navlight_back</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>
        <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>
        <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>
        <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>
        <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>

    <!-- 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>
        <property alias="/params/gear/right-rollspeed-ms"/>
        <factor>13</factor>
        <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>
        <property alias="/params/gear/left-rollspeed-ms"/>
        <factor>13</factor>
        <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>
        <property alias="/params/gear/nose-rollspeed-ms"/>
        <factor>13</factor>
        <axis>
            <x>0</x>
            <y>-1</y>
            <z>0</z>
        </axis>
        <center>
            <x-m>-1.11403</x-m>
            <y-m>0.00000</y-m>
            <z-m>-1.18615</z-m>
        </center>
    </animation>
    <!-- MODEND: Spin to gears -->

    <!-- Damage Mod  -->

    <!-- Props Not Damaged -->
    <animation>
        <type>select</type>
        <object-name>Propeller</object-name>
        <object-name>Propeller.Fast</object-name>
        <condition>
            <and>
                <not>
                    <property alias="/params/gear_nose_broken/property"/>
                </not>
                <equals>
                    <property alias="/params/pontoon_left_damaged/property"/>
                    <value>0</value>
                </equals>
                <equals>
                    <property alias="/params/pontoon_right_damaged/property"/>
                    <value>0</value>
                </equals>
            </and>
        </condition>
    </animation>

    <!--Prop Damaged -->
    <animation>
        <type>select</type>
        <object-name>PropellerD</object-name>
        <condition>
            <or>
                <property alias="/params/gear_nose_broken/property"/>
                <not-equals>
                    <property alias="/params/pontoon_left_damaged/property"/>
                    <value>0</value>
                </not-equals>
                <not-equals>
                    <property alias="/params/pontoon_right_damaged/property"/>
                    <value>0</value>
                </not-equals>
            </or>
        </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>navlight_right</object-name>
        <object-name>LeftNavLight</object-name>
        <object-name>navlight_left</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>navlight_rightCollapse</object-name>
        <object-name>LeftNavLightCollapse</object-name>
        <object-name>navlight_leftCollapse</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>navlight_rightBD</object-name>
        <object-name>LeftNavLightBD</object-name>
        <object-name>navlight_leftBD</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>navlight_leftD</object-name>
        <object-name>RightNavLightU</object-name>
        <object-name>navlight_rightU</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>navlight_rightD</object-name>
        <object-name>LeftNavLightU</object-name>
        <object-name>navlight_leftU</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>
        <object-name>navlight_rightDLB</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>navlight_leftDRB</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>
        <object-name>navlight_rightGLB</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>navlight_leftGRB</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/property"/>
                    <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/property"/>
                    <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/property"/>
                    <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/property"/>
                    <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/property"/>
                        <value>3</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit/property"/>
                        <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/property"/>
                        <value>3</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit/property"/>
                        <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>
        <condition>
            <or>
                <equals>
                    <property alias="/params/bushkit/property"/>
                    <value>3</value>
                </equals>
                <equals>
                    <property alias="/params/bushkit/property"/>
                    <value>4</value>
                </equals>
            </or>
        </condition>
    </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/property"/>
                    <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/property"/>
                    <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/property"/>
                    <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/property"/>
                    <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/property"/>
                    <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/property"/>
                    <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/property"/>
                    <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/property"/>
                    <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/property"/>
                        <value>3</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit/property"/>
                        <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/property"/>
                        <value>3</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit/property"/>
                        <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/property"/>
                        <value>3</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit/property"/>
                        <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/property"/>
                        <value>3</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit/property"/>
                        <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/property"/>
                    <value>0</value>
                </equals>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>NoseWheelBK</object-name>
        <object-name>AxleBK.001</object-name>
        <object-name>NoseWheelStrutBK</object-name>
        <condition>
            <and>
                <not>
                    <property alias="/params/gear_nose_broken/property"/>
                </not>
                <or>
                    <equals>
                        <property alias="/params/bushkit/property"/>
                        <value>1</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit/property"/>
                        <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/property"/>
                        <value>0</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit/property"/>
                        <value>1</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit/property"/>
                        <value>2</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/property"/>
                    <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/property"/>
                        <value>1</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit/property"/>
                        <value>2</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/property"/>
                    <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/property"/>
                    <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>
                <equals>
                    <property alias="/params/bushkit/property"/>
                    <value>2</value>
                </equals>
            </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/property"/>
                        <value>0</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit/property"/>
                        <value>1</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit/property"/>
                        <value>2</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/property"/>
                    <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/property"/>
                    <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"/>
                <equals>
                    <property alias="/params/bushkit/property"/>
                    <value>2</value>
                </equals>
            </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/property"/>
                        <value>0</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit/property"/>
                        <value>1</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit/property"/>
                        <value>2</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/property"/>
                    <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/property"/>
                    <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>
                <equals>
                    <property alias="/params/bushkit/property"/>
                    <value>2</value>
                </equals>
            </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/property"/>
                        <value>0</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit/property"/>
                        <value>1</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit/property"/>
                        <value>2</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/property"/>
                    <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/property"/>
                    <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"/>
                <equals>
                    <property alias="/params/bushkit/property"/>
                    <value>2</value>
                </equals>
            </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/property"/>
                        <value>0</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit/property"/>
                        <value>1</value>
                    </equals>
                    <equals>
                        <property alias="/params/bushkit/property"/>
                        <value>2</value>
                    </equals>
                </or>
            </and>
        </condition>
    </animation>
    <!-- End Damage Mod-->

    <!-- Lights -->

    <!-- 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>
        <object-name>landinglight2</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>
        <condition>
            <and>
                <property alias="/params/lighting/landing/property"/>
                <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>
        <!-- Damage Mod -->
        <object-name>landinglightBD</object-name>
        <object-name>landinglightCollapse</object-name>
    </animation>
    <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.117</x-m>
            <y-m>-2.872</y-m>
            <z-m>0.528</z-m>
        </center>
        <axis>
            <x>-1</x>
            <y>0</y>
            <z>0</z>
        </axis>
        <power>0.5</power>
        <factor>1</factor>
        <offset>0</offset>
        <two-sides type="bool">false</two-sides>
        <min>0.01</min>
        <max>1</max>
    </animation>

    <!-- Strobe -->

    <!-- Damage Mod -->
    <animation>
        <type>select</type>
        <object-name>strobe1</object-name>
        <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>
        <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 -->

    <animation>
        <type>range</type>
        <min-m>0</min-m>
        <max-m>25000</max-m>
    </animation>
    <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.253912</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>
        <condition>
            <property alias="/params/lighting/beacon"/>
        </condition>
    </animation>
    <animation>
        <type>range</type>
        <min-m>0</min-m>
        <max-m>25000</max-m>
    </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.588312</offset-m>
        <axis>
            <!-- MOD: Position beacon light at MEDIAN point of the object
                <x>5.466914</x>
                <y>0</y>
                <z>1.15848</z>
            -->
            <x>5.49464</x>
            <y>-0.00000</y>
            <z>1.09533</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/property"/>
                </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/property"/>
                </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/property"/>
                </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/property"/>
                </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/property"/>
                </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/property"/>
                </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>
        <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>
        <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>

    <!-- 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 not visible in the cockpit AND walker modes -->
    <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-equals>
                    <property>sim/current-view/name</property>
                    <value>Walk View</value>
                </not-equals>
                <not-equals>
                    <property>sim/current-view/name</property>
                    <value>Walker Orbit View</value>
                </not-equals>

                <property>sim/model/occupants</property>
            </and>
        </condition>
    </animation>

    <!-- Co-pilot and passangers not visible if not enough weight on his seat -->
    <animation>
        <type>select</type>
        <object-name>Copilot</object-name>
        <condition>
            <and>
                <property>pax/co-pilot/present</property>
                <property>sim/model/occupants</property>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>LeftPassenger</object-name>
        <condition>
            <and>
                <property>pax/right-passenger/present</property>
                <property>sim/model/occupants</property>
            </and>
        </condition>
    </animation>
    <animation>
        <type>select</type>
        <object-name>RightPassenger</object-name>
        <condition>
            <and>
                <property>pax/left-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 -->

</PropertyList>