﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="forageWagon" 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>ZELON CFS 2501 DO</name>
        <specs>
            <neededPower>95</neededPower>
            <combination xmlFilename="$data/objects/pallets/bonsilage/bonsilagePallet.xml"/>
        </specs>
        <functions>
            <function>$l10n_function_forageWagon</function>
        </functions>
        <image>$data/vehicles/strautmann/zelonCFS2501DO/store_zelonCFS2501DO.png</image>
        <price>46000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>STRAUTMANN</brand>
        <category>loaderWagons</category>
        <shopTranslationOffset>0 -0.067 0</shopTranslationOffset>
        <shopRotationOffset>-0.065 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>2974208</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>910592</indexBufferMemoryUsage>
        <textureMemoryUsage>2621440</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_forageWagon</typeDesc>
        <filename>$data/vehicles/strautmann/zelonCFS2501DO/zelonCFS2501DO.i3d</filename>
        <size width="3.8" length="9" lengthOffset="0.3"/>
        <speedLimit value="17" />
        <components maxMass="13200">
            <component centerOfMass="0 0.8 -0.25" solverIterationCount="10" mass="5645" />
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="200" />
            <joint component1="1" component2="2" node="pickupComponentJoint" rotLimit="0 0 0" transLimit="0 0 0" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <sounds volumeFactor="0.9" />
        <mapHotspot type="TRAILER" />
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="TRELLEBORG" saveId="TRELLEBORG_DEFAULT">
                <wheels>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW309/500_50R17.xml" isLeft="true">
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.5" repr="leftFrontWheel"                                forcePointRatio="0.5" initialCompression="20" suspTravel="0.12" spring="54" damper="50" yOffset="0.007" />
                        <wheelChock parkingNode="wheelChock01" />
                        <wheelChock parkingNode="wheelChock02" isInverted="true" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW309/500_50R17.xml" isLeft="false" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.5" repr="rightFrontWheel"                               forcePointRatio="0.5" initialCompression="20" suspTravel="0.12" spring="54" damper="50" yOffset="0.007" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW309/500_50R17.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.5" repr="leftBackWheelAxis"  driveNode="leftBackWheel"  forcePointRatio="0.5" initialCompression="20" suspTravel="0.12" spring="54" damper="50" yOffset="0.006" />
                        <steeringAxle scale="-0.7" rotMax="13" rotMin="-13" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW309/500_50R17.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.5" repr="rightBackWheelAxis" driveNode="rightBackWheel" forcePointRatio="0.5" initialCompression="20" suspTravel="0.12" spring="54" damper="50" yOffset="0.006" />
                        <steeringAxle scale="-0.7" rotMax="13" rotMin="-13" />
                    </wheel>

                    <!-- pickup -->
                    <wheel>
                        <physics rotMin="-20" rotMax="30" tipOcclusionAreaGroupId="2" restLoad="0.1" repr="pickupWheelLeftPhysical"  driveNode="pickupWheelLeftPhysicalDriveNode"  forcePointRatio="0.3" radius="0.203" width="0.125" mass="0.01" initialCompression="60" suspTravel="0.03" spring="10" damper="10" rotationDamping="0.0001" brakeFactor="0" versatileYRot="true" />
                    </wheel>
                    <wheel>
                        <physics rotMin="-20" rotMax="30" tipOcclusionAreaGroupId="2" restLoad="0.1" repr="pickupWheelRightPhysical" driveNode="pickupWheelRightPhysicalDriveNode" forcePointRatio="0.3" radius="0.203" width="0.125" mass="0.01" initialCompression="60" suspTravel="0.03" spring="10" damper="10" rotationDamping="0.0001" brakeFactor="0" versatileYRot="true" />
                    </wheel>
                </wheels>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="BKT" saveId="BKT_DEFAULT">
                <wheels baseConfig="TRELLEBORG_DEFAULT">
                    <wheel filename="$data/shared/wheels/tires/bkt/ridemaxFL693M/500_50R17.xml">
                        <physics yOffset="0.004" />
                        <wheelChock/>
                        <wheelChock/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/bkt/ridemaxFL693M/500_50R17.xml">
                        <physics yOffset="0.004" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/bkt/ridemaxFL693M/500_50R17.xml">
                        <physics yOffset="0.003" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/bkt/ridemaxFL693M/500_50R17.xml">
                        <physics yOffset="0.003" />
                    </wheel>

                    <!-- pickup -->
                    <wheel/>
                    <wheel/>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>

        <dynamicallyLoadedWheels>
            <dynamicallyLoadedWheel linkNode="pickupWheelLeft"  filename="$data/shared/wheels/tires/trelleborg/T510/16x6_50R8.xml" isLeft="true"  />
            <dynamicallyLoadedWheel linkNode="pickupWheelRight" filename="$data/shared/wheels/tires/trelleborg/T510/16x6_50R8.xml" isLeft="false" />
        </dynamicallyLoadedWheels>

        <rimColor material="18">SHARED_WHITE1</rimColor>

        <hubs>
            <color0>STRAUTMANN_RED1</color0>
            <color1>SHARED_GREY3</color1>
            <hub linkNode="pickupWheelLeft"  filename="$data/shared/wheels/hubs/hubSmall_n0_1.xml" isLeft="false" scale="0.15 0.15 0.15" >
                <color0>-</color0>
                <color1>-</color1>
            </hub>
            <hub linkNode="pickupWheelRight" filename="$data/shared/wheels/hubs/hubSmall_n0_1.xml" isLeft="true"  scale="0.15 0.15 0.15" >
                 <color0>-</color0>
                 <color1>-</color1>
            </hub>

            <hub linkNode="leftFrontWheel"  filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="true"  scale="0.285 0.285 0.285" />
            <hub linkNode="rightFrontWheel" filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="false" scale="0.285 0.285 0.285" />
            <hub linkNode="leftBackWheel"   filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="true"  scale="0.285 0.285 0.285" />
            <hub linkNode="rightBackWheel"  filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="false" scale="0.285 0.285 0.285" />
        </hubs>
    </wheels>

    <speedRotatingParts>
        <speedRotatingPart node="pickupWheelLeft" wheelIndex="5"/>
        <speedRotatingPart node="pickupWheelRight" wheelIndex="6"/>
        <speedRotatingPart node="pickupRotationPart01" radius="0.1" groundReferenceNodeIndex="1" onlyActiveWhenLowered="true" rotateOnlyIfFillLevelIncreased="true" />
    </speedRotatingParts>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="trailer" attacherHeight="1.0" />
        </inputAttacherJoints>
        <steeringAxleAngleScale startSpeed="0" endSpeed="90" />
        <support animationName="moveSupport" />
        <brakeForce force="0.5" maxForce="1.0" maxForceMass="13200"/>
    </attachable>

    <powerTakeOffs>
        <input inputAttacherJointIndices="1" inputNode="ptoInputNode" aboveAttacher="false" detachNode="ptoDetachNode" filename="$data/shared/assets/powerTakeOffs/walterscheidWWZ.xml"/>
    </powerTakeOffs>

    <connectionHoses>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="hydraulicIn01"  length="1.4" diameter="0.035" straighteningFactor="2">
           <objectChange node="hydraulicIn01_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="hydraulicOut01" length="1.4" diameter="0.035" straighteningFactor="2">
            <objectChange node="hydraulicOut01_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="electric" node="electric" adapterNode="electric_detached" length="1.4" diameter="0.02" straighteningFactor="2">
            <objectChange node="electric_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>

    <licensePlates>
        <licensePlate node="licensePlateNode" position="BACK" preferedType="ELONGATED" placementArea="0.1 0.26 0.3 0.26"/>
    </licensePlates>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="0" linkNode="chockSupport01" filename="$data/shared/assets/wheelChocks/wheelChockSupport01.i3d"/>
        <dynamicallyLoadedPart node="0" linkNode="chockSupport02" filename="$data/shared/assets/wheelChocks/wheelChockSupport01.i3d"/>
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicIn01_detachedAdapter"  filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicOut01_detachedAdapter"  filename="$data/shared/connectionHoses/connectors.i3d" />
    </dynamicallyLoadedParts>

    <powerConsumer ptoRpm="470" neededMinPtoPower="25" neededMaxPtoPower="45" />

    <lights>
        <sharedLight linkNode="rearPlateNumber_01"   filename="$data/shared/assets/lights/lizard/plateNumberLight01.xml" />
        <sharedLight linkNode="rearPlateNumber_02"   filename="$data/shared/assets/lights/lizard/plateNumberLight01.xml" />
        <sharedLight linkNode="workLight"            filename="$data/shared/assets/lights/lizard/workingLight09.xml" />
        <sharedLight linkNode="backlightLeft"        filename="$data/shared/assets/lights/lizard/rearLight13_left.xml" />
        <sharedLight linkNode="backlightRight"       filename="$data/shared/assets/lights/lizard/rearLight13_right.xml" />
        <sharedLight linkNode="sideMarker01"         filename="$data/shared/assets/reflectors/lizard/yellowRound_01.xml" />
        <sharedLight linkNode="sideMarker02"         filename="$data/shared/assets/reflectors/lizard/yellowRound_01.xml" />
        <sharedLight linkNode="reflector01"          filename="$data/shared/assets/reflectors/lizard/yellowRound_01.xml" />
        <sharedLight linkNode="reflector02"          filename="$data/shared/assets/reflectors/lizard/yellowRound_01.xml" />
        <sharedLight linkNode="triangle01"           filename="$data/shared/assets/reflectors/lizard/redTriangle_01.xml" />
        <sharedLight linkNode="triangle02"           filename="$data/shared/assets/reflectors/lizard/redTriangle_01.xml" />
        <sharedLight linkNode="backSideMarkerLeft"   filename="$data/shared/assets/lights/lizard/sideMarker03_left.xml" />
        <sharedLight linkNode="backSideMarkerRight"  filename="$data/shared/assets/lights/lizard/sideMarker03_right.xml" />

        <realLights>
            <high>
                <light node="backLightsHigh" lightTypes="0" />
                <light node="licensePlateLightHigh" lightTypes="0" />
                <turnLightLeft node="turnLightLeftBack" />
                <turnLightRight node="turnLightRightBack" />
                <brakeLight node="backLightsHigh" />
            </high>
        </realLights>
    </lights>


    <groundReferenceNodes>
        <groundReferenceNode node="groundReferenceNode" threshold="0.2" />
    </groundReferenceNodes>

    <workAreas>
        <workArea type="forageWagon" functionName="processForageWagonArea" disableBackwards="true" >
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight" />
            <groundReferenceNode index="1" />
        </workArea>
    </workAreas>

    <animations>
        <animation name="moveSupport">
            <part node="drawbar" startTime="0" endTime="0.5" startRot="-1.4 0 0" endRot="1 0 0" />
            <part node="supportTrans" startTime="0" endTime="0.5" startTrans="0 0 0" endTrans="0 -0.732 0" />

            <sound template="clackVar5"  startTime="0.19" volumeScale="2.5" pitchScale="1"   linkNode="attacherJoint"/>
            <sound template="latchSmall" startTime="0.19" volumeScale="0.5" pitchScale="1.6" linkNode="attacherJoint"/>
            <sound template="clackVar1"  startTime="0.1"  volumeScale="2.5" pitchScale="1.4" linkNode="attacherJoint"/>
        </animation>

        <animation name="rotatePickup">
            <part node="pickupComponentJoint" startTime="0" endTime="1" startRot="-22 0 0" endRot="-13 0 0" />
            <part                             startTime="0" endTime="1" componentJointIndex="1" startRotLimit="0 0 0" endRotLimit="15 0 0"/>

            <sound template="defaultHydraulicSound" startTime="0.01" endTime="0.9" direction="-1" volumeScale="1.5" pitchScale="1"   linkNode="attacherJoint"/>
            <sound template="defaultHydraulicSound" startTime="0.01" endTime="0.9" direction="1"  volumeScale="0.5" pitchScale="1"   linkNode="attacherJoint"/>
            <sound template="clackVar6"             startTime="0.9"                direction="1"  volumeScale="0.6" pitchScale="0.5" linkNode="attacherJoint"/>
            <sound template="clackVar6"             startTime="0.01"               direction="-1" volumeScale="1.2" pitchScale="0.8" linkNode="attacherJoint"/>
            <sound template="sheetImp02"            startTime="0.01"               direction="-1" volumeScale="1.5" pitchScale="1.4" linkNode="attacherJoint"/>
        </animation>

        <animation name="tipAnimationBack">
            <part node="backDoor" startTime="0" endTime="3" startRot="0 0 0" endRot="45 0 0" />
            <part node="backDoor2" startTime="1" endTime="3" startRot="0 0 0" endRot="13 0 0" />
            <part node="backDoor2RefBar" startTime="0" endTime="1" startTrans="0 0 0" endTrans="0 0 -0.041" />

            <sound template="defaultHydraulicSound" startTime="0.1"  endTime="2.99" volumeScale="2"   pitchScale="0.8" fadeIn="0.1" fadeOut="0.2"/>
            <sound template="clackVar6"             startTime="0.01" direction="1"  volumeScale="2"   pitchScale="0.8"/>
            <sound template="cylinderPunch"         startTime="0.01" direction="1"  volumeScale="1"   pitchScale="0.8"/>
            <sound template="metalClose"            startTime="0.2"  direction="-1" volumeScale="2"   pitchScale="0.6"/>
            <sound template="cylinderPunch"         startTime="0.2"  direction="-1" volumeScale="2"   pitchScale="0.8"/>
            <sound template="clackVar6"             startTime="0.01" direction="-1" volumeScale="2"   pitchScale="0.8"/>
            <sound template="cylinderPunch"         startTime="2.99" direction="1"  volumeScale="1.4" pitchScale="0.8"/>
            <sound template="clackVar6"             startTime="2.99" direction="1"  volumeScale="2"   pitchScale="0.7"/>
            <sound template="clackVar6"             startTime="2.99" direction="-1" volumeScale="2"   pitchScale="0.9"/>
            <sound template="thudVar2"              startTime="2.99" direction="-1" volumeScale="2"   pitchScale="0.8"/>
        </animation>
    </animations>

    <cylindered>
        <movingTools>
            <movingTool node="drawbar" playSound="true">
                <controls axis="AXIS_DRAWBAR" invertAxis="false" mouseSpeedFactor="0.6" iconName="DRAWBAR_ROTATE_X" />
                <rotation rotSpeed="10" rotAcceleration="40" rotMax="25" rotMin="-5" startRot="-1.4" rotationAxis="1"/>
                <inputAttacherJoint value="true" />
                <dependentPart node="drawbarHydraulics" />
                <dependentPart node="ptoChain" />
                <powerTakeOffs indices="1" />
            </movingTool>

            <movingTool node="pickupComponentJoint" playSound="true">
                <componentJoint index="1" />
            </movingTool>
            <movingTool node="backDoor" playSound="true">
                <dependentPart node="backDoor2RefBarTrans" />
                <dependentPart node="backDoorHydraulics" />
            </movingTool>
        </movingTools>

        <movingParts>
            <movingPart node="ptoChain" referenceFrame="zelonCFS2501DO_main_component1"/>
            <movingPart node="drawbarHydraulics" referencePoint="drawbarHydraulicsRef" referenceFrame="drawbarHydraulicsRef">
                <translatingPart node="drawbarHydraulicsPunch" />
            </movingPart>

            <movingPart node="pickupWheelArm" referencePoint="pickupWheelArmRef" referenceFrame="zelonCFS2501DO_main_component1" isActiveDirty="true" maxUpdateDistance="80">
                <dependentPart node="pickup" />
            </movingPart>
            <movingPart node="pickup" localReferencePoint="pickupArm" referencePoint="pickupArmRef" referenceFrame="pickupRefFrame">
                <dependentPart node="pickupArm" />
            </movingPart>
            <movingPart node="pickupArm" referencePoint="pickupArmRef" referenceFrame="pickupArmRef"/>
            <movingPart node="leftPickupAxis" referenceFrame="pickupWheelLeftPhysical" limitedAxis="2" isActiveDirty="true" maxUpdateDistance="80"/>
            <movingPart node="rightPickupAxis" referenceFrame="pickupWheelRightPhysical" limitedAxis="2" isActiveDirty="true" maxUpdateDistance="80"/>

            <movingPart node="backDoor2RefBarTrans" referencePoint="backDoor2RefBarRef" referenceFrame="backDoor2RefBarRef"/>
            <movingPart node="backDoorHydraulics" referencePoint="backDoorHydraulicsRef" referenceFrame="backDoorHydraulicsRef">
                <translatingPart node="backDoorHydraulicsPunch" />
            </movingPart>

            <movingPart node="steeringBar" referencePoint="steeringBarRef" referenceFrame="steeringBarRef" isActiveDirty="true" maxUpdateDistance="40"/>
            <movingPart node="steeringHydraulic" referencePoint="steeringHydraulicRef" referenceFrame="steeringHydraulicRef" isActiveDirty="true" maxUpdateDistance="40">
                <translatingPart node="steeringHydraulicPunch" />
            </movingPart>
        </movingParts>

        <sounds>
            <actionSound template="hydraulicLayerTone"    pitchScale="0.9" volumeScale="1.3" linkNode="drawbarHydraulics" actionNames="TRANSLATING_POS TRANSLATING_NEG" nodes="drawbarHydraulics"/>
            <actionSound template="clackVar6"             pitchScale="0.8" volumeScale="1"   linkNode="drawbar"          actionNames="TOOL_MOVE_END_POS_LIMIT"         nodes="drawbar"/>
            <actionSound template="sheetImp02"            pitchScale="1.3" volumeScale="1.2" linkNode="drawbar"          actionNames="TOOL_MOVE_END_POS_LIMIT"         nodes="drawbar"/>
            <actionSound template="cylinderPunch"         pitchScale="1"   volumeScale="0.5" linkNode="drawbar"          actionNames="TOOL_MOVE_END_POS_LIMIT"         nodes="drawbar"/>
            <actionSound template="clackVar6"             pitchScale="0.7" volumeScale="1.8" linkNode="drawbar"          actionNames="TOOL_MOVE_END_NEG_LIMIT"         nodes="drawbar"/>
            <actionSound template="clackVar4"             pitchScale="1.3" volumeScale="0.5" linkNode="drawbar"          actionNames="TOOL_MOVE_END_NEG_LIMIT"         nodes="drawbar"/>
            <actionSound template="sheetImp02"            pitchScale="0.8" volumeScale="2"   linkNode="drawbar"          actionNames="TOOL_MOVE_END_NEG_LIMIT"         nodes="drawbar"/>
            <actionSound template="thudVar2"              pitchScale="0.8" volumeScale="2.5" linkNode="drawbar"          actionNames="TOOL_MOVE_END_NEG_LIMIT"         nodes="drawbar"/>
        </sounds>
    </cylindered>

    <pickup>
        <animation name="rotatePickup" isDefaultLowered="false"/>
    </pickup>

    <fillUnit>
        <fillUnitConfigurations title="$l10n_configuration_silageAdditives">
            <fillUnitConfiguration name="$l10n_configuration_valueNo" price="0">
                <fillUnits>
                    <fillUnit shopDisplayUnit="CUBICMETER" fillTypeCategories="forageWagon" capacity="23000" allowAILoading="true" >
                        <exactFillRootNode node="exactFillRootNode" />
                        <autoAimTargetNode node="autoAimTargetNode" startZ="0.9" endZ="-2.2" invert="false" startPercentage="28"/>
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
            <fillUnitConfiguration name="$l10n_configuration_valueYes" price="2000">
                <fillUnits>
                    <fillUnit shopDisplayUnit="CUBICMETER" fillTypeCategories="forageWagon" capacity="23000" allowAILoading="true" >
                        <exactFillRootNode node="exactFillRootNode" />
                        <autoAimTargetNode node="autoAimTargetNode" startZ="0.9" endZ="-2.2" invert="false" startPercentage="28"/>
                    </fillUnit>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypes="SILAGE_ADDITIVE" capacity="10" showInShop="false" uiPrecision="2">
                        <exactFillRootNode node="exactFillRootNodeAdditives" />
                    </fillUnit>
                </fillUnits>

                <objectChange node="silageAdditivesTank_vis" visibilityActive="true" visibilityInactive="false"/>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="fillVolume" fillUnitIndex="1" />
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>

        <unloadInfos>
            <unloadInfo>
                <node node="loadNode" width="1.4" length="1.0" />
            </unloadInfo>
        </unloadInfos>

        <loadInfos>
            <loadInfo>
                <node node="loadNode" width="1.4" length="1.0" />
            </loadInfo>
        </loadInfos>

        <heightNodes>
            <heightNode>
                <refNode node="heightNode01" />
                <refNode node="heightNode02" />
                <node node="unloadingParticle" baseScale="1 0.2 1" scaleAxis="0 0.5 0"/>
                <node node="unloadingEffect" baseScale="1 1 1" transAxis="0 0.8 0"/>
            </heightNode>
        </heightNodes>
    </fillVolume>

    <trailer>
        <trailerConfigurations>
            <trailerConfiguration name="$l10n_configuration_valueDefault" price="0">
                <trailer>
                    <tipSide name="$l10n_info_tipSideBack" dischargeNodeIndex="1">
                        <animation name="tipAnimationBack" speedScale="1.0" startTipTime="0.6" />
                        <animationNodes>
                            <animationNode node="roller01" rotSpeed="1400"  rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="2"/>
                            <animationNode node="roller02" rotSpeed="-1400" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="2"/>
                            <animationNode node="roller03" rotSpeed="1400"  rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="2"/>
                            <animationNode class="ScrollingAnimation" node="scrabFloor" shaderParameterName="offsetUV" scrollSpeed="0.18" scrollLength="7.877" shaderParameterComponent="2" turnOnFadeTime="1" turnOffFadeTime="1"/>
                        </animationNodes>
                    </tipSide>
                </trailer>
            </trailerConfiguration>
        </trailerConfigurations>
    </trailer>

    <dischargeable>
        <dischargeNode node="dischargeNode" emptySpeed="1530" fillUnitIndex="1" unloadInfoIndex="1" allowAIDischarge="true">
            <info width="1.1" length="0.5" />

            <effects>
                <effectNode effectClass="TipEffect">
                    <effectNode effectNode="unloadingParticle" effectClass="ParticleEffect" materialType="unloadingParticle" lifespan="0.11" worldSpace="false"/>
                    <effectNode effectNode="unloadingEffect" materialType="unloading" delay="0.1" fadeTime="0.5" extraDistanceNode="dischargeNode"/>
                </effectNode>
                <effectNode effectNode="smokeEffect" materialType="unloadingSmoke" fadeTime="0.5"/>
            </effects>
            <dischargeStateSound template="dischargeLoop" pitchScale="1.0" volumeScale="0.7" fadeIn="0.5" fadeOut="1.7"/>
        </dischargeNode>
    </dischargeable>

    <forageWagon workAreaIndex="1" fillUnitIndex="1" loadInfoIndex="1" maxPickupLitersPerSecond="350">
        <additives fillUnitIndex="2" usage="0.0000275" fillTypes="GRASS_WINDROW" />
        <fillVolume dischargeScrollSpeed="0 0 0.3" loadScrollSpeed="0 0 0.05"/>

        <fillEffect>
            <effectNode effectClass="TypedMotionPathEffect" effectType="PICKUPIN" linkNode="pickupEffectNode">
                <motionPathEffect textureFilename="$data/vehicles/strautmann/zelonCFS2501DO/pickupArray.dds" numRows="10" rowLength="15" minFade="0.15" shapeScale="0.75"/>
            </effectNode>
            <effectNode effectClass="TypedMotionPathEffect" effectType="PICKUPIN" linkNode="liftupEffectNode">
                <motionPathEffect textureFilename="$data/vehicles/strautmann/zelonCFS2501DO/liftupArray.dds" numRows="9" rowLength="11" delay="0.35" shapeScale="0.5"/>
            </effectNode>
            <effectNode effectClass="ParticleEffect" effectNode="pickupSmokeEmitter" particleType="SMOKE" materialType="smokeParticle" emitCountScale="0.5"/>
            <effectNode effectClass="ParticleEffect" effectNode="pickupSmokeEmitter" particleType="SMOKE" materialType="smokeParticle" emitCountScale="0.5" worldSpace="false"/>
        </fillEffect>

        <startFillEffect fillStartDelay="0.4" fillStartFadeOff="2500">
            <effectNode effectClass="TypedMotionPathEffect" effectType="PICKUPOUT" linkNode="pickupOutEffectNode">
                <motionPathEffect textureFilename="$data/effects/pickup/sharedPickupArrayOUT.dds" numRows="4" rowLength="22" delay="0"/>
            </effectNode>
        </startFillEffect>
    </forageWagon>

    <turnOnVehicle>
        <animationNodes>
            <animationNode node="pickupRotationPart02" rotSpeed="-700" rotAxis="1" turnOnFadeTime="2" turnOffFadeTime="2" />
            <animationNode node="rotor01"              rotSpeed="-800" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="2" />
            <animationNode node="rotor02"              rotSpeed="450"  rotAxis="1" turnOnFadeTime="2" turnOffFadeTime="2" />
            <animationNode class="ScrollingAnimation" node="scrabFloor" shaderParameterName="offsetUV" scrollSpeed="0.02" scrollLength="7.877" shaderParameterComponent="2" turnOnFadeTime="1" turnOffFadeTime="1"/>
        </animationNodes>

        <sounds>
            <work template="FORAGE_WAGON_01" linkNode="pickup" volumeScale="1.4"/>
        </sounds>
    </turnOnVehicle>

    <ai>
        <allowTurnBackward value="false"/>
        <turningRadiusLimitation radius="7"/>
        <agentAttachment jointNode="attacherJoint" rotCenterWheelIndices="1 2 3 4" width="2.5" height="3.8" length="7.0" lengthOffset="-0.1"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-1.2" maxX="1.2" minZ="-3.4" maxZ="2.9" yOffset="0.9" />
        <bendingNode minX="-1.2" maxX="1.2" minZ="-1.2" maxZ="0.2" yOffset="0.15" node="pickupWheelArmRef" />
        <bendingNode minX="-0.15" maxX="0.15" minZ="2.9" maxZ="4.45" yOffset="1.1" />
        <bendingNode minX="-1.2" maxX="1.2" minZ="-0.2" maxZ="0.2" yOffset="-1.55" node="backDoor" />
        <bendingNode minX="-1.25" maxX="1.25" minZ="-1.7" maxZ="0.55" yOffset="0.5" />
    </foliageBending>

    <baseMaterial>
        <material name="zelonCFS2501DO_mat" baseNode="zelonCFS2501DO_vis">
            <shaderParameter name="colorMat2" value="STRAUTMANN_GREEN1"/>
            <shaderParameter name="colorMat3" value="STRAUTMANN_RED1"/>
        </material>
    </baseMaterial>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="zelonCFS2501DO_main_component1" node="0>" />
        <i3dMapping id="zelonCFS2501DO_vis" node="0>0" />
        <i3dMapping id="drawbar" node="0>0|0|0" />
        <i3dMapping id="attacherJoint" node="0>0|0|0|0" />
        <i3dMapping id="drawbarHydraulicsRef" node="0>0|0|0|1" />
        <i3dMapping id="ptoDetachNode" node="0>0|0|0|2" />
        <i3dMapping id="ptoChain" node="0>0|0|0|7" />
        <i3dMapping id="ptoInputNode" node="0>0|0|1" />
        <i3dMapping id="supportTrans" node="0>0|0|2|0" />
        <i3dMapping id="hydraulicIn01" node="0>0|0|3|0" />
        <i3dMapping id="hydraulicIn01_detached" node="0>0|0|3|0|0" />
        <i3dMapping id="hydraulicIn01_detachedAdapter" node="0>0|0|3|0|0|0" />
        <i3dMapping id="hydraulicOut01" node="0>0|0|3|1" />
        <i3dMapping id="hydraulicOut01_detached" node="0>0|0|3|1|0" />
        <i3dMapping id="hydraulicOut01_detachedAdapter" node="0>0|0|3|1|0|0" />
        <i3dMapping id="electric_detached" node="0>0|0|3|2" />
        <i3dMapping id="electric" node="0>0|0|3|3" />
        <i3dMapping id="wheelChock01" node="0>0|0|4|0" />
        <i3dMapping id="wheelChock02" node="0>0|0|4|1" />
        <i3dMapping id="chockSupport01" node="0>0|0|4|2" />
        <i3dMapping id="chockSupport02" node="0>0|0|4|3" />
        <i3dMapping id="leftFrontWheel" node="0>0|1|0" />
        <i3dMapping id="rightFrontWheel" node="0>0|1|1" />
        <i3dMapping id="leftBackWheelAxis" node="0>0|1|2|0" />
        <i3dMapping id="leftBackWheel" node="0>0|1|2|0|0|0" />
        <i3dMapping id="steeringBar" node="0>0|1|2|0|1" />
        <i3dMapping id="steeringHydraulicRef" node="0>0|1|2|0|1|0" />
        <i3dMapping id="rightBackWheelAxis" node="0>0|1|3|0" />
        <i3dMapping id="rightBackWheel" node="0>0|1|3|0|0|0" />
        <i3dMapping id="steeringBarRef" node="0>0|1|3|0|1" />
        <i3dMapping id="triangle01" node="0>0|2|0|0" />
        <i3dMapping id="triangle02" node="0>0|2|0|1" />
        <i3dMapping id="sideMarker01" node="0>0|2|0|2" />
        <i3dMapping id="sideMarker02" node="0>0|2|0|3" />
        <i3dMapping id="workLight" node="0>0|2|0|4" />
        <i3dMapping id="reflector01" node="0>0|2|0|5" />
        <i3dMapping id="reflector02" node="0>0|2|0|6" />
        <i3dMapping id="backLightsHigh" node="0>0|2|1" />
        <i3dMapping id="turnLightLeftBack" node="0>0|2|2" />
        <i3dMapping id="turnLightRightBack" node="0>0|2|3" />
        <i3dMapping id="licensePlateLightHigh" node="0>0|2|4" />
        <i3dMapping id="drawbarHydraulics" node="0>0|3|0" />
        <i3dMapping id="drawbarHydraulicsPunch" node="0>0|3|0|0" />
        <i3dMapping id="pickupComponentJoint" node="0>0|3|1" />
        <i3dMapping id="pickup" node="0>0|3|2" />
        <i3dMapping id="pickupArm" node="0>0|3|2|0" />
        <i3dMapping id="pickupRotationPart01" node="0>0|3|2|1|0" />
        <i3dMapping id="pickupRotationPart02" node="0>0|3|2|2" />
        <i3dMapping id="pickupEffectNode" node="0>0|3|2|3|0" />
        <i3dMapping id="pickupSmokeEmitter" node="0>0|3|2|3|1" />
        <i3dMapping id="pickupWheelArm" node="0>0|3|3" />
        <i3dMapping id="pickupArmRef" node="0>0|3|3|0" />
        <i3dMapping id="leftPickupAxis" node="0>0|3|3|1|0" />
        <i3dMapping id="pickupWheelLeft" node="0>0|3|3|1|0|0" />
        <i3dMapping id="rightPickupAxis" node="0>0|3|3|2|0" />
        <i3dMapping id="pickupWheelRight" node="0>0|3|3|2|0|0" />
        <i3dMapping id="backDoor" node="0>0|3|4" />
        <i3dMapping id="backDoor2RefBarRef" node="0>0|3|4|0" />
        <i3dMapping id="backDoorHydraulicsRef" node="0>0|3|4|3" />
        <i3dMapping id="backlightLeft" node="0>0|3|4|4|0" />
        <i3dMapping id="backlightRight" node="0>0|3|4|4|1" />
        <i3dMapping id="backSideMarkerLeft" node="0>0|3|4|4|2" />
        <i3dMapping id="backSideMarkerRight" node="0>0|3|4|4|3" />
        <i3dMapping id="rearPlateNumber_01" node="0>0|3|4|4|4" />
        <i3dMapping id="rearPlateNumber_02" node="0>0|3|4|4|5" />
        <i3dMapping id="licensePlateNode" node="0>0|3|4|5" />
        <i3dMapping id="backDoor2" node="0>0|3|5" />
        <i3dMapping id="backDoor2RefBarTrans" node="0>0|3|5|0" />
        <i3dMapping id="backDoor2RefBar" node="0>0|3|5|0|0" />
        <i3dMapping id="backDoorHydraulics" node="0>0|3|6" />
        <i3dMapping id="backDoorHydraulicsPunch" node="0>0|3|6|0" />
        <i3dMapping id="steeringHydraulic" node="0>0|3|7" />
        <i3dMapping id="steeringHydraulicPunch" node="0>0|3|7|0" />
        <i3dMapping id="backDoor2RefFrame" node="0>0|3|8" />
        <i3dMapping id="pickupRefFrame" node="0>0|3|9" />
        <i3dMapping id="rotor01" node="0>0|4|0" />
        <i3dMapping id="rotor02" node="0>0|4|1" />
        <i3dMapping id="roller01" node="0>0|4|2" />
        <i3dMapping id="roller02" node="0>0|4|3" />
        <i3dMapping id="roller03" node="0>0|4|4" />
        <i3dMapping id="scrabFloor" node="0>0|4|5" />
        <i3dMapping id="fillVolume" node="0>0|5|0" />
        <i3dMapping id="exactFillRootNode" node="0>0|5|1" />
        <i3dMapping id="autoAimTargetNode" node="0>0|5|2" />
        <i3dMapping id="dischargeNode" node="0>0|5|3" />
        <i3dMapping id="heightNode01" node="0>0|5|4" />
        <i3dMapping id="heightNode02" node="0>0|5|5" />
        <i3dMapping id="loadNode" node="0>0|5|6" />
        <i3dMapping id="workAreaStart" node="0>0|6|0" />
        <i3dMapping id="workAreaWidth" node="0>0|6|1" />
        <i3dMapping id="workAreaHeight" node="0>0|6|2" />
        <i3dMapping id="unloadingEffect" node="0>0|7|0|0" />
        <i3dMapping id="smokeEffect" node="0>0|7|0|1" />
        <i3dMapping id="unloadingParticle" node="0>0|7|1|0|0" />
        <i3dMapping id="liftupEffectNode" node="0>0|7|2" />
        <i3dMapping id="pickupOutEffectNode" node="0>0|7|3" />
        <i3dMapping id="silageAdditivesTank_vis" node="0>0|9|0" />
        <i3dMapping id="exactFillRootNodeAdditives" node="0>0|9|0|1" />
        <i3dMapping id="pickupEffect1" node="0>1|1" />
        <i3dMapping id="pickupWheelLeftPhysical" node="1>0" />
        <i3dMapping id="pickupWheelLeftPhysicalDriveNode" node="1>0|0" />
        <i3dMapping id="pickupWheelRightPhysical" node="1>1" />
        <i3dMapping id="pickupWheelRightPhysicalDriveNode" node="1>1|0" />
        <i3dMapping id="pickupWheelArmRef" node="1>2" />
        <i3dMapping id="groundReferenceNode" node="1>3" />
    </i3dMappings>
</vehicle>
