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

    <storeData>
        <name>WPS 24 TT</name>
        <functions>
            <function>$l10n_function_tipper</function>
        </functions>
        <image>vehicles/hawe/wps24TT/store_wps24TT.png</image>
        <price>45000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>HAWE</brand>
        <category>trailersChangingSystem</category>
        <shopTranslationOffset>0 -0.01 0</shopTranslationOffset>
        <shopRotationOffset>0.034 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>0</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>0</indexBufferMemoryUsage>
        <textureMemoryUsage>0</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_trailer</typeDesc>
        <filename>vehicles/hawe/wps24TT/wps24TT.i3d</filename>
        <size width="3.1" length="9.0" height="1.95" lengthOffset="0.1"/>
        <components>
            <component centerOfMass="0 0.75 0" solverIterationCount="25" mass="3800" inertiaScale="4 4 4"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT"/>
        <mapHotspot type="TRAILER"/>
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="TerraTrac" price="0" saveId="CRAWLER" brand="CLAAS">
                <wheels autoRotateBackSpeed="2.1" differentialIndex="1">
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1" restLoad="3.1" repr="wheelLeftBack"   radius="0.572" width="0.86" mass="0.2" frictionScale="2.5" tireType="crawler" initialCompression="3" suspTravel="0.1" spring="200" damper="90" supportsWheelSink="false"/>
                        <tire tireTrackAtlasIndex="7"/>
                    </wheel>
                    <wheel>
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1" restLoad="2.9" repr="wheelLeftFront"  radius="0.572" width="0.86" mass="0.2" frictionScale="2.5" tireType="crawler" initialCompression="3" suspTravel="0.1" spring="200" damper="90" supportsWheelSink="false"/>
                    </wheel>
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1" restLoad="3.1" repr="wheelRightBack"  radius="0.572" width="0.86" mass="0.2" frictionScale="2.5" tireType="crawler" initialCompression="3" suspTravel="0.1" spring="200" damper="90" supportsWheelSink="false"/>
                        <tire tireTrackAtlasIndex="7"/>
                    </wheel>
                    <wheel>
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1" restLoad="2.9" repr="wheelRightFront" radius="0.572" width="0.86" mass="0.2" frictionScale="2.5" tireType="crawler" initialCompression="3" suspTravel="0.1" spring="200" damper="90" supportsWheelSink="false"/>
                    </wheel>
                </wheels>

                <crawlers>
                    <crawler filename="shared/crawlers/terraTrac/terraTracHAWE/terraTracHAWE.xml" linkWheelNodes="wheelLeftBack wheelLeftFront" isLeft="true"  trackWidth="1.07"/>
                    <crawler filename="shared/crawlers/terraTrac/terraTracHAWE/terraTracHAWE.xml" linkWheelNodes="wheelRightBack wheelRightFront" isLeft="false" trackWidth="1.07"/>
                </crawlers>
            </wheelConfiguration>
        </wheelConfigurations>

        <innerRimMaterial materialTemplateName="CLAAS_DARKGREY2"/>
    </wheels>

    <speedRotatingParts>
        <speedRotatingPart node="brakeLeft"        wheelScale="2.5" wheelNodes="wheelLeftBack"/>
        <speedRotatingPart node="brakeLeftPart01"  wheelScale="2.5" wheelNodes="wheelLeftBack"/>
        <speedRotatingPart node="brakeLeftPart02"  wheelScale="2.5" wheelNodes="wheelLeftBack"/>
        <speedRotatingPart node="brakeRight"       wheelScale="2.5" wheelNodes="wheelRightBack"/>
        <speedRotatingPart node="brakeRightPart01" wheelScale="2.5" wheelNodes="wheelRightBack"/>
        <speedRotatingPart node="brakeRightPart02" wheelScale="2.5" wheelNodes="wheelRightBack"/>
    </speedRotatingParts>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="inputAttacherJoint" jointType="trailerLow" attacherHeight="0.607" steeringBarLeftNode="steeringBarLeft">
                <objectChange node="needle01" rotationInactive="0 0 0" rotationActive="-120 0 0" interpolation="true" interpolationTime="1"/>
                <objectChange node="needle02" rotationInactive="0 0 0" rotationActive="-100 0 0" interpolation="true" interpolationTime="1"/>
                <objectChange node="needle03" rotationInactive="0 0 0" rotationActive="-105 0 0" interpolation="true" interpolationTime="1"/>
            </inputAttacherJoint>
        </inputAttacherJoints>

        <brakeForce force="0.7" maxForce="3.8" maxForceMass="39500" includeAttachables="true"/>
        <airConsumer usage="0.5"/>
        <support animationName="moveSupport"/>
    </attachable>

    <attacherJoints comboDuration="2">
        <attacherJoint node="attacherJoint" jointType="implement" lowerRotLimit="0 0 0" upperRotationOffset="0" allowsJointLimitMovement="false" allowsLowering="false" enableCollision="false" delayedObjectChanges="true">
            <schema position="0.6 0.6" rotation="0" invertX="false"/>
            <objectChange node="bolt01" rotationActive="0 90 0" rotationInactive="0 0 0" interpolationTime="1" interpolation="true"/>
            <objectChange node="bolt02" rotationActive="0 90 0" rotationInactive="0 0 0" interpolationTime="1" interpolation="true"/>
            <objectChange node="bolt03" rotationActive="0 90 0" rotationInactive="0 0 0" interpolationTime="1" interpolation="true"/>
            <objectChange node="bolt04" rotationActive="0 90 0" rotationInactive="0 0 0" interpolationTime="1" interpolation="true"/>
            <objectChange node="localPtoStart01" visibilityActive="true" visibilityInactive="false"/>
        </attacherJoint>

        <attacherJoint node="attacherJointWienhoff" jointType="implement" lowerRotLimit="0 0 0" upperRotationOffset="0" allowsJointLimitMovement="false" allowsLowering="false" enableCollision="false">
            <schema position="0.6 0.6" rotation="0" invertX="false"/>
            <subType name="ta25ProfiLine" subTypeShowWarning="false"/>
            <objectChange node="bolt01" rotationActive="0 90 0" rotationInactive="0 0 0" interpolationTime="1" interpolation="true"/>
            <objectChange node="bolt02" rotationActive="0 90 0" rotationInactive="0 0 0" interpolationTime="1" interpolation="true"/>
            <objectChange node="bolt03" rotationActive="0 90 0" rotationInactive="0 0 0" interpolationTime="1" interpolation="true"/>
            <objectChange node="bolt04" rotationActive="0 90 0" rotationInactive="0 0 0" interpolationTime="1" interpolation="true"/>
            <objectChange node="ptoBack" translationActive="0 0.905 2.841" translationInactive="0 0.981 -3.082"/>
            <objectChange node="localPtoStart02" visibilityActive="true" visibilityInactive="false"/>
        </attacherJoint>

        <sounds>
            <attach template="truckAttach" volumeScale="2.3" pitchScale="1.2"/>
            <detach template="truckDetach" volumeScale="2.3" pitchScale="1.2"/>
        </sounds>
    </attacherJoints>

    <powerConsumer ptoRpm="450" neededMinPtoPower="30" neededMaxPtoPower="30"/>

    <powerTakeOffs>
        <input inputAttacherJointIndices="1" inputNode="ptoInputNode" aboveAttacher="true" detachNode="ptoDetachNode" filename="$data/shared/assets/powerTakeOffs/walterscheidWWE.xml"  materialTemplateName="WALTERSCHEID_YELLOW1">
            <objectChange node="ptoSupport" rotationActive="100 0 0" rotationInactive="0 0 0" />
        </input>
        <output attacherJointIndices="1 2" outputNode="ptoBack" />

        <local startNode="localPtoStart01" endNode="localPtoEnd01" filename="$data/shared/assets/powerTakeOffs/walterscheidW.xml" materialTemplateName="WALTERSCHEID_YELLOW1"/>
        <local startNode="localPtoStart02" endNode="localPtoEnd02" filename="$data/shared/assets/powerTakeOffs/walterscheidW.xml" materialTemplateName="WALTERSCHEID_YELLOW1"/>
        <sounds>
            <turnedOn template="tractorPTO" volumeScale="0.5" linkNode="attacherJoint"/>
        </sounds>
    </powerTakeOffs>

    <connectionHoses>
        <hose inputAttacherJointIndices="1" type="hydraulicIn" node="hydraulicIn01" adapterNode="hydraulicIn01_connector" length="1.5" diameter="0.015" straighteningFactor="0.5" adapterMaterialTemplateName="SHARED_BLUE1">
            <objectChange node="hydraulicIn01_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="hydraulicOut01" adapterNode="hydraulicOut01_connector" length="1.5" diameter="0.015" straighteningFactor="0.5" adapterMaterialTemplateName="SHARED_BLUE1">
            <objectChange node="hydraulicOut01_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicIn" node="hydraulicIn02" adapterNode="hydraulicIn02_connector" length="1.5" diameter="0.015" straighteningFactor="0.5" adapterMaterialTemplateName="SHARED_WRAP_GREEN">
            <objectChange node="hydraulicIn02_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="hydraulicOut02" adapterNode="hydraulicOut02_connector" length="1.5" diameter="0.015" straighteningFactor="0.5" adapterMaterialTemplateName="SHARED_WRAP_GREEN">
            <objectChange node="hydraulicOut02_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="airDoubleRed" node="airRed" adapterNode="airRed_connector" length="1.5" diameter="0.015" straighteningFactor="0.5">
            <objectChange node="airRed_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="airDoubleYellow" node="airYellow" adapterNode="airYellow_connector" length="1.5" diameter="0.015" straighteningFactor="0.5">
            <objectChange node="airYellow_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="electric" node="electric01" adapterNode="electric01_connector" length="1.2" diameter="0.01" straighteningFactor="0.5">
            <objectChange node="electric01_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="isobus" node="electric02" adapterNode="electric02_connector" length="1.5" diameter="0.01" straighteningFactor="0.5">
            <objectChange node="electric02_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>

        <skipNode attacherJointIndex="1" inputAttacherJointIndex="1" node="skipNodeElectric"       type="electric"     length="1" isTwoPointHose="true"/>
        <skipNode attacherJointIndex="1" inputAttacherJointIndex="1" node="skipNodeHydraulicIn01"  type="hydraulicIn"  length="1" isTwoPointHose="true"/>
        <skipNode attacherJointIndex="1" inputAttacherJointIndex="1" node="skipNodeHydraulicOut01" type="hydraulicOut" length="1" isTwoPointHose="true"/>
        <skipNode attacherJointIndex="1" inputAttacherJointIndex="1" node="skipNodeHydraulicIn02"  type="hydraulicIn"  length="1" isTwoPointHose="true"/>
    </connectionHoses>

    <animations>
        <animation name="moveSupport">
            <part node="support"     startTime="0.0" endTime="0.5" startRot="0 0 90" endRot="0 0 0" />
            <part node="supportPart" startTime="0.5" endTime="0.6" startTrans="0 0.01 0" endTrans="0 -0.07 0" />

            <sound template="hydraulicOpen02" startTime="0.01" endTime="0.5" direction="0" volumeScale="2.3" pitchScale="1.7" fadeIn="0.1" fadeOut="0.1" linkNode="support"/>
            <sound template="metalOpen"       startTime="0.01" direction="-1" volumeScale="2.3" pitchScale="1.7"  linkNode="support"/>
        </animation>
    </animations>

    <cylindered>
        <movingTools/>

        <movingParts>
            <movingPart node="steeringBarLeft" localReferencePoint="steeringBarLeftPart" referencePoint="steeringBarLeftPartRef" referenceFrame="steeringBarLeftRefFrame">
                <dependentPart node="steeringBarLeftPart" />
            </movingPart>
            <movingPart node="steeringBarLeftPart" referencePoint="steeringBarLeftPartRef" referenceFrame="steeringBarLeftPartRefFrame"/>
        </movingParts>
    </cylindered>

    <turnOnVehicle turnedOnByAttacherVehicle="true">
        <animationNodes>
            <animationNode node="fan" rotSpeed="-650" rotAxis="2" turnOnFadeTime="2" turnOffFadeTime="5"/>
        </animationNodes>
    </turnOnVehicle>

    <ai>
        <agentAttachment jointNode="wps24TT_main_component1" width="3.1" height="1.9" length="8" lengthOffset="1.95" rotCenterWheelIndices="1 2 3 4"/>
    </ai>

    <baseColorConfigurations title="$l10n_configuration_chassisColor" useDefaultColors="false">
        <baseColorConfiguration materialTemplateName="HAWE_GREY1" isDefault="true" price="0"/>
        <baseColorConfiguration materialTemplateName="HAWE_RED1" price="1000"/>
        <material materialSlotName="chassis_mat"/>
    </baseColorConfigurations>

    <foliageBending>
        <bendingNode minX="-0.7" maxX="0.9" minZ="-0.45" maxZ="4.2" yOffset="0.6"/>
        <bendingNode minX="-1.50" maxX="1.50" minZ="-4.4" maxZ="-0.45" yOffset="0.6"/>
    </foliageBending>

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

    <i3dMappings>
        <i3dMapping id="wps24TT_main_component1" node="0>" />
        <i3dMapping id="wheelLeftBack" node="0>0|0|0" />
        <i3dMapping id="wheelLeftFront" node="0>0|0|1" />
        <i3dMapping id="wheelRightBack" node="0>0|0|2" />
        <i3dMapping id="wheelRightFront" node="0>0|0|3" />
        <i3dMapping id="inputAttacherJoint" node="0>0|1|0" />
        <i3dMapping id="attacherJoint" node="0>0|1|1" />
        <i3dMapping id="attacherJointWienhoff" node="0>0|1|2" />
        <i3dMapping id="ptoInputNode" node="0>0|1|3|0" />
        <i3dMapping id="ptoDetachNode" node="0>0|1|3|1" />
        <i3dMapping id="localPtoStart01" node="0>0|1|3|2" />
        <i3dMapping id="localPtoEnd01" node="0>0|1|3|2|0" />
        <i3dMapping id="localPtoStart02" node="0>0|1|3|3" />
        <i3dMapping id="localPtoEnd02" node="0>0|1|3|3|0" />
        <i3dMapping id="ptoBack" node="0>0|1|3|4" />
        <i3dMapping id="support" node="0>0|1|4|0|0" />
        <i3dMapping id="supportPart" node="0>0|1|4|0|0|0|0" />
        <i3dMapping id="ptoSupport" node="0>0|1|4|1" />
        <i3dMapping id="hydraulicIn01" node="0>0|1|5|0" />
        <i3dMapping id="hydraulicIn01_detached" node="0>0|1|5|0|0" />
        <i3dMapping id="hydraulicIn01_connector" node="0>0|1|5|0|0|0" />
        <i3dMapping id="hydraulicOut01" node="0>0|1|5|1" />
        <i3dMapping id="hydraulicOut01_detached" node="0>0|1|5|1|0" />
        <i3dMapping id="hydraulicOut01_connector" node="0>0|1|5|1|0|0" />
        <i3dMapping id="hydraulicIn02" node="0>0|1|5|2" />
        <i3dMapping id="hydraulicIn02_detached" node="0>0|1|5|2|0" />
        <i3dMapping id="hydraulicIn02_connector" node="0>0|1|5|2|0|0" />
        <i3dMapping id="hydraulicOut02" node="0>0|1|5|3" />
        <i3dMapping id="hydraulicOut02_detached" node="0>0|1|5|3|0" />
        <i3dMapping id="hydraulicOut02_connector" node="0>0|1|5|3|0|0" />
        <i3dMapping id="electric01" node="0>0|1|5|4" />
        <i3dMapping id="electric01_detached" node="0>0|1|5|4|0" />
        <i3dMapping id="electric01_connector" node="0>0|1|5|4|0|0" />
        <i3dMapping id="electric02" node="0>0|1|5|5" />
        <i3dMapping id="electric02_detached" node="0>0|1|5|5|0" />
        <i3dMapping id="electric02_connector" node="0>0|1|5|5|0|0" />
        <i3dMapping id="airRed" node="0>0|1|5|6" />
        <i3dMapping id="airRed_detached" node="0>0|1|5|6|0" />
        <i3dMapping id="airRed_connector" node="0>0|1|5|6|0|0" />
        <i3dMapping id="airYellow" node="0>0|1|5|7" />
        <i3dMapping id="airYellow_detached" node="0>0|1|5|7|0" />
        <i3dMapping id="airYellow_connector" node="0>0|1|5|7|0|0" />
        <i3dMapping id="skipNodeHydraulicIn02" node="0>0|1|5|8" />
        <i3dMapping id="skipNodeHydraulicOut01" node="0>0|1|5|9" />
        <i3dMapping id="skipNodeHydraulicIn01" node="0>0|1|5|10" />
        <i3dMapping id="skipNodeElectric" node="0>0|1|5|11" />
        <i3dMapping id="wheelChock01_01" node="0>0|1|6|0" />
        <i3dMapping id="wheelChock01_02" node="0>0|1|6|1" />
        <i3dMapping id="needle01" node="0>0|2|0|0|0" />
        <i3dMapping id="needle02" node="0>0|2|0|1|0" />
        <i3dMapping id="needle03" node="0>0|2|0|2|0" />
        <i3dMapping id="bolt01" node="0>0|2|1|0" />
        <i3dMapping id="bolt02" node="0>0|2|1|1" />
        <i3dMapping id="bolt03" node="0>0|2|1|2" />
        <i3dMapping id="bolt04" node="0>0|2|1|3" />
        <i3dMapping id="brakeLeft" node="0>0|2|2" />
        <i3dMapping id="brakeLeftPart01" node="0>0|2|3|0" />
        <i3dMapping id="brakeLeftPart02" node="0>0|2|4" />
        <i3dMapping id="brakeRight" node="0>0|2|5" />
        <i3dMapping id="brakeRightPart01" node="0>0|2|6|0" />
        <i3dMapping id="brakeRightPart02" node="0>0|2|7" />
        <i3dMapping id="fan" node="0>0|2|8" />
        <i3dMapping id="steeringBarLeft" node="0>0|2|9" />
        <i3dMapping id="steeringBarLeftPartRefFrame" node="0>0|2|9|0" />
        <i3dMapping id="steeringBarLeftPart" node="0>0|2|9|0|0" />
        <i3dMapping id="steeringBarLeftPartRef" node="0>0|2|9|0|0|0" />
        <i3dMapping id="steeringBarLeftRefFrame" node="0>0|2|10" />
    </i3dMappings>
</vehicle>
