<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="Genesis">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Valmet 2105</en>
        <de>Valmet 2105</de>
    </name>
    <description></description>
    <filename>vamlet.i3d</filename>
    <wheels autoRotateBackSpeed="2.5">
        <wheel rotSpeed="70" rotMax="30" rotMin="-30" driveMode="2" repr="1>0" driveNode="1>0|1" radius="0.78" deltaY="0" suspTravel="0.5" spring="6" damper="1" mass="0.42" lateralStiffness="25" />
        <wheel rotSpeed="70" rotMax="30" rotMin="-30" driveMode="2" repr="1>1" driveNode="1>1|1" radius="0.78" deltaY="0" suspTravel="0.5" spring="6" damper="1" mass="0.42" lateralStiffness="25" />
        <wheel rotSpeed="0" driveMode="1" repr="0" radius="0.98" deltaY="0" suspTravel="0" spring="180" damper="3" mass="0.6" lateralStiffness="25" />
        <wheel rotSpeed="0" driveMode="1" repr="1" radius="0.98" deltaY="0" suspTravel="0" spring="180" damper="3" mass="0.6" lateralStiffness="25" />
    </wheels>
   <motor minRpm="100" maxRpm="490 930 2150 530" maxTorques="3.7 6.0 -1 3.5" brakeForce="25" lowBrakeForceScale="0.5" lowBrakeForceSpeedLimit="1" accelerations="0.4 1 1 1" forwardGearRatio="10.5" backwardGearRatio="9" differentialRatio="1" rpmFadeOutRange="50">
		<torque rpm="2250" torque="8.5"/>

		<backwardTorque rpm="350" torque="10"/>
		<backwardTorque rpm="550" torque="3.3"/>
    </motor>
	<accelerationSpeed maxAcceleration="0.10" deceleration="0.25" backwardDeceleration="0.7" />
    <fuelCapacity>416</fuelCapacity>
    <fuelUsage>0.006</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="3" 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" />	
	</lightCoronas>

	<workLights>
	    <workLight index="11" />
	</workLights>
	
    <steering index="15|0" rotationSpeed="6"/>
    <cuttingAreas count="0">
        <cuttingArea1 startIndex="4" widthIndex="5" heightIndex="6" losing="true"/>
    </cuttingAreas>
    <enterReferenceNode index="0>" />
    <exitPoint index="7" />
    <size width="3.8" length="7.5" lengthOffset="-0.2"/>

    <trailerAttacherJoints>
        <trailerAttacherJoint index="8" maxRotLimit="10 80 80" shaft="26" />
        <trailerAttacherJoint index="17" low="true" shaft="26" />
    </trailerAttacherJoints>
    <tipCamera index="9" />

    <motorStartDuration>2500</motorStartDuration>
    <attachSound file="$data/vehicles/steerable/deutz/attach.wav" pitchOffset="1" />
    <motorStartSound file="material/Genesis_start.wav" pitchOffset="1" volume="1" />
    <motorSound file="material/Genesis_idle.wav" pitchOffset="1" pitchScale="0.02" pitchMax="1.45" volume="1" />
    <motorSoundRun file="material/Genesis_run.wav" pitchOffset="0.5" pitchScale="0.033" pitchMax="1.05" volume="0.5" />
    <motorStopSound file="$data/vehicles/steerable/deutz/agrotron_x_out.wav" pitchOffset="1" volume="1" />
    <compressedAirSound file="$data/vehicles/steerable/deutz/compressedAir.wav" pitchOffset="1" volume="1"/>
    <aiMotorSound file="material/Genesis_AIidle.wav" pitchOffset="1" radius="50" innerRadius="20" volume="1.25" />

    <exhaustParticleSystems count="1">
        <exhaustParticleSystem1 node="19" file="material/exhaustParticleSystem.i3d" />
    </exhaustParticleSystems>

    <honkSound file="$dataS2/sounds/horn.wav" client="$dataS2/sounds/horn3D.wav" volume="1" radius="80" innerRadius="35" />

    <attacherJoints>
        <attacherJoint index="12|0|0" rotationNode="12" maxRot="-14 0 0" rotationNode2="12|0" maxRot2="12 0 0" maxTransLimit="0 0.5 0" maxRotLimit="0 0 20" moveTime="1.5" shaft="26">
            <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="28|0|0|0" rotationNode="28|0" maxRot="10 0 0" rotationNode2="28|0|0" maxRot2="-7 0 0" maxTransLimit="0 0.4 0" maxRotLimit="0 0 20" moveTime="1.5" shaft="26|0">
            <bottomArm rotationNode="28|1" translationNode="28|1|0" referenceNode="28|1|0|0" zScale="1" />
            <topArm rotationNode="28|2" translationNode="28|2|0" referenceNode="28|2|0|0" zScale="1" />
        </attacherJoint>
    </attacherJoints>
    <characterNode index="16" cameraMinDistance="1.5" />
    <aiTrafficCollisionTrigger index="18" />

	<backHydraulic rootArm="27|0" bottomArm="13" />
	<hydraulics count="3">
		<hydraulic1 index="13|0|2" punch="13|0|2|0" punchFixpoint="13|0|2|0|0" fixpoint="27|0|0" /> <!-- LifterLink1 -->
		<hydraulic2 index="1>0|2" fixpoint="1>1|2" /> <!-- SteerBar -->
		<hydraulic3 index="27|6" punch="27|6|0" punchFixpoint="27|6|0|0" fixpoint="28|1|0|2" /> <!-- LifterHydraulic -->
	</hydraulics>		

	<rotationPortaEsq index="27|1" minRot="0 0 0" maxRot="0 60 0" rotTime="1.0" touchRotLimit="10" /> <!-- doorleft -->
	<rotationPortaDta index="27|2" minRot="0 0 0" maxRot="0 -60 0" rotTime="1.0" touchRotLimit="10" /> <!-- doorright -->
	<rotationVidroTra index="27|3" minRot="0 0 0" maxRot="60 0 0" rotTime="1.6" touchRotLimit="10" /> <!-- backwindow -->
	<rotationEmbraiagem index="27|5|0" minRot="0 0 0" maxRot="-22 0 0" rotTime="0.2" touchRotLimit="10" /> <!-- clutch -->
	<rotationAcelerador index="27|5|1" minRot="0 0 0" maxRot="-11 0 0" rotTime="0.5" touchRotLimit="10" /> <!-- Accelerator -->
	<rotationTravoes index="27|5|2" minRot="0 0 0" maxRot="-22 0 0" rotTime="0.6" touchRotLimit="10" /> <!-- brakes -->

    <components count="2">
        <component1 centerOfMass="0 -0.5 -1" solverIterationCount="190" />
	<component2 centerOfMass="0 -1 0" solverIterationCount="190" />
		<joint component1="0" component2="1" index="0>25" rotLimit="0 0 5" transLimit="0 0 0"/>
        	<collisionPair component1="0" component2="1" enabled="false"/>
		<joint component1="0" component2="1" index="1>0" rotLimit="0 0 7" transLimit="0 0 0" breakable="false"/>
    </components>

	<DWheels>
		<DWheel index="0|0" />
		<DWheel index="1|0" />
	</DWheels>

	<beaconLights>
		<beaconLight index="24|4|0" speed="0.02" />
		<beaconLight index="24|4|1" speed="0.02" />
	</beaconLights>

</vehicle>
