<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="AutoSquare">
    <storeData>
        <name>Trailer</name>        <image>store_T.png</image>
        <price>16000</price>        <lifetime>600</lifetime>
        <rotation>0</rotation>        <brand>VERMEER</brand>
        <category>baleLoaders</category>
    </storeData>
    <base>
        <typeDesc>trailer</typeDesc>
        <filename>trailer.i3d</filename>
        <size width="3" length="14"/>
        <components>
            <component centerOfMass="0 0.45 -3" solverIterationCount="35" mass="2500"/>
            <component centerOfMass="0 0 0" solverIterationCount="35" mass="2000"/>
            <component solverIterationCount="35" mass="300"/>
            <joint component1="1" component2="2" node="jointFrontPart" rotLimit="105 0 0" transLimit="0 0 0"/>
            <joint component1="2" component2="3" node="jointDrawbar" rotLimit="4 0 0" transLimit="0 0 0"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
    </base>
    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="TRELLEBORG" saveId="TRELLEBORG_DEFAULT">
                <wheels>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW305/480_45R17.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.0" repr="wheelFrontLeft"   forcePointRatio="0.25" initialCompression="8" suspTravel="0.1" spring="75" mass="0.5" damper="60" yOffset="0.01" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW305/480_45R17.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.0" repr="wheelFrontRight"  forcePointRatio="0.25" initialCompression="8" suspTravel="0.1" spring="75" mass="0.5" damper="60" yOffset="0.01" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW305/480_45R17.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.7" repr="wheelMiddleLeft"  forcePointRatio="0.25" initialCompression="8" suspTravel="0.1" spring="75" mass="0.5" damper="60" brakeFactor="0.25" yOffset="0.01" />
                        <wheelChock parkingNode="0>17|2"/>
                        <wheelChock parkingNode="0>17|3" isInverted="true" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW305/480_45R17.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.7" repr="wheelMiddleRight" forcePointRatio="0.25" initialCompression="8" suspTravel="0.1" spring="75" mass="0.5" damper="60" brakeFactor="0.25" yOffset="0.01" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW305/480_45R17.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.6" repr="wheelBackLeft"    forcePointRatio="0.25" initialCompression="8" suspTravel="0.1" spring="75" mass="0.5" damper="60" brakeFactor="0.25" yOffset="0.01" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW305/480_45R17.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.6" repr="wheelBackRight"   forcePointRatio="0.25" initialCompression="8" suspTravel="0.1" spring="75" mass="0.5" damper="60" brakeFactor="0.25" yOffset="0.01" />
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
        <rimColor material="18">SHARED_WHITE1</rimColor>
        <hubs>
            <color0>SHARED_DA_METAL_BLACK</color0>
            <color1>SHARED_GREY3</color1>
            <hub linkNode="wheelFrontLeft"  filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="true"  scale="0.25 0.25 0.25" />
            <hub linkNode="wheelFrontRight" filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="false" scale="0.25 0.25 0.25" />
            <hub linkNode="wheelMiddleLeft"  filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="true"  scale="0.25 0.25 0.25" />
            <hub linkNode="wheelMiddleRight" filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="false" scale="0.25 0.25 0.25" />
            <hub linkNode="wheelBackLeft"   filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="true"  scale="0.25 0.25 0.25" />
            <hub linkNode="wheelBackRight"  filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="false" scale="0.25 0.25 0.25" />
        </hubs>
    </wheels>
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" rootNode="flieglDPW180_drawbar_component3" jointType="trailer" attacherHeight="0.63"/>
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
        <brakeForce force="0.6"/>
    </attachable>
    <attacherJoints>
        <attacherJoint node="trailerAttacherJoint" jointType="trailer" lowerRotLimit="10 80 80" upperRotationOffset="0" allowsJointLimitMovement="false" canTurnOnImplement="false">
            <schema position="0.5 0" rotation="0" invertX="false"/>
        </attacherJoint>
    </attacherJoints>
  <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="0" linkNode="0>17|0" filename="$data/shared/assets/wheelChocks/wheelChockSupport01.i3d"/>
        <dynamicallyLoadedPart node="0" linkNode="0>17|1" filename="$data/shared/assets/wheelChocks/wheelChockSupport01.i3d"/>
    </dynamicallyLoadedParts>
    <lights>
        <sharedLight linkNode="rearLight13_left"      filename="$data/shared/assets/lights/lizard/rearLight13_left.xml" />
        <sharedLight linkNode="rearLight13_right"     filename="$data/shared/assets/lights/lizard/rearLight13_right.xml" />
        <sharedLight linkNode="whiteRound_01"     filename="$data/shared/assets/reflectors/lizard/whiteRound_01.xml" />
        <sharedLight linkNode="whiteRound_02"     filename="$data/shared/assets/reflectors/lizard/whiteRound_01.xml" />
        <sharedLight linkNode="sideMarker_05Orange5" filename="$data/shared/assets/lights/lizard/sideMarker05Orange.xml"/>
        <sharedLight linkNode="sideMarker_05Orange4" filename="$data/shared/assets/lights/lizard/sideMarker05Orange.xml"/>
        <sharedLight linkNode="sideMarker_05Orange3" filename="$data/shared/assets/lights/lizard/sideMarker05Orange.xml"/>
        <sharedLight linkNode="sideMarker_05Orange2" filename="$data/shared/assets/lights/lizard/sideMarker05Orange.xml"/>
        <sharedLight linkNode="sideMarker_05Orange1" filename="$data/shared/assets/lights/lizard/sideMarker05Orange.xml"/>
        <sharedLight linkNode="sideMarker_05Orange" filename="$data/shared/assets/lights/lizard/sideMarker05Orange.xml"/>
        <realLights>
            <high>
                <light node="backLightsHigh" lightTypes="0"/>
                <turnLightLeft node="turnLightLeftBack"/>
                <turnLightRight node="turnLightRightBack"/>
                <brakeLight node="backLightsHigh"/>
            </high>
        </realLights>
    </lights>
    <animations>
        <animation name="moveSupport">
            <part node="drawbarSpringRef" startTime="0" endTime="0.5" componentJointIndex="1" startRotLimit="35 0 0" endRotLimit="4 0 0"/>
            <part startTime="0" endTime="1" startRot="0 0 0" endRot="0 5 0"/>
        </animation>
        <!--animation name="baleGrabberTransportToWork">
            <part node="arm" startTime="0" duration="0.01" startRot="0 0 0" endRot="0 0 90"/>
        </animation>
        <animation name="baleGrabberWorkToDrop" resetOnStart="false">
            <part node="arm" startTime="0" duration="0.01" startRot="0 0 90" endRot="0 0 0"/>
        </animation>
        <animation name="baleGrabberDropBale0">
            <part node="baleCatcherJoint" startTime="0" duration="0.01" endTrans="0.267 0.756 0" endRot="0 0 0"/>
            <part node="baleCatcherJoint" startTime="0.01" duration="0.02" startTrans="0.267 0.756 0" endTrans="0.267 1.562 0" startRot="0 0 0" endRot="0 0 0"/>
        </animation>
        <animation name="baleGrabberDropBale1">
            <part node="baleCatcherJoint" startTime="0" duration="0.01" endTrans="0.267 0.322 0" endRot="0 0 0"/>
        </animation>
        <animation name="moveBalePlaces">
            <part node="balepositions" startTime="0" duration="0.01" endTrans="0.70045 0.911 0.35"/>
        </animation>
        <animation name="moveBalePlacesToEmpty">
            <part node="balepositions" startTime="0.0" duration="0.01" endTrans="3.70045 -0.15 3"/>
        </animation>
        <animation name="rotatePlatform"/>
        <animation name="moveBalePlacesExtrasOnce">
            <part node="balePusher" startTime="0" endTime="0" startTrans="0.70045 0.24658 3.86013" endTrans="0.70045 0.24658 2.636"/>
            <part node="balePusher" startTime="0" endTime="0" startTrans="0.70045 0.24658 2.636" endTrans="0.70045 0.24658 3.86013"/>
        </animation>
        <animation name="rotatePlatformEmpty"/>
        <animation name="moveBalePusherToEmpty"/>
        <animation name="emptyHidePusher1"/>
        <animation name="releaseFrontplattform"/>
        <animation name="closeGrippers"/>
        <animation name="emptyRotate">
            <part node="flieglDPW180_main_component1" startTime="0" duration="0" endRot="-90 0 0"/>
        </animation>
        <animation name="moveSupport">
            <part node="support" startTime="0" duration="0.3" startTrans="-0.15259 0.5949 2.6865" endTrans="-0.15259 0.20638 2.6865"/>
            <part node="supportHandle" startTime="0" duration="0.3" startRot="0 540 0" endRot="0 0 0"/>
            <sound template="clackVar5" startTime="0.14" volumeScale="2.3" pitchScale="1.5" linkNode="attacherJoint"/>
</animation>
        <!--animation name="rotatePlatformBack">
            <part node="balePusher" startTime="0" endTime="0" startTrans="0.70045 0.24658 3.86013" endTrans="0.70045 0.24658 2.636"/>
            <part node="balePusher" startTime="0" endTime="0" startTrans="0.70045 0.24658 2.636" endTrans="0.70045 0.24658 3.86013"/>
        </animation-->
    </animations>
    <cylindered>
        <movingTools>
            <controlGroups>
                <controlGroup name="$l10n_controlGroup_crane"/>
            </controlGroups>
            <movingTool node="drawbarSpringRef">
                <dependentPart node="drawbarSpring"/>
            </movingTool>
            <movingTool node="dummyMainArm" playSound="false">
                <controls groupIndex="1" l10nName="label_arm" axis="AXIS_CRANE_ARM" invertAxis="true" mouseSpeedFactor="0.7" iconName="CRANE_ARM1_ROTATE_Y"/>
                <translation transSpeed="4" transAcceleration="4" transMax="5" transMin="-5" translationAxis="1"/>
            </movingTool>
            <movingTool node="dummySecondArm" playSound="false">
                <controls groupIndex="1" l10nName="label_arm" axis="AXIS_CRANE_ARM2" invertAxis="true" mouseSpeedFactor="0.7" iconName="CRANE_ARM1_ROTATE_X"/>
                <translation transSpeed="4" transAcceleration="4" transMax="4" transMin="0.65" translationAxis="2"/>
            </movingTool>
            <movingTool node="dummyFourthArm" playSound="false">
                <controls groupIndex="1" l10nName="label_arm" axis="AXIS_CRANE_ARM4" invertAxis="true" mouseSpeedFactor="0.7" iconName="CRANE_ARM2_TRANSLATE"/>
                <translation transSpeed="4" transAcceleration="4" transMax="0" transMin="0" translationAxis="1"/>
            </movingTool>
            <movingTool node="dummyThirdArm" playSound="false">
                <controls groupIndex="1" l10nName="label_arm" axis="AXIS_CRANE_ARM3" invertAxis="true" mouseSpeedFactor="0.7" iconName="CRANE_ARM2_TRANSLATE"/>
                <translation transSpeed="4" transAcceleration="4" transMax="1.7" transMin="1.7" translationAxis="2"/>
            </movingTool>
            <movingParts>
                <movingPart node="drawbarSpring" referencePoint="drawbarSpringRef" referenceFrame="flieglDPW180_drawbar_component3" isActiveDirty="true" scaleZ="true"/>
            </movingParts>
        </movingTools>
	<sounds>
            <hydraulic template="defaultHydraulicSound" linkNode="0>"/>
        </sounds>
    </cylindered>
    <tensionBelts>
        <tensionBeltsConfigurations>
            <tensionBeltsConfiguration>
                <tensionBelts linkNode="belts" jointNode="flieglDPW180_main_component1" width="0.075" maxEdgeLength="0.1" geometryBias="0.01" ratchetPosition="0.2" defaultOffset="0.1" defaultOffsetSide="0.1" defaultHeight="4" activationTrigger="beltActivationTrigger">
                    <tensionBelt startNode="beltStart1" endNode="beltEnd6" offsetLeft="1.3"/>
                    <tensionBelt startNode="beltStart2" endNode="beltEnd5"/>
                    <tensionBelt startNode="beltStart3" endNode="beltEnd4"/>
                    <tensionBelt startNode="beltStart4" endNode="beltEnd3"/>
                    <tensionBelt startNode="beltStart5" endNode="beltEnd2"/>
                    <tensionBelt startNode="beltStart6" endNode="beltEnd1" offsetRight="1.2"/>
                </tensionBelts>
            </tensionBeltsConfiguration>
        </tensionBeltsConfigurations>
    </tensionBelts>
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration name="$l10n_configuration_extension" price="0">
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_bale" fillTypes="SQUAREBALE" capacity="36"/>
                </fillUnits>
                <objectChange node="extension" visibilityActive="true"/>
                <objectChange node="colPartFront" compoundChildActive="true"/>
                <objectChange node="colPartBack" compoundChildActive="true"/>
            </fillUnitConfiguration>
            <fillUnitConfiguration name="$l10n_configuration_valueDefault" price="0">
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_bale" fillTypes="SQUAREBALE" capacity="36"/>
                </fillUnits>
                <objectChange node="extension" visibilityActive="false"/>
                <objectChange node="colPartFront" compoundChildActive="false"/>
                <objectChange node="colPartBack" compoundChildActive="false"/>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
<baleLoader textsLowerPlattform="action_baleloaderOperatingPosition" textsLowering="info_balestackerLoweringTable" transportPositionAfterUnloading="false">
<grabber grabNode="baleJoint" triggerNode="baleTrigger" pickupRange="10"></grabber>
<balePlaces startBalePlace="baleHelpJoint">
	<balePlace node="0>14|0|0"/>
</balePlaces>
<baleTypes>
	<baleType width="1.2" height="0.7" minLength="1.75" maxLength="2.45"></baleType>
</baleTypes>
</baleLoader>
<ai>
	<allowTurnBackward value="false"/>
	<turningRadiusLimitation radius="7"/>
	<agentAttachment jointNode="attacherJoint" rotCenterWheelIndices="1 2" width="2.5" height="3" length="10.3" lengthOffset="-4.2" hasCollision="false"/>
	<agentAttachment jointNode="jointFrontPart" rotCenterWheelIndices="3 4 5 6" width="2.5" height="1.2" length="2" lengthOffset="6.75"/>
</ai>
    <foliageBending><bendingNode minX="-1.25" maxX="1.25" minZ="-6.2" maxZ="5.2" yOffset="0.4"/></foliageBending>
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>
<i3dMappings>        <i3dMapping id="flieglDPW180_main_component1" node="0>"/>        <i3dMapping id="wheelMiddleLeft" node="0>0"/>        <i3dMapping id="wheelMiddleRight" node="0>1"/>        <i3dMapping id="wheelBackLeft" node="0>2"/>        <i3dMapping id="wheelBackRight" node="0>3"/>        <i3dMapping id="jointFrontPart" node="0>4"/>        <i3dMapping id="whiteRound_02" node="0>5|0|0"/>        <i3dMapping id="whiteRound_01" node="0>5|0|1"/>        <i3dMapping id="sideMarker_05Orange5" node="0>5|0|2"/>        <i3dMapping id="sideMarker_05Orange4" node="0>5|0|3"/>        <i3dMapping id="sideMarker_05Orange3" node="0>5|0|4"/>        <i3dMapping id="sideMarker_05Orange2" node="0>5|0|5"/>        <i3dMapping id="sideMarker_05Orange1" node="0>5|0|6"/>        <i3dMapping id="sideMarker_05Orange" node="0>5|0|7"/>        <i3dMapping id="rearLight13_right" node="0>5|0|8"/>        <i3dMapping id="rearLight13_left" node="0>5|0|9"/>        <i3dMapping id="backLightsHigh" node="0>5|1|1"/>        <i3dMapping id="turnLightLeftBack" node="0>5|2|0|1"/>        <i3dMapping id="turnLightRightBack" node="0>5|2|1|1"/>        <i3dMapping id="trailerAttacherJoint" node="0>6"/>        <i3dMapping id="extension" node="0>7|0"/>        <i3dMapping id="colPartFront" node="0>7|0|1"/>        <i3dMapping id="colPartBack" node="0>7|0|2"/>        <i3dMapping id="belts" node="0>8"/>        <i3dMapping id="beltStart1" node="0>8|0"/>        <i3dMapping id="beltEnd6" node="0>8|0|0"/>        <i3dMapping id="beltStart2" node="0>8|1"/>        <i3dMapping id="beltEnd5" node="0>8|1|0"/>        <i3dMapping id="beltStart3" node="0>8|2"/>        <i3dMapping id="beltEnd4" node="0>8|2|0"/>        <i3dMapping id="beltStart4" node="0>8|3"/>        <i3dMapping id="beltEnd3" node="0>8|3|0"/>        <i3dMapping id="beltStart5" node="0>8|4"/>        <i3dMapping id="beltEnd2" node="0>8|4|0"/>        <i3dMapping id="beltStart6" node="0>8|5"/>        <i3dMapping id="beltEnd1" node="0>8|5|0"/>        <i3dMapping id="beltActivationTrigger" node="0>8|6"/>        <i3dMapping id="wheelFrontLeft" node="1>0"/>        <i3dMapping id="wheelFrontRight" node="1>1"/>        <i3dMapping id="jointDrawbar" node="1>2"/>        <i3dMapping id="drawbarSpring" node="1>3|0"/>        <i3dMapping id="flieglDPW180_drawbar_component3" node="2>"/>        <i3dMapping id="attacherJoint" node="2>0"/>        <i3dMapping id="drawbarSpringRef" node="2>1|0"/>        <i3dMapping id="baleTrigger" node="0>15"/>        <i3dMapping id="baleJoint" node="0>12"/>        <i3dMapping id="baleHelpJoint" node="0>13"/>        <i3dMapping id="dummyMainArm" node="0>14"/>        <i3dMapping id="dummySecondArm" node="0>14|0"/>        <i3dMapping id="dummyFourthArm" node="0>16"/>        <i3dMapping id="dummyThirdArm" node="0>16|0"/>    </i3dMappings>
</vehicle>