<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="Volvo">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Volvo FH16</en>
        <de>Volvo FH16</de>
    </name>
    <filename>Volvo.i3d</filename>

	<size width="3.8" length="6.5"/>

    <wheels autoRotateBackSpeed="2">
        <wheel rotSpeed="70" rotMax="33" rotMin="-33" driveMode="0" repr="1>1"  radius="0.54"  suspTravel="0.12" spring="50" damper="50" mass="0.2" />
        <wheel rotSpeed="70" rotMax="33" rotMin="-33" driveMode="0" repr="2>1"  radius="0.54"  suspTravel="0.12" spring="50" damper="50" mass="0.2"  />
        <wheel  driveMode="1" repr="3>1"  radius="0.545" deltaY="0.08" suspTravel="0.12" spring="60" damper="60" mass="0.2" />
        <wheel  driveMode="1" repr="4>1"  radius="0.545" deltaY="0.08" suspTravel="0.12" spring="60" damper="60" mass="0.2"  />
        <wheel rotSpeed="0" driveMode="1" repr="5>1" radius="0.545" deltaY="0.08" suspTravel="0.12" spring="65" damper="70" mass="0.2"  />
        <wheel rotSpeed="0" driveMode="1" repr="6>1" radius="0.545" deltaY="0.08" suspTravel="0.12" spring="65" damper="70" mass="0.2"   />
    </wheels>
	<motor minRpm="100" maxRpm="800 1300 3200 700" maxTorques="-1 -1 -1 -1" brakeForce="3.5" lowBrakeForceScale="0.3" lowBrakeForceSpeedLimit="1" compensateWheelRadius="true"  forwardGearRatio="12.8" backwardGearRatio="16" differentialRatio="1" rpmFadeOutRange="500">
		<torque rpm="800" torque="2.25"/>
		<torque rpm="1300" torque="1.55"/>
		<torque rpm="3200" torque="1.75"/>
		<backwardTorque rpm="700" torque="1.6"/>
    </motor>
    <accelerationSpeed maxAcceleration="0.10" deceleration="0.20" backwardDeceleration="0.7" />
    <fuelCapacity>600</fuelCapacity>
    <fuelUsage>0.0058</fuelUsage>

	<bunkerSiloCompacter compactingScale="3"/>
	
    <components count="7">
        <component1 centerOfMass="0 0 -0.03" solverIterationCount="10" />
		<component2 centerOfMass="0 -0.8 0" solverIterationCount="190" />
	    <component3 centerOfMass="0 -0.8 0" solverIterationCount="190" />
	    <component4 centerOfMass="0 -0.8 0" solverIterationCount="190" />
	    <component5 centerOfMass="0 -0.8 0" solverIterationCount="190" />
		<component6 centerOfMass="0 -0.8 0" solverIterationCount="190" />
	    <component7 centerOfMass="0 -0.8 0" solverIterationCount="190" />
		<joint component1="0" component2="1" index="1>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
		<joint component1="0" component2="2" index="2>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
		<joint component1="0" component2="3" index="3>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
		<joint component1="0" component2="4" index="4>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
		<joint component1="0" component2="5" index="5>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
		<joint component1="0" component2="6" index="6>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
    </components>
	
    <cameras count="2">
        <camera1 index="6|0" rotatable="true" rotateNode="6" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="35" >
			<raycastNode index="0>8"/>
			<raycastNode index="0>9"/>
		</camera1>
        <camera2 index="7" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" />
    </cameras>
	
    <lights>
        <light realLight="0>11" fakeLight="0>18" decoration="0>19" lightType="0"/>
        <light realLight="0>12" decoration="0>20" lightType="1"/>
		 <light  decoration="0>13|0|1" lightType="0"/>
		 <light  decoration="0>35|0|0" lightType="0"/>
		  <light  decoration="0>44" lightType="0"/>
		  <light  decoration="0>36|0" lightType="1"/>
    </lights>
	
	<brakeLights>
		<brakeLight index="0>23" />
	</brakeLights>
	
	<beaconLights stayOn="true">
		<beaconLight index="0>22|0|0|0|0|1" rotIndex="0>22|0|0|0|0" speed="0.012" />
		<beaconLight index="0>22|1|0|0|0|1" rotIndex="0>22|1|0|0|0" speed="0.011" />
	</beaconLights>

    <lightsaddon lightsStayOn="true">
        <light type="dirLeft" index="0>25|0" />
        <light type="dirRight" index="0>25|1" />
        <light type="reverse" index="0>24" />
		<light type="work" index="33"  inputName="Bullbar" helptext="Bullbar" stayOn="true"/>
		<light type="work" index="35"  inputName="Chrome" helptext="Chrome" stayOn="true"/>
		<light type="work" index="35|0"  inputName="Chrome2" helptext="Chrome2" stayOn="true"/>
		<light type="work" index="22"  inputName="RULS" helptext="RULS" stayOn="true"/>
	    <light type="work" index="36"  inputName="Biglights" helptext="Biglights" stayOn="true"/>
		 <light type="work" index="31"  inputName="Flip" helptext="Flip" stayOn="true"/>
        <flashers soundfile="audio/blinktick.wav" lowPitch="0.6" highPitch="0.8" volume="0.6" autoreturn="true" tolerance="0.9"/>
    </lightsaddon>
	
    <steering index="0>13|0" rotationSpeed="8"/>
    <enterReferenceNode index="0>"/>
    <exitPoint index="0>10"/>

    <attacherJoints>
	    <attacherJoint index="0>43|0" jointType="semitrailer" maxRotLimit="0 150 10" allowsLowering="false" allowsJointLimitMovement="false"/>
    </attacherJoints>
	<moveableAttacher index="0>43" maxY="1.23754" minY="1.1646" />
	
	 <trailerAttacherJoints>
        <trailerAttacherJoint index="0>34|0" maxRotLimit="10 90 90" />
        <trailerAttacherJoint index="0>34|0" low="true" maxRotLimit="10 90 90" />
    </trailerAttacherJoints>

    <characterNode index="0>15" cameraMinDistance="1.5" />
    <aiTrafficCollisionTrigger index="0>16" />

    <motorStartDuration>2500</motorStartDuration>
    <attachSound file="audio/lizard2000_attach.wav" pitchOffset="1" />
    <motorStartSound file="audio/start.ogg" pitchOffset="1" volume="1"/>
    <motorSoundRun file="audio/run.ogg" pitchOffset="0.8" pitchScale="0.030" pitchMax="1.1" volume="2.3"/>
    <motorSound file="audio/motor.ogg" pitchOffset="1" pitchScale="0.025" pitchMax="1.48" volume="0.5" />
    <motorStopSound file="audio/stop.ogg" pitchOffset="1" volume="1"/>
    <reverseDriveSound file="audio/reverse1.ogg" volume="0.5" pitchOffset="1.5"/>
    <compressedAirSound file="audio/air_brake1.ogg" pitchOffset="1" volume="1"/>
    <compressionSound file="audio/air_brake3.ogg" pitchOffset="1" volume="1.9"/>

	<honkSound file="$dataS2/sounds/hornBig.wav"  volume="1" radius="80" innerRadius="35" />
	
	<indoorSounds camIndex="2" >
		<sound id="attachSound" percent="0.4" outDoorVolume="0.1" />
		<sound id="motorStartSound" percent="0.4" outDoorVolume="0.2" /> 
		<sound id="motorStopSound" percent="0.4"  outDoorVolume="0.2" />
		<sound id="motorSound" percent="0.4" volume="motorSoundVolume"  outDoorVolume="0.25" />
		<sound id="motorSoundRun" percent="0.4"  outDoorVolume="0.4"/> 
		<sound id="compressionSound" percent="0.4"  outDoorVolume="0.1" />
		<sound id="honkSoundId" volume="honkSoundVolume" percent="0.4"  outDoorVolume="1" />		
	</indoorSounds>	
	
	<dynamicExhaustingSystem cap="0>45|0" maxRot="60" minAlpha="0.1" maxAlpha="1.5" param="alphaScale" >
		<startSequence>
			<key time="0.0"  value="0 0 0 0"/>
			<key time="0.4"  value="0 0 0 0.5"/>
			<key time="0.58" value="0 0 0 0.2"/>
			<key time="0.6"  value="0 0 0 0.2"/>
			<key time="0.75" value="0 0 0 1"/>
			<key time="0.93" value="0 0 0 1"/>
			<key time="1.0"  value="0 0 0 0.2"/>
		</startSequence>
	</dynamicExhaustingSystem>
	
	<exhaustParticleSystems count="1">
		<exhaustParticleSystem1 node="0>30" file="PSystem/realParticles.i3d" />
	</exhaustParticleSystems>
	<realExhaustParticleSystem parameter="exhaustingSystem" minAlpha="0.45" maxAlpha="1" />

    <schemaOverlay file="textures/Schema.png" fileSelected="textures/SchemaSelected.png" width="0.52" height="0.52" attacherJointPosition="0.5 -0.5">
     <attacherJoint position="1 0" rotation="0" invertX="false" />
        <attacherJoint position="1 0" rotation="0" invertX="false" />
        <attacherJoint position="1 0" rotation="0" invertX="false" />
    </schemaOverlay>
	
	<animatedDetails>
		<tachoZeiger  zeigerIndex="40|0" multiplicator="1.5" maxRotation="350" /> 
		<tankWarnLeuchte index="38|0" warnValue="8" /> 
	</animatedDetails>
	
	
	
	<drivingParticles threshold="0.005">
        <drivingParticle position=" 0.95 0 -1.85" rotation="0 0 0" file="PSystem/dustParticleSystem.i3d" wheel="1" minSpeed="5" maxSpeed="50"/>
        <drivingParticle position="-0.95 0 -1.85" rotation="0 0 0" file="PSystem/dustParticleSystem.i3d" wheel="2" minSpeed="5" maxSpeed="50"/>
		<drivingParticle position=" 0.95 0  0.87" rotation="0 0 0" file="PSystem/dustParticleSystem.i3d" wheel="3" minSpeed="5" maxSpeed="50"/>
        <drivingParticle position="-0.95 0  0.87" rotation="0 0 0" file="PSystem/dustParticleSystem.i3d" wheel="4" minSpeed="5" maxSpeed="50"/>
	</drivingParticles>
	
	
	<wheelParticleSystems file="PSystem/wheelParticleSystem.i3d" >
        <wheelParticleSystem node="37|0"  />
        <wheelParticleSystem node="37|1"  />
	    <wheelParticleSystem node="37|2"  />
	    <wheelParticleSystem node="37|3"  />
		<wheelParticleSystem node="37|4"  />
		<wheelParticleSystem node="37|5"  />
	</wheelParticleSystems>

</vehicle>
