<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" type="handToolGrainCart" xsi:noNamespaceSchemaLocation="https://validation.gdn.giants-software.com/xml/fs25/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>
            <en>Bales Cart</en>
			<de>Kugelwagen</de>
			<fr>Chariot à Balles</fr>
			<it>Carro Per Balle</it>
		</name>
        <functions>
            <function>$l10n_function_tipper</function>
        </functions>
        <image>store_handcartbales.dds</image>
        <price>60</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>trailers</category>
        <vertexBufferMemoryUsage>153344</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>49152</indexBufferMemoryUsage>
        <textureMemoryUsage>1638400</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_tipper</typeDesc>
        <filename>handCartBales.i3d</filename>
        <size width="1.6" height="1" length="2" lengthOffset="0.0"/>
        <components>
            <component centerOfMass="0 0.32 0" solverIterationCount="10" mass="100"/>
        </components>
        <schemaOverlay attacherJointPosition="0.5 0" name="BALECART"/>
        <mapHotspot type="TRACTOR"/>
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="LIZARD" saveId="LIZARD_DEFAULT">
                <wheels autoRotateBackSpeed="4" isCareWheelConfiguration="true">
                    <wheel isLeft="false" hasTireTracks="false" hasParticles="false" >
                        <physics radius="0.3" width="0.15" rotSpeed="1" restLoad="0.1" repr="ruotaDxPost" useReprDirection="true" forcePointRatio="0.3" initialCompression="25" suspTravel="0.12" spring="36" damper="30" frictionScale="2" showSteeringAngle="false"/>
                    </wheel>
                    <wheel isLeft="true" hasTireTracks="false" hasParticles="false" >
                        <physics radius="0.3" width="0.15" rotSpeed="1" restLoad="0.1" repr="ruotaSxPost" useReprDirection="true" forcePointRatio="0.3" initialCompression="25" suspTravel="0.12" spring="36" damper="30" frictionScale="2" showSteeringAngle="false"/>
                    </wheel>
					<wheel isLeft="false" hasTireTracks="false" hasParticles="false" >
                        <physics radius="0.3" width="0.15" rotSpeed="1" restLoad="0.1" repr="ruotaDxAnt" useReprDirection="true" forcePointRatio="0.3" initialCompression="25" suspTravel="0.12" spring="36" damper="30" frictionScale="2" showSteeringAngle="false"/>
                    </wheel>
                    <wheel isLeft="true" hasTireTracks="false" hasParticles="false" >
                        <physics radius="0.3" width="0.15" rotSpeed="1" restLoad="0.1" repr="ruotaSxAnt" useReprDirection="true" forcePointRatio="0.3" initialCompression="25" suspTravel="0.12" spring="36" damper="30" frictionScale="2" showSteeringAngle="false"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="70" rotMax="40" rotCenter="0 0"/>
        </ackermannSteeringConfigurations>
    </wheels>
	
	<lights>
		<sharedLight linkNode="lightsDown" filename="$data/shared/assets/lights/lizard/workingLight23.xml" lightTypes="1"/>
	    <states>
            <state lightTypes="1" />
        </states>
		
		<realLights>
            <low>
				<light node="lightDownL" lightTypes="1"/>
            </low>
            <high>
				<light node="lightDownL" lightTypes="1"/>
            </high>
        </realLights>
    </lights>
	
	<speedRotatingParts>
        <speedRotatingPart node="ruotaDxAnim" radius="0.3" />
		<speedRotatingPart node="ruotaSxAnim" radius="0.3" />
    </speedRotatingParts>

	<mower fruitTypeConverter="MOWER"/>
	
	<tensionBelts>
        <tensionBeltsConfigurations>
            <tensionBeltsConfiguration>
                <tensionBelts linkNode="tensionBelts" jointNode="0>" width="0.075" maxEdgeLength="0.1" geometryBias="0.01" ratchetPosition="0.2" defaultOffset="0.1" defaultOffsetSide="0.1" defaultHeight="4">
                    <tensionBelt startNode="Belt1Start" endNode="Belt1End" />
					<tensionBelt startNode="Belt2Start" endNode="Belt2End" />

                    <sounds>
                        <addBelt template="beltOpen" />
                        <removeBelt template="beltClose" />
                    </sounds>
                </tensionBelts>
            </tensionBeltsConfiguration>
        </tensionBeltsConfigurations>
    </tensionBelts>

    <animations>
		<animation name="enterAnimation" >
            <part node="Manico" startTime="0" endTime="0.5" startRot="-43 0 0" endRot="0 0 0"/>
			<part node="supporto" startTime="0" endTime="1" startRot="0 0 0" endRot="-80 0 0"/>
        </animation>
    </animations>

    <enterable isTabbable="true">
        <enterReferenceNode node="exitPoint"/>
        <exitPoint node="exitPoint"/>
        <cameras>
            <camera node="outdoorCamera" rotatable="true" limit="true" rotMinX="-1.4" rotMaxX="1.0" transMin="3.5" transMax="15" rotateNode="outdoorCameraTarget" useWorldXZRotation="true" translation="0 0 7" rotation="-17.5 180 0" >
                <raycastNode node="cameraRaycastNode1"/>
                <raycastNode node="cameraRaycastNode2"/>
            </camera>
            <camera node="indoorCamera" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0.0" transMax="0" useMirror="true" isInside="true" useOutdoorSounds="true"  shadowFocusBox="shadowFocusBox" />
        </cameras>

        <characterNode node="skeleton" cameraMinDistance="0.75" useAnimation="true" />
		<enterAnimation name="enterAnimation"/>
    </enterable>

    <pushHandTool>
        <raycast node1="rayCast1" node2="rayCast2" playerNode="playerNode"/>
        <wheels front="1 2" back="3 4"/>
        <ikChains>
            <target ikChain="rightArm" targetNode="manoDx" poseId="wideFingers"/>
            <target ikChain="leftArm" targetNode="manoSx" poseId="narrowFingers"/>
        </ikChains>
		
        <customChainLimits>
            <customChainLimit chainId="leftArm" nodeIndex="1" minRx="-50" maxRx="50" minRy="-80" maxRy="80" minRz="-75" maxRz="10" localLimits="true"/>
            <customChainLimit chainId="leftArm" nodeIndex="2" minRx="-25" maxRx="25" minRy="-144" maxRy="-25" minRz="-10" maxRz="10" localLimits="true"/>

            <customChainLimit chainId="rightArm" nodeIndex="1" minRx="-50" maxRx="50" minRy="-80" maxRy="80" minRz="-75" maxRz="10" localLimits="true"/>
            <customChainLimit chainId="rightArm" nodeIndex="2" minRx="-25" maxRx="25" minRy="-144" maxRy="-25" minRz="-10" maxRz="10" localLimits="true"/>
        </customChainLimits>
		
        <playerConditionalAnimation>
            <item id="idle" entryTransitionDuration="0.25" exitTransitionDuration="0.25">
                <clips>
                    <clip clipName="idle1Source"/>
                </clips>
                <conditions>
                    <conditionGroup>
                        <condition parameter="absSmoothedForwardVelocity" lower="0.2"/>
                    </conditionGroup>
                </conditions>
            </item>
            <item id="walk" entryTransitionDuration="0.25" exitTransitionDuration="0.25">
                <clips speedScaleType="distance" speedScaleParameter="2">
                    <clip clipName="walkFwd1Source"/>
                </clips>
                <conditions>
                    <conditionGroup>
                        <condition parameter="smoothedForwardVelocity" between="0.3, 4"/>
                    </conditionGroup>
                </conditions>
            </item>
            <item id="walkBack" entryTransitionDuration="0.5" exitTransitionDuration="0.25">
                <clips speedScaleType="distance" speedScaleParameter="2.5">
                    <clip clipName="walkBwdLoopSource"/>
                </clips>
                <conditions>
                    <conditionGroup>
                        <condition parameter="smoothedForwardVelocity" between="-3, -0.3"/>
                    </conditionGroup>
                </conditions>
            </item>
        </playerConditionalAnimation>
    </pushHandTool>

    <motorized>
        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.6" wheelIndex1="1" wheelIndex2="2"/>
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>
        <motorConfigurations>
            <motorConfiguration>
                <motor torqueScale="0.844" minRpm="850" maxRpm="2200" maxForwardSpeed="12" maxBackwardSpeed="8" brakeForce="0.1" lowBrakeForceScale="0.1">
                    <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="84.67" maxForwardGearRatio="300" minBackwardGearRatio="32" maxBackwardGearRatio="300" />
            </motorConfiguration>
        </motorConfigurations>
        <motorStartDuration>500</motorStartDuration>
    </motorized>

    <drivable>
        <idleTurning allowed="false" direction="1" maxSpeed="12" steeringFactor="100"/>
        <sounds>
            <waterSplash template="waterSplash01" linkNode="0>"/>
        </sounds>
    </drivable>

    <ai>
		<agent useSize="true" />
		<agentAttachment useSize="true"/>
		<collisionTrigger useSize="true"/>
		<needsActivation value="false"/>
	</ai>

    <foliageBending>
        <bendingNode minX="-1" maxX="1" minZ="-1" maxZ="1" yOffset="0.5"/>
    </foliageBending>

	<wearable wearDuration="200" workMultiplier="3" fieldMultiplier="2"/>
    <washable dirtDuration="30" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>


	<i3dMappings>
		<i3dMapping id="mainShape" node="0>"/>
		<i3dMapping id="ruote" node="0>0"/>
		<i3dMapping id="ruotaSxAnim" node="0>0|0"/>
		<i3dMapping id="ruotaDxAnim" node="0>0|1"/>
		<i3dMapping id="ruotaDxPost" node="0>0|2"/>
		<i3dMapping id="ruotaSxPost" node="0>0|3"/>
		<i3dMapping id="ruotaSxAnt" node="0>0|4"/>
		<i3dMapping id="ruotaDxAnt" node="0>0|5"/>
		<i3dMapping id="Ai" node="0>1"/>
		<i3dMapping id="aiCollision" node="0>1|0"/>
		<i3dMapping id="cameras" node="0>2"/>
		<i3dMapping id="camera" node="0>2|0"/>
		<i3dMapping id="outdoorCameraTarget" node="0>2|1"/>
		<i3dMapping id="outdoorCamera" node="0>2|1|0"/>
		<i3dMapping id="cameraRaycastNode1" node="0>2|2"/>
		<i3dMapping id="cameraRaycastNode2" node="0>2|3"/>
		<i3dMapping id="shadowFocusBox" node="0>2|4"/>
		<i3dMapping id="indoorCamera" node="0>2|5"/>
		<i3dMapping id="player" node="0>3"/>
		<i3dMapping id="playerNode" node="0>3|0"/>
		<i3dMapping id="skeleton" node="0>3|0|0"/>
		<i3dMapping id="rayCast2" node="0>4"/>
		<i3dMapping id="rayCast1" node="0>5"/>
		<i3dMapping id="exitPoint" node="0>6"/>
		<i3dMapping id="Asse" node="0>7"/>
		<i3dMapping id="CorniceFondo" node="0>8"/>
		<i3dMapping id="Fondo" node="0>8|0"/>
		<i3dMapping id="collFondo" node="0>8|0|0"/>
		<i3dMapping id="Manico" node="0>9"/>
		<i3dMapping id="mani" node="0>9|0"/>
		<i3dMapping id="manoSx" node="0>9|0|0"/>
		<i3dMapping id="manoDx" node="0>9|0|1"/>
		<i3dMapping id="supporto" node="0>10"/>
		<i3dMapping id="lightsDown" node="0>11"/>
		<i3dMapping id="lightDownL" node="0>11|0"/>
		<i3dMapping id="tensionBelts" node="0>12"/>
		<i3dMapping id="Belt1Start" node="0>12|0"/>
		<i3dMapping id="Belt1End" node="0>12|0|0"/>
		<i3dMapping id="Belt2Start" node="0>12|1"/>
		<i3dMapping id="Belt2End" node="0>12|1|0"/>
	</i3dMappings>


</vehicle>
