<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="tractor" 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>549 Novi Tip DLI</name>
        <specs>
            <power>49</power>
            <maxSpeed>45</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_tractor</function>
        </functions>
        <image>imt_store.png</image>
        <price>7000</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>
        <filename>Imt539P.i3d</filename>
        <size width="2" length="4"/>
        <components>
            <component centerOfMass="0.0 0.54 -0.07" solverIterationCount="30" mass="975"/>
            <component centerOfMass="0.0 0 0.0" solverIterationCount="20" mass="625"/>
            <joint component1="1" component2="2" node="1>0" rotLimit="0 0 10" transLimit="0 0 0" maxRotDriveForce="0 0 50" rotDriveRotation="- - -" rotDriveSpring="0 0 1" rotDriveDamping="0 0 1" breakable="false"/>
        </components>
        <schemaOverlay name="VEHICLE" attacherJointPosition="0.5 0"/>
        <sounds filename="Zvuk/imt549.xml"/>
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration>
                <wheels autoRotateBackSpeed="2">
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="1.2" repr="1>2" driveNode="1>2|0" forcePointRatio="0.2" radius="0.49" width="0.25" mass="0.12" initialCompression="20" suspTravel="0.098" spring="39" damper="45"/>
                    </wheel>
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="1.2" repr="1>3" driveNode="1>3|0" forcePointRatio="0.2" radius="0.49" width="0.25" mass="0.12" initialCompression="20" suspTravel="0.098" spring="39" damper="45"/>
                    </wheel>
                    <wheel isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="0.7" repr="0>2" forcePointRatio="0.3" radius="0.66" width="0.43" initialCompression="25" suspTravel="0.11" spring="55" damper="50"/>
                    </wheel>
                    <wheel isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="0.7" repr="0>3" forcePointRatio="0.3" radius="0.66" width="0.43" initialCompression="25" suspTravel="0.11" spring="55" damper="50"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="70" rotMax="33" rotCenterWheel1="3" rotCenterWheel2="4"/>
        </ackermannSteeringConfigurations>
    </wheels>

    <attacherJoints comboDuration="2">
        <attacherJoint allowsJointLimitMovement="false" comboTime="1" moveTime="2.5" node="0>11|0|0" upperRotationOffset="-0.33">
            <bottomArm referenceNode="0>12|0|0" rotationNode="0>12" startRotation="-17 0 0" translationNode="0>12|0" zScale="-1"/>
            <distanceToGround lower="0.41" upper="1.03"/>
            <rotationNode lowerRotation="-15 0 0" node="0>11" upperRotation="35 0 0"/>
            <rotationNode2 node="0>11|0"/>
            <schema invertX="false" position="1 0" rotation="0"/>
            <topArm baseNode="0>13" filename="Topling/Topling.i3d" zScale="-1"/>
        </attacherJoint>
        <attacherJoint allowsJointLimitMovement="false" comboTime="1" jointType="trailer" lowerRotLimit="10 50 50" node="0>16|0|0">
            <schema invertX="false" position="1 0" rotation="0"/>
        </attacherJoint>
        <attacherJoint comboTime="1" jointType="trailerLow" lowerRotLimit="10 50 50" node="0>18">
            <schema invertX="false" position="1 0" rotation="0"/>
        </attacherJoint>
    </attacherJoints>

    <powerTakeOffs>
        <output outputNode="0>17" attacherJointIndices="1 2 3"/>
    </powerTakeOffs>

    <connectionHoses>
        <target attacherJointIndices="1 2 3" node="0>39|1" type="airDoubleRed"/>
        <target attacherJointIndices="1 2 3" node="0>39|3" socket="electric" type="electric"/>
        <target attacherJointIndices="1 2 3" node="0>39|0" type="hydraulicIn"/>
    </connectionHoses>

    <lights>
        <states>
            <state lightTypes="0"/>
            <state lightTypes="0 1"/>
            <state lightTypes="0 1 2"/>
        </states>
        <realLights>
            <low>
                <light node="0>1|1|0" lightTypes="0" excludedLightTypes="2 3"/>
                <light node="0>1|2|1" lightTypes="1"/>
                <light node="0>1|2|0" lightTypes="2"/>
                <light node="0>1|1|1" lightTypes="3"/>
            </low>
            <high>
                <light node="0>1|1|2" lightTypes="0" excludedLightTypes="2 3"/>
                <light node="0>1|2|2" lightTypes="1"/>
                <light node="0>1|2|3" lightTypes="2"/>
                <light node="0>1|1|3" lightTypes="3"/>
                <light node="0>1|3|0" lightTypes="0"/>
                <turnLightLeft node="0>1|4|0"/>
                <turnLightRight node="0>1|4|1"/>
                <brakeLight node="0>1|3|0"/>
            </high>
        </realLights>
        <defaultLights>
            <defaultLight shaderNode="0>37|0|1|0|0" lightTypes="0 3"/>
            <defaultLight shaderNode="0>37|1|1|0|0" lightTypes="0 3"/>
            <defaultLight shaderNode="0>37|2|1" lightTypes="0 3"/>
            <defaultLight shaderNode="0>37|3|1" lightTypes="0 3"/>
            <defaultLight shaderNode="0>37|9|3" lightTypes="0 3"/>
            <defaultLight shaderNode="0>37|8|3" lightTypes="0 3"/>
            <defaultLight shaderNode="0>37|4|0|0" lightTypes="2"/>
            <defaultLight shaderNode="0>37|5|0|0" lightTypes="2"/>
            <defaultLight shaderNode="0>37|6|0|0" lightTypes="1"/>
            <defaultLight shaderNode="0>37|7|0|0" lightTypes="1"/>
        </defaultLights>
        <turnLights>
            <turnLightLeft shaderNode="0>37|2|2"/>
            <turnLightLeft shaderNode="0>37|8|5"/>
            <turnLightRight shaderNode="0>37|3|2"/>
            <turnLightRight shaderNode="0>37|9|5"/>
        </turnLights>
        <brakeLights>
            <brakeLight shaderNode="0>37|8|4"/>
            <brakeLight shaderNode="0>37|9|4"/>
        </brakeLights>
        <beaconLights>
            <beaconLight node="Rotacija" filename="$data/shared/assets/beaconLights/lizard/beaconLight02.xml"/>
        </beaconLights>
        <sounds>
            <toggleLights template="SWITCH_01"/>
            <turnLight template="SWITCH_TURNLIGHT_JD"/>
        </sounds>
    </lights>

    <enterable>
        <exitPoint node="0>8"/>
        <enterReferenceNode node="0>"/>
        <characterNode node="0>38|0" cameraMinDistance="1.5" spineRotation="-90 0 90">
            <target ikChain="rightFoot" targetNode="0>38|1"/>
            <target ikChain="leftFoot" targetNode="0>38|2"/>
            <target ikChain="rightArm" targetNode="0>10|1"/>
            <target ikChain="leftArm" targetNode="0>10|2"/>
        </characterNode>
        <cameras>
            <camera node="4|0" rotatable="true" rotateNode="4" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="35">
                <raycastNode node="0>6"/>
                <raycastNode node="0>7"/>
            </camera>
            <camera node="0>0|0|0|0|2" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true"/>
        </cameras>
    </enterable>

    <suspensions>
        <suspension node="sediste" weight="150" minTranslation="-0.05 -0.15 0.0" maxTranslation="0.05 0.15 0.0" suspensionParametersX="20 4" suspensionParametersY="5 1" suspensionParametersZ="20 4"/>
        <suspension node="0>27|4|9|0|0|0|0|0" useCharacterTorso="true" weight="90" minRotation="0 -5 -5" maxRotation="0 5 5" suspensionParametersY="7 1" suspensionParametersZ="7 1"/>
        <suspension weight="1000" minRotation="-10 10 -15" maxRotation="10 2 15" suspensionParametersX="30 5" suspensionParametersZ="30 5"/>
    </suspensions>

    <motorized>
        <consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="90" fillType="diesel"/>
                <consumer fillUnitIndex="2" usage="3.0" fillType="def"/>
            </consumerConfiguration>
        </consumerConfigurations>
        <motorConfigurations>
            <motorConfiguration name="549 Novi Tip DLI" price="0">
                <motor torqueScale="0.32" minRpm="100" maxRpm="2700" maxForwardSpeed="45" maxBackwardSpeed="15" brakeForce="1" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="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.05"/>
                    <torque normRpm="0.86" torque="0.91"/>
                    <torque normRpm="1" torque="0.72"/>
                </motor>
                <transmission minForwardGearRatio="14.5" maxForwardGearRatio="300" minBackwardGearRatio="40" maxBackwardGearRatio="300"/>
            </motorConfiguration>
        </motorConfigurations>
        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.2" wheelIndex1="1" wheelIndex2="2"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.3" wheelIndex1="3" wheelIndex2="4"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.1" differentialIndex1="1" differentialIndex2="2"/>
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>
        <exhaustEffects>
            <exhaustEffect node="0>5" 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>2000</motorStartDuration>
        <animationNodes>
            <animationNode node="0>24|0" rotSpeed="1200" rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode node="0>43|0|0" rotSpeed="-1300" rotAxis="3" turnOnFadeTime="4" turnOffFadeTime="3"/>
            <animationNode node="0>48" shaderParameterName="offsetUV" shaderComponentScale="0 1 0 0" rotSpeed="400" rotAxis="3" turnOnFadeTime="4" turnOffFadeTime="3"/>
        </animationNodes>
        <dashboards>
            <dashboard valueType="rpm" displayType="ANIMATION" groups="MOTOR_ACTIVE" animName="speedDisplay" minValueAnim="0" maxValueAnim="2500"/>
            <dashboard valueType="motorTemperature" displayType="ANIMATION" groups="MOTOR_ACTIVE" animName="temp"/>
        </dashboards>
    </motorized>

    <drivable>
        <sounds>
            <waterSplash linkNode="0>" template="WATER_SPLASH_01"/>
        </sounds>
        <steeringWheel indoorRotation="540" node="0>10|0" outdoorRotation="45"/>
    </drivable>

    <animations>
        <animation name="hauba">
            <part endRot="80 0 0" endTime="1" node="0>27|4" startRot="0 0 0" startTime="0"/>
        </animation>
        <animation name="doorLeft">
            <part endRot="-26.976 62.564 -31.982" endTime="1" node="0>27|1" startRot="0 0 0" startTime="0"/>
        </animation>
        <animation name="doorRight">
            <part endRot="-14.106 -48.144 17.324" endTime="1" node="0>27|2" startRot="0 0 0" startTime="0"/>
        </animation>
        <animation name="windowRear">
            <part endRot="35 0 0" endTime="1" node="0>27|3" startRot="0 0 0" startTime="0"/>
        </animation>
        <animation name="speedDisplay">
            <part endRot="0 -211 0" endTime="1" node="0>25|0" startRot="0 0 0" startTime="0"/>
        </animation>
        <animation name="temp">
            <part endRot="0 -40 0" endTime="1" node="0>27|0|18|1" startRot="0 40 0" startTime="0"/>
        </animation>
        <animation name="fuel">
            <part endRot="0 -40 0" endTime="1" node="0>27|0|18|0" startRot="0 40 0" startTime="0"/>
        </animation>
    </animations>

    <cylindered>
        <movingParts>
            <movingPart invertZ="true" node="0>14" referenceFrame="0>15|1" referencePoint="0>15|1">
                <translatingPart node="0>14|0"/>
            </movingPart>
            <movingPart invertZ="true" localReferencePoint="0>15|2" node="0>15" referenceFrame="0>" referencePoint="0>12|0|1">
                <dependentPart node="0>15|2"/>
            </movingPart>
            <movingPart invertZ="true" node="0>15|2" referenceFrame="0>15|0" referencePoint="0>12|0|1"/>
            <movingPart isActiveDirty="true" node="0>34|1" playSound="false" referenceFrame="0>" scaleZ="true"/>
            <movingPart isActiveDirty="true" node="0>34|0" referenceFrame="1>" referencePoint="1>4" scaleZ="true"/>
            <movingPart isActiveDirty="true" referenceFrame="0>" referencePoint="1>5" scaleZ="true"/>
        </movingParts>
    </cylindered>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit capacity="45" fillTypes="DIESEL" showOnHud="false" showInShop="false" unitTextOverride="$l10n_unit_literShort">
                        <dashboard valueType="fillLevel" displayType="ANIMATION" groups="MOTOR_ACTIVE" animName="fuel"/>
                    </fillUnit>
                    <fillUnit capacity="12" fillTypes="DEF" showOnHud="false" showInShop="false" unitTextOverride="$l10n_unit_literShort"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <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>

    <designConfigurations>
        <designConfiguration name="Blatobrani" price="100">
            <objectChange visibilityActive="true" visibilityInactive="false"/>
            <objectChange visibilityActive="false" visibilityInactive="true"/>
        </designConfiguration>
        <designConfiguration name="Kabina" price="500">
            <objectChange node="0>27|5" visibilityActive="true" visibilityInactive="false"/>
        </designConfiguration>
    </designConfigurations>

    <washable dirtDuration="40" washDuration="1" workMultiplier="4"/>
    <i3dMappings>
        <i3dMapping id="Rotacija" node="0>28"/>
        <i3dMapping id="sediste" node="0>27|0|0"/>
        <i3dMapping id="player_skin" node="0>0|0|0|0|1|0"/>
    </i3dMappings>
 
</vehicle>
