<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="conveyorBeltLSFMSpecial" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    
	<storeData>
        <name>Mobitox</name>
        <functions>
            <function>$l10n_function_screwConveyor</function>
        </functions>
        <specs>
            <fillTypeCategories>BULK WINDROW</fillTypeCategories>
        </specs>
        <image>store_tl1239.png</image>
        <price>14500</price>
        <lifetime>600</lifetime>
        <rotation>180</rotation>
        <brand>MERIDIAN</brand>
        <category>belts</category>
        <shopTranslationOffset>0 -0.011 0</shopTranslationOffset>
        <shopRotationOffset>-4.621 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>1478400</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>389632</indexBufferMemoryUsage>
        <textureMemoryUsage>917504</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>118646</audioMemoryUsage>
    </storeData>
    
    <base>
        <typeDesc>$l10n_typeDesc_belt</typeDesc>
        <filename>FS22_csavazo/csavazo.i3d</filename>
        <sounds filename="$data/vehicles/andersonGroup/hybridX/sounds/inlineWrapper.xml"/>
        <size width="3" length="14.5" lengthOffset="0.1"/>
        <components>
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="1500"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
    </base>
    
    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="TRELLEBORG" saveId="TRELLEBORG_DEFAULT">
                <wheels autoRotateBackSpeed="2" >
                    <wheel isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics restLoad="0.4" repr="0>1"  forcePointRatio="0.15" radius="0.39" width="0.12" initialCompression="20" suspTravel="0.05" spring="36" damper="10" yOffset="0.01"/>
                    </wheel>
                    <wheel isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics restLoad="0.4" repr="0>2" forcePointRatio="0.15" radius="0.39" width="0.12" initialCompression="20" suspTravel="0.05" spring="36" damper="10" yOffset="0.01"/>
                    </wheel>
                    <wheel  isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics restLoad="0.3" rotSpeed="1" repr="0>3" driveNode="0>3|4" radius="0.35" width="0.12" forcePointRatio="0.15" initialCompression="20" suspTravel="0.05" spring="30" damper="10" yOffset="0.015"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>

        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="40" rotMax="60" rotCenterWheel1="1" rotCenterWheel2="2"/>
        </ackermannSteeringConfigurations>
    </wheels>
   
	<enterable isTabbable="true">
        <exitPoint node="0>0|76"/>
        <enterReferenceNode node="0>"/>

		<characterNode node="0>4|0|0" animationNode="2" cameraMinDistance="0.1" spineRotation="270 0 90" useAnimation="true" />
		
        <cameras>
            <camera node="0>0|77|0|0" rotatable="true" rotateNode="0>0|77|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="7.5" transMax="40" translation="0 0 8.3" rotation="-20 180 0">
            </camera>
			<camera node="0>8" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true"/>
        </cameras>
    </enterable>
    
	<drivable>
        <sounds>
            <waterSplash template="waterSplash01"/>
        </sounds>
        <cruiseControl minSpeed="0.01"/>
    </drivable>
    
	<pushHandTool>
  <raycast node1="0>4|1" node2="0>4|2" playerNode="0>4|0"/>
        <wheels front="2 3" back="1"/>

        <ikChains>
            <target ikChain="rightArm"  targetNode="0>6" poseId="wideFingers"/>
             <target ikChain="leftArm"   targetNode="0>7" poseId="wideFingers"/> 
        </ikChains>

        <customChainLimits>
           <!--  <customChainLimit chainId="leftArm" nodeIndex="1" minRx="-30" maxRx="30" minRy="40" maxRy="65" minRz="-90" maxRz="40" localLimits="true"/>
            <customChainLimit chainId="leftArm" nodeIndex="2" minRx="-25" maxRx="25" minRy="0" maxRy="0" minRz="-144" maxRz="-3" localLimits="true"/> -->

            <customChainLimit chainId="rightArm" nodeIndex="1" minRx="-40" maxRx="40" minRy="40" maxRy="75" minRz="-120" maxRz="40" localLimits="true"/>
            <!-- <customChainLimit chainId="rightArm" nodeIndex="2" minRx="-25" maxRx="25" minRy="0" maxRy="0" minRz="-144" maxRz="-3" 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="1.8">
                    <!-- <clip clipName="walkFwd1Source" /> -->
					<clip clipName="NPCWalkMale03Source" />
                </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.25">
                    <clip clipName="walkBwdLoopSource" />
                </clips>
                <conditions>
                    <conditionGroup>
                        <condition parameter="smoothedForwardVelocity" between="-3, -0.3" />
                    </conditionGroup>
                </conditions>
            </item>
        </playerConditionalAnimation>
    </pushHandTool>

	<motorized forceSpeedHudDisplay="true">
		<consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="2" usage="15" fillType="diesel" /> <!-- usage is per hour at max load and max rpm -->
            </consumerConfiguration>
        </consumerConfigurations>

        <motorConfigurations>
            <motorConfiguration name="TL 12-39AL" price="0" hp="5">
                <motor torqueScale="0.2" minRpm="850" maxRpm="2200" maxForwardSpeed="10" maxBackwardSpeed="8" brakeForce="0.2" lowBrakeForceSpeedLimit="0.1" lowBrakeForceScale="0.1" accelerationLimit="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="50" maxForwardGearRatio="110" minBackwardGearRatio="50" maxBackwardGearRatio="110"/>
            </motorConfiguration>
        </motorConfigurations>
        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="7" wheelIndex1="1" wheelIndex2="2"/>
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>

    </motorized>
    
	<powerConsumer ptoRpm="300" neededMinPtoPower="5" neededMaxPtoPower="10" />

    <animations>
	    <animation name="cso">
            <part node="0>0|50" startTime="0" endTime="1" startRot="0 90 0" endRot="0 -90 0" />
        </animation>
    </animations>
	
	    <cylindered>
    	<movingTools>
			<movingTool node="0>0|50" playSound="true" >
                <controls axis="AXIS_CRANE_ARM" invertAxis="true" mouseSpeedFactor="0.6" iconName="FRONTLOADER_ARM_ROTATE" />
                <animation animName="cso" animSpeed="0.4" />
            </movingTool>
        </movingTools>
	</cylindered>
    
    
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits fillTypeChangeThreshold="1">
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypeCategories="bulk" showOnHud="true" capacity="300" showInShop="false" updateMass="false">
                    </fillUnit>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypes="LIQUIDSEEDTREATMENT" showOnHud="true" capacity="120" updateMass="false" uiPrecision="1">
                        <exactFillRootNode node="0>0|80" />
                    </fillUnit>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="40"/>
                    <fillTrigger litersPerSecond="2"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
	
	    <seedTreater fillUnitIndex="2" dischargeNodeIndex="1" usagePerLiter="0.0078" fillFromTriggerThreshold="10" treatmentSpeedFactor="0.05"/>


	<turnOnVehicle requiresMotorTurnOn="true" turnOffOnDeactivate="false">
		<sounds>
            <start template="rollbeltWorkStart" />
            <work template="rollbeltLoop" />
            <stop template="rollbeltWorkStop" />
        </sounds>
		
        <animationNodes>
             <animationNode node="0>0|58|4" rotSpeed="1200" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
			 <animationNode node="0>0|58|2" rotSpeed="-1200" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        </animationNodes>
	</turnOnVehicle>
    
    <dischargeable stopDischargeOnDeactivate="false" requiresTipOcclusionArea="false">
        <dischargeNode node="0>0|50|6|2" emptySpeed="100" fillUnitIndex="1" canStartDischargeAutomatically="true"> <!-- 30 bushels / min -->
            <info width="0.4" length="0.4" />
            <raycast maxDistance="20"/>
            <fillType converterName="SEEDTREATMENT"/>
            <effects>
                <effectNode effectClass="PipeEffect" effectNode="0>0|50|6|0|0"      materialType="pipe"           delay="0" maxBending="0.5" extraDistance="0.1"/>
                <effectNode                          effectNode="0>0|50|6|1" materialType="unloadingSmoke" delay="0.1" alignToWorldY="true"/>
            </effects>
            <dischargeStateSound file="sounds/augerMovementLoop.wav" fadeIn="0.5" fadeOut="1" volumeScale="0.5" pitchScale="0.8" innerRadius="1" outerRadius="30" supportsReverb="false" linkNodeOffset="0 -0.5 1.7">
                <volume indoor="0.2" outdoor="1.9"/>
                <lowpassGain indoor="0.2" outdoor="1"/>
            </dischargeStateSound>
            <dischargeStateSound file="sounds/augerMovementLoop.wav" fadeIn="0.5" fadeOut="1" volumeScale="0.5" pitchScale="0.9" innerRadius="1" outerRadius="30" supportsReverb="false" linkNodeOffset="0 3 -6.5">
                <volume indoor="0.2" outdoor="1.9"/>
                <lowpassGain indoor="0.2" outdoor="1"/>
            </dischargeStateSound>
        </dischargeNode>
    </dischargeable>
	<shovel>
        <shovelNode node="0>0|58|7|0" fillUnitIndex="1" width="4" length="7" yOffset="-0.5" zOffset="0" needsMovement="false" needsActivation="true" fillLitersPerSecond="500" needsAttacherVehicle="false">
        </shovelNode>

        <shovelNode node="0>0|58|7|0" fillUnitIndex="1" width="4" length="7" yOffset="-0.5" zOffset="6" needsMovement="false" needsActivation="true" fillLitersPerSecond="500" needsAttacherVehicle="false">
        </shovelNode>

        <shovelNode node="0>0|58|7|0" fillUnitIndex="1" width="4" length="7" yOffset="-0.5" zOffset="12" needsMovement="false" needsActivation="true" fillLitersPerSecond="500" needsAttacherVehicle="false">
        </shovelNode>

        <shovelNode node="0>0|58|7|0" fillUnitIndex="1" width="4" length="7" yOffset="-0.5" zOffset="18" needsMovement="false" needsActivation="true" fillLitersPerSecond="500" needsAttacherVehicle="false">
        </shovelNode>
    </shovel>


	<foliageBending>
        <bendingNode minX="-0.6" maxX="0.6" minZ="-3.1" maxZ="-0.4" yOffset="0.4"/>
        <bendingNode minX="-1.6" maxX="1.6" minZ="-0.4" maxZ="0.6" yOffset="0.4"/>
        <bendingNode minX="-0.4" maxX="0.4" minZ="-4.2" maxZ="7.85" yOffset="-0.18" />
    </foliageBending>
    
	<ai supportsAIJobs="false">
    </ai>

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