<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="manureSpreader">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>
            <de>Roto Vario</de>
            <en>Roto Vario</en></name>
        <specs>
            <neededPower>64</neededPower>
            <workingWidth>9.0</workingWidth>
        </specs>
        <functions>
            <function>$l10n_function_manureSpreader</function>
        </functions>
        <image>store_SpreaderModule.dds</image>
        <price>15760</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>GAFNER</brand>
        <category>manureSpreaders</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_manureSpreader</typeDesc>
        <filename>SpreaderModule.i3d</filename>
        <size width="3.5" length="10.5"/>
        <speedLimit value="20"/>
        <components>
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="715"/>
        </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>
    <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>
    <workAreas>
        <workArea type="sprayer" functionName="processSprayerArea" disableBackwards="false" requiresGroundContact="false">
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight"/>
        </workArea>
    </workAreas>
    <sprayer fillUnitIndex="1" unloadInfoIndex="1" loadInfoIndex="1">
        <usageScales workingWidth="9.0" scale="1"/>
		<effects>
            <effectNode effectClass="TypedMotionPathEffect" effectType="MANURE_SPREADER" linkNode="effectParticleManure">
            <motionPathEffect textureFilename="$data/vehicles/farmtech/variofex750/manureEffectWideArray.dds" numRows="28" rowLength="24" />
            </effectNode>
            <effectNode effectClass="ParticleEffect" effectNode="effectParticleSmoke" particleType="smoke" materialType="smokeParticle" worldSpace="false" emitCountScale="0.3" spriteScale="0.5"/>
        </effects>
        <animationNodes>
            <animationNode node="rotorRot" rotSpeed="-1200" rotAxis="3" turnOnFadeTime="1" turnOffFadeTime="2"/>
            <animationNode node="spreadRotor" rotSpeed="-1200" rotAxis="2" turnOnFadeTime="1" turnOffFadeTime="2"/>
        </animationNodes>
        <sounds>
            <hydraulic template="hydraulicOpen02" linkNode="0>"/>
        </sounds>
    </sprayer>
    <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.715 1 0" endTrans="1.5 0 0"/>
            <part node="rightSupport" startTime="0" endTime="0.2" startTrans="-0.715 1 0" endTrans="-1.5 0 0"/>
            <part node="backSupport" startTime="0" endTime="0.2" startTrans="-1.5 1 0.5" endTrans="-1.5 0.114 0"/>
        </animation>
    </animations>
    <cylindered>
        <movingTools>
            <movingTool node="spreaderRot">
                <controls axis="MANURE_SPREADER" invertAxis="true"/>
                <rotation rotSpeed="45" rotAcceleration="280" rotMax="28" rotMin="-90" rotationAxis="3"/>
            </movingTool>
        </movingTools>
        <sounds>
            <hydraulic template="hydraulicOpen02" linkNode="main_component1"/>
        </sounds>
    </cylindered>
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypeCategories="manureSpreader" capacity="10500">
                        <exactFillRootNode node="exactFillRootNode"/>
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="fillVolume" fillUnitIndex="1"/>
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>
        <unloadInfos>
            <unloadInfo>
                <node node="unloadNode" width="1.4" length="1"/>
            </unloadInfo>
        </unloadInfos>
    </fillVolume>
    <turnOnVehicle turnOffIfNotAllowed="false">
        <sounds>
            <work template="defaultManureSpreader02"/>
        </sounds>
    </turnOnVehicle>
    <ai>
        <needsLowering value="true"/>
        <areaMarkers leftNode="aiMarkerLeft" rightNode="aiMarkerRight" backNode="aiMarkerBack"/>
        <sizeMarkers leftNode="sizeMarkerLeft" rightNode="sizeMarkerRight" backNode="sizeMarkerBack"/>
        <allowTurnBackward value="false"/>
        <toolReverserDirectionNode node="sizeMarkerBack"/>
		<agentAttachment width="2.45" height="2.8" length="4.2" lengthOffset="-0.3"/>
    </ai>
    <foliageBending>
        <bendingNode minX="-1.1" maxX="1.1" minZ="-3.6" maxZ="2.2" yOffset="0.6"/>
    </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="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="backSupport" node="0>0|1|0|2"/>
        <i3dMapping id="supportArmParts" node="0>0|1|0|3"/>
        <i3dMapping id="supportArms" node="0>0|1|1"/>
        <i3dMapping id="attacherJoint" node="0>0|0"/>
        <i3dMapping id="mover" node="0>1|0"/>
        <i3dMapping id="fillVolume01" node="0>1|1"/>
        <i3dMapping id="fillVolume" node="0>1|1|0"/>
        <i3dMapping id="unloadNode" node="0>1|1|1"/>
        <i3dMapping id="exactFillRootNode" node="0>1|1|2"/>
        <i3dMapping id="spreaderRot" node="0>2|0"/>
        <i3dMapping id="rotorRot" node="0>2|0|0"/>
        <i3dMapping id="spreadRotor" node="0>2|0|4|0"/>
        <i3dMapping id="workAreaStart" node="0>2|0|5|0"/>
        <i3dMapping id="workAreaWidth" node="0>2|0|5|1"/>
        <i3dMapping id="workAreaHeight" node="0>2|0|5|2"/>
        <i3dMapping id="ai" node="0>2|0|6"/>
        <i3dMapping id="aiMarkers" node="0>2|0|6|0"/>
        <i3dMapping id="aiMarkerLeft" node="0>2|0|6|0|0"/>
        <i3dMapping id="aiMarkerRight" node="0>2|0|6|0|1"/>
        <i3dMapping id="aiMarkerBack" node="0>2|0|6|0|2"/>
        <i3dMapping id="aiSize" node="0>3|5"/>
        <i3dMapping id="sizeMarkerLeft" node="0>3|5|0"/>
        <i3dMapping id="sizeMarkerRight" node="0>3|5|1"/>
        <i3dMapping id="sizeMarkerBack" node="0>3|5|2"/>
        <i3dMapping id="effectParticleManure" node="0>2|0|7|0"/>
        <i3dMapping id="effectParticleSmoke" node="0>2|0|7|1"/>
        <i3dMapping id="spreader_vis" node="0>3|0"/>
        <i3dMapping id="pipes" node="0>3|2"/>
        <i3dMapping id="detached" node="0>3|2|0"/>
        <i3dMapping id="attached" node="0>3|2|1"/>
        <i3dMapping id="lights" node="0>3|3"/>
        <i3dMapping id="turnLights" node="0>3|3|0"/>
        <i3dMapping id="turnLeft" node="0>3|3|0|0"/>
        <i3dMapping id="turnLightLeftBack" node="0>3|3|0|0|0"/>
        <i3dMapping id="turnRight" node="0>3|3|0|1"/>
        <i3dMapping id="turnLightRightBack" node="0>3|3|0|1|0"/>
        <i3dMapping id="backLightsHigh" node="0>3|3|1"/>
        <i3dMapping id="backLightsHigh1" node="0>3|3|1|0"/>
        <i3dMapping id="sharedLights" node="0>3|3|2"/>
        <i3dMapping id="rear4ChamberLight_01_right" node="0>3|3|2|0"/>
        <i3dMapping id="rear4ChamberLight_01_left" node="0>3|3|2|1"/>
        <i3dMapping id="fillVolumeFixPoint" node="0>3|4"/>
    </i3dMappings>
</vehicle>
