<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="forageWagon">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>
            <de>PrimAlpin</de>
            <en>PrimAlpin</en></name>
        <specs>
            <neededPower>30</neededPower>
        </specs>
        <functions>
            <function>$l10n_function_forageWagon</function>
        </functions>
        <image>store_ForageModule.dds</image>
        <price>15760</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>REFORM</brand>
        <category>loaderWagons</category>
        <shopTranslationOffset>0 0 0</shopTranslationOffset>
        <shopRotationOffset>1.145 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>2214332</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>330480</indexBufferMemoryUsage>
        <textureMemoryUsage>11796760</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_forageWagon</typeDesc>
        <filename>ForageModule.i3d</filename>
        <size width="3.5" length="10.5"/>
        <speedLimit value="20"/>
        <components>
            <component centerOfMass="0.00 0 0" solverIterationCount="10" mass="712"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0"/>
    </base>
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="TransporterJoint" lowerRotLimitScale="0 0 0" upperRotLimitScale="0 0 0" upperRotationOffset="0" lowerTransLimitScale="0 0 0" upperTransLimitScale="0 0 0"/>
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
        <brakeForce force="0.6" />
    </attachable>
	<licensePlates>
        <licensePlate node="licensePlateBack" position="BACK" preferedType="ELONGATED" placementArea="- - - -"/>
    </licensePlates>

    <speedRotatingParts>
        <speedRotatingPart node="pickupWheels"/>
    </speedRotatingParts>
    <lights>
        <sharedLight linkNode="rear4ChamberLight_01_left" filename="$data/shared/assets/lights/lizard/rearLight13_right.xml"/>
        <sharedLight linkNode="rear4ChamberLight_01_right" filename="$data/shared/assets/lights/lizard/rearLight13_left.xml"/>
        <realLights>
            <high>
                <light node="backLightsHigh" lightTypes="0"/>
                <turnLightLeft node="turnLightLeftBack"/>
                <turnLightRight node="turnLightRightBack"/>
                <brakeLight node="backLightsHigh"/>
            </high>
        </realLights>
    </lights>
    <groundReferenceNodes>
        <groundReferenceNode node="groundRefNode" threshold="0.2"/>
    </groundReferenceNodes>
    <workAreas>
        <workArea type="forageWagon" functionName="processForageWagonArea" disableBackwards="false">
            <area startNode="workArea01Start" widthNode="workArea01Width" heightNode="workArea01Height"/>
            <groundReferenceNode index="1"/>
        </workArea>
    </workAreas>
    <animations>
        <animation name="moveSupport">
            <part node="supportArms" startTime="0" endTime="0.01" visibility="false"/>
            <part node="supportArms" startTime="0.01" endTime="0.02" visibility="true"/>
            <part node="supportArmParts" startTime="0" endTime="0.01" visibility="false"/>
            <part node="supportArmParts" startTime="0.01" endTime="0.02" visibility="true"/>
            <part node="leftSupport" startTime="0" endTime="0.2" startTrans="0.3 1.5 0" endTrans="1.5 0 0"/>
            <part node="rightSupport" startTime="0" endTime="0.2" startTrans="-0.3 1.5 0" endTrans="-1.5 0 0"/>
        </animation>
        <animation name="rotatePickup">
            <part node="pickup" startTime="0" endTime="1" startRot="-160 0 180" endRot="-82 0 180"/>
            <part node="raff" startTime="0" endTime="1" startRot="0 0 0" endRot="-22 0 0"/>
        </animation>
        <animation name="tipAnimationBack">
            <part node="pickup" startTime="0" endTime="1" startRot="-160 0 180" endRot="-82 0 180"/>
            <part node="backDoor" startTime="1.5" endTime="4.5" startRot="0 0 0" endRot="65 0 0"/>
            <part node="raff" startTime="0" endTime="1" startRot="0 0 0" endRot="-22 0 0"/>
        </animation>
    </animations>
    <cylindered>
        <movingTools>
            <movingTool node="pickup" playSound="true"/>
            <movingTool node="backDoor" playSound="true">
                <dependentPart node="backDoorSpring"/>
            </movingTool>
        </movingTools>
        <sounds>
            <hydraulic template="hydraulicOpen02" linkNode="main_component1"/>
        </sounds>
    </cylindered>
    <pickup>
        <animation name="rotatePickup" isDefaultLowered="false"/>
    </pickup>
    <turnOnVehicle>
        <animationNodes>
            <animationNode node="drumRot" rotSpeed="500" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="pickupDrum2" rotSpeed="500" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode class="ScrollingAnimation" node="loadingChains" scrollSpeed="-0.02" scrollLength="7.877"/>
        </animationNodes>
		<sounds>
            <work template="forageWagon01"/>
        </sounds>
    </turnOnVehicle>
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration name="$l10n_configuration_valueDefault" price="0">
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypeCategories="forageWagon" capacity="18000">
                        <exactFillRootNode node="exactFillRootNode"/>
                        <autoAimTargetNode node="fillAutoAimTarget" startZ="1.1" endZ="-3.8" invert="false" startPercentage="75"/>
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="fillVolume" scrollSpeedDischarge="0 0 0.2" scrollSpeedLoad="0 0 0.1" fillUnitIndex="1"/>
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>
        <unloadInfos>
            <unloadInfo>
                <node node="unloadInfo" width="1.4" length="1.0" alsoUseLoadInfoForDischarge="true" loadInfoFillFactor="0.98" loadInfoSizeScale="3 4"/>
            </unloadInfo>
        </unloadInfos>
        <loadInfos>
            <loadInfo>
                <node node="loadNode" width="1.4" length="1.0"/>
            </loadInfo>
        </loadInfos>
        <heightNodes>
            <heightNode>
                <refNode node="heightNodes1"/>
                <refNode node="heightNodes2"/>
                <node node="unloadingParticle" baseScale="1 0.2 1" scaleAxis="0 0.4 0"/>
                <node node="unloadingEffect" baseScale="1 1 1" transAxis="0 0.8 0" scaleAxis="0 0 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.2"/>
                        <animationNodes>
                            <animationNode class="ScrollingAnimation" node="loadingChains" scrollSpeed="-0.18" scrollLength="7.877"/>
                        </animationNodes>
                    </tipSide>
                </trailer>
            </trailerConfiguration>
        </trailerConfigurations>
    </trailer>
    <dischargeable>
        <dischargeNode node="dischargeNode" emptySpeed="2270" fillUnitIndex="1" unloadInfoIndex="1">
            <info width="1.5" length="0.5"/>
            <effects>
                <effectNode effectClass="TipEffect">
                    <effectNode effectNode="unloadingParticle" materialType="unloadingParticle" effectClass="ParticleEffect" delay="0.1" lifespan="0.11"/>
                    <effectNode effectNode="unloadingEffect" materialType="unloading" materialTypeId="3" fadeTime="0.5" extraDistanceNode="dischargeNode"/>
                </effectNode>
                <effectNode effectNode="smokeEffect" materialType="smoke" materialTypeId="1" fadeTime="0.5"/>
            </effects>
        </dischargeNode>
    </dischargeable>
    <forageWagon workAreaIndex="1" fillUnitIndex="1" loadInfoIndex="1" maxPickupLitersPerSecond="350">
        <fillEffect>
            <effectNode effectClass="ParticleEffect" effectNode="emitShapeSmoke" particleType="SMOKE" emitCountScale="1"/>
            <effectNode effectClass="ParticleEffect" effectNode="emitShapeWindrowFalling" particleType="PICKUP_FALLING" emitCountScale="2" worldSpace="false"/>
            <effectNode effectClass="ParticleEffect" effectNode="emitShapeWindrowFalling2" particleType="PICKUP_FALLING" emitCountScale="2" worldSpace="false"/>
        </fillEffect>
    </forageWagon>
    <ai>
        <allowTurnBackward value="true"/>
        <turningRadiusLimitation radius="8"/>
		<agentAttachment width="2.45" height="2.8" length="4.2" lengthOffset="-0.3"/>
    </ai>
    <foliageBending>
        <bendingNode minX="-1.35" maxX="1.35" minZ="-2.6" maxZ="3.2 " yOffset="0.6"/>
        <bendingNode minX="-1.35" maxX="1.35" minZ="-4.8" maxZ="-2.6 " yOffset="1.3"/>
    </foliageBending>
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="4" fieldMultiplier="2"/>
    <i3dMappings>
        <i3dMapping id="main_component1" node="0>"/>
        <i3dMapping id="supportArms" node="0>0|1"/>
        <i3dMapping id="supportCollisions" node="0>0|1|0"/>
        <i3dMapping id="leftSupport" node="0>0|1|0|0"/>
        <i3dMapping id="rightSupport" node="0>0|1|0|1"/>
        <i3dMapping id="supportArmParts" node="0>0|1|0|2"/>
        <i3dMapping id="supportArms" node="0>0|1|1"/>
        <i3dMapping id="attacherJoint" node="0>0|0"/>
        <i3dMapping id="pickup01" node="0>1"/>
        <i3dMapping id="pickup" node="0>1|0"/>
        <i3dMapping id="decals" node="0>1|0|0"/>
        <i3dMapping id="pickupWheels" node="0>1|0|1"/>
        <i3dMapping id="drumRot" node="0>1|0|2"/>
        <i3dMapping id="raff" node="0>1|0|3"/>
        <i3dMapping id="workAreas" node="0>1|0|4"/>
        <i3dMapping id="workAreas" node="0>1|0|4"/>
        <i3dMapping id="workArea01Start" node="0>1|0|4|0"/>
        <i3dMapping id="workArea01Width" node="0>1|0|4|1"/>
        <i3dMapping id="workArea01Height" node="0>1|0|4|2"/>
        <i3dMapping id="groundRefNode" node="0>1|0|4|3"/>
        <i3dMapping id="emitShapeWindrow" node="0>1|0|5|0"/>
        <i3dMapping id="emitShapeSmoke" node="0>1|0|5|1"/>
        <i3dMapping id="emitShapeWindrowFalling" node="0>1|0|5|2"/>
        <i3dMapping id="backdoor01" node="0>2"/>
        <i3dMapping id="backDoor" node="0>2|0"/>
        <i3dMapping id="raffFixPoint" node="0>2|0|0"/>
        <i3dMapping id="backDoorSpringFixpoint" node="0>2|0|1"/>
        <i3dMapping id="backDoorSpring" node="0>2|1"/>
        <i3dMapping id="vis" node="0>3"/>
        <i3dMapping id="forage_vis" node="0>3|0"/>
        <i3dMapping id="loadingChains" node="0>3|0|0|1|0"/>
        <i3dMapping id="pickupDrum2" node="0>3|0|0|0|0|24"/>
        <i3dMapping id="lights" node="0>2|0|4"/>
        <i3dMapping id="turnLights" node="0>2|0|4|0"/>
        <i3dMapping id="turnLeft" node="0>2|0|4|0|0"/>
        <i3dMapping id="turnLightLeftBack" node="0>2|0|4|0|0|0"/>
        <i3dMapping id="turnRight" node="0>2|0|4|0|1"/>
        <i3dMapping id="turnLightRightBack" node="0>2|0|4|0|1|0"/>
        <i3dMapping id="backLightsHigh" node="0>2|0|4|1"/>
        <i3dMapping id="backLightsHigh1" node="0>2|0|4|1|0"/>
        <i3dMapping id="sharedLights" node="0>2|0|4|2"/>
        <i3dMapping id="rear4ChamberLight_01_right" node="0>2|0|4|2|0"/>
        <i3dMapping id="rear4ChamberLight_01_left" node="0>2|0|4|2|1"/>
        <i3dMapping id="fillVolume" node="0>4|0"/>
        <i3dMapping id="dischargeNode" node="0>4|1"/>
        <i3dMapping id="heightNodes" node="0>4|2"/>
        <i3dMapping id="heightNodes1" node="0>4|2|0"/>
        <i3dMapping id="heightNodes2" node="0>4|2|1"/>
        <i3dMapping id="unloadInfo" node="0>4|3"/>
        <i3dMapping id="ai" node="0>5"/>
        <i3dMapping id="exactFillRootNode" node="0>5|0"/>
        <i3dMapping id="fillAutoAimTarget" node="0>5|1"/>
        <i3dMapping id="loadNode" node="0>5|1|0"/>
        <i3dMapping id="unloadingEffect" node="0>6|0|0"/>
        <i3dMapping id="smokeEffect" node="0>6|0|1"/>
        <i3dMapping id="emitShapeWindrowFalling2" node="0>6|0|2"/>
        <i3dMapping id="unloadingParticle" node="0>6|0|3"/>
		<i3dMapping id="licensePlateBack" node="0>2|0|6"/>
    </i3dMappings>
</vehicle>
