<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="teleHandler">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>KRAN V400t TPM</name>
        <specs>
            <power>445</power>
            <maxSpeed>15</maxSpeed>
        </specs>
        <functions>
            <function>Sert au chargement des materiaux</function>
        </functions>
        <image>storeb.dds</image>
        <price>7800</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>tfsgroup</brand>
        <category>frontLoaderVehicles</category>
        <vertexBufferMemoryUsage>1487412</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>360324</indexBufferMemoryUsage>
        <textureMemoryUsage>14330864</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_car</typeDesc>
        <filename>volvo3001.i3d</filename>
        <size width="3.5" length="7"/>
        <components count="4">
            <component centerOfMass="0 0.4 -0.1" solverIterationCount="10" mass="28078" />
			<component centerOfMass="0 0.4 -0.1" solverIterationCount="10" mass="0" />
			<component centerOfMass="0 0.4 -0.1" solverIterationCount="10" mass="0" />
			<component centerOfMass="0 0.4 -0.1" solverIterationCount="10" mass="0" />
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_VEHICLE"/>
            <selected name="DEFAULT_VEHICLE_SELECTED"/>
        </schemaOverlay>
    </base>

    <wheels>
        <wheelConfigurations>
             <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels autoRotateBackSpeed="2.5">
                    <wheel hasParticles="true" hasTireTracks="false">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1" restLoad="0.6" repr="wheelFrontLeft"  radius="0.10" width="0.27" forcePointRatio="0.5" initialCompression="25" suspTravel="0.00" spring="0" damper="0" frictionScale="0" />
                        <tire tireTrackAtlasIndex="1" />
                    </wheel>
                    <wheel hasParticles="true" hasTireTracks="false">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1" restLoad="0.6" repr="wheelFrontRight" radius="0.10" width="0.27" forcePointRatio="0.5" initialCompression="25" suspTravel="0.00" spring="0" damper="0" frictionScale="0" />
                        <tire tireTrackAtlasIndex="1" />
                    </wheel>
                    <wheel hasParticles="true" hasTireTracks="false">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="0.6" repr="wheelBackLeft"  radius="0.10" width="0.27" forcePointRatio="0.5" initialCompression="25" suspTravel="0.0" spring="0" damper="0" frictionScale="0" />
                        <tire tireTrackAtlasIndex="1" />
                    </wheel>
                    <wheel hasParticles="true" hasTireTracks="false" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="0.6" repr="wheelBackRight"  radius="0.10" width="0.27" forcePointRatio="0.5" initialCompression="25" suspTravel="0.0" spring="0" damper="0" frictionScale="0" />
                        <tire tireTrackAtlasIndex="1" />
                    </wheel>
					                                                              <!--diff-->
					<wheel hasParticles="true" hasTireTracks="false" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1" restLoad="0.6" repr="leftfrontwheel"  radius="0.52" width="0.27" forcePointRatio="0.1" initialCompression="25" suspTravel="0.0" spring="0" damper="0" frictionScale="3" />
                        <tire tireTrackAtlasIndex="1" />
                    </wheel>
					<wheel hasParticles="true" hasTireTracks="false" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1" restLoad="0.6" repr="frontrightwheel"  radius="0.52" width="0.27" forcePointRatio="0.1" initialCompression="25" suspTravel="0.0" spring="0" damper="0" frictionScale="3" />
                        <tire tireTrackAtlasIndex="1" />
                    </wheel>
					<wheel hasParticles="true" hasTireTracks="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="-1" restLoad="0.6" repr="backleft"  radius="0.52" width="0.27" forcePointRatio="0.1" initialCompression="25" suspTravel="0.0" spring="0" damper="0" frictionScale="3" />
                        <tire tireTrackAtlasIndex="1" />
                    </wheel>
					<wheel hasParticles="true" hasTireTracks="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="-1" restLoad="0.6" repr="backrightwheel"  radius="0.52" width="0.27" forcePointRatio="0.1" initialCompression="25" suspTravel="0.0" spring="0" damper="0" frictionScale="3" />
                        <tire tireTrackAtlasIndex="1" />
                    </wheel>
                </wheels>
				<crawlers>
                    <crawler filename="tracks2.xml" linkNode="wheelBackLeft"  wheelIndex="3" isLeft="false"/>
                    <crawler filename="tracks2.xml" linkNode="wheelBackRight" wheelIndex="4" isLeft="true"/>
                </crawlers>
			
            </wheelConfiguration>
        </wheelConfigurations>

        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="200" rotMax="90" rotCenter="0 0" />
        </ackermannSteeringConfigurations>
    </wheels>

    <lights>

    </lights>

    <enterable isTabbable="true" >
        <enterReferenceNode node="exitPoint"/>
        <exitPoint node="exitPoint"/>

        <cameras count="2">
            <camera node="outdoorCamera1" rotatable="true" rotateNode="outdoorCameraTarget" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="3.5" transMax="40" translation="0 0 5.75" rotation="-10 180 0">
                <raycastNode node="cameraRaycastNode1"/>
                <raycastNode node="cameraRaycastNode2"/>
                <raycastNode node="cameraRaycastNode3"/>
            </camera>
            <camera node="indoorCamera1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" positionSmoothingParameter="0"  shadowFocusBox="shadowFocusBox"/>
        </cameras>

    </enterable>

    <drivable>
    </drivable>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="80" >
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <motorized>
        <consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="20" fillType="diesel" /> <!-- usage is per hour at max load and max rpm -->
            </consumerConfiguration>
        </consumerConfigurations>

        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <!--differential torqueRatio="0.2" maxSpeedRatio="1" wheelIndex1="1" wheelIndex2="2" /> 
                    <differential torqueRatio="0.2" maxSpeedRatio="1" wheelIndex1="3" wheelIndex2="4" /-->
					<differential torqueRatio="0.5" maxSpeedRatio="1.8" wheelIndex1="5" wheelIndex2="6" />
					<differential torqueRatio="0.5" maxSpeedRatio="1.8" wheelIndex1="7" wheelIndex2="8" />					
                    <differential torqueRatio="0.5" maxSpeedRatio="1.8" differentialIndex1="1" differentialIndex2="2" />
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>

        <motorConfigurations>
            <motorConfiguration hp="74" price="0">
                <motor torqueScale="0.313" minRpm="850" maxRpm="2200" maxForwardSpeed="13" maxBackwardSpeed="13" brakeForce="2" lowBrakeForceScale="0.22">
                    <torque normRpm="0.45" torque="0.9"/>
                    <torque normRpm="0.5" torque="0.97"/>
                    <torque normRpm="0.59" torque="1"/>
                    <torque normRpm="0.72" torque="1"/>
                    <torque normRpm="0.86" torque="0.88"/>
                    <torque normRpm="1" torque="0.72"/>
                </motor>
                <transmission minForwardGearRatio="10" maxForwardGearRatio="20" minBackwardGearRatio="10" maxBackwardGearRatio="20" />
            </motorConfiguration>
        </motorConfigurations>
		
        <exhaustEffects>
            <exhaustEffect node="exhaustParticleLeft" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.1" maxRpmColor="0.9 0.9 0.9 0.4" minRpmScale="0.02" maxRpmScale="0.25" />
        </exhaustEffects>

       <sounds externalSoundFile="$data/sounds/vehicles/engine/manitou_mlt737/manitou_mlt737.xml" />
    </motorized>

	<cylindered>
	 
        <movingTools>

            <movingTool node="Tourelle" delayedNode="swingnode" playSound="true">
                <controls axis="AXIS_CRANE_ARM" invertAxis="true" mouseSpeedFactor="0.6" iconName="CRANE_ARM1_ROTATE_Y" />
                <rotation rotSpeed="50" rotAcceleration="50"  rotationAxis="2" />
				<attacherJoint jointIndices="1" />
				<dependentPart node="Godet" />
            </movingTool>

            <movingTool node="Fleche" delayedNode="boomnode" playSound="true">
                <controls axis="AXIS_CRANE_ARM2" invertAxis="true" mouseSpeedFactor="0.5" iconName="CRANE_ARM1_ROTATE_X" />
                <rotation rotSpeed="20" rotAcceleration="40" rotMax="50" rotMin="-25" startRot="0" rotationAxis="1"  />
				<attacherJoint jointIndices="1" />
				<dependentPart node="Godet" />
				<dependentPart node="stickhyd" />
				<dependentPart node="0>6|1" />
            </movingTool>
			
           <movingTool node="Balancier" delayedNode="sticknode" playSound="true">
                <controls axis="AXIS_CRANE_ARM3" invertAxis="true" mouseSpeedFactor="0.5" iconName="CRANE_ARM2_ROTATE_X" />
                <rotation rotSpeed="30" rotAcceleration="80" rotMax="35" rotMin="-75" startRot="0" rotationAxis="1" />
				<attacherJoint jointIndices="1" />
				<dependentPart node="Godet" />
				<dependentPart node="stickhyd" />
				</movingTool>


			<movingTool node="Attache" delayedNode="attachnode" playSound="true">
                <controls axis="AXIS_CRANE_ARM4" invertAxis="true" mouseSpeedFactor="0.8" iconName="CRANE_ARM2_TRANSLATE" />
                <attacherJoint jointIndices="1" />
                <rotation rotSpeed="50" rotAcceleration="300" rotMax="100" rotMin="-25" startRot="0" />
				<dependentPart node="Godet" />
				<dependentPart node="0>6|0|0|2" />
				<dependentPart node="0>6|0|0|1" />
				<dependentPart node="0>6|0|0|1|0" />
				<dependentPart node="0>6|0|0|1|2" />
				<dependentPart node="0>6|0|0|1|0|0" />
            </movingTool>

        </movingTools>

    <movingParts>
        <movingPart node="0>6|1" referencePoint="0>6|0|7" referenceFrame="0>6|0|7" limitedAxis="1">
            <translatingPart node="0>6|1|0"/>
        </movingPart>
        <movingPart node="0>6|0|1" referencePoint="0>6|0|0|3" referenceFrame="0>6|0|0|3" limitedAxis="1">
            <translatingPart node="0>6|0|1|0"/>
		</movingPart>
        <movingPart node="0>6|0|0|2" referencePoint="0>6|0|0|1|2|0" referenceFrame="0>6|0|0|1|2|0" limitedAxis="1">
            <translatingPart node="0>6|0|0|2|0" />
		</movingPart>
		<movingPart node="0>6|0|0|1" referencePoint="0>6|0|0|0|5" referenceFrame="0>6|0|0|0|5" limitedAxis="1">
		</movingPart>
		<movingPart node="0>6|0|0|1|0|0" referencePoint="0>6|0|0|0|0" referenceFrame="0>6|0|0|0|0" limitedAxis="1">
		</movingPart>
    </movingParts>

    </cylindered>	

    <ai>
        <collisionTrigger node="aiCollisionTrigger" />
    </ai>
	
	<attacherJoints comboDuration="2">
        <attacherJoint node="0>6|0|0|0|2" jointType="frontloader" nodeVisual="0>6|0|0|0|3" allowsJointLimitMovement="false" allowsLowering="false" rotLimitSpring="9999 9999 9999" rotLimitDamping="5 5 5" transLimitSpring="9999 9999 9999" transLimitDamping="5 5 5" >
            <schema position="1 0.4" rotation="0" invertX="true" />
        </attacherJoint>
    </attacherJoints>

    <honk>
        <sound template="HONK_PICKUP" />
    </honk>

    <foliageBending>
        <bendingNode minX="-1.15" maxX="1.15" minZ="-2.8" maxZ="2.8" yOffset="0" />
    </foliageBending>

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

    <i3dMappings>
        <i3dMapping id="Volvo_EC300E" node="0>" />
        <i3dMapping id="wheelFrontLeft" node="0>7|0|1|0" />
        <i3dMapping id="wheelBackLeft" node="0>7|0|2|0|0" />
        <i3dMapping id="wheelFrontRight" node="0>7|1|1|0" />
        <i3dMapping id="wheelBackRight" node="0>7|1|2|0" />
        <i3dMapping id="outdoorCameraTarget" node="0>4" />
        <i3dMapping id="outdoorCamera1" node="0>4|0" />
        <i3dMapping id="indoorCamera1" node="0>6|6" />
        <i3dMapping id="cameraRaycastNode1" node="0>4|1" />
        <i3dMapping id="cameraRaycastNode2" node="0>4|2" />
        <i3dMapping id="cameraRaycastNode3" node="0>4|3" />
        <i3dMapping id="shadowFocusBox" node="0>4|4" />
        <i3dMapping id="exitPoint" node="0>6|8" />
        <i3dMapping id="exhaustParticleLeft" node="0>6|7" />
        <i3dMapping id="aiCollisionTrigger" node="0>5" />	
		<i3dMapping id="Tourelle" node="0>6" />
        <i3dMapping id="Fleche" node="0>6|0" />
		<i3dMapping id="Balancier" node="0>6|0|0" />
		<i3dMapping id="swingnode" node="0>6|21" />
		<i3dMapping id="boomnode" node="0>6|0|6" />
		<i3dMapping id="sticknode" node="0>6|0|0|5" />
		<i3dMapping id="Attache" node="0>6|0|0|0" />
		<i3dMapping id="attachnode" node="0>6|0|0|0|4" />
		<i3dMapping id="stickhyd" node="0>6|0|1" />
		<i3dMapping id="referencePoint2" node="0>6|0|0|3" />
		<i3dMapping id="stickrod" node="0>6|0|1|0" />
		<i3dMapping id="boomrodref" node="0>6|1|0>" />
		<i3dMapping id="boomrod" node="0>6|1|0|0>" />
		<i3dMapping id="Verinb" node="0>6|1>" />
		<i3dMapping id="boomcylref" node="0>6|0|7" />
		<i3dMapping id="Godet" node="1>" />
		<i3dMapping id="leftfrontwheel" node="0>7|0|1|1"  />
		<i3dMapping id="leftfront2" node="0>7|0|1|2"  />
		<i3dMapping id="leftmiddle" node="0>7|0|1|3"  />
		<i3dMapping id="backleft" node="0>7|0|2|0|0|0"  />
		<i3dMapping id="frontrightwheel" node="0>7|1|1|1"  />
		<i3dMapping id="frontright2" node="0>7|1|1|2"  />
		<i3dMapping id="frontmiddle" node="0>7|1|1|3"  />
		<i3dMapping id="backrightwheel" node="0>7|1|2|0|0"  />
    </i3dMappings>
</vehicle>
