<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="roller" 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>
            <en>Sunflower 7232</en></name>
        <specs>
            <neededPower>30</neededPower>
            <workingWidth>8.5</workingWidth>
        </specs>
        <functions>
            <function>$l10n_function_roller</function>
        </functions>
        <image>store.dds</image>
        <price>19000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>SUNFLOWER</brand>
        <category>rollers</category>
		<shopTranslationOffset>0 0 0</shopTranslationOffset>
        <shopRotationOffset>0 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>750136</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>117804</indexBufferMemoryUsage>
        <textureMemoryUsage>23068968</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_roller</typeDesc>
        <filename>7232.i3d</filename>
        <size width="6.0" length="8.0" lengthOffset="0"/>
        <speedLimit value="20"/>
        <components>
            <component centerOfMass="0 0 0.863" solverIterationCount="200" mass="3500"/>
            <component centerOfMass="1.88100004 0.1 -2.03233361" solverIterationCount="200" mass="1500"/>
            <component centerOfMass="-1.88100004 0.1 -2.03233361" solverIterationCount="200" mass="1500"/>
            <joint component1="1" component2="2" node="0>1" rotLimit="0 0 0" transLimit="0 0 0"/>
            <joint component1="1" component2="3" node="0>2" rotLimit="0 0 0" transLimit="0 0 0"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
    </base>
    <wheels>
        <wheelConfigurations>
            <wheelConfiguration>
                <wheels autoRotateBackSpeed="2.0">
                    <wheel filename="Wheels/Wheels_main.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="1.0" repr="0>0|1|2|0"                forcePointRatio="0.25" initialCompression="30" suspTravel="0.1" spring="15" damper="35" yOffset="0.015" supportsWheelSink="false" brakeFactor="0"/>
                    </wheel>
					<wheel filename="Wheels/Wheels_main.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="1.0" repr="0>0|1|2|1"                forcePointRatio="0.25" initialCompression="30" suspTravel="0.1" spring="15" damper="35" yOffset="0.015" supportsWheelSink="false" brakeFactor="0"/>
                    </wheel>
					<wheel filename="Wheels/Wheels_main.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="1.0" repr="0>0|1|2|2"                forcePointRatio="0.25" initialCompression="30" suspTravel="0.1" spring="15" damper="35" yOffset="0.015" supportsWheelSink="false" brakeFactor="0"/>
                    </wheel>
					<wheel filename="Wheels/Wheels_main.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="1.0" repr="0>0|1|2|3"                forcePointRatio="0.25" initialCompression="30" suspTravel="0.1" spring="15" damper="35" yOffset="0.015" supportsWheelSink="false" brakeFactor="0"/>
                    </wheel>
					
					 <wheel hasTireTracks="false">
                        <physics restLoad="1" repr="1>2" radius="0.3" width="1" mass="0.001" initialCompression="50" suspTravel="0.05" spring="30" damper="30"/>
                    </wheel>
					 <wheel hasTireTracks="false">
                        <physics restLoad="1" repr="2>2" radius="0.3" width="1" mass="0.001" initialCompression="50" suspTravel="0.05" spring="30" damper="30"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>0|1|0|0|0" rootNode="0>" jointType="trailerLow" needsLowering="true" allowsLowering="true"/>
        </inputAttacherJoints>
		<brakeForce force="0.1"/>
        <support animationName="moveSupport"/>
		
		<sounds>
            <active file="$data/sounds/tools/cultivator/generalRattle_01.wav" innerRadius="10" outerRadius="50" volumeScale="6" isLocalSound="true" pitchScale="0.9">
                <volume indoor="0.7" outdoor="0.9" >
                    <modifier type="WHEEL_SUSPENSION" value="-0.08" modifiedValue="0.25"/>
                    <modifier type="WHEEL_SUSPENSION" value="-0.04" modifiedValue="0.1"/>
                    <modifier type="WHEEL_SUSPENSION" value="-0.02" modifiedValue="0.0"/>
                    <modifier type="WHEEL_SUSPENSION" value="-0.01" modifiedValue="0.00"/>
                    <modifier type="WHEEL_SUSPENSION" value="-0.00" modifiedValue="0.0"/>
                    <modifier type="WHEEL_SUSPENSION" value="0.01" modifiedValue="0.00"/>
                    <modifier type="WHEEL_SUSPENSION" value="0.02" modifiedValue="0.0"/>
                    <modifier type="WHEEL_SUSPENSION" value="0.04" modifiedValue="0.1"/>
                    <modifier type="WHEEL_SUSPENSION" value="0.08" modifiedValue="0.25"/>

                    <modifier type="SPEED" value="0.0" modifiedValue="0.0"/>
                    <modifier type="SPEED" value="2.0" modifiedValue="1.0"/>
                    <modifier type="SPEED" value="40.0" modifiedValue="1.0"/>
                </volume>
                <lowpassCutoffFrequency indoor="250" outdoor="20000" />
                <lowpassGain indoor="0.5" outdoor="1" />
            </active>
        </sounds>
		
    </attachable>

     <connectionHoses>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="0>0|3|7"  length="0.1" diameter="0.02" straighteningFactor="1">
            <objectChange node="0>0|2|9" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="0>0|3|8" length="0.1" diameter="0.02" straighteningFactor="1">
        </hose>
    </connectionHoses>

    <powerConsumer forceNode="0>" maxForce="2.5" neededMaxPtoPower="0"/>
   <lights>
        <sharedLight linkNode="0>0|2|15" filename="$data/shared/assets/lights/lizard/rearLight22Orange_left.xml" />
		<sharedLight linkNode="0>0|2|14" filename="$data/shared/assets/lights/lizard/rearLight22Orange_left.xml" />
		<sharedLight linkNode="0>0|2|13" filename="$data/shared/assets/lights/lizard/rearLight22Orange_right.xml" />
		<sharedLight linkNode="0>0|2|12" filename="$data/shared/assets/lights/lizard/rearLight22Orange_right.xml" />
		<sharedLight linkNode="0>0|2|10" filename="$data/shared/assets/lights/lizard/rearLight22Red.xml" />
		<sharedLight linkNode="0>0|2|11" filename="$data/shared/assets/lights/lizard/rearLight22Red.xml" />

			
    </lights>
	
    <groundReferenceNodes>
        <groundReferenceNode node="0>0|2|6" threshold="0.5" depthNode="0>0|2|6"/>
    </groundReferenceNodes>
    <workAreas>
        <workArea type="roller" functionName="processRollerArea">
            <area startNode="0>0|2|0" widthNode="0>0|2|1" heightNode="0>0|2|2"/>
            <groundReferenceNode index="1"/>
        </workArea>
    </workAreas>
   
    <foldable>
		<foldingConfigurations>
            <foldingConfiguration>
				<foldingParts startMoveDirection="1" foldMiddleAnimTime="0.2">
				<foldingPart animationName="folding" speedScale="1"/>
				</foldingParts>
			</foldingConfiguration>
        </foldingConfigurations>
    </foldable>
	
	
	<speedRotatingParts>
        <speedRotatingPart node="0>0|1|5|0" radius="0.2" foldMinLimit="0" foldMaxLimit="0.02" rotateOnGroundContact="true"/>
		<speedRotatingPart node="0>0|1|5|1" radius="0.2" foldMinLimit="0" foldMaxLimit="0.02" rotateOnGroundContact="true"/>
		<speedRotatingPart node="0>0|1|5|2" radius="0.2" foldMinLimit="0" foldMaxLimit="0.02" rotateOnGroundContact="true"/>
		
		<speedRotatingPart node="1>0|0|0" radius="0.2" foldMinLimit="0" foldMaxLimit="0.02" rotateOnGroundContact="true"/>
		<speedRotatingPart node="2>0|0|0" radius="0.2" foldMinLimit="0" foldMaxLimit="0.02" rotateOnGroundContact="true"/>
		
    </speedRotatingParts>
	
	
    <animations>
        <animation name="moveSupport">
            <part node="0>0|1|0|1|0" startTime="0.2" duration="0.8" startTrans="0 0.25 0" endTrans="0 0 0"/>
			<part node="0>0|1|6" startTime="0.2" duration="0.8" startTrans="0 0.894 0" endTrans="0 0 0"/>
            <part node="0>0|1|0|1" startTime="0" endTime=".2" startRot="90 0 0" endRot="0 0 0"/>
			<sound template="clackVar4" startTime="0.1" direction="-1" volumeScale="0.9" pitchScale="1.5" linkNode="0>"/>
            <sound template="clackVar6" startTime="0.1" direction="-1" volumeScale="0.9" pitchScale="1.5" linkNode="0>"/>
        </animation>
        <animation name="folding">
            <part node="0>0|1|2" startTime="0" endTime="2" startRot="-43.031 0 0" endRot="0 0 0"/>
            <part node="0>1" startTime="3" endTime="9" startRot="0 0 0" endRot="0 0 121.861"/>
            <part node="0>2" startTime="4" endTime="10" startRot="0 0 0" endRot="0 0 -121.861"/>
            <part endTime="10" startTime="5" endRotLimit="0 0 0" endTransLimit="0 0 0" componentJointIndex="1"/>
            <part endTime="10" startTime="5" endRotLimit="0 0 0" endTransLimit="0 0 0" componentJointIndex="2"/>
			
			<sound template="hydraulicOpen02" startTime="3" endTime="9" volumeScale=".8" pitchScale="0.6"/>
			<sound template="hydraulicOpen02" startTime="4" endTime="10" volumeScale=".8" pitchScale="0.6"/>
			
			
            <sound template="hydraulicOpen02" startTime="0" endTime="1.5" volumeScale="1" pitchScale="0.6"/>
            <sound template="hydraulicOpen02" startTime="0" endTime="1.5" volumeScale="1" pitchScale="0.6"/>
            <sound template="hydraulicOpen02" startTime="0" endTime="1.5" volumeScale="1" pitchScale="0.8"/>
            <sound template="hydraulicOpen02" startTime="0" endTime="1.5" volumeScale="1" pitchScale="0.8"/>
            <sound template="foldStartMed02"        startTime="1.5"                volumeScale="2"   pitchScale="0.8" />
            <sound template="clackVar3"             startTime="1.5"                 volumeScale="1"   pitchScale="1"/>
            <sound template="sheetImp02"            startTime="1.5"                 volumeScale="2.4" pitchScale="0.7"/>
            <sound template="sheetImp05"            startTime="1.5"  direction="-1" volumeScale="1.4" pitchScale="0.8"/>
            <sound template="foldStartMed02"        startTime="1"                 volumeScale="2.2" pitchScale="0.6"/>
            <sound template="foldStartMed02"        startTime="1"  direction="-1" volumeScale="2.2" pitchScale="0.7"/>	
        </animation>
    </animations>
	
	
	<workParticles>
        <effect workAreaIndex="1">
   
			 <effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="2>0|2">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/rollerArray.dds" numRows="20" rowLength="18" minFade="0.07" density="0.7" densityScale="0.5"/>
            </effectNode>
			 <effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="1>0|2">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/rollerArray.dds" numRows="20" rowLength="18" minFade="0.07" density="0.7" densityScale="0.5"/>
            </effectNode>
			 <effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="0>0|4">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/rollerArray.dds" numRows="20" rowLength="18" minFade="0.07" density="0.7" densityScale="0.5"/>
            </effectNode>
			 <effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="0>0|5">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/rollerArray.dds" numRows="20" rowLength="18" minFade="0.07" density="0.7" densityScale="0.5"/>
            </effectNode>
			 <effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="0>0|6">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/rollerArray.dds" numRows="20" rowLength="18" minFade="0.07" density="0.7" densityScale="0.5"/>
            </effectNode>
		
			
			
		</effect>
		

        <particle>
  
        </particle>
    </workParticles>
	
	
    <cylindered>
        <movingTools>
            <!-- <movingTool node="0>1" playSound="true">
                <controls axis="AXIS_PIPE" invertAxis="true" mouseSpeedFactor="0.6"/>
                <translation transSpeed="1.0" transAcceleration="40" transMax="2" transMin="0.59" translationAxis="3"/>
                <inputAttacherJoint value="true"/>
                <dependentPart node="0>1|0"/>
            </movingTool> -->
            <movingTool node="0>1" playSound="true">
                <componentJoint index="1" />
            </movingTool>
            <movingTool node="0>2" playSound="true">
                <componentJoint index="2" />
            </movingTool>
            <movingTool node="0>0|1|2" wheelIndices="1 2 3 4"/>
        </movingTools>
        <movingParts>
            <movingPart node="0>0|1|1" referencePoint="0>0|1|2|4" referenceFrame="0>0|1|2|4" isActiveDirty="true" maxUpdateDistance="300">
                <translatingPart node="0>0|1|1|0"/>
            </movingPart>
			<movingPart node="0>0|1|3" referencePoint="1>1" referenceFrame="0>" isActiveDirty="true" maxUpdateDistance="300">
                <translatingPart node="0>0|1|3|0"/>
            </movingPart>
			<movingPart node="0>0|1|4" referencePoint="2>1" referenceFrame="0>" isActiveDirty="true" maxUpdateDistance="300">
                <translatingPart node="0>0|1|4|0"/>
            </movingPart>
        </movingParts>
    </cylindered>
    <roller onlyActiveWhenLowered="false">
        <sounds>
            <work template="meadowRollerWork" />
        </sounds>
    </roller>
    <wearable wearDuration="230" workMultiplier="2" fieldMultiplier="2"/>
    <washable dirtDuration="80" washDuration="2" workMultiplier="5" fieldMultiplier="2"/>
    <ai>
        <needsLowering value="true"/>
        <areaMarkers leftNode="0>0|2|0" rightNode="0>0|2|1" backNode="0>0|2|2"/>
        <sizeMarkers leftNode="0>0|2|0" rightNode="0>0|2|1" backNode="0>0|2|2"/>
        <collisionTrigger node="0>0|2|0" width="11" height="1.4"/>
        <allowTurnBackward value="false"/>
		<agentAttachment jointNode="0>0" rotCenterWheelIndices="1 2" width="4.5" height="4.1" length="4.6" lengthOffset="1"/>
    </ai>
</vehicle>
