<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="IMT_Weeders">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
	<storeData>
		<name>IMT 644.21 weeder</name>
		<specs>
			<neededPower>35</neededPower>
			<workingWidth>4</workingWidth>
		</specs>
		<functions>
			<function>$l10n_function_weeder</function>
		</functions>
		<image>store_IMT-644.21.dds</image>
		<price>4000</price>
		<lifetime>600</lifetime>
		<rotation>0</rotation>
		<brand>IMT</brand>
		<category>weeders</category>
        <vertexBufferMemoryUsage>2882304</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>430848</indexBufferMemoryUsage>
        <textureMemoryUsage>1245184</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
	</storeData>
	<base>
		<typeDesc>$l10n_typeDesc_weeder</typeDesc>
		<filename>IMT-644.21.i3d</filename>
		<size width="3" length="2"/>
		<speedLimit value="13"/>
		<components>
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="446" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
	</base>
	<speedRotatingParts>
		<speedRotatingPart node="0>2|0|1|0" radius="0.5" groundReferenceNodeIndex="1"/>
		<speedRotatingPart node="0>2|0|2|0" radius="0.5" groundReferenceNodeIndex="1"/>
		<speedRotatingPart node="0>2|0|3|0" radius="0.5" groundReferenceNodeIndex="1"/>
		<speedRotatingPart node="0>2|0|4|0" radius="0.5" groundReferenceNodeIndex="1"/>
    </speedRotatingParts>
	<attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>0" jointType="implement" topReferenceNode="0>1" lowerRotLimitScale="0 0 0" upperRotationOffset="15" lowerRotationOffset="0">
                <distanceToGround lower="0.45" upper="0.85"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
    </attachable>
	<powerConsumer forceNode="0>" maxForce="5" neededMaxPtoPower="0"/>
    <groundReferenceNodes>
        <groundReferenceNode node="0>4|3" threshold="0.14" depthNode="0>4|3"/>
    </groundReferenceNodes>
	<workAreas>
		<workArea type="weeder" functionName="processWeederArea" needsSetIsTurnedOn="false">
		    <area startNode="0>4|0" widthNode="0>4|1" heightNode="0>4|2" />
		    <groundReferenceNode index="1"/>
		    <onlyActiveWhenLowered value="true"/>
		</workArea>
		<workArea type="sprayer" functionName="processSprayerArea" disableBackwards="false" requiresGroundContact="false">
            <area heightNode="0>4|2" startNode="0>4|0" widthNode="0>4|1"/>
            <groundReferenceNode index="1"/>
        </workArea>
	</workAreas>
	<sprayer>
        <usageScales workingWidth="4" scale="1"/>
    </sprayer>
	<workParticles>
        <particle>
            <node node="0>6|0" refNodeIndex="1" particleType="SOIL_SMOKE" adjustColor="true" emitCountScale="18" speedThreshold="4" />
            <node node="0>6|1" refNodeIndex="1" particleType="SOIL_CHUNKS" worldSpace="true" emitCountScale="1" adjustColor="false" speedThreshold="4"/> 
        </particle>
        <effect workAreaIndex="1">
            <effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="0>6|2">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
			<effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="0>6|3">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
			<effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="0>6|4">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
			<effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="0>6|5">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
			<effectNode effectClass="CultivatorMotionPathEffect" effectType="CULTIVATOR" linkNode="0>6|6">
                <motionPathEffect textureFilename="$data/effects/cultivator/arrays/sharedCultivatorSweepArray01.dds" numRows="20" rowLength="18" minFade="0.07" isCultivatorSweepEffect="true" />
            </effectNode>
        </effect>
    </workParticles>
	<connectionHoses>		
		<localHose>
            <hose type="TOOL_CONNECTOR_TOP_RIGHT"  node="0>2|0|7|0"  length="0.7" diameter="0.05" maxCenterPointAngle="0" straighteningFactor="0.6" isWorldSpaceHose="false" />
            <target attacherJointIndices="1" type="TOOL_CONNECTOR_TOP_RIGHT" node="0>2|0|7|1" maxCenterPointAngle="0" straighteningFactor="0.6" isWorldSpaceHose="false"/>
		</localHose>                                                                                                                                                      
		<localHose>                                                                                                                                                       
            <hose type="TOOL_CONNECTOR_TOP_RIGHT"  node="0>2|0|7|3"  length="0.7" diameter="0.05" maxCenterPointAngle="0" straighteningFactor="0.6" isWorldSpaceHose="false" />
            <target attacherJointIndices="1" type="TOOL_CONNECTOR_TOP_RIGHT" node="0>2|0|7|2" maxCenterPointAngle="0" straighteningFactor="0.6" isWorldSpaceHose="false"/>
		</localHose>                                                                                                                                                      
		<localHose>                                                                                                                                                       
            <hose type="TOOL_CONNECTOR_TOP_RIGHT"  node="0>2|0|7|4"  length="0.7" diameter="0.05" maxCenterPointAngle="0" straighteningFactor="0.6" isWorldSpaceHose="false" />
            <target attacherJointIndices="1" type="TOOL_CONNECTOR_TOP_RIGHT" node="0>2|0|7|6" maxCenterPointAngle="0" straighteningFactor="0.6" isWorldSpaceHose="false"/>
		</localHose>                                                                                                                                                      
		<localHose>                                                                                                                                                       
            <hose type="TOOL_CONNECTOR_TOP_RIGHT"  node="0>2|0|7|5"  length="0.7" diameter="0.05" maxCenterPointAngle="0" straighteningFactor="0.6" isWorldSpaceHose="false" />
            <target attacherJointIndices="1" type="TOOL_CONNECTOR_TOP_RIGHT" node="0>2|0|7|7" maxCenterPointAngle="0" straighteningFactor="0.6" isWorldSpaceHose="false"/>
		</localHose>                                                                                                                                                       
		<localHose>                                                                                                                                                          
            <hose type="TOOL_CONNECTOR_TOP_RIGHT"  node="0>2|0|7|8"  length="0.7" diameter="0.05" maxCenterPointAngle="0" straighteningFactor="0.6" isWorldSpaceHose="false" />
            <target attacherJointIndices="1" type="TOOL_CONNECTOR_TOP_RIGHT" node="0>2|0|7|9" maxCenterPointAngle="0" straighteningFactor="0.6" isWorldSpaceHose="false"/>
		</localHose>
		<localHose>
            <hose type="TOOL_CONNECTOR_TOP_RIGHT"  node="0>2|0|7|10"  length="0.7" diameter="0.05" maxCenterPointAngle="0" straighteningFactor="0.6" isWorldSpaceHose="false"/>
            <target attacherJointIndices="1" type="TOOL_CONNECTOR_TOP_RIGHT" node="0>2|0|7|11" maxCenterPointAngle="0" straighteningFactor="0.6" isWorldSpaceHose="false"/> 
		</localHose>                                                                                                                                                        
		<localHose>                                                                                                                                                         
            <hose type="TOOL_CONNECTOR_TOP_RIGHT"  node="0>2|0|7|12"  length="0.7" diameter="0.05" maxCenterPointAngle="0" straighteningFactor="0.6" isWorldSpaceHose="false"/>
            <target attacherJointIndices="1" type="TOOL_CONNECTOR_TOP_RIGHT" node="0>2|0|7|13" maxCenterPointAngle="0" straighteningFactor="0.6" isWorldSpaceHose="false"/>  
		</localHose>                                                                                                                                                         
		<localHose>                                                                                                                                                          
            <hose type="TOOL_CONNECTOR_TOP_RIGHT"  node="0>2|0|7|12"  length="0.7" diameter="0.05" maxCenterPointAngle="0" straighteningFactor="0.6" isWorldSpaceHose="false"/>
            <target attacherJointIndices="1" type="TOOL_CONNECTOR_TOP_RIGHT" node="0>2|0|7|14" maxCenterPointAngle="0" straighteningFactor="0.6" isWorldSpaceHose="false"/>
		</localHose>
		<localHose>
            <hose type="TOOL_CONNECTOR_TOP_RIGHT"  node="0>2|0|7|13"  length="0.7" diameter="0.05" maxCenterPointAngle="0" straighteningFactor="0.6" isWorldSpaceHose="false" />
            <target attacherJointIndices="1" type="TOOL_CONNECTOR_TOP_RIGHT" node="0>2|0|7|15" maxCenterPointAngle="0" straighteningFactor="0.6" isWorldSpaceHose="false"/>
		</localHose>
    </connectionHoses>	
	<animations>
        <animation name="moveSupport">
            <part node="0>7|0" startTime="0.0" endTime="0.2" startTrans="0 0.5 0" endTrans="0 0 0"/>
			<sound template="clackVar1" startTime="0" volumeScale="2.2" pitchScale="0.8" />
        </animation>
        <animation name="toggleCover">
            <part node="0>2|0|0" startTime="0" endTime="0.5" startRot="0 0 0" endRot="0 -130 0"/>
			<sound template="clackVar4" startTime="0" volumeScale="2.2" pitchScale="0.8" />
        </animation>
    </animations>
	<fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <unloading width="5" offset="0 0 0" />
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypes="fertilizer" capacity="400">
                        <exactFillRootNode node="0>3|2" />
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="0>3|0" maxDelta="0.0" fillUnitIndex="1" maxAllowedHeapAngle="16" />
					<volume node="0>3|1" maxDelta="0.0" fillUnitIndex="1" maxAllowedHeapAngle="16" />
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>
    </fillVolume>
    <weeder isHoe="true">
        <sounds>
            <work template="WEEDER_01" linkNode="0>" />
        </sounds>
    </weeder>
	<cover>
        <coverConfigurations>
            <coverConfiguration>
                <cover openAnimation="toggleCover" fillUnitIndices="1" openOnBuy="false" />
            </coverConfiguration>
        </coverConfigurations>
    </cover>
	<ai>
        <areaMarkers leftNode="0>5|0|0" rightNode="0>5|0|1" backNode="0>5|0|2"/>
        <collisionTrigger node="0>5|1" width="4.6" height="1.6"/>
        <needsLowering value="true"/>
        <allowTurnBackward value="true"/>
        <agentAttachment width="2.3" height="3.0" length="2.3" lengthOffset="0.1"/>
    </ai>
	
	<baseMaterial>
        <material name="ram_mat" baseNode="0>2|0">
            <shaderParameter name="colorMat0" value="0.5 0.0 0.0 0"/>
            <shaderParameter name="colorMat1" value="0.01 0.0 0.0 0"/>
            <shaderParameter name="colorMat2" value="0.1 1 0.1 1"/>
        </material>
		<material name="poklopac_mat" baseNode="0>2|0|0|0">
            <shaderParameter name="colorMat0" value="0.5 0.0 0.0 0"/>
            <shaderParameter name="colorMat1" value="0.01 0.0 0.0 0"/>
            <shaderParameter name="colorMat2" value="0.1 1 0.1 1"/>
        </material>
        <material name="tocak_mat" baseNode="0>2|0|4|0|0">
            <shaderParameter name="colorMat0" value="0.5 0.0 0.0 0"/>
            <shaderParameter name="colorMat1" value="0.01 0.0 0.0 0"/>
            <shaderParameter name="colorMat2" value="0.1 1 0.1 1"/>
        </material>
		<material name="tockovi_mat" baseNode="0>2|0|1|0|0">
            <shaderParameter name="colorMat0" value="0.171 0.171 0.171 0"/>
            <shaderParameter name="colorMat1" value="1 0.1 0.1 0"/>
            <shaderParameter name="colorMat2" value="0.1 1 0.1 1"/>
        </material>
    </baseMaterial>
	
	<baseMaterialConfigurations price="400" title="Farba" >
		<baseMaterialConfiguration name="Crvena1" color="0.8 0.045 0 " material="0" />
		<baseMaterialConfiguration name="Crvena2" 	   color="0.352 0.052 0.001"	material="5"/>	
        <baseMaterialConfiguration name="Crvena3" 	   color="0.410 0.001 0.001"	material="6" />
        <baseMaterialConfiguration name="Crvena4" 	   color="0.510 0.001 0.001"	material="6"/>
        <baseMaterialConfiguration name="Crvena5" 	   color="0.610 0.001 0.001"	material="6"/>
		<baseMaterialConfiguration  name="Crvena6" material="0" color="0.42 0.0 0.0"/>
		<baseMaterialConfiguration  name="Crvena7" material="32" color="0.3 0.0 0.0"/>
        <baseMaterialConfiguration  name="Crvena8" material="0" color="0.497 0.013 0.006"/>
        <baseMaterialConfiguration  name="Crvena9" material="6" color="0.3 0.0 0.0"/>
        <baseMaterialConfiguration  name="Crvena10" material="1" color="0.352 0.052 0.002"/>
        <baseMaterialConfiguration  name="Crvena11" material="6" color="0.352 0.052 0.002"/>
		<baseMaterialConfiguration  name="Crvena12" material="0" color="0.328 0.017 0.015"/>
		<baseMaterialConfiguration  name="Crvena13" material="0.223" color="0.47 0.01 0.016"/>
		<baseMaterialConfiguration  name="Crvena14" material="1" color="0.76 0.0 0.0"/>
		<baseMaterialConfiguration  name="Crvena15" 	   color="0.36 0.0 0.0"	material="6" isDefault="true"/>
		<baseMaterialConfiguration  name="Crvena16" material="0" color="0.427 0.013 0.006"/>
		<material name="ram_mat" 	shaderParameter="colorMat0" />
		<material name="poklopac_mat" 	shaderParameter="colorMat0" />
		<material name="tocak_mat" 	shaderParameter="colorMat0" />
	</baseMaterialConfigurations>
	
	<designMaterialConfigurations price="250" title="Farba Tockovi" >
	    <designMaterialConfiguration name="IMT_GRAY1" 	material="27"	color="0.422 0.422 0.422 "/>
		<designMaterialConfiguration name="IMT_GRAY2" 	material="27"	color="0.2 0.2 0.2 "/>
		<designMaterialConfiguration name="IMT_GRAY3" 	material="6"	color="0.08 0.095 0.107 "/>		
	    <designMaterialConfiguration name="IMT_BLACK" 	material="27"	color="0.091 0.091 0.091 "/>
		<designMaterialConfiguration name="IMT_CHROME" 	material="21"	color="0.702 0.702 0.702 "/>	
		<material name="tockovi_mat" 	shaderParameter="colorMat0" />
	</designMaterialConfigurations>	
	
	<designConfigurations title="644">
        <designConfiguration name="Da" price="100">
            <objectChange node="0>2|1|0" visibilityActive="true"/>
        </designConfiguration>
        <designConfiguration name="Ne" price="0">
            <objectChange node="0>2|1|0" visibilityActive="false"/>
        </designConfiguration>
    </designConfigurations>
	
	<design2Configurations title="Polozaj">
        <design2Configuration name="Sve" price="200">
            <objectChange node="0>2|1|1" visibilityActive="true"/>
			<objectChange node="0>2|1|2" visibilityActive="true"/>
        </design2Configuration>
		<design2Configuration name="Spolja" price="100">
            <objectChange node="0>2|1|1" visibilityActive="true"/>
			<objectChange node="0>2|1|2" visibilityActive="false"/>
        </design2Configuration>
		<design2Configuration name="Unutra" price="100">
            <objectChange node="0>2|1|1" visibilityActive="false"/>
			<objectChange node="0>2|1|2" visibilityActive="true"/>
        </design2Configuration>
        <design2Configuration name="Nista" price="0">
            <objectChange node="0>2|1|1" visibilityActive="false"/>
			<objectChange node="0>2|1|2" visibilityActive="false"/>
        </design2Configuration>
    </design2Configurations>
	
	<design3Configurations title="Paznja">
        <design3Configuration name="Sve" price="200">
            <objectChange node="0>2|1|3" visibilityActive="true"/>
			<objectChange node="0>2|1|4" visibilityActive="true"/>
        </design3Configuration>
		<design3Configuration name="Spolja" price="100">
            <objectChange node="0>2|1|3" visibilityActive="true"/>
			<objectChange node="0>2|1|4" visibilityActive="false"/>
        </design3Configuration>
		<design3Configuration name="Unutra" price="100">
            <objectChange node="0>2|1|3" visibilityActive="false"/>
			<objectChange node="0>2|1|4" visibilityActive="true"/>
        </design3Configuration>
        <design3Configuration name="Nista" price="0">
            <objectChange node="0>2|1|3" visibilityActive="false"/>
			<objectChange node="0>2|1|4" visibilityActive="false"/>
        </design3Configuration>
    </design3Configurations>
	
	<design4Configurations title="Logo">
        <design4Configuration name="Sve" price="200">
            <objectChange node="0>2|1|5" visibilityActive="true"/>
			<objectChange node="0>2|1|6" visibilityActive="true"/>
        </design4Configuration>
		<design4Configuration name="Pozadi" price="100">
            <objectChange node="0>2|1|5" visibilityActive="true"/>
			<objectChange node="0>2|1|6" visibilityActive="false"/>
        </design4Configuration>
		<design4Configuration name="Napred" price="100">
            <objectChange node="0>2|1|5" visibilityActive="false"/>
			<objectChange node="0>2|1|6" visibilityActive="true"/>
        </design4Configuration>
        <design4Configuration name="Nista" price="0">
            <objectChange node="0>2|1|6" visibilityActive="false"/>
			<objectChange node="0>2|1|5" visibilityActive="false"/>
        </design4Configuration>
    </design4Configurations>
	
	<design5Configurations title="Broj">
        <design5Configuration name="Sve" price="200">
            <objectChange node="0>2|1|7" visibilityActive="true"/>
			<objectChange node="0>2|1|8" visibilityActive="true"/>
        </design5Configuration>
		<design5Configuration name="Spolja" price="100">
            <objectChange node="0>2|1|7" visibilityActive="true"/>
			<objectChange node="0>2|1|8" visibilityActive="false"/>
        </design5Configuration>
		<design5Configuration name="Unutra" price="100">
            <objectChange node="0>2|1|7" visibilityActive="false"/>
			<objectChange node="0>2|1|8" visibilityActive="true"/>
        </design5Configuration>
        <design5Configuration name="Nista" price="0">
            <objectChange node="0>2|1|7" visibilityActive="false"/>
			<objectChange node="0>2|1|8" visibilityActive="false"/>
        </design5Configuration>
    </design5Configurations>

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