﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="tractor_cylindered">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <de>Kramer KL 600</de>
        <en>Kramer KL 600</en>
    </name>

    <filename>data/vehicles/steerable/kramer/kramerKL600.i3d</filename>

    <size width="3.5" length="5" />

    <wheels autoRotateBackSpeed="2.5">
        <wheel rotSpeed="70" rotMax="36" rotMin="-36" driveMode="2" repr="0" driveNode="0|0" radius="0.405" deltaY="0.15" suspTravel="0.2" spring="45" damper="20" mass="0.274" />
        <wheel rotSpeed="70" rotMax="36" rotMin="-36" driveMode="2" repr="1" driveNode="1|0" radius="0.405" deltaY="0.15" suspTravel="0.2" spring="45" damper="20" mass="0.274" />
        <wheel rotSpeed="0" driveMode="1" repr="2" radius="0.652" deltaY="0.13" suspTravel="0.15" spring="45" damper="20" mass="0.4" />
        <wheel rotSpeed="0" driveMode="1" repr="3" radius="0.652" deltaY="0.13" suspTravel="0.15" spring="45" damper="20" mass="0.4" />
    </wheels>

    <motor minRpm="100" maxRpm="825 1300 2550 850" maxTorques="-1 -1 -1 -1" brakeForce="8.5" lowBrakeForceScale="0.5" lowBrakeForceSpeedLimit="1" compensateWheelRadius="true" accelerations="1 1 1 1" forwardGearRatio="28" backwardGearRatio="17" differentialRatio="1" rpmFadeOutRange="20">
		<torque rpm="2550" torque="0.75"/>
		<backwardTorque rpm="500" torque="0.85"/>
		<backwardTorque rpm="600" torque="0"/>
    </motor>
    <accelerationSpeed maxAcceleration="0.35" deceleration="0.6" backwardDeceleration="0.7" />
    <fuelCapacity>50</fuelCapacity>
    <fuelUsage>0.0005</fuelUsage>
    <downForce>4</downForce>

    <cameras count="2">
        <camera1 index="4|0|0" rotatable="true" rotateNode="4|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="18" >
			<raycastNode index="0>19"/>
			<raycastNode index="0>20"/>
		</camera1>
        <camera2 index="4|1" rotatable="true" limit="true" rotMinX="-1" rotMaxX="1.4" transMin="0" transMax="0" />
    </cameras>

    <lights>
        <light realLight="0>5" fakeLight="0>16" decoration="0>17" lightType="0"/>
    </lights>

    <brakeLights>
		<brakeLight index="0>18" />
	</brakeLights>

    <exitPoint index="6" />
    <steering index="7|0" rotationSpeed="12"/>

    <enterReferenceNode index="0>" />

    <trailerAttacherJoints>
        <trailerAttacherJoint index="12|0" maxRotLimit="20 85 85" ptoOutputNode="0>21" ptoFilename="$data/vehicles/steerable/powerTakeoff.i3d"/>
		<trailerAttacherJoint index="12|1" maxRotLimit="20 85 85" />
        <trailerAttacherJoint index="13" low="true" maxRotLimit="20 85 85" ptoOutputNode="0>21" ptoFilename="$data/vehicles/steerable/powerTakeoff.i3d"/>
    </trailerAttacherJoints>

    <attachSound file="data/vehicles/steerable/deutz/attach.wav" pitchOffset="1" />
    <motorStartSound file="data/vehicles/steerable/kramer/kramerKL600_start.wav" pitchOffset="1" volume="1" />
    <motorSound file="data/vehicles/steerable/kramer/kramerKL600_idle.wav" pitchOffset="1" pitchScale="0.0089" pitchMax="1.4" volume="1" />
    <motorStopSound file="data/vehicles/steerable/kramer/kramerKL600_stop.wav" pitchOffset="1" />
	<motorSoundRun file="data/vehicles/steerable/kramer/oldTractor_run2.wav" pitchOffset="0.5" pitchScale="0.025" pitchMax="1.05" volume="1" />
	<compressedAirSound file="data/vehicles/steerable/kramer/brakeOld2.wav" pitchOffset="1" volume="1"/>
	<honkSound file="dataS2/sounds/horn.wav" volume="1" radius="80" innerRadius="35" />
 
    <exhaustParticleSystems count="1">
        <exhaustParticleSystem1 node="15" file="data/vehicles/particleSystems/exhaustParticleSystem.i3d" />
    </exhaustParticleSystems>

    <attacherJoints>
        <attacherJoint index="9|0|0" rotationNode="9" minRot="32 0 0" minRot2="-24 0 0" maxRot="12 0 0" rotationNode2="9|0" maxRot2="-12 0 0" maxTransLimit="0 0.5 0" maxRotLimit="0 0 20" moveTime="1.5" ptoOutputNode="0>21" ptoFilename="$data/vehicles/steerable/powerTakeoff.i3d">
            <bottomArm rotationNode="10" translationNode="10|0" referenceNode="10|0|0" zScale="-1" />
            <topArm baseNode="11" filename="data/vehicles/steerable/upperLinkSmall.i3d" zScale="-1" />
        </attacherJoint>
    </attacherJoints>

    <characterNode index="8" cameraMinDistance="1.5" />
    <aiTrafficCollisionTrigger index="14" />

    <movingTools>
		<!-- attacher joint back bottom-->
        <movingTool index="0>10">
            <dependentPart index="0>22" />
        </movingTool>
    </movingTools>

    <movingParts>
		<!-- attacher joint back bottom-->
        <movingPart index="0>22" referencePoint="0>10|0|1" localReferencePoint="0>22|0" referenceFrame="0>" >
            <dependentPart index="0>22|0" />
        </movingPart>
        <movingPart index="0>22|0" referencePoint="0>10|0|1" referenceFrame="0>10|0|1" />

		<!-- steering -->
		<movingPart index="0>23|0" referencePoint="0>1|2" referenceFrame="0>" scaleZ="true" isActiveDirty="true" playSound="false" />
		<movingPart index="0>1|1" referencePoint="0>0|1" referenceFrame="0>" scaleZ="true" isActiveDirty="true" playSound="false" />
        <movingPart index="0>22|0" referencePoint="0>11|0|1" referenceFrame="0>11|0|1" scaleZ="true" />
    </movingParts>

	<steeringAnimationNodes>
		<animationNode index="0>23" wheelIndex="1" minXRot="36" maxXRot="-36" />
	</steeringAnimationNodes>

    <components count="1">
        <component1 centerOfMass="0 0 0.5" solverIterationCount="10" />
    </components>

	<schemaOverlay file="data/vehicles/schemas/vehicleSchema.png" fileSelected="$data/vehicles/schemas/vehicleSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0.5 0">
		<attacherJoint position="1 0" rotation="0" invertX="false" />
        <attacherJoint position="1 0" rotation="0" invertX="false" />
        <attacherJoint position="0 0" rotation="0" invertX="true" />
		<attacherJoint position="1 0" rotation="0" invertX="false" />
    </schemaOverlay>

</vehicle>
