<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="tractor">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <filename>CaseBlackBeauty.i3d</filename>
    <size width="3.5" length="6.5"/>
    <wheels autoRotateBackSpeed="1.5">
        <wheel rotSpeed="1" repr="0>0|0" filename="$data/vehicles/wheels/trelleborg/TM900_710_70R42.xml" color="0.3 0.3 0.3" isLeft="false" driveNode="0>0|0|0" radius="0.8" restLoad="4.7" initialCompression="30" suspTravel="0.15" spring="70" damper="200" hasTireTracks="true" fenderNode="0>0|0|3" frictionScale="1.5" mass="0.269" width="0.6" hasParticles="true"/>
        <wheel rotSpeed="1" repr="0>1|0" filename="$data/vehicles/wheels/trelleborg/TM900_710_70R42.xml" color="0.3 0.3 0.3" isLeft="false" driveNode="0>1|0|0" radius="0.8" restLoad="4.7" initialCompression="30" suspTravel="0.15" spring="70" damper="200" hasTireTracks="true" fenderNode="0>1|0|3" fenderRotMax="28" frictionScale="1.5" mass="0.269" width="0.6" hasParticles="true"/>
        <wheel rotSpeed="0" repr="0>2" filename="$data/vehicles/wheels/trelleborg/TM900_710_70R42.xml" color="0.3 0.3 0.3" isLeft="false" radius="1.0" restLoad="3.2" initialCompression="30" suspTravel="0.15" spring="70" damper="200" hasTireTracks="true" frictionScale="1.5" mass="0.56" width="0.71" hasParticles="true"/>
        <wheel rotSpeed="0" repr="0>3" filename="$data/vehicles/wheels/trelleborg/TM900_710_70R42.xml" color="0.3 0.3 0.3" isLeft="false" radius="1.0" restLoad="3.2" initialCompression="30" suspTravel="0.15" spring="70" damper="200" hasTireTracks="true" frictionScale="1.5" mass="0.56" width="0.71" hasParticles="true"/>
    </wheels>
    <dynamicallyLoadedParts>
        <!--skipped part with file'$data/vehicles/wheels/trelleborg/trelleborgTM900_600_70R30.i3d'. Moved to wheels.wheel instead-->
        <!--skipped part with file'$data/vehicles/wheels/trelleborg/trelleborgTM900_600_70R30.i3d'. Moved to wheels.wheel instead-->
        <!--skipped part with file'$data/vehicles/wheels/trelleborg/trelleborgTM900_710_70R42.i3d'. Moved to wheels.wheel instead-->
        <!--skipped part with file'$data/vehicles/wheels/trelleborg/trelleborgTM900_710_70R42.i3d'. Moved to wheels.wheel instead-->
    </dynamicallyLoadedParts>
    <ackermannSteering rotSpeed="70" rotMax="45" rotCenterWheel1="2" rotCenterWheel2="3"/>
    <differentials>
        <differential torqueRatio="0.5" maxSpeedRatio="1.4" wheelIndex1="0" wheelIndex2="1"/>
        <!-- front left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.4" wheelIndex1="2" wheelIndex2="3"/>
        <!-- back left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.1" differentialIndex1="0" differentialIndex2="1"/>
        <!-- front-back -->
    </differentials>
    <motor torqueScale="2.455" minRpm="1000" maxRpm="2975" maxBackwardSpeed="15" brakeForce="18" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1" minForwardGearRatio="19.5" maxForwardGearRatio="130" minBackwardGearRatio="50" maxBackwardGearRatio="130">
        <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>
    <fuelCapacity>600</fuelCapacity>
    <fuelUsage>1997</fuelUsage>
    <cameras count="2">
        <camera1 index="4|0" rotatable="true" rotateNode="4" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="35">
            <raycastNode index="0>6"/>
            <raycastNode index="0>7"/>
        </camera1>
        <camera2 index="5" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true"/>
    </cameras>
    <indoorHud>
        <speed numbers="0>31|0" precision="1"/>
        <rpm numbers="0>31|1" precision="0"/>
        <operatingTime numbers="0>31|2" precision="1"/>
    </indoorHud>
    <lights>
        <!--to be adjusted manually-->
        <low>
            <light realLight="0>9" decoration="0>20|0" lightTypes="0"/>
            <light realLight="0>10" decoration="0>21" lightTypes="1"/>
        </low>
        <!--to be adjusted manually-->
        <high>
            <light realLight="0>9" decoration="0>20|0" lightTypes="0"/>
            <light realLight="0>10" decoration="0>21" lightTypes="1"/>
        </high>
        <!--to be adjusted manually-->
        <states>0 1 2</states>
    </lights>
    <brakeLights>
        <brakeLight decoration="0>23"/>
    </brakeLights>
    <beaconLights>
        <beaconLight index="0>22|0" speed="0.015" filename="$data/shared/beaconLights/beaconLight06.i3d"/>
        <beaconLight index="0>22|1" speed="0.015" filename="$data/shared/beaconLights/beaconLight06.i3d"/>
    </beaconLights>
    <turnLights>
        <turnLightLeft decoration="0>20|1|0"/>
        <turnLightRight decoration="0>20|1|1"/>
    </turnLights>
    <mirrors>
        <mirror index="0>32|0"/>
        <mirror index="0>32|1"/>
        <mirror index="0>32|2"/>
    </mirrors>
    <steering index="0>11|0" indoorRotation="540" outdoorRotation="50"/>
    <enterReferenceNode index="0>"/>
    <exitPoint index="0>8"/>
    <attacherJoints>
        <attacherJoint index="0>12|0|0" rotationNode="0>12" lowerRotation="5 0 0" upperRotation="20 0 0" rotationNode2="0>12|0" lowerRotation2="-5 0 0" upperRotation2="-13 0 0" lowerRotLimit="0 0 20" lowerTransLimit="0 0.5 0" moveTime="2.5">
            <bottomArm rotationNode="0>13" translationNode="0>13|0" referenceNode="0>13|0|0" zScale="-1"/>
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
        <attacherJoint index="0>16" jointType="trailerLow" allowsJointLimitMovement="false" upperRotationOffset="0" lowerRotLimit="10 50 50">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
    </attacherJoints>
    <movingTools>
        <movingTool index="0>13">
            <dependentPart index="0>26"/>
        </movingTool>
    </movingTools>
    <movingParts>
        <movingPart index="0>26" referencePoint="0>13|0|1" localReferencePoint="0>26|0" referenceFrame="0>">
            <dependentPart index="0>26|0"/>
            <dependentPart index="0>27"/>
            <dependentPart index="0>14|0"/>
        </movingPart>
        <!-- attacher joint back bottom cylinder 2b -->
        <movingPart index="0>26|0" referencePoint="0>13|0|1" referenceFrame="0>13|0|1">
            <dependentPart index="0>26|0|0"/>
            <dependentPart index="0>26|0|1"/>
        </movingPart>
        <movingPart index="0>26|0|0" referencePoint="0>13|0|1|0" referenceFrame="0>13|0|1|0">
            <translatingPart index="0>26|0|0|0"/>
        </movingPart>
        <movingPart index="0>26|0|1" referencePoint="0>13|0|1|1" referenceFrame="0>13|0|1|1">
            <translatingPart index="0>26|0|1|0"/>
        </movingPart>
        <!-- hydraulic -->
        <movingPart index="0>27" referencePoint="0>26|1" referenceFrame="0>26|1">
            <translatingPart index="0>27|0"/>
        </movingPart>
        <movingPart index="0>14|0" referencePoint="0>13|0|2|0" referenceFrame="0>">
            <translatingPart index="0>14|0|0"/>
        </movingPart>
        <!-- steering -->
        <movingPart index="0>1|0|1" referencePoint="0>0|0|1" referenceFrame="0>0|0|1" isActiveDirty="true" playSound="false" scaleZ="true"/>
        <movingPart index="0>24" referencePoint="0>1|0|2" referenceFrame="0>" isActiveDirty="true" playSound="false">
            <translatingPart index="0>24|0"/>
        </movingPart>
        <movingPart index="0>25" referencePoint="0>0|0|2" referenceFrame="0>" isActiveDirty="true" playSound="false">
            <translatingPart index="0>25|0"/>
        </movingPart>
    </movingParts>
    <characterNode index="0>17|0" cameraMinDistance="1.5" filename="$dataS2/character/player/player.xml" spineRotation="180 0 108">
        <target ikChain="rightFoot" targetNode="0>17|1" setDirty="true"/>
        <target ikChain="leftFoot" targetNode="0>17|2" setDirty="true"/>
        <target ikChain="rightArm" targetNode="0>11|0|1" setDirty="true"/>
        <target ikChain="leftArm" targetNode="0>11|0|2" setDirty="true"/>
    </characterNode>
    <ai>
        <trafficCollisionTrigger index="0>18"/>
    </ai>
    <exhaustEffects>
        <!--TODO: adjust xzRotationOffset, xzRotationsForward, xzRotationsBackward, xzRotationsLeft, xzRotationsRight-->
        <exhaustEffect filename="$data/particleSystems/shared/exhaust.i3d" index="0>19" minRpmColor="0.4 0.5 0.4 4" maxRpmColor="0 0 0 7" minRpmScale="0.05" maxRpmScale="0.4" xzRotationOffset="0 0" xzRotationsForward="0 0" xzRotationsBackward="0 0" xzRotationsLeft="0 0" xzRotationsRight="0 0"/>
    </exhaustEffects>
    <motorStartDuration>2500</motorStartDuration>
    <attachSound file="$data/sounds/attach.wav" pitchOffset="1"/>
    <motorStartSound file="$data/vehicles/steerable/caseIH/caseIHMagnum380_start.wav" pitchOffset="0.8" volume="0.8"/>
    <motorSound file="$data/vehicles/steerable/caseIH/caseIHMagnum380_idle.wav" pitchOffset="0.8" pitchScale="0.0095" pitchMax="1.45" volume="0.8" radius="50" innerRadius="20"/>
    <motorSoundRun file="$data/vehicles/steerable/caseIH/caseIHMagnum380_run.wav" pitchOffset="0.75" pitchScale="0.01" pitchMax="1.35" volume="0.8"/>
    <motorSoundRun2 file="$data/vehicles/shared/transmissionCVT.wav" pitchOffset="0.55" volume="0.35" pitchMax="1.4" volumeMax="0.855"/>
    <motorStopSound file="$data/vehicles/steerable/caseIH/caseIHMagnum380_stop.wav" pitchOffset="0.85" volume="0.85"/>
    <compressedAirSound file="$data/sounds/technicalAccessories/brakeBig.wav" pitchOffset="1" volume="1.25"/>
    <compressionSound file="$data/sounds/technicalAccessories/brakeBig.wav" pitchOffset="1" volume="1.5"/>
    <hydraulicSound file="$data/sounds/hydraulicUp.wav" pitchOffset="0.55" volume="0.8"/>
    <honkSound file="$data/sounds/horn.wav" volume="1" innerRadius="10" radius="70"/>
    <washable dirtDuration="50" washDuration="1" workMultiplier="4"/>
    <components count="1">
        <component1 centerOfMass="0 0.7 0.2" solverIterationCount="10"/>
    </components>
    <schemaOverlay file="$dataS2/menu/schemas/vehicleSchema.dds" fileSelected="$dataS2/menu/schemas/vehicleSchemaSelected.dds" width="0.5" height="0.5" attacherJointPosition="0.5 0"/>
    <storeData>
        <name>
            <de>Case Black Beauty</de>
            <en>Case Black Beauty</en>
        </name>
        <functions/>
        <specs>
            <power>435</power>
        </specs>
        <image>store_CaseBlackBeauty.dds</image>
        <price>308642</price>
        <dailyUpkeep>389</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>CASEBLACKBEAUTY</brand>
        <category>tractors</category>
    </storeData>
</vehicle>
