<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="roller" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://validation.gdn.giants-software.com//xml/fs22/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>RSR 300</name>
        <functions>
            <function>$l10n_function_roller</function>
        </functions>
        <specs>
            <neededPower>45</neededPower>
            <workingWidth>3</workingWidth>
        </specs>
        <rotation>0</rotation>
        <image>store_rsr.dds</image>
        <price>5500</price>
        <lifetime>600</lifetime>
        <brand>QUIVOGNE</brand>
        <category>rollers</category>
		<shopFoldingState>0</shopFoldingState>
        <vertexBufferMemoryUsage>1453824</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>191744</indexBufferMemoryUsage>
        <textureMemoryUsage>1507328</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_roller</typeDesc>
        <filename>RSR300.i3d</filename>
        <size width="3.5" length="1" height="2"/>
        <speedLimit value="18" />
        <components>
            <component centerOfMass="0 0 0.2" solverIterationCount="10" mass="1540" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>

	
    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels autoRotateBackSpeed="2.0">
                    <wheel hasTireTracks="false" hasParticles="true">
                        <physics restLoad="0.3" repr="0>0|6"  radius="0.27"  width="0.3" forcePointRatio="0.5" initialCompression="25" suspTravel="0.1" spring="30" damper="10" frictionScale="0.5" brakeFactor="0.1" supportsWheelSink="false"/>
                    </wheel>
					<wheel hasTireTracks="false" hasParticles="true">
                        <physics restLoad="0.3" repr="0>0|4"  radius="0.27"  width="0.3" forcePointRatio="0.5" initialCompression="25" suspTravel="0.1" spring="30" damper="10" frictionScale="0.5" brakeFactor="0.1" supportsWheelSink="false"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>

    <speedRotatingParts>
        <speedRotatingPart node="0>0|2" wheelIndex="1" />
    </speedRotatingParts>

    <animations>
		<animation name="moveSupport">
            <part node="0>0|0" startTime="0" endTime="0.1" startTrans="0 0.585 0" endTrans="0 0 0" />
        </animation>
    </animations>
	
	
    <!--groundAdjustedNodes>
		<groundAdjustedNode node="0>0|2" yOffset="-0.4" minY="-0.1" maxY="0.1" moveSpeed="10">
            <raycastNode node="0>0|7" distance="3"/>
        </groundAdjustedNode>
    </groundAdjustedNodes-->
	
	
	<groundReferenceNodes>
        <groundReferenceNode node="0>0|9|3" threshold="0.15" onlyActiveWhenLowered="false"/>
    </groundReferenceNodes>
	
	
	<workAreas>
        <workArea type="roller" functionName="processRollerArea" disableBackwards="false" requiresGroundContact="true" needsSetIsTurnedOn="false">
            <area startNode="0>0|9|0" widthNode="0>0|9|1" heightNode="0>0|9|2" />
            <groundReferenceNode index="1" />
            <folding minLimit="0" maxLimit="0.01" />
            <onlyActiveWhenLowered value="false"/>
        </workArea>
    </workAreas>

    <roller onlyActiveWhenLowered="false">
        <sounds>
            <work template="MEADOW_ROLLER_WORK" />
        </sounds>
    </roller>

    <powerConsumer forceNode="0>" maxForce="4" />

	<attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>0|8" jointType="implement" topReferenceNode="0>0|8|0" allowsLowering="true" lowerRotLimitScale="0 0 0" upperRotationOffset="8" lowerRotationOffset="0"   >
                <distanceToGround lower="0.4" upper="1" />
            </inputAttacherJoint>
        </inputAttacherJoints>
		<support animationName="moveSupport"/>
    </attachable>


    <foliageBending>
        <bendingNode minX="-1.5" maxX="1.5" minZ="-0.2" maxZ="0.2" yOffset="0.1" />
    </foliageBending>

    <ai>
        <needsLowering value="true" />
        <areaMarkers leftNode="0>0|10|0" rightNode="0>0|10|1" backNode="0>0|10|2" />
        <collisionTrigger node="0>0|10|3" width="3" height="1"/>
        <agentAttachment width="3" height="1" length="1" lengthOffset="0"/>
    </ai>

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