<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="Imt509D" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://validation.gdn.giants-software.com/xml/fs22/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>509D</name>
        <specs>
            <power>14</power>
            <maxSpeed>42</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_tractor</function>
        </functions>
        <image>Store/store_toma.dds</image>
        <price>1000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>IMT</brand>
        <category>tractorsS</category>
        <vertexBufferMemoryUsage>4047572</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>1028328</indexBufferMemoryUsage>
        <textureMemoryUsage>34035440</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_tractor</typeDesc>
        <filename>Imt509D.i3d</filename>
        <size width="2" length="5"/>
        <components>
            <component centerOfMass="0 0.48 -1.86" solverIterationCount="20" mass="450"/>
            <component centerOfMass="0 0 0" solverIterationCount="30" mass="450"/>
            <joint component1="1" component2="2" node="0>8" rotLimit="0 0 10" transLimit="0 0 0"/>
        </components>
        <schemaOverlay name="VEHICLE" attacherJointPosition="0.5 0"/>
        <sounds filename="Zvuk/FREZA.xml"/>
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration>
                <wheels autoRotateBackSpeed="2">
                    <wheel isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1.2" repr="0>0|0" radius="0.47" width="0.34" mass="0.12" initialCompression="25" suspTravel="0.22" spring="70" damper="40"/>
                    </wheel>
                    <wheel isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1.2" repr="0>0|1" radius="0.47" width="0.34" mass="0.12" initialCompression="25" suspTravel="0.22" spring="70" damper="40"/>
                    </wheel>
                    <wheel isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1.2" repr="1>0|0" radius="0.42" width="0.24" mass="0.12" initialCompression="25" suspTravel="0.11" spring="65" damper="35"/>
                    </wheel>
                    <wheel isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1.2" repr="1>0|1" radius="0.42" width="0.24" mass="0.12" initialCompression="25" suspTravel="0.11" spring="65" damper="35"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>

    <articulatedAxis aiRevereserNode="1>16" anchorActor="0" componentJointIndex="1" rotMax="28" rotMin="-28" rotSpeed="45"/>
    <enterable>
        <exitPoint node="0>2"/>
        <enterReferenceNode node="0>"/>
        <characterNode node="0>12|0" cameraMinDistance="1.5" spineRotation="-90 0 90">
            <target ikChain="rightFoot" targetNode="0>12|1"/>
            <target ikChain="leftFoot" targetNode="0>12|2"/>
            <target ikChain="rightArm" targetNode="1>13"/>
            <target ikChain="leftArm" targetNode="1>14"/>
        </characterNode>
        <cameras>
            <camera node="0>1|0|0" rotatable="true" rotateNode="0>1|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="7" transMax="25">
                <raycastNode node="0>1|2"/>
                <raycastNode node="0>1|3"/>
            </camera>
            <camera node="0>1|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true"/>
        </cameras>
    </enterable>

    <motorized>
        <consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="15" fillType="diesel"/>
            </consumerConfiguration>
        </consumerConfigurations>
        <motorConfigurations>
            <motorConfiguration name="509D" price="0">
                <motor torqueScale="0.29" minRpm="1000" maxRpm="2200" maxForwardSpeed="42" maxBackwardSpeed="20" brakeForce="1" lowBrakeForceScale="0.02" lowBrakeForceSpeedLimit="1" rotInertia="0.001">
                    <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.85"/>
                </motor>
                <transmission minForwardGearRatio="28" maxForwardGearRatio="150" minBackwardGearRatio="40" maxBackwardGearRatio="150"/>
            </motorConfiguration>
        </motorConfigurations>
        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.8" maxSpeedRatio="1.5" wheelIndex1="3" wheelIndex2="4"/>
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>
        <exhaustEffects>
            <exhaustEffect node="1>9" filename="$data/effects/exhaust/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.1" maxRpmColor="0.9 0.9 0.9 0.4" minRpmScale="0.05" maxRpmScale="0.5"/>
        </exhaustEffects>
        <motorStartDuration>1500</motorStartDuration>
        <animationNodes>
            <animationNode node="1>15" rotSpeed="2200" rotAxis="1" turnOnFadeTime="8" turnOffFadeTime="6"/>
        </animationNodes>
    </motorized>

    <drivable>
        <sounds>
            <waterSplash template="WATER_SPLASH_01"/>
        </sounds>
        <steeringWheel indoorRotation="540" node="1>8" outdoorRotation="45"/>
    </drivable>

    <animations>
        <animation name="tipAnimationBack">
            <part endRot="-115 0 0" endTime="2" node="0>40" startRot="0 0 0" startTime="0.3"/>
        </animation>
    </animations>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit capacity="15" fillTypes="DIESEL" showOnHud="false" showInShop="false" unitTextOverride="$l10n_unit_literShort"/>
					<fillUnit capacity="1000" fillTypeCategories="bulk" unitTextOverride="$l10n_unit_literShort"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="0>39|1" fillUnitIndex="2" maxDelta="0.12" maxAllowedHeapAngle="15"/>
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>
        <unloadInfos>
            <unloadInfo>
                <node node="0>39|0|0" width="0.5" length="0.4"/>
            </unloadInfo>
        </unloadInfos>
    </fillVolume>

    <trailer>
        <trailerConfigurations>
            <trailerConfiguration>
                <trailer>
                    <tipSide name="$l10n_info_tipSideBack" dischargeNodeIndex="1">
                        <animation name="tipAnimationBack" speedScale="1.0" startTipTime="0.18"/>
                    </tipSide>
                </trailer>
            </trailerConfiguration>
        </trailerConfigurations>
    </trailer>

    <dynamicMountAttacher triggerNode="0>38" rootNode="0>" jointNode="0>" forceAcceleration="30"/>
    <tensionBelts>
        <tensionBeltsConfigurations>
            <tensionBeltsConfiguration>
                <tensionBelts linkNode="0>37" jointNode="0>" activationTrigger="0>37|13" width="0.075" maxEdgeLength="0.1" geometryBias="0.01" ratchetPosition="0.2" defaultOffset="0.1" defaultOffsetSide="0.1" defaultHeight="4">
                    <tensionBelt startNode="0>37|0" endNode="0>37|0|0" offsetLeft="1.3"/>
                    <tensionBelt startNode="0>37|1" endNode="0>37|1|0"/>
                    <tensionBelt startNode="0>37|2" endNode="0>37|2|0"/>
                    <tensionBelt startNode="0>37|3" endNode="0>37|3|0"/>
                    <tensionBelt startNode="0>37|4" endNode="0>37|4|0"/>
                    <tensionBelt startNode="0>37|5" endNode="0>37|5|0"/>
                    <tensionBelt startNode="0>37|6" endNode="0>37|6|0"/>
                    <tensionBelt startNode="0>37|7" endNode="0>37|7|0"/>
                </tensionBelts>
            </tensionBeltsConfiguration>
        </tensionBeltsConfigurations>
    </tensionBelts>

    <foliageBending>
        <bendingNode minX="-1.0" maxX="1.0" minZ="-2.0" maxZ="2.25" yOffset="0.6"/>
        <bendingNode minX="-1.0" maxX="1.0" minZ="-2.0" maxZ="-0.3" yOffset="0.6"/>
    </foliageBending>

    <wearable wearDuration="60" workMultiplier="4" fieldMultiplier="4"/>
    <washable dirtDuration="60" washDuration="1" workMultiplier="4" fieldMultiplier="4"/>
    <honk>
        <sound template="HONK_PICKUP"/>
    </honk>

    <ai>
        <collisionTrigger node="0>10"/>
    </ai>
</vehicle>
