<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="livestockTrailer" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>Fenix 60</name>
        <functions>
            <function>$l10n_function_livestockTrailer</function>
        </functions>
        <image>Fenix60/store_Fenix60.png</image>
        <price>21000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>MAITRE</brand>
        <category>animalTransport</category>
        <vertexBufferMemoryUsage>1043712</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>225792</indexBufferMemoryUsage>
        <textureMemoryUsage>1638400</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_livestockTrailer</typeDesc>
        <filename>Fenix60/Fenix60.i3d</filename>
        <size width="3" length="8.5" height="3.2" lengthOffset="0.2" />
        <components>
            <component centerOfMass="0 0.7 -0.5" solverIterationCount="10" mass="2500" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TRAILER" />
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration>
                <wheels>
                    <wheel filename="$data/shared/wheels/tires/continental/contiHybridHT3/385_65R19_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="0.6" repr="wheelLeft"   forcePointRatio="0.3" initialCompression="20" suspTravel="0.1" spring="21" damper="20"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/continental/contiHybridHT3/385_65R19_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="0.6" repr="wheelRight"  forcePointRatio="0.3" initialCompression="20" suspTravel="0.1" spring="21" damper="20"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>

        <hubMaterial useDesignColorIndex="1" />

        <hubs>
            <hub linkNode="wheelLeft"   filename="$data/shared/wheels/hubs/hub_n8_6.xml" isLeft="true"  scale="0.3 0.3 0.3" offset="0.015" />
            <hub linkNode="wheelRight"  filename="$data/shared/wheels/hubs/hub_n8_6.xml" isLeft="false" scale="0.3 0.3 0.3" offset="0.015" />
        </hubs>
    </wheels>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="trailer" attacherHeight="0.58" />
        </inputAttacherJoints>
        <support animationName="moveSupport" />
        <brakeForce force="0.2"/>
    </attachable>

    <lights>
        <sharedLight linkNode="LeftLight" filename="shared/Lights/rearLight_left.xml"/>
        <sharedLight linkNode="RightLight" filename="shared/Lights/rearLight_right.xml"/>
        <sharedLight linkNode="plateNumberLight01" filename="$data/shared/assets/lights/lizard/plateNumberLight04.xml" />
        <sharedLight linkNode="plateNumberLight02" filename="$data/shared/assets/lights/lizard/plateNumberLight04.xml" />
        <sharedLight linkNode="whiteRectangle_01"   filename="$data/shared/assets/reflectors/lizard/whiteRectangle_01.xml" />
        <sharedLight linkNode="whiteRectangle_02"   filename="$data/shared/assets/reflectors/lizard/whiteRectangle_01.xml" />
        <sharedLight linkNode="yellowRectangle_01"  filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml" />
        <sharedLight linkNode="yellowRectangle_02"  filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml" />
        <sharedLight linkNode="yellowRectangle_03"  filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml" />
        <sharedLight linkNode="yellowRectangle_04"  filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml" />
        <sharedLight linkNode="yellowRectangle_05"  filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml" />
        <sharedLight linkNode="yellowRectangle_06"  filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml" />

        <realLights>
            <high>
                <light node="backLightsHigh"        lightTypes="0"/>
                <light node="licensePlateLightHigh_0" lightTypes="0"/>
                <turnLightLeft  node="turnLightLeftBack"/>
                <turnLightRight node="turnLightRightBack"/>
                <brakeLight node="backLightsHigh"/>
            </high>
        </realLights>

        <beaconLights>
            <beaconLight node="Flash" filename="shared/FlashLed/flashled.xml"/>
        </beaconLights>
    </lights>

    <licensePlates>
        <licensePlate node="licencePlate" position="BACK" preferedType="ELONGATED" placementArea="0.08 0.27 0.07 0.27"/>
    </licensePlates>

    <connectionHoses>
        <hose inputAttacherJointIndices="1" type="hydraulicIn" node="hydraulicIn01" length="1.5" diameter="0.015" straighteningFactor="1.2">
            <objectChange node="Hydraulic01" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="hydraulicOut01" length="1.5" diameter="0.015" straighteningFactor="1.2">
            <objectChange node="Hydraulic02" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicIn" node="hydraulicIn02" length="1.5" diameter="0.015" straighteningFactor="1.2">
            <objectChange node="Hydraulic03" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="1|0" linkNode="connector_0"  filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="1|0" linkNode="connector_1" filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="1|0" linkNode="connector_2"  filename="$data/shared/connectionHoses/connectors.i3d" />
    </dynamicallyLoadedParts>

    <foldable>
        <foldingConfigurations>
            <foldingConfiguration>
                <foldingParts requiresPower="false">
                    <foldingPart animationName="folding" speedScale="1.0" />
                </foldingParts>
            </foldingConfiguration>
        </foldingConfigurations>
    </foldable>

    <cylindered>
        <movingTools>
            <movingTool node="Rampe">
                <dependentPart node="RampHydraulic" />
            </movingTool>
            <movingTool node="LeftBackDoor">
                <dependentPart node="LeftLock" />
            </movingTool>
            <movingTool node="RightBackDoor">
                <dependentPart node="RightLock" />
            </movingTool>
            <movingTool node="LefttHandle">
                <dependentPart node="LeftTenant" />
                <dependentPart node="LeftDoorSpring" />
            </movingTool>
            <movingTool node="RightHandle">
                <dependentPart node="RightTenant" />
                <dependentPart node="RightDoorSpring" />
            </movingTool>
        </movingTools>

        <movingParts>
            <movingPart node="RampHydraulic" referencePoint="RampHydraulicRef" referenceFrame="RampHydraulicRef">
                <translatingPart node="HydraulicPush" />
            </movingPart>
            <movingPart node="LeftLock" referencePoint="LeftLockRef" referenceFrame="LeftLockRef"/>
            <movingPart node="RightLock" referencePoint="RightLockRef" referenceFrame="RightLockRef"/>
            <movingPart node="LeftTenant" referencePoint="LeftTenantRef" referenceFrame="LeftTenantRef"/>
            <movingPart node="RightTenant" referencePoint="RightTenantRef" referenceFrame="RightTenantRef"/>

            <movingPart node="LeftDoorSpring" referencePoint="LeftDoorSpringRef" referenceFrame="LeftDoorSpringRef" scaleZ="true"/>
            <movingPart node="RightDoorSpring" referencePoint="RightDoorSpringRef" referenceFrame="RightDoorSpringRef" scaleZ="true"/>
        </movingParts>
    </cylindered>

    <animations>
        <animation name="moveSupport">
            <part node="Bequillle" startTime="0.0" endTime="0.5" startRot="0 0 148.5" endRot="0 0 0" />
            <part node="BequilleRef" startTime="0.0" endTime="0.5" startRot="0 0 -148.5" endRot="0 0 0" />
            <part node="BequilllePush"     startTime="0.5" endTime="0.6" startTrans="0 0.08 0" endTrans="0 -0.05 0" />

            <sound template="slideOpen"  startTime="0.01" endTime="0.59" volumeScale="1.5" pitchScale="1"   linkNode="attacherJoint"/>
            <sound template="clackVar6"  startTime="0.5"  direction="-1" volumeScale="1.1" pitchScale="1.4" linkNode="attacherJoint"/>
        </animation>

        <animation name="folding">
            <part node="LockRampe"       startTime="0.0" endTime="0.1" startRot="0 0 0" endRot="40 0 0" />
            <part node="Rampe"       startTime="0.1" endTime="2.5" startRot="0 0 0" endRot="-107 0 0" />
            <part node="LeftDoorLock"  startTime="2.5" endTime="2.7" startTrans="-0.98 0 -0.002" endTrans="-0.98 0.04 -0.002" />
            <part node="LefttHandle"  startTime="2.5" endTime="2.7" startRot="17.744 -90 0" endRot="-17.744 -90 0" />
            <part node="LeftDoorLock"  startTime="3.2" endTime="3.4" startTrans="-0.98 0.04 -0.002" enhydraulicOpen02dTrans="-0.98 0 -0.002" />
            <part node="LefttHandle"  startTime="3.2" endTime="3.4" startRot="-17.744 -90 0" endRot="17.744 -90 0" />
            <part node="LeftBackDoor"      startTime="3" endTime="4.5" startRot="0 0 0" endRot="0 -110 0" />
            <part node="RighDoortLock"  startTime="2.7" endTime="2.9" startTrans="0.98 0 -0.002" endTrans="0.98 0.04 -0.002" />
            <part node="RightHandle" startTime="2.7" endTime="2.9" startRot="17.744 90 0" endRot="-17.744 90 0" />
            <part node="RighDoortLock"  startTime="3.4" endTime="3.6" startTrans="0.98 0.04 -0.002" endTrans="0.98 0 -0.002" />
            <part node="RightHandle" startTime="3.4" endTime="3.6" startRot="-17.744 90 0" endRot="17.744 90 0" />
            <part node="RightBackDoor"     startTime="3.2" endTime="4.7" startRot="0 0 0" endRot="0 110 0" />

            <sound template="hydraulicOpen02" startTime="0.01" endTime="2.49"               volumeScale="1.3" pitchScale="0.7"/>
            <sound template="foldStartMed02"     startTime="2.49"               direction="1"  volumeScale="2.3" pitchScale="0.7"/>
            <sound template="cylinderPunch"      startTime="2.49"               direction="1"  volumeScale="0.5" pitchScale="1"/>
            <sound template="foldStartMed02"     startTime="0.1"                direction="-1" volumeScale="2.6" pitchScale="0.7"/>
            <sound template="cylinderPunch"      startTime="0.01"               direction="-1" volumeScale="0.5" pitchScale="1"/>
            <sound template="clackVar1"          startTime="1.5"                direction="0"  volumeScale="1.3" pitchScale="1.4" />
            <sound template="metalOpen"          startTime="1.5"                direction="0"  volumeScale="1.3" pitchScale="1.4" />
            <sound template="clackVar1"          startTime="2.5"                direction="0"  volumeScale="1.3" pitchScale="1.2" />
            <sound template="metalOpen"          startTime="2.5"                direction="0"  volumeScale="1.3" pitchScale="1.5" />
            <sound template="metalDoorsLoop"     startTime="1.7"  endTime="3.5" direction="0"  volumeScale="1"   pitchScale="0.7" linkNode="RightBackDoor"/>
            <sound template="metalDoorsLoop"     startTime="2.7"  endTime="4.5" direction="0"  volumeScale="1"   pitchScale="0.5" linkNode="LeftBackDoor"/>
            <sound template="hingeMedium"        startTime="2"                  direction="1"  volumeScale="1"   pitchScale="0.7" linkNode="RightBackDoor"/>
            <sound template="clackVar6"          startTime="3.5"                direction="1"  volumeScale="0.8" pitchScale="0.8" linkNode="RightBackDoor"/>
            <sound template="sheetImp02"         startTime="3.5"                direction="1"  volumeScale="1.3" pitchScale="1.6" linkNode="RightBackDoor"/>
            <sound template="cylinderPunch"      startTime="3.5"                direction="1"  volumeScale="0.3" pitchScale="2"   linkNode="RightBackDoor"/>
            <sound template="clackVar6"          startTime="4.5"                direction="1"  volumeScale="0.8" pitchScale="0.8" linkNode="LeftBackDoor"/>
            <sound template="sheetImp02"         startTime="4.5"                direction="1"  volumeScale="1.2" pitchScale="1.6" linkNode="LeftBackDoor"/>
            <sound template="cylinderPunch"      startTime="4.5"                direction="1"  volumeScale="0.3" pitchScale="2"   linkNode="LeftBackDoor"/>
            <sound template="metalClose"         startTime="2.7"                direction="-1" volumeScale="1"   pitchScale="1"   linkNode="LeftBackDoor"/>
            <sound template="clackVar6"          startTime="2.7"                direction="-1" volumeScale="1.3" pitchScale="0.9" linkNode="LeftBackDoor"/>
            <sound template="cylinderPunch"      startTime="2.7"                direction="-1" volumeScale="0.3" pitchScale="1.4" linkNode="LeftBackDoor"/>
            <sound template="metalClose"         startTime="1.7"                direction="-1" volumeScale="1"   pitchScale="1.3" linkNode="RightBackDoor"/>
            <sound template="clackVar6"          startTime="1.7"                direction="-1" volumeScale="1.1" pitchScale="0.7" linkNode="RightBackDoor"/>
            <sound template="cylinderPunch"      startTime="1.7"                direction="-1" volumeScale="0.3" pitchScale="1.8" linkNode="RightBackDoor"/>
        </animation>
    </animations>

    <livestockTrailer>
        <animal type="sheep" node="sheeps" numSlots="12" />
        <animal type="pig"   node="pigs"   numSlots="14" />
        <animal type="cow"   node="cows"   numSlots="6" />
        <animal type="horse"   node="horse"   numSlots="6" />
    </livestockTrailer>

    <ai>
        <agentAttachment jointNode="attacherJoint" rotCenterWheelIndices="1 2" width="2.6" height="3.2" length="7.2" lengthOffset="1.2"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-0.15" maxX="0.15" minZ="2.7" maxZ="4.5" yOffset="0.45" />
        <bendingNode minX="-1.2" maxX="1.2" minZ="-3.6" maxZ="2.7" yOffset="0.45" />
    </foliageBending>

    <design4Configurations title="$l10n_configuration_color">
        <design4Configuration name="$l10n_ui_colorRed">
            <material materialSlotName="maitre_mat" materialTemplateName="MAITRE_RED"/>
            <material materialSlotName="hub_main_mat" materialTemplateName="MAITRE_RED"/>
        </design4Configuration>
        <design4Configuration name="$l10n_ui_colorYellow">
            <material materialSlotName="maitre_mat" materialTemplateName="MAITRE_YELLOW"/>
            <material materialSlotName="hub_main_mat" materialTemplateName="MAITRE_YELLOW"/>
        </design4Configuration>
        <design4Configuration name="$l10n_ui_colorBlack">
            <material materialSlotName="maitre_mat" materialTemplateName="MAITRE_BLACK"/>
            <material materialSlotName="hub_main_mat" materialTemplateName="MAITRE_BLACK"/>
        </design4Configuration>
        <design4Configuration name="$l10n_ui_colorGrey">
            <material materialSlotName="maitre_mat" materialTemplateName="MAITRE_GREY"/>
            <material materialSlotName="hub_main_mat" materialTemplateName="MAITRE_GREY"/>
        </design4Configuration>
        <design4Configuration name="$l10n_ui_colorOrange">
            <material materialSlotName="maitre_mat" materialTemplateName="MAITRE_ORANGE"/>
            <material materialSlotName="hub_main_mat" materialTemplateName="MAITRE_ORANGE"/>
        </design4Configuration>
    </design4Configurations>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="4" fieldMultiplier="2"/>

    <i3dMappings>
      <i3dMapping id="Fenix60" node="0>0" />
      <i3dMapping id="attacherJoint" node="0>0|0|0" />
      <i3dMapping id="connectionHoses" node="0>0|0|1" />
      <i3dMapping id="hydraulicIn01" node="0>0|0|1|0" />
      <i3dMapping id="Hydraulic01" node="0>0|0|1|0|0" />
      <i3dMapping id="connector_0" node="0>0|0|1|0|0|0" />
      <i3dMapping id="hydraulicOut01" node="0>0|0|1|1" />
      <i3dMapping id="Hydraulic02" node="0>0|0|1|1|0" />
      <i3dMapping id="connector_1" node="0>0|0|1|1|0|0" />
      <i3dMapping id="hydraulicIn02" node="0>0|0|1|2" />
      <i3dMapping id="Hydraulic03" node="0>0|0|1|2|0" />
      <i3dMapping id="connector_2" node="0>0|0|1|2|0|0" />
      <i3dMapping id="Bequillle" node="0>0|0|2" />
      <i3dMapping id="BequilllePush" node="0>0|0|2|0" />
      <i3dMapping id="supportArmCol" node="0>0|0|2|0|0" />
      <i3dMapping id="BequilleRef" node="0>0|0|2|1" />
      <i3dMapping id="wheelLeft" node="0>0|1|0" />
      <i3dMapping id="wheelRight" node="0>0|1|1" />
      <i3dMapping id="sharedLights" node="0>0|2|0" />
      <i3dMapping id="LeftLight" node="0>0|2|0|0" />
      <i3dMapping id="RightLight" node="0>0|2|0|1" />
      <i3dMapping id="whiteRectangle_01" node="0>0|2|0|2" />
      <i3dMapping id="whiteRectangle_02" node="0>0|2|0|3" />
      <i3dMapping id="yellowRectangle_01" node="0>0|2|0|4" />
      <i3dMapping id="yellowRectangle_02" node="0>0|2|0|5" />
      <i3dMapping id="yellowRectangle_03" node="0>0|2|0|6" />
      <i3dMapping id="yellowRectangle_04" node="0>0|2|0|7" />
      <i3dMapping id="yellowRectangle_05" node="0>0|2|0|8" />
      <i3dMapping id="yellowRectangle_06" node="0>0|2|0|9" />
      <i3dMapping id="Flash" node="0>0|2|0|10" />
      <i3dMapping id="licencePlate" node="0>0|2|0|11" />
      <i3dMapping id="plateNumberLight01" node="0>0|2|0|11|0" />
      <i3dMapping id="plateNumberLight02" node="0>0|2|0|11|1" />
      <i3dMapping id="backLights" node="0>0|2|1" />
      <i3dMapping id="backLightsHigh" node="0>0|2|1|0" />
      <i3dMapping id="backLightsHigh1" node="0>0|2|1|0|0" />
      <i3dMapping id="licensePlateLightHigh_0" node="0>0|2|1|1" />
      <i3dMapping id="licensePlateLightHigh_1" node="0>0|2|1|1|0" />
      <i3dMapping id="turnLights" node="0>0|2|2" />
      <i3dMapping id="turnLightLeftBack" node="0>0|2|2|0" />
      <i3dMapping id="turnLightRightBack" node="0>0|2|2|1" />
      <i3dMapping id="LeftBackDoor" node="0>0|3|0" />
      <i3dMapping id="LeftDoorLock" node="0>0|3|0|0" />
      <i3dMapping id="LeftDoorSpringRef" node="0>0|3|0|0|0" />
      <i3dMapping id="LefttHandle" node="0>0|3|0|1" />
      <i3dMapping id="LeftTenant" node="0>0|3|0|1|0" />
      <i3dMapping id="LeftTenantRef" node="0>0|3|0|2" />
      <i3dMapping id="LeftLockRef" node="0>0|3|0|3" />
      <i3dMapping id="LeftDoorSpring" node="0>0|3|0|4" />
      <i3dMapping id="RightBackDoor" node="0>0|3|1" />
      <i3dMapping id="RighDoortLock" node="0>0|3|1|0" />
      <i3dMapping id="RightDoorSpringRef" node="0>0|3|1|0|0" />
      <i3dMapping id="RightHandle" node="0>0|3|1|1" />
      <i3dMapping id="RightTenant" node="0>0|3|1|1|0" />
      <i3dMapping id="RightLockRef" node="0>0|3|1|2" />
      <i3dMapping id="RightTenantRef" node="0>0|3|1|3" />
      <i3dMapping id="RightDoorSpring" node="0>0|3|1|4" />
      <i3dMapping id="LeftLock" node="0>0|3|2" />
      <i3dMapping id="RightLock" node="0>0|3|3" />
      <i3dMapping id="Rampe" node="0>0|3|4" />
      <i3dMapping id="RampHydraulicRef" node="0>0|3|4|0" />
      <i3dMapping id="Decals_0" node="0>0|3|4|1" />
      <i3dMapping id="colPart03_2" node="0>0|3|4|2" />
      <i3dMapping id="colPart03_3" node="0>0|3|4|3" />
      <i3dMapping id="LockRampe" node="0>0|3|5" />
      <i3dMapping id="RampHydraulic" node="0>0|3|6" />
      <i3dMapping id="HydraulicPush" node="0>0|3|6|0" />
      <i3dMapping id="HydraulicRef" node="0>0|3|6|1" />
      <i3dMapping id="animals" node="0>0|4" />
      <i3dMapping id="cows" node="0>0|4|0" />
      <i3dMapping id="sheeps" node="0>0|4|1" />
      <i3dMapping id="pigs" node="0>0|4|2" />
      <i3dMapping id="horse" node="0>0|4|3" />
    </i3dMappings>

</vehicle>
