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

    <size width="3.5" length="7"/>

    <wheels autoRotateBackSpeed="1.8">
        <wheel rotSpeed="1" restLoad="2.8" repr="0>0" forcePointRatio="0.2" driveNode="0>0" radius="0.545" width="0.32" initialCompression="50" suspTravel="0.2" spring="30" damper="20" maxLatStiffness="20" mass="0.1" hasTyreTracks="false" tyreTrackAtlasIndex="4" tireType="street" />
        <wheel rotSpeed="1" restLoad="2.8" repr="0>1" forcePointRatio="0.2" driveNode="0>1" radius="0.545" width="0.32" initialCompression="50" suspTravel="0.2" spring="30" damper="20" maxLatStiffness="20" mass="0.1" hasTyreTracks="false" tyreTrackAtlasIndex="4" tireType="street" />
        <wheel rotSpeed="0" restLoad="2.0" repr="0>2" forcePointRatio="0.3" radius="0.545" width="0.52" initialCompression="50" suspTravel="0.2" spring="45" damper="35" maxLongStiffness="10" maxLatStiffness="40" mass="0.2" hasTyreTracks="false" tyreTrackAtlasIndex="4" tireType="street" />
        <wheel rotSpeed="0" restLoad="2.0" repr="0>3" forcePointRatio="0.3" radius="0.545" width="0.52" initialCompression="50" suspTravel="0.2" spring="45" damper="35" maxLongStiffness="10" maxLatStiffness="40" mass="0.2" hasTyreTracks="false" tyreTrackAtlasIndex="4" tireType="street" />
	<wheel rotSpeed="0" restLoad="2.0" repr="0>4" forcePointRatio="0.3" radius="0.545" width="0.52" initialCompression="50" suspTravel="0.2" spring="85" damper="65" maxLongStiffness="10" maxLatStiffness="40" mass="0.2" hasTyreTracks="false" tyreTrackAtlasIndex="4" tireType="street" />
        <wheel rotSpeed="0" restLoad="2.0" repr="0>5" forcePointRatio="0.3" radius="0.545" width="0.52" initialCompression="50" suspTravel="0.2" spring="85" damper="65" maxLongStiffness="10" maxLatStiffness="40" mass="0.2" hasTyreTracks="false" tyreTrackAtlasIndex="4" tireType="street" />
        <wheel rotSpeed="1" restLoad="2.8" repr="0>25" forcePointRatio="0.2" driveNode="0>25" radius="0.545" width="0.22" initialCompression="50" suspTravel="0.2" spring="30" damper="20" maxLatStiffness="20" mass="0.1" hasTyreTracks="false" tyreTrackAtlasIndex="4" tireType="street" />
        <wheel rotSpeed="1" restLoad="2.8" repr="0>26" forcePointRatio="0.2" driveNode="0>26" radius="0.545" width="0.22" initialCompression="50" suspTravel="0.2" spring="30" damper="20" maxLatStiffness="20" mass="0.1" hasTyreTracks="false" tyreTrackAtlasIndex="4" tireType="street" />
   </wheels>

    <ackermannSteering rotSpeed="60" rotMax="47" rotCenterWheel1="3" rotCenterWheel2="4" />

    <differentials>
        	<differential torqueRatio="0.5" maxSpeedRatio="1.3" wheelIndex1="0" wheelIndex2="1" /> <!-- front left-right -->
		<differential torqueRatio="0.5" maxSpeedRatio="1.3" wheelIndex1="2" wheelIndex2="3" /> <!-- front left-right -->
        	<differential torqueRatio="0.5" maxSpeedRatio="1.3" wheelIndex1="4" wheelIndex2="5" /> <!-- back left-right -->
		<differential torqueRatio="0.5" maxSpeedRatio="1.3" wheelIndex1="6" wheelIndex2="7" /> <!-- back left-right -->

		
		<differential torqueRatio="0.5" maxSpeedRatio="1.2" differentialIndex1="0" differentialIndex2="1" /> <!-- front-back -->
        	<differential torqueRatio="0.5" maxSpeedRatio="1.2" differentialIndex1="2" differentialIndex2="3" /> <!-- front-back -->
		<differential torqueRatio="0.5" maxSpeedRatio="1.2" differentialIndex1="4" differentialIndex2="5" /> <!-- front-back -->

    </differentials>

    <motor torqueScale="3" minRpm="1000" maxRpm="3300" maxBackwardSpeed="25" brakeForce="7" lowBrakeForceScale="0.0" lowBrakeForceSpeedLimit="0" minForwardGearRatio="13.5" maxForwardGearRatio="130" minBackwardGearRatio="50" maxBackwardGearRatio="100">
        <torque normRpm="0.25" torque="2.5"/>
        <torque normRpm="0.45" torque="1.5"/>
        <torque normRpm="0.5" torque="1.6"/>
        <torque normRpm="0.59" torque="1.7"/>
        <torque normRpm="0.72" torque="1"/>
        <torque normRpm="0.86" torque="0.9"/>
        <torque normRpm="1" torque="0.8"/>
    </motor>

    <fuelCapacity>1200</fuelCapacity>
    <fuelUsage>88</fuelUsage>

    <cameras count="2">
        <camera1 index="6|0" rotatable="true" rotateNode="6" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4.5" transMax="35">
        </camera1>
        <camera2 index="7" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" />
    </cameras>

    <lights>
        <light realLight="0>13" decoration="0>14" lightType="0"/>
	<light decoration="0>66|5|2" lightType="0"/>
    </lights>

    <brakeLights>
        <brakeLight index="0>15" />
    </brakeLights>

    <turnSignals>
        <turnSignalLeft index="0>16|0" />
	<turnSignalLeft index="0>66|5|0" />
        <turnSignalRight index="0>16|1" />
	<turnSignalRight index="0>66|5|1" />
    </turnSignals>
	
	<reverseLights>
        <reverseLight index="0>17" />
    </reverseLights>


	<beaconLights>
		<beaconLight index="0>57" rotIndex="0>57|0" speed="0.041" />
		<beaconLight index="0>58" rotIndex="0>58|0" speed="0.028" />
		<beaconLight index="0>59" rotIndex="0>59|0" speed="0.028" />
		<beaconLight index="0>60" rotIndex="0>60|0" speed="0.041" />
		<beaconLight index="0>66|0" speed="0.015" filename="rotators.i3d" />
		<beaconLight index="0>66|1" speed="0.015" filename="rotators.i3d" />
		<beaconLight index="0>66|2" speed="0.015" filename="rotators.i3d" />
		<beaconLight index="0>66|3" speed="0.015" filename="rotators.i3d" />
		<beaconLight index="0>66|4" speed="0.015" filename="rotators.i3d" />
	</beaconLights>
	
    <mirrors>
        <mirror index="0>20|0|5" />
		<mirror index="0>20|0|6" />
    </mirrors>
	
	<indoorHud>
        <speed animName="speedDisplay" />
        <rpm animName="rpmDisplay" />
    </indoorHud>

    <enterReferenceNode index="0>"/>
    <exitPoint index="0>9"/>

    <attacherJoints>
        <attacherJoint index="0>12" jointType="semitrailer" allowsJointLimitMovement="false" allowsLowering="false" maxRotLimit="12 175 12" enableCollision="true" />
        <attacherJoint index="0>33" jointType="trailerLow" allowsJointLimitMovement="false" allowsLowering="false" maxRotLimit="10 80 50" maxTransLimit="0 0 0" canTurnOnImplement="false" />
        <attacherJoint index="0>32" jointType="trailer" allowsJointLimitMovement="false" allowsLowering="false" maxRotLimit="10 80 50" maxTransLimit="0 0 0" canTurnOnImplement="true" />
    </attacherJoints>

    <steering index="0>8|0" indoorRotation="360" outdoorRotation="40" />

    <exhaustEffects>
        <exhaustEffect index="0>61|0" filename="$data/vehicles/particleAnimations/shared/exhaust.i3d" minRpmColor="0.5 0.5 0.5 0.05" maxRpmColor="0.0 0.0 0.0 6.0" minRpmScale="0.05" maxRpmScale="0.3" forwardXRotations="0 0 50" forwardZRotations="0 0 0" steerXRotations="0 0 0" steerZRotations="120 0 -120" />
        <exhaustEffect index="0>62|0" filename="$data/vehicles/particleAnimations/shared/exhaust.i3d" minRpmColor="0.5 0.5 0.5 0.05" maxRpmColor="0.0 0.0 0.0 6.0" minRpmScale="0.05" maxRpmScale="0.3" forwardXRotations="0 0 50" forwardZRotations="0 0 0" steerXRotations="0 0 0" steerZRotations="120 0 -120" />
    </exhaustEffects>
	
	<animations>
        <animation name="speedDisplay">
            <part node="0>18|1" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 -82" />
        </animation>
        <animation name="rpmDisplay">
            <part node="0>18|0" startTime="0" endTime="1" startRot="0 0 -57" endRot="0 0 -170" />
        </animation>
    </animations>

    <characterNode index="0>10|0" cameraMinDistance="1.5" filename="$dataS2/character/player/player.i3d" characterMesh="1" characterGloves="2" characterSkin="0" spineNode="0|0" leftArmIKChainId="leftArm" rightArmIKChainId="rightArm" spineRotation="180 0 100" >
        <ikChains>
            <ikChain id="rightFoot" target="0>10|1" targetOffset="0 0.1 0" alignToTarget="true" isDirtyOnLoad="true" >
                <node index="0|1" />
                <node index="0|1|0"     minRx="0" maxRx="0" minRy="-30" maxRy="30" minRz="0"   maxRz="90" />
                <node index="0|1|0|0"   minRx="0" maxRx="0" minRy="0"   maxRy="0"  minRz="-100" maxRz="-7" />
                <node index="0|1|0|0|0" />
            </ikChain>
            <ikChain id="leftFoot" target="0>10|2" targetOffset="0 0.1 0" alignToTarget="true" isDirtyOnLoad="true">
                <node index="0|2"     />
                <node index="0|2|0"     minRx="0" maxRx="0" minRy="-30" maxRy="30" minRz="0"   maxRz="90" />
                <node index="0|2|0|0"   minRx="0" maxRx="0" minRy="0"   maxRy="0"  minRz="-100" maxRz="-7" />
                <node index="0|2|0|0|0" />
            </ikChain>
            <ikChain id="rightArm" target="0>8|0|0" targetOffset="0.025 0.066 0" alignToTarget="true" isDirtyOnLoad="true">
                <node index="0|0|0|1" />
                <node index="0|0|0|1|0" minRx="-20" maxRx="20" minRy="-20" maxRy="20" minRz="-80" maxRz="80" />
                <node index="0|0|0|1|0|0" minRx="-10" maxRx="10" minRy="0" maxRy="0" minRz="7"   maxRz="130" />
                <node index="0|0|0|1|0|0|0" />
                <rotationNode index="0|0|0|1|0|0|0|0" rotation="0 0 -60" />
                <rotationNode index="0|0|0|1|0|0|0|0|0" rotation="0 0 -60" />
                <rotationNode index="0|0|0|1|0|0|0|1" rotation="-90 20 -40" />
                <rotationNode index="0|0|0|1|0|0|0|1|0" rotation="0 0 -40" />
            </ikChain>
            <ikChain id="leftArm" target="0>8|0|1" targetOffset="-0.025 0.066 0" alignToTarget="true" isDirtyOnLoad="true">
                <node index="0|0|0|2" />
                <node index="0|0|0|2|0" minRx="-20" maxRx="20" minRy="-20" maxRy="20" minRz="-80" maxRz="80" />
                <node index="0|0|0|2|0|0" minRx="-10" maxRx="10" minRy="0" maxRy="0" minRz="7"   maxRz="130" />
                <node index="0|0|0|2|0|0|0" />
                <rotationNode index="0|0|0|2|0|0|0|0" rotation="0 0 -60" />
                <rotationNode index="0|0|0|2|0|0|0|0|0" rotation="0 0 -60" />
                <rotationNode index="0|0|0|2|0|0|0|1" rotation="-90 20 -40" />
                <rotationNode index="0|0|0|2|0|0|0|1|0" rotation="0 0 -40" />
            </ikChain>
        </ikChains>
    </characterNode>

	<washable dirtDuration="90" washDuration="1" workMultiplier="2" />
	
    <aiTrafficCollisionTrigger index="0>11" />

    <motorStartDuration>2500</motorStartDuration>
    <attachSound file="$data/vehicles/shared/truck_attach.wav" pitchOffset="1" />
    <motorStartSound file="sound/engine_on.wav" pitchOffset="0.6" volume="1.0" />
    <motorSound file="sound/engine_idle.wav" pitchOffset="0.6" pitchScale="0.01" pitchMax="1.00" volume="0.4" />
    <motorSoundRun file="sound/engine_mid.wav" pitchOffset="0.3" pitchScale="0.015" pitchMax="1.00" volume="1" />
    <motorStopSound file="sound/engine_off.wav" pitchOffset="0.6" volume="1" />
    <compressedAirSound file="$data/vehicles/shared/brakeBig.wav" pitchOffset="1" volume="1.25"/>
    <compressionSound file="$data/vehicles/shared/brakeBig.wav" pitchOffset="1" volume="1.5"/>
    <honkSound file="sound/hornBig.wav" volume="1" radius="80" innerRadius="35" />
    <reverseDriveSound file="sound/reverse.wav" volume="0" />

    <driveGroundParticleSystems>
        <driveGroundParticleSystem node="0>" position="-0.906 0 -2.192" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="3"/>
        <driveGroundParticleSystem node="0>" position="0.906 0 -2.192"  rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="4"/>
        <driveGroundParticleSystem node="0>" position="-1.07 0 1.437" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="1" />
        <driveGroundParticleSystem node="0>" position="1.074 0 1.437"  rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="2" />
        <driveGroundParticleSystem node="0>" position="-0.906 0 -3.492" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="5"/>
        <driveGroundParticleSystem node="0>" position="0.906 0 -3.492"  rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="6"/>
        <driveGroundParticleSystem node="0>" position="-0.906 0 -0.992" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="7"/>
        <driveGroundParticleSystem node="0>" position="0.906 0 -0.992"  rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="8"/>

    </driveGroundParticleSystems>

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

    <schemaOverlay file="$dataS2/menu/schemas/vehicleSchema.png" fileSelected="$dataS2/menu/schemas/vehicleSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0.5 0">
        <attacherJoint position="1 0" rotation="0" invertX="false" />
    </schemaOverlay>

</vehicle>
