<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="volvoBM">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>ValtraS352</en>
        <de>ValtraS352</de>
    </name>
    <description></description>
    <filename>ValtraS352.i3d</filename>
    <wheels autoRotateBackSpeed="2.5">
        <wheel rotSpeed="50" rotMax="27" rotMin="-27" driveMode="2" repr="1>1" driveNode="1>1|0" radius="0.88" deltaY="0" suspTravel="0" spring="0" damper="1" mass="0.5" />
        <wheel rotSpeed="50" rotMax="27" rotMin="-27" driveMode="2" repr="1>2" driveNode="1>2|0" radius="0.88" deltaY="0" suspTravel="0" spring="0" damper="1" mass="0.5" />
         <wheel rotSpeed="0" driveMode="1" repr="1" driveNode="1|0" radius="1.15" deltaY="0.1" suspTravel="0.2" spring="180" damper="2" mass="0.6" lateralStiffness="60" />
        <wheel rotSpeed="0" driveMode="1" repr="0" radius="1.15" deltaY="0.1"                 suspTravel="0.2" spring="180" damper="2" mass="0.6" lateralStiffness="60" />
    </wheels>
    <motor minRpm="100" maxRpm="380 720 2250 690" maxTorques="2.4 6.1 -1 2.7" brakeForce="15" lowBrakeForceScale="0.4" lowBrakeForceSpeedLimit="1" accelerations="0.4 1 1.2 1" forwardGearRatio="9.3" backwardGearRatio="6" differentialRatio="1" rpmFadeOutRange="50">
		<torque rpm="1250" torque="12.5"/>
		
		<backwardTorque rpm="630" torque="5.6"/>
		<backwardTorque rpm="580" torque="2.2"/>
    </motor>
	<accelerationSpeed maxAcceleration="0.15" deceleration="0.25" backwardDeceleration="0.7"/>

    <fuelCapacity>580</fuelCapacity>
    <fuelUsage>0.0025</fuelUsage>
    <downForce>7</downForce>
    <cameras count="2">
        <camera1 index="2|0" rotatable="true" rotateNode="2" limit="true" rotMinX="-1.4" rotMaxX="0" transMin="4" transMax="50" >
			<raycastNode index="0>22"/>
			<raycastNode index="0>23"/>
		</camera1>
        <camera2 index="1|1|2" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0" />
    </cameras>
    <lights count="1">
        <light1 index="10" />
    </lights>
	
	<lightCones>
		<lightCone index="20" />	
	</lightCones>
	
	<lightCoronas>
		<lightCorona index="21" />	
		<lightCorona index="1|1|6" />	
	</lightCoronas>
	
	<workLights>
	    <workLight index="11" />
	</workLights>
	
	<lights count="1">
        <light1 index="28" />
    </lights>
	
	<lightsaddon lightsStayOn="false">
		<light type="highbeam" index="28|0" real="28|0|2" beam="28|0|1" />
		<light type="dirLeft" index="28|1" />
		<light type="dirRight" index="28|2" />
		<light type="brake" index="28|3" />
		<light type="reverse" index="28|4" />
		<light type="dirLeft" index="28|6" />
		<light type="dirRight" index="28|5" />
	</lightsaddon>

    <steering index="15|0" rotationSpeed="6"/>
    <enterReferenceNode index="0>" />
    <exitPoint index="7" />
    <size width="3" length="5" lengthOffset="-0.1"/>
    <cuttingAreas count="0">
        <!--cuttingArea1 startIndex="4" widthIndex="5" heightIndex="6" losing="true"/-->
    </cuttingAreas>
    <trailerAttacherJoints>
        <trailerAttacherJoint index="8" maxRotLimit="10 80 80" shaft="31" />
        <trailerAttacherJoint index="17" low="true" shaft="31" />
    </trailerAttacherJoints>
    <tipCamera index="9" />
    
    <attachSound file="$data/vehicles/steerable/deutz/attach.wav" pitchOffset="1" />
    <motorStartSound file="Sounds/ValtraS352start.wav" pitchOffset="1" volume="2" />
    <motorSound file="Sounds/ValtraS352idle.wav" pitchOffset="1" pitchScale="0.03" pitchMax="1.65" volume="1.1" />
    <motorSoundRun file="Sounds/ValtraS352run.wav" pitchOffset="0.5" pitchScale="0.02" pitchMax="1.05" volume="0.9" />
    <motorStopSound file="Sounds/ValtraS352out.wav" pitchOffset="1" />
    <compressedAirSound file="$data/vehicles/steerable/deutz/compressedAir.wav" pitchOffset="1" volume="1.0"/>
    <compressionSound file="Sounds/Kompressori.wav" pitchOffset="1" volume="1.5"/>    
    <aiMotorSound  file="Sounds/ValtraS352idleAI.wav" pitchOffset="1" radius="25" innerRadius="4" volume="1.25" />    
   
    <exhaustParticleSystems count="1">
        <exhaustParticleSystem1 node="19" file="exhaustParticleSystem.i3d" />
    </exhaustParticleSystems>
	
	<honkSound file="$dataS2/sounds/horn.wav" client="$dataS2/sounds/horn3D.wav" volume="1" radius="50" innerRadius="20" />
	
    <attacherJoints>
        <attacherJoint index="12|0|0" rotationNode="12" maxRot="-12 0 0" rotationNode2="12|0" maxRot2="12 0 0" maxTransLimit="0 0.5 0" maxRotLimit="0 0 20" moveTime="1.5" shaft="31">
            <bottomArm rotationNode="13" translationNode="13|0" referenceNode="13|0|0" zScale="-1" />
            <topArm rotationNode="14" translationNode="14|0" referenceNode="14|0|0" zScale="-1" />
		</attacherJoint>
     <attacherJoint index="29|0|0|0" rotationNode="29|0" maxRot="10 0 0" rotationNode2="29|0|0" maxRot2="-7 0 0" maxTransLimit="0 0.5 0" maxRotLimit="0 0 20" moveTime="1.5">
            <bottomArm rotationNode="29|1" translationNode="29|1|0" referenceNode="29|1|0|0" zScale="1" />
            <topArm rotationNode="29|2" translationNode="29|2|0" referenceNode="29|2|0|0" zScale="1" />
		</attacherJoint>
    </attacherJoints>


        <weightShows>
	    <weightShow index="0|2" />
	    <weightShow index="1|0|2" />
	</weightShows>


	<duelWheels>
	    <duelWheel index="0|0" />
	    <duelWheel index="1|0|0" />
	</duelWheels>

	<duelFWheels>
	    <duelFWheel index="1>1|0|0" />
	    <duelFWheel index="1>2|0|0" />
	</duelFWheels>


    <characterNode index="1|1|1" cameraMinDistance="1.5" />
    <aiTrafficCollisionTrigger index="18" />    
    <components count="2">
        <component1 centerOfMass="0 0 -1" solverIterationCount="190" />
		<component2 centerOfMass="0 -1 0" solverIterationCount="190" />
		<joint component1="0" component2="1" index="1>0" rotLimit="0 0 7" transLimit="0 0 0" breakable="false"/>
    </components>


	<wheelParticleSystems file="Scripts/particleSystems/wheelParticleSystem.i3d" >
        <wheelParticleSystem node="27|0"  />
        <wheelParticleSystem node="27|1"  />
        <wheelParticleSystem node="27|2"  />
	<wheelParticleSystem node="27|3" />
</wheelParticleSystems>


	<beaconLights>
		<beaconLight index="30|0" speed="0.016" />
		<beaconLight index="30|1" speed="0.015" />
		<beaconLight index="30|2" speed="0" />
	</beaconLights>
	
	<togglebeacon> 	
	<togglebeacon vehiclesetrpmbeacon="false" />
	</togglebeacon>
	
	<DirtWheels>
      <DirtWheel index="32|0" dirtFileDry="Dirt/dirtDry.i3d" dirtFileRain="Dirt/dirtRain.i3d" isActive="true" distance="0.1" file="$data/vehicles/particleSystems/fieldWorkParticleSystem.i3d"/>
      <DirtWheel index="32|1" dirtFileDry="Dirt/dirtDry.i3d" dirtFileRain="Dirt/dirtRain.i3d" isActive="true" distance="0.1" file="$data/vehicles/particleSystems/fieldWorkParticleSystem.i3d"/>
      <DirtWheel index="32|2" dirtFileDry="Dirt/dirtDry.i3d" dirtFileRain="Dirt/dirtRain.i3d" isActive="true" distance="0.1" file="$data/vehicles/particleSystems/fieldWorkParticleSystem.i3d"/>
      <DirtWheel index="32|3" dirtFileDry="Dirt/dirtDry.i3d" dirtFileRain="Dirt/dirtRain.i3d" isActive="true" distance="0.1" file="$data/vehicles/particleSystems/fieldWorkParticleSystem.i3d"/>
   </DirtWheels>

</vehicle>
