<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="plow">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>SGIC</name>
        <specs>
            <neededPower>210</neededPower>
            <workingWidth>5.8</workingWidth>
        </specs>
        <functions>
            <function>$l10n_function_plow</function>
        </functions>
        <image>store.dds</image>
        <price>32500</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>plows</category>
        <vertexBufferMemoryUsage>1282992</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>199680</indexBufferMemoryUsage>
        <textureMemoryUsage>9786904</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
	
    <base>
        <typeDesc>$l10n_typeDesc_cultivator</typeDesc>
        <filename>lizardSGIC.i3d</filename>
        <size width="5.9" length="7.8" lengthOffset="1.6" />
        <speedLimit value="12"/>
        <components>
           <component centerOfMass="0 0 0.889" solverIterationCount="30" mass="5500"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>
	
    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels hasSurfaceSounds="false">
                    <wheel filename="$data/shared/wheels/trelleborg/T421/320_60R12.xml" isLeft="true" >
                        <physics rotSpeed="0" radius="0.6" restLoad="0.7" repr="0>0|1|0|0|0|0"  forcePointRatio="0.3" initialCompression="35" suspTravel="0.03" spring="60" damper="50" rotationDamping="0.003" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/T421/320_60R12.xml" isLeft="false" >
                        <physics rotSpeed="0" radius="0.6" restLoad="0.7" repr="0>0|1|0|0|0|1" forcePointRatio="0.3" initialCompression="35" suspTravel="0.03" spring="60" damper="50" rotationDamping="0.003" />
                    </wheel>
					<wheel>
                        <physics restLoad="2.3" repr="0>0|0|2|0" forcePointRatio="0.2" radius="0.24" width="0.25" mass="0.05" initialCompression="60" suspTravel="0.1" spring="60" damper="5" isSynchronized="false"/>
                    </wheel>
					<wheel>
                        <physics restLoad="2.3" repr="0>0|0|2|1" forcePointRatio="0.2" radius="0.24" width="0.25" mass="0.05" initialCompression="60" suspTravel="0.1" spring="60" damper="5" isSynchronized="false"/>
                    </wheel>
					<wheel>
                        <physics restLoad="2.3" repr="0>0|0|2|2" forcePointRatio="0.2" radius="0.24" width="0.25" mass="0.05" initialCompression="60" suspTravel="0.1" spring="60" damper="5" isSynchronized="false"/>
                    </wheel>                                                            
					<wheel>
                        <physics restLoad="2.3" repr="0>0|0|2|3" forcePointRatio="0.2" radius="0.24" width="0.25" mass="0.05" initialCompression="60" suspTravel="0.1" spring="60" damper="5" isSynchronized="false"/>
                    </wheel>                    
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>

        <rimColor>SHARED_GREY1</rimColor>

        <hubs>
            <color0>SHARED_BLACK1</color0>
            <hub linkNode="0>0|1|0|0|0|0"  filename="$data/shared/wheels/hubs/hubSmall_n0_1.xml" isLeft="true"  scale="0.18 0.18 0.18" />
            <hub linkNode="0>0|1|0|0|0|0"  filename="$data/shared/wheels/hubs/hubSmall_n0_1.xml" isLeft="false" scale="0.18 0.18 0.18" />
            <hub linkNode="0>0|1|0|0|0|1" filename="$data/shared/wheels/hubs/hubSmall_n0_1.xml" isLeft="true"  scale="0.18 0.18 0.18" />
            <hub linkNode="0>0|1|0|0|0|1" filename="$data/shared/wheels/hubs/hubSmall_n0_1.xml" isLeft="false" scale="0.18 0.18 0.18" />
        </hubs>
    </wheels>
    <speedRotatingParts>
		<speedRotatingPart node="0>0|0|1|0" radius="0.7" foldMinLimit="0" foldMaxLimit="0.59" onlyActiveWhenLowered="true"/>
		<speedRotatingPart node="0>0|0|0|0" radius="0.7" foldMinLimit="0" foldMaxLimit="0.59" onlyActiveWhenLowered="true"/>
    </speedRotatingParts>
	
	<attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>0|1|2|0|0|0" jointType="trailerLow" lowerRotLimit="0 0 0" />
        </inputAttacherJoints>
        <brakeForce>1</brakeForce>
    </attachable>
	
    <powerConsumer forceNode="0>" maxForce="40" neededMaxPtoPower="0"/>
	
    <groundReferenceNodes>
		<groundReferenceNode node="0>0|3" threshold="0.02" depthNode="0>0|3"/>
    </groundReferenceNodes>

    <workAreas>
		<workArea type="plow" functionName="processPlowArea">
            <area startNode="0>0|2|0|0" widthNode="0>0|2|0|1" heightNode="0>0|2|0|2"/>
            <groundReferenceNode index="1"/>
        </workArea>
		<workArea type="plow" functionName="processPlowArea">
            <area startNode="0>0|2|1|0" widthNode="0>0|2|1|1" heightNode="0>0|2|1|2"/>
            <groundReferenceNode index="1"/>
        </workArea>
    </workAreas>

	<plow>
        <rotateLeftToMax value="true" />
        <sounds>
            <work template="DEFAULT_CULTIVATOR_WORK" linkNode="0>" />
        </sounds>
    </plow>    
	
	<foldable>
        <foldingParts startMoveDirection="1" foldMiddleAnimTime="1.0" turnOnFoldMaxLimit="1.0" turnOnFoldMinLimit="0.0" >
            <foldingPart animationName="lowerAnimation" speedScale="1" />
        </foldingParts>
    </foldable>
	
    <animations>
		<animation name="lowerAnimation">
            <part node="0>0|1|0|0" startTime="0" endTime="2" startRot="-37 0 0" endRot="10 0 0"/>
            <part node="0>0|1|1|0" startTime="0" endTime="2" startRot="-37 0 0" endRot="10 0 0"/>      
            <part node="0>0|1|2|0" startTime="0" endTime="2" startRot="-3 0 0" endRot="6 0 0"/>                       
        </animation>
    </animations>

	<cylindered>
		<movingTools>
			<movingTool node="0>0|1|0|0" wheelIndices="1 2"/>
            <movingTool node="0>0|1|2|0" playSound="true">
                <inputAttacherJoint value="true" />
            </movingTool>            
		</movingTools>
	   <movingParts>
     	    <movingPart node="0>0|1|3|0" referencePoint="0>0|1|0|0|1|0" referenceFrame="0>0|1|0|0|1|0" isActiveDirty="true">
              <translatingPart node="0>0|1|3|0|0" />
            </movingPart>
			<movingPart node="0>0|1|0|0|0" referencePoint="0>0|1|1|0|0" referenceFrame="0>0|1|1|0|0" isActiveDirty="true">
            </movingPart>
			<movingPart node="0>0|1|2|0|1" referencePoint="0>0|1|0|0|1|1" referenceFrame="0>0|1|0|0|1|1" scaleZ="true" isActiveDirty="true">
            </movingPart>            
       </movingParts>
        <sounds>
			<hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="0>"/>
        </sounds>
    </cylindered>

	<workParticles>
        <particleAnimation>
            <node node="0>0|5|0|0" refNodeIndex="1" materialType="SOIL"/>
            <node node="0>0|5|1|0" refNodeIndex="1" materialType="SOIL"/>
        </particleAnimation>
        <particle>
            <node node="0>0|5|0|1" refNodeIndex="1" particleType="SOIL"/>
            <node node="0>0|5|0|2" refNodeIndex="1" particleType="SOIL_SMOKE"/>
            <node node="0>0|5|0|3" refNodeIndex="1" particleType="SOIL_CHUNKS" worldSpace="false"/>
            <node node="0>0|5|1|1" refNodeIndex="1" particleType="SOIL"/>
            <node node="0>0|5|1|2" refNodeIndex="1" particleType="SOIL_SMOKE"/>
            <node node="0>0|5|1|3" refNodeIndex="1" particleType="SOIL_CHUNKS" worldSpace="false"/>
            <node node="0>0|5|2|0" particleType="SOIL_SMOKE" refNodeIndex="1" />
            <node node="0>0|5|2|1" particleType="SOIL_SMOKE" refNodeIndex="1" />
            <node node="0>0|5|2|2" particleType="SOIL_SMOKE" refNodeIndex="1" />
            <node node="0>0|5|2|3" particleType="SOIL_SMOKE" refNodeIndex="1" />
            <node node="0>0|5|2|4" particleType="SOIL_SMOKE" refNodeIndex="1" />
            <node node="0>0|5|2|5" particleType="SOIL_SMOKE" refNodeIndex="1" />
        </particle>
    </workParticles>

    <foliageBending>
        <bendingNode minX="-2.9" maxX="2.8" minZ="1" maxZ="2.6" yOffset="0.4" />
        <bendingNode minX="-2.7" maxX="2.85" minZ="-1" maxZ="-2.7" yOffset="0.35" />
    </foliageBending>
	
	<cultivator isSubsoiler="true">
        <onlyActiveWhenLowered value="false"/>
        <sounds>
            <work template="DEFAULT_CULTIVATOR_WORK" linkNode="0>" />
        </sounds>
    </cultivator>
	
	<wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="4"/>>

    <ai>
        <needsLowering value="true"/>
        <areaMarkers leftNode="0>0|4|0" rightNode="0>0|4|1" backNode="0>0|4|2"/>
        <collisionTrigger node="0>0|4|3"/>
        <allowTurnBackward value="false"/>
    </ai>
</vehicle>
