<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="DynapacCC2200"><!--carFillable-->
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>HAMM</name>
        <functions>
			<function>$l10n_function_tractor</function>
			<function>$l10n_function_cultivator</function>
        </functions>
        <image>store.dds</image>
        <price>25000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>HAMM</brand>
        <category>trucks</category>
    </storeData>
    <base>
		<typeDesc>$l10n_typeDesc_tractor</typeDesc>
		<typeDesc>$l10n_typeDesc_cultivator</typeDesc>
        <filename>DynapacCC2200.i3d</filename>
        <size width="3" length="8"/>
        <components>
            <component centerOfMass="-0.00 1.00 -1.11" solverIterationCount="10"mass="4995"/>
            <component centerOfMass="0.01 0.85 0.75" solverIterationCount="10"mass="4517"/>
			<component centerOfMass="0 0 0" solverIterationCount="10"mass="1"/>
            <joint component1="1" component2="2" node="0>4" rotLimit="0 0 23" transLimit="0 0 0"/>
        </components>
        <schemaOverlay attacherJointPosition="0.5 0">
            <default name="DEFAULT_VEHICLE"/>
            <selected name="DEFAULT_VEHICLE_SELECTED"/>
        </schemaOverlay>
    </base>
    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="roue" price="0">
                <wheels autoRotateBackSpeed="2.2">
                    <wheel isLeft="true" hasTireTracks="false" hasParticles="true">
                        <physics rotSpeed="0" restLoad="4.4" repr="0>0" radius="0.65" width="0.75" mass="0.315" initialCompression="70" suspTravel="0.1" spring="55" damper="75" frictionScale="1.5"/>
                    </wheel>
           
                    <wheel isLeft="true" hasTireTracks="false" hasParticles="true">
                        <physics rotSpeed="0" restLoad="4.4" repr="0>1" radius="0.65" width="0.75" mass="0.315" initialCompression="70" suspTravel="0.1" spring="55" damper="75" frictionScale="1.5"/>
                    </wheel>
               
                    <wheel isLeft="true" hasTireTracks="false" hasParticles="true">
                        <physics rotSpeed="0" restLoad="2.8" repr="1>0" radius="0.65" width="0.75" mass="0.315" initialCompression="40" suspTravel="0.1" spring="75" damper="75" frictionScale="1.5"/>
                    </wheel>
              
                    <wheel isLeft="true" hasTireTracks="false" hasParticles="true">
                        <physics rotSpeed="0" restLoad="2.8" repr="1>1" radius="0.65" width="0.75" mass="0.315" initialCompression="40" suspTravel="0.1" spring="75" damper="75" frictionScale="1.5"/>
                    </wheel>
               
                    <wheel isLeft="true" hasTireTracks="false" hasParticles="true">
                        <physics rotSpeed="0" restLoad="2.8" repr="0>6" radius="0.65" width="0.75" mass="0.315" initialCompression="40" suspTravel="0.1" spring="75" damper="75" frictionScale="1.5"/>
                    </wheel>
             
                    <wheel isLeft="true" hasTireTracks="false" hasParticles="true">
                        <physics rotSpeed="0" restLoad="2.8" repr="1>7" radius="0.65" width="0.75" mass="0.315" initialCompression="40" suspTravel="0.1" spring="75" damper="75" frictionScale="1.5"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>
	
    <articulatedAxis componentJointIndex="1" rotSpeed="50" rotMax="26" rotMin="-26" anchorActor="0"/>
	
   
	
   	<lights>

		<states>
            <state lightTypes="0"/>
            <state lightTypes="0 2"/>
        </states>
		
      <realLights>
		
            <low>
                <light node="frontLightLow"         lightTypes="0" excludedLightTypes="2 3" />            
                <light node="highBeamLow"           lightTypes="2" />
            </low>
            <high>
                <light node="frontLightHigh"        lightTypes="0" excludedLightTypes="2 3" />
                <light node="highBeamHigh"          lightTypes="2"/>
                <light node="backLightsHigh"       lightTypes="0"/>
				<light node="backLightsHigh1"       lightTypes="0"/>
				<light node="frontLightHigh1"       lightTypes="0"/>
				<light node="frontLightHigh2"       lightTypes="2"/>
				<light node="frontLightHigh3"       lightTypes="2"/>
				<light node="frontLightHigh4"       lightTypes="2"/>
				<light node="frontLightHigh5"       lightTypes="2"/>
				<light node="highBeamHigh1"       lightTypes="2"/>
				<light node="highBeamHigh2"       lightTypes="2"/>
				<light node="highBeamHigh3"       lightTypes="2"/>
                <brakeLight node="backLightsHigh" />
				<brakeLight node="backLightsHigh" />
                <turnLightLeft node="turnLightLeftFront" />
                <turnLightLeft node="turnLightLeftBack" />
                <turnLightRight node="turnLightRightFront" />
                <turnLightRight node="turnLightRightBack" />
				<reverseLight node="reverseLight" />
				<reverseLight node="reverseLight1" />
            </high>
        </realLights>

        <defaultLights>
            <defaultLight shaderNode="frontlightStatic"     lightTypes="0 3" />
			<defaultLight shaderNode="frontlightStatic1"     lightTypes="0 3" />
			<defaultLight shaderNode="frontlightStatic2"     lightTypes="2" />
			<defaultLight shaderNode="frontlightStatic3"     lightTypes="2" />
			<defaultLight shaderNode="frontlightStatic4"     lightTypes="2" />
			<defaultLight shaderNode="frontlightStatic5"     lightTypes="2" />
			<defaultLight shaderNode="frontlightStatic6"     lightTypes="2" />
			<defaultLight shaderNode="frontlightStatic7"     lightTypes="2" />
            <defaultLight shaderNode="backlightsHighStaticLeft" lightTypes="0" />
			<defaultLight shaderNode="backlightsHighStaticRight" lightTypes="0" />
			<defaultLight shaderNode="brakelightStaticleft"  />
			<defaultLight shaderNode="brakelightStaticRight"  />
        </defaultLights>

        <turnLights>
            <turnLightLeft  shaderNode="turnlightFrontLeftStatic" />
            <turnLightLeft  shaderNode="turnlightBackLeftStatic" />
            <turnLightRight shaderNode="turnlightFrontRightStatic" />
            <turnLightRight shaderNode="turnlightBackRightStatic" />
        </turnLights>

        <brakeLights>
            <brakeLight shaderNode="brakelightStaticleft" />
			<brakeLight shaderNode="brakelightStaticRight" />
        </brakeLights>
		
		<reverseLights>
            <reverseLight shaderNode="reverseLightStaticLeft" />
			<reverseLight shaderNode="reverselightStaticRight" />
        </reverseLights>

        <sounds>
            <switchLight template="SWITCH_01" linkNode="0>" />
            <turnLight template="SWITCH_TURNLIGHT" linkNode="0>" />
        </sounds>
		
        <beaconLights>
            <beaconLight node="1>6|1" filename="$data/shared/assets/beaconLights/lizard/beaconLight02.xml"/>			
        </beaconLights>
		
    </lights>
	
    <enterable>
        <exitPoint node="0>2"/>
        <enterReferenceNode node="0>"/>
		
			<!--rotation Hand player: 1=dessus main - 2=Bras - 3=pouce-->
		<characterNode node="1>14|0" cameraMinDistance="1" spineRotation="-90 0 90">
            <target ikChain="rightFoot" targetNode="player_rightFoot"/>
            <target ikChain="leftFoot" targetNode="player_LeftFoot"/>
            <target ikChain="rightArm" targetNode="player_rightArm"/>
            <target ikChain="leftArm" targetNode="player_leftArm"/>
        </characterNode>		
		
        <cameras>
            <camera node="1>2|0|0" rotatable="true" rotateNode="1>2|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="5" transMax="35" rotYSteeringRotSpeed="27.5"/>
            <camera node="1>2|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true"/>
        </cameras>
    </enterable>
	
    <motorized>
	
        <motorConfigurations>
            <motorConfiguration>
			
                <motor torqueScale="0.78" minRpm="1000" maxRpm="2200" maxBackwardSpeed="20" brakeForce="10" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1">
                    <torque normRpm="0.1" torque="0.35"/>
                    <torque normRpm="0.2" torque="0.65"/>
                    <torque normRpm="0.3" torque="0.85"/>
                    <torque normRpm="0.4" torque="1"/>
                    <torque normRpm="0.75" torque="0.75"/>
                    <torque normRpm="1" torque="0.65"/>
                </motor>
				
                <transmission minForwardGearRatio="35" maxForwardGearRatio="130" minBackwardGearRatio="45" maxBackwardGearRatio="130"/>
				
            </motorConfiguration>
        </motorConfigurations>
		
        <differentialConfigurations>
            <differentialConfiguration>
			
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.6" wheelIndex1="1" wheelIndex2="2"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.6" wheelIndex1="3" wheelIndex2="4"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.6" differentialIndex1="1" differentialIndex2="2"/>
                </differentials>
				
            </differentialConfiguration>
        </differentialConfigurations>
		
        <motorStartDuration>4500</motorStartDuration>
		
		 <consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="192" fillType="diesel"/>
            </consumerConfiguration>
        </consumerConfigurations>
		
        <sounds>
            <motorStart file="sons/engineStart06_Plattmaker.ogg">
                <volume outdoor="1"/>
                <pitch outdoor="1"/>
            </motorStart>
            <motor file="sons/engine07_Loop_Medium_Plattmaker.ogg" innerRadius="20">
                <volume outdoor="1"/>
                <pitch outdoor="1"/>
            </motor>
            <motorStop file="sons/engineStop07_Plattmaker.ogg">
                <volume outdoor="1.2"/>
                <pitch outdoor="0.9"/>
            </motorStop>
            <reverseDrive file="sons/reverseBeep01.ogg">
                <volume outdoor="0.35"/>
            </reverseDrive>
            <motor file="sons/engine07_Loop_Medium_Plattmaker.ogg">
                <volume outdoor="1.1"/>
                <pitch outdoor="0.75"/>
            </motor>
        </sounds>
		
    </motorized>
	
    <drivable>
        <steeringWheel node="1>5|0" indoorRotation="540" outdoorRotation="60"/>
    </drivable>
	
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit capacity="355" unit="$l10n_unit_literShort" fillTypes="diesel" showOnHud="false" showInShop="false"/>
                    <fillUnit capacity="71" unit="$l10n_unit_literShort" fillTypes="def" showOnHud="false" showInShop="false"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

	<!-- recommended horsepower by manufacturer: 180- -->
	<powerConsumer forceNode="0>" forceFactor="0.13" maxForce="11" />

	<groundReferenceNodes>
        <groundReferenceNode node="1>11" threshold="0.3" depthNode="1>15|1"/>
        <groundReferenceNode node="0>10" threshold="0.3" depthNode="0>13|1"/>
    </groundReferenceNodes>
	
    <workAreas>
        <workArea type="cultivator" functionName="processCultivatorArea" chargeValue="3">
            <area startNode="1>17|1|0" widthNode="1>17|1|1" heightNode="1>17|1|2"/>  
            <groundReferenceNode index="1"/>
            <folding minLimit="0" maxLimit="0.03"/>
        </workArea>
        <workArea type="cultivator" functionName="processCultivatorArea" chargeValue="3">
            <area startNode="0>15|1|0" widthNode="0>15|1|1" heightNode="0>15|1|2"/>
            <groundReferenceNode index="2"/>
            <folding minLimit="0" maxLimit="0.03"/>
        </workArea>
    </workAreas>
	
    <workParticles>
	
        <particleAnimation>
            <node node="0>13|0|0" refNodeIndex="1" materialType="SOIL" maxDepth="-0.01"/>
            <node node="1>15|0|0" refNodeIndex="1" materialType="SOIL" maxDepth="-0.01"/>
        </particleAnimation>
		
        <particle>
            <node node="0>13|0|1" refNodeIndex="1" particleType="SOIL"/>
            <node node="0>13|0|2" refNodeIndex="1" particleType="SOIL_SMOKE"/>
            <node node="0>13|0|3" refNodeIndex="1" particleType="SOIL_CHUNKS" worldSpace="false"/>
            <node node="1>15|0|1" refNodeIndex="1" particleType="SOIL"/>
            <node node="1>15|0|2" refNodeIndex="1" particleType="SOIL_SMOKE"/>
            <node node="1>15|0|3" refNodeIndex="1" particleType="SOIL_CHUNKS" worldSpace="false"/>
        </particle>
		
    </workParticles>
	
	 <cultivator>
		<onlyActiveWhenLowered value="false"/>
		<sounds>
            <Sound file="sons/CC2200_Compressar.ogg"              pitchOffset="1.00" volume="1.00" indoorVolumeFactor="0.65" />
        </sounds>
    </cultivator>
	
    <turnOnVehicle isAlwaysTurnedOn="false"/>
	
	<foliageBending>
        <bendingNode minX="-0.8" maxX="0.8" minZ="-3.9" maxZ="2" yOffset="0.7" />
        <bendingNode minX="-0.25" maxX="0.25" minZ="2" maxZ="5" yOffset="0.7" />
        <bendingNode minX="-0.6" maxX="3.5" minZ="-3.9" maxZ="2.0" yOffset="-0.5" />
        <bendingNode minX="-3.5" maxX="0.6" minZ="-3.9" maxZ="2.0" yOffset="-0.5" />
    </foliageBending>
	

	
     <ai>
        <needsLowering value="true"/>
		<areaMarkers leftNode="0>15|1|0" rightNode="0>15|1|1" backNode="0>15|1|2" />
        <sizeMarkers leftNode="0>15|0|0" rightNode="0>15|0|1" backNode="0>15|0|2" />
	    <areaMarkers leftNode="1>17|1|0" rightNode="1>17|1|1" backNode="1>17|1|2" />
        <sizeMarkers leftNode="1>17|0|0" rightNode="1>17|0|1" backNode="1>17|0|2" />
		
        <collisionTrigger node="1>3"/>
		<allowTurnBackward value="true"/>
		<aiForceTurnNoBackward value="true"/>
    </ai>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="6" fieldMultiplier="2"/>
	
   <honk>
        <sound template="HONK_MF_BIG_TRACTOR" linkNode="0>" />
    </honk>
	
	

    
	
    <i3dMappings>
	    <i3dMapping id="Tras" node="0>" />
		
		<i3dMapping id="turnlightBackRightStatic" node="0>3|0|3|0"/>
        <i3dMapping id="turnlightBackLeftStatic" node="0>3|0|2|0"/>
        <i3dMapping id="turnLightLeftBack" node="0>3|0|8|0"/>
        <i3dMapping id="turnLightRightBack" node="0>3|0|8|1"/>
		
        <i3dMapping id="reverseLight1" node="0>3|0|10|1"/>
        <i3dMapping id="reverseLight" node="0>3|0|10|0"/>
        <i3dMapping id="reverselightStaticRight" node="0>3|0|5|0"/>
        <i3dMapping id="reverseLightStaticLeft" node="0>3|0|4|0"/>
		
        <i3dMapping id="backLightsHigh" node="0>3|0|9|0"/>
        <i3dMapping id="backLightsHigh1" node="0>3|0|9|0|0"/>
        <i3dMapping id="backlightsHighStaticRight" node="0>3|0|6|0"/>
        <i3dMapping id="backlightsHighStaticLeft" node="0>3|0|7|0"/>
        <i3dMapping id="brakelightStaticleft" node="0>3|0|6|1"/>
        <i3dMapping id="brakelightStaticRight" node="0>3|0|7|1"/>
		
		<i3dMapping id="frontlightStatic6" node="0>3|0|0|0" />
		<i3dMapping id="frontlightStatic7" node="0>3|0|1|0" />
		<i3dMapping id="frontLightHigh4" node="0>3|0|11|0"/>
        <i3dMapping id="frontLightHigh5" node="0>3|0|11|0|0"/>
	
			<!--player-->
		<i3dMapping id="player_rightFoot" node="1>14|2" />	
		<i3dMapping id="player_LeftFoot" node="1>14|1" />		
		<i3dMapping id="player_rightArm" node="1>14|3" />
		<i3dMapping id="player_leftArm" node="1>14|4" />		
	
	    <i3dMapping id="Frente" node="1>" />
		
		<i3dMapping id="turnlightFrontLeftStatic" node="1>6|0|2|0" />
        <i3dMapping id="turnlightFrontRightStatic" node="1>6|0|3|0" />		
		<i3dMapping id="turnLightLeftFront" node="1>6|0|9|0" />
        <i3dMapping id="turnLightRightFront" node="1>6|0|9|1" />
		
		<i3dMapping id="frontlightStatic" node="1>6|0|0|0" />
		<i3dMapping id="frontlightStatic1" node="1>6|0|1|0" />
		<i3dMapping id="frontlightStatic2" node="1>6|0|4|0" />
		<i3dMapping id="frontlightStatic3" node="1>6|0|5|0" />
		<i3dMapping id="frontlightStatic4" node="1>6|0|6|0" />
		<i3dMapping id="frontlightStatic5" node="1>6|0|7|0" />

		
        <i3dMapping id="frontLightLow" node="1>6|0|8|0"/>
        <i3dMapping id="highBeamLow" node="1>6|0|8|1"/>
        <i3dMapping id="frontLightHigh" node="1>6|0|8|0"/>
        <i3dMapping id="frontLightHigh1" node="1>6|0|8|0|0"/>
        <i3dMapping id="highBeamHigh" node="1>6|0|8|1"/>
        <i3dMapping id="highBeamHigh1" node="1>6|0|8|1|0"/>
		<i3dMapping id="frontLightHigh2" node="1>6|0|8|2"/>
        <i3dMapping id="frontLightHigh3" node="1>6|0|8|2|0"/>
        <i3dMapping id="highBeamHigh2" node="1>6|0|8|3"/>
        <i3dMapping id="highBeamHigh3" node="1>6|0|8|3|0"/>
	
	</i3dMappings>
</vehicle>
