<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="tatra">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Tatra 815 agro</en>
        <de>Tatra 815 agro</de>
    </name>
    <description>Holmer</description>
    <typeDesc>
        <en>Tatra 815 agro</en>
        <de>Tatra 815 agro</de>
    </typeDesc>
    <filename>Tatra.i3d</filename>
    <size width="3.0" length="5.5" />
    <wheels autoRotateBackSpeed="2.5">
        <wheel rotSpeed="65" rotMax="40" rotMin="-40" driveMode="2" repr="0" driveNode="0" radius="0.68" deltaY="0.12" suspTravel="0.2" spring="180" damper="200" mass="0.35" />
        <wheel rotSpeed="65" rotMax="40" rotMin="-40" driveMode="2" repr="1" driveNode="1" radius="0.68" deltaY="0.12" suspTravel="0.2" spring="180" damper="200" mass="0.35" />
        <wheel rotSpeed="0" driveMode="1" repr="2" radius="0.68" deltaY="0.25" suspTravel="0.3" spring="100" damper="800" mass="0.5" />
        <wheel rotSpeed="0" driveMode="1" repr="3" radius="0.68" deltaY="0.25" suspTravel="0.3" spring="100" damper="800" mass="0.5" />
	<wheel rotSpeed="0" driveMode="1" repr="4" radius="0.68" deltaY="0.25" suspTravel="0.3" spring="100" damper="800" mass="0.5" />
        <wheel rotSpeed="0" driveMode="1" repr="5" radius="0.68" deltaY="0.25" suspTravel="0.3" spring="100" damper="800" mass="0.5" />
    </wheels>
    <motor minRpm="300" maxRpm="660 1300 2600" brakeForce="20" forwardGearRatio="2.5" backwardGearRatio="1.8" differentialRatio="4.0" rpmFadeOutRange="20">
	<torque rpm="300" torque="7"/>
        <torque rpm="650" torque="10"/>
        <torque rpm="1200" torque="22"/>
	<torque rpm="2500" torque="30"/>
    </motor>

    <exhaustParticleSystems count="1">
      <exhaustParticleSystem1 node="39" file="vyfuk/ExhaustParticleSystem.i3d" />	  
    </exhaustParticleSystems>
	
	<dynamicExhaustingSystem maxRot="-20" minAlpha="0.1" maxAlpha="2.0" param="exhaustingSystem" >
		<startSequence>
			<key time="0.0"  value="0 0 0 0"/>
			<key time="0.2"  value="0 0 0 0.2"/>
			<key time="0.4" value="0 0 0 0.4"/>
			<key time="0.6"  value="0 0 0 0.8"/>
			<key time="0.8" value="0 0 0 1"/>
			<key time="0.9" value="0 0 0 0.8"/>
			<key time="1.0"  value="0 0 0 0.1"/>
		</startSequence>
	</dynamicExhaustingSystem>


    <fuelCapacity>200</fuelCapacity>
    <fuelUsage>0.002</fuelUsage>
    <downForce>8</downForce>
    <cameras count="2">
        <camera1 index="6|0" rotatable="true" rotateNode="6" limit="true" rotMinX="-3" rotMaxX="0" transMin="8" transMax="70" />
        <camera2 index="7" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0" />
    </cameras>
    <enterReferenceNode index="0>" />
    <exitPoint index="11" />
    <tipCamera index="13" />
    <steering index="15|0" rotationSpeed="6"/>
    <size width="3.8" length="7.5" lengthOffset="-0.2"/>

    <trailerAttacherJoints>
        <trailerAttacherJoint index="12" />
        <trailerAttacherJoint index="12" low="true" shaft="22|1" />
    </trailerAttacherJoints>

    <lights count="1">
        <light1 index="13" />
    </lights>

	<lightCones>
		<lightCone index="26" />
	</lightCones>

	<lightsaddon lightsStayOn="false">
	<light type="work" index="27" inputName="dalkova" helptext="dalkova" stayOn="true"/>
	<light type="work" index="44" inputName="Kabina" helptext="Kabina" stayOn="true"/>
			<light type="brake" index="28|0" />
			<light type="reverse" index="28|1" />
			<light type="dirLeft" index="28|2" />
			<light type="dirRight" index="28|3" />
	</lightsaddon>

	<beaconLights>
		<beaconLight index="29|0|0" speed="0.016" />
		<beaconLight index="30|0|0" speed="0.016" />
	</beaconLights>

    <rightdoor 	index="35|2|0" minRot="0 0 0" maxRot="0 -85 0" rotTime="2.0" touchRotLimit="10"/>
    <backwindow  index="35|4" minRot="0 0 0" maxRot="20 0 0" rotTime="2.0" touchRotLimit="10"/>
    <leftDoor index="35|3|0" minRot="0 0 0" maxRot="0 85 0" rotTime="2.0" touchRotLimit="10"/>


    <attacherJoints>
	<attacherJoint index="22|0" maxRot="0 0 0" maxRot2="0 0 0" maxTransLimit="0 0 0" maxRotLimit="0 0 0" moveTime="1.5" shaft="22|1" >
	</attacherJoint>
    </attacherJoints>

    <cuttingAreas count="0">
        <cuttingArea1 startIndex="6" widthIndex="7" heightIndex="8" losing="true"/>
    </cuttingAreas>
	
    <attachSound file="$data/vehicles/steerable/deutz/attach.wav" pitchOffset="1" />
    <motorStartSound file="sounds/motorStart.wav" pitchOffset="1" volume="1.2" />
    <motorSound file="sounds/motorIdle.wav" pitchOffset="1" pitchScale="0.02" pitchMax="1.45" volume="1.2" />
    <motorStopSound file="sounds/motorStop.wav" pitchOffset="1" />
    <compressedAirSound file="$data/vehicles/steerable/deutz/compressedAir.wav" pitchOffset="1" volume="1.0"/>
    <compressionSound file="$data/vehicles/steerable/deutz/compressorWork.wav" pitchOffset="1" volume="1.5"/>    
    <aiMotorSound  file="sounds/motorIdleAI.wav" pitchOffset="1" radius="50" innerRadius="10" volume="3" />
    <honkSound file="sounds/horn.wav" client="$dataS2/sounds/horn3D.wav" volume="1" radius="50" innerRadius="20" />
	<brakeSound file="sounds/bremse.wav" pitchOffset="1" volume="1"/>


    <characterNode index="16" cameraMinDistance="1.5" />
    <aiTrafficCollisionTrigger index="17" />        

	<ESLimiter posX="0.7543" posY="0.1715" />
	<operatingHours posX="0.7543" posY="0.1715" />

	
    <components count="1">
        <component1 centerOfMass="0 0.18 -1.5" solverIterationCount="10" />
    </components>

	<switchLights index1="32|6|0|1" index3="32|6|1|1" />
	<dashLights index1="32|8|0" index2="32|8|1" index3="32|8|2" />
	<workingLights index1="32|3|0" />

	<rotationPart6 index="32|1" minRot="-45 10 -10" maxRot="-45 -10 10" rotTime="0.1" touchRotLimit="3" /> <!-- shuttlelever  -->	
	<rotationPart9 index="32|3" minRot="0 0 0" maxRot="-25 0 0" rotTime="0.1" touchRotLimit="10" /> <!-- foot brake  -->	
	<rotationPart10 index="32|2" minRot="90 95 90" maxRot="90 75 90" rotTime="1.4" touchRotLimit="10" /> <!-- foot throttle -->	
	<rotationPart11 index="32|4|0" minRot="0 89 0" maxRot="0 -150 0" rotTime="1.4" touchRotLimit="10" /> <!-- rpm needle -->
	<rotationPart12 index="32|5|0" minRot="0 110 0" maxRot="0 -140 0" rotTime="1.4" touchRotLimit="10" /> <!-- mph needle -->
	<rotationPart13 index="32|7|0" minRot="0 90 0" maxRot="0 5 0" rotTime="1.4" touchRotLimit="10" /> <!-- fuel needle -->

	<lightSwitch index="32|6|0" />
	<beaconSwitch index="32|6|1" />
	<keySwitch index="32|9|0|0"/>
	<keySwitch1 index="32|9|0"/>
	<hitchLever index="32|0"/> 
	<hitchLever1 index="32|0|0"/>

	<wheelParticleSystems file="particleSystems/wheelParticleSystem.i3d" >
        <wheelParticleSystem node="40"  />
        <wheelParticleSystem node="41"  />
        <wheelParticleSystem node="42"  />
	<wheelParticleSystem node="43" />
	</wheelParticleSystems>

</vehicle>
