<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="MANNL" >
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
	<!-- By NLD Farmers - Do NOT EDIT AND UPLOAD -->
		     <!-- https://nld-farmers.nl/-->

    <storeData>
        <name>18.480 - A. Helmer B.V.</name>
        <specs>
            <power>480</power>
            <maxSpeed>80</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_truck</function>
        </functions>
        <image>texturen/store_aHelmer_ManTGS18480.dds</image>
        <price>165000</price>
        <dailyUpkeep>540</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>NLD</brand>
        <category>trucks</category>
        <vertexBufferMemoryUsage>2172148</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>385668</indexBufferMemoryUsage>
        <textureMemoryUsage>35651920</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <typeDesc>$l10n_typeDesc_truck</typeDesc>
    <filename>aHelmer_manTGS18480.i3d</filename>

    <wheelConfigurations>
        <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
            <wheels autoRotateBackSpeed="1.7">
                <wheel rotSpeed="1" restLoad="3.3" repr="0>0|0|0" driveNode="0>0|0|0|0|0" forcePointRatio="0.2" filename="$data/vehicles/wheels/trelleborg/TwinRadial_500_60R22_5.xml" configIndex="manFront" isLeft="true"  initialCompression="30" suspTravel="0.32" spring="32" damper="50" hasTireTracks="true" hasParticles="true" />
                <wheel rotSpeed="1" restLoad="3.3" repr="0>0|1|0" driveNode="0>0|1|0|0|0" forcePointRatio="0.2" filename="$data/vehicles/wheels/trelleborg/TwinRadial_500_60R22_5.xml" configIndex="manFront" isLeft="false" initialCompression="30" suspTravel="0.32" spring="32" damper="50" hasTireTracks="true" hasParticles="true" />
                <wheel rotSpeed="0" restLoad="1.6" repr="0>0|2"                           forcePointRatio="0.3" filename="$data/vehicles/wheels/trelleborg/TwinRadial_600_50R22_5.xml" configIndex="manBack"  isLeft="true"  initialCompression="10" suspTravel="0.22" spring="62" damper="50" hasTireTracks="true" hasParticles="true" />
                <wheel rotSpeed="0" restLoad="1.6" repr="0>0|3"                           forcePointRatio="0.3" filename="$data/vehicles/wheels/trelleborg/TwinRadial_600_50R22_5.xml" configIndex="manBack"  isLeft="false" initialCompression="10" suspTravel="0.22" spring="62" damper="50" hasTireTracks="true" hasParticles="true" />
            </wheels>
        </wheelConfiguration>
    </wheelConfigurations>

    <dynamicallyLoadedWheels>
        <dynamicallyLoadedWheel linkNode="0>0|4" filename="$data/vehicles/wheels/trelleborg/TwinRadial_500_60R22_5.xml" configIndex="noHub" isLeft="true"/>
    </dynamicallyLoadedWheels>

    <rimColorConfigurations useDefaultColors="true" defaultColorIndex="8" price="200" icon="$dataS2/menu/hud/configurations/config_rimColor.png">
        <rimColorConfiguration color="0.294 0.294 0.294 1" />
        <colorNode node="0>0" />
    </rimColorConfigurations>

    <axisColor>0.0161 0.0134 0.0120 1</axisColor>

    <ackermannSteering rotSpeed="55" rotMax="47" rotCenterWheel1="2" rotCenterWheel2="3" />

    <differentials>
        <differential torqueRatio="0.5" maxSpeedRatio="1.35" wheelIndex1="0" wheelIndex2="1" /> <!-- front left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.55" wheelIndex1="2" wheelIndex2="3" /> <!-- back left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.35" differentialIndex1="0" differentialIndex2="1" /> <!-- front-back -->
    </differentials>

   <motorConfigurations>
        <motorConfiguration name="D2066" hp="480" price="0">
            <motor torqueScale="2.033" minRpm="1000" maxRpm="2200" maxForwardSpeed="83" maxBackwardSpeed="15" brakeForce="9" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1" rotInertia="0.0015" minForwardGearRatio="8.3" maxForwardGearRatio="150" minBackwardGearRatio="40" maxBackwardGearRatio="150">
                <torque normRpm="0.45" torque="0.5"/>
                <torque normRpm="0.5" torque="0.6"/>
                <torque normRpm="0.59" torque="0.7"/>
                <torque normRpm="0.72" torque="1"/>
                <torque normRpm="0.86" torque="0.88"/>
                <torque normRpm="1" torque="0.7"/>
            </motor>
        </motorConfiguration>
        <motorConfiguration name="D2676" hp="540" price="20500" dailyUpkeep="60" icon="$dataS2/menu/hud/configurations/config_engine.png">
            <motor torqueScale="3.033" />            
        </motorConfiguration>
        <motorConfiguration name="D3876" hp="580" price="35500" dailyUpkeep="90" icon="$dataS2/menu/hud/configurations/config_engine.png">
            <motor torqueScale="4.033" />           
        </motorConfiguration>
    </motorConfigurations>

    <fuelCapacity>400</fuelCapacity>

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

    <lights>
        <low>
            <light                       decoration="0>2|0|0"   lightTypes="0 3" />
            <light realLight="0>2|0|1"                          lightTypes="0" excludedLightTypes="3" /> <!--FrontLights-->
            <light                       decoration="0>2|2|0"   lightTypes="0 1"/> <!--BackLights-->
            <light realLight="0>2|1|0|1" decoration="0>2|1|0|0" lightTypes="1"/> <!--WorklightBack-->
            <light                       decoration="0>2|1|1|0" lightTypes="2"/> <!--WorklightFront-->
            <light realLight="0>2|0|2"                          lightTypes="3"/> <!--HighBeam -->
        </low>
        <high>
            <light                       decoration="0>2|0|0"   lightTypes="0 3" />
            <light realLight="0>2|0|3"                          lightTypes="0" excludedLightTypes="2 3" /> <!--FrontLights-->
            <light realLight="0>2|2|1"   decoration="0>2|2|0"   lightTypes="0 3" /> <!--BackLights-->
            <light realLight="0>2|1|0|2" decoration="0>2|1|0|0" lightTypes="1" /> <!--WorklightBack  -->
            <light realLight="0>2|1|1|1" decoration="0>2|1|1|0" lightTypes="2"  /> <!--WorklightFront -->
            <light realLight="0>2|0|4"                          lightTypes="3" excludedLightTypes="2" /> <!--HighBeam-->
        </high>
        <states>
            <state lightTypes="0" />
            <state lightTypes="0 1" />
            <state lightTypes="0 1 2" />
        </states>
    </lights>

    <brakeLights>
        <brakeLight realLight="0>2|2|1" decoration="0>2|4|0" />
    </brakeLights>

    <beaconLights>
        <beaconLight index="0>2|5|0" speed="0.015" filename="$data/shared/beaconLights/beaconLight02.i3d" />
        <beaconLight index="0>2|5|1" speed="0.015" filename="$data/shared/beaconLights/beaconLight02.i3d" />
    </beaconLights>

    <turnLights>
        <turnLightLeft realLight="0>2|3|0|1" decoration="0>2|3|0|0" />
        <turnLightLeft realLight="0>2|3|0|2" />
		<turnLightLeft realLight="0>2|3|0|3" decoration="0>2|3|0|0|3" />
		<turnLightLeft decoration="0>2|3|0|0|4" />
        <turnLightRight realLight="0>2|3|1|1" decoration="0>2|3|1|0" />
        <turnLightRight realLight="0>2|3|1|2" />
		<turnLightRight realLight="0>2|3|1|3" decoration="0>2|3|1|0|4" />
        <turnLightRight decoration="0>2|3|1|0|3" />		
    </turnLights>

    <reverseLights>
        <reverseLight realLight="0>2|6|1" decoration="0>2|6|0" />
    </reverseLights>
	
    <LightAddon drlAllwaysOn="true">
	   <drl decoration="0>2|7" />
	   <drl decoration="0>2|8" />
	   <strobe decoration="0>12|10|2" realLight="0>12|10|5" isBeacon="true" />
       <strobe decoration="0>12|10|3" realLight="0>12|10|4" isBeacon="true" />
    </LightAddon>
	
    <mirrors>
        <mirror index="0>10|0" prio="1" />
        <mirror index="0>10|1" prio="1" />
        <mirror index="0>10|2" prio="3" />
        <mirror index="0>10|3" prio="2" />
    </mirrors>

    <indoorHud>
        <speed animName="speedDisplay" minValueAnim="0" maxValueAnim="125" />
        <rpm  animName="rpmDisplay" minValueAnim="0" maxValueAnim="3000"/>
        <fuel animName="fuelDisplay" />
    </indoorHud>

    <enterReferenceNode index="0>"/>
    <exitPoint index="0>3"/>
	
	<attacherJoints comboDuration="2">
        <attacherJoint index="0>14|0|0|0" rotationNode="0>14|0" rotationNode2="0>14|0|0" upperRotation="-24 0 0" lowerRotation="21 0 0" upperDistanceToGround="0.97" lowerDistanceToGround="0.36" upperRotationOffset="-0.7" moveTime="2.5" ptoOutputNode="0>14|4" comboTime="0">
            <bottomArm rotationNode="0>14|1" translationNode="0>14|1|0" referenceNode="0>14|1|0|0" zScale="1" startRotation="-25 0 0"/>
            <topArm baseNode="0>14|2" filename="$data/shared/vehicleParts/upperLink.i3d" zScale="1" toggleVisibility="true" />
            <schema position="0 0" rotation="0" invertX="true" />
            <objectChange node="0>14|1|0|2|0" rotationActive="0 0 0" />
            <objectChange node="0>14|1|0|3|0" rotationActive="0 0 0" />
        </attacherJoint>
          <attacherJoint index="0>16|0|0|0" rotationNode="0>16|0" rotationNode2="0>16|0|0" upperRotation="-24 0 0" lowerRotation="21 0 0" upperDistanceToGround="0.97" lowerDistanceToGround="0.36" upperRotationOffset="-0.7" moveTime="2.5" ptoOutputNode="0>16|4" comboTime="0">
            <bottomArm rotationNode="0>16|1" translationNode="0>16|1|0" referenceNode="0>16|1|0|0" zScale="1" startRotation="-25 0 0"/>
            <topArm baseNode="0>16|2" filename="$data/shared/vehicleParts/upperLink.i3d" zScale="1" toggleVisibility="true" />
            <schema position="1 0" rotation="0" invertX="false" />
            <objectChange node="0>16|1|0|2|0" rotationActive="0 0 0" />
            <objectChange node="0>16|1|0|3|0" rotationActive="0 0 0" />
        </attacherJoint>			
        <attacherJoint index="0>14|3" jointType="trailer" allowsJointLimitMovement="false" upperRotationOffset="0" lowerRotLimit="10 65 65" comboTime="1">
            <schema position="3.5 0 " rotation="0" invertX="false"/>
        </attacherJoint>
        <attacherJoint index="0>5|0" jointType="semitrailer" allowsJointLimitMovement="false" allowsLowering="false" lowerRotLimit="12 175 12" enableCollision="true" >
            <schema position="1 0" rotation="0" invertX="false" />
        </attacherJoint>
        <attacherJoint index="0>5|2" jointType="trailer" lowerRotLimit="10 65 65" upperRotationOffset="0" allowsJointLimitMovement="false" >
            <schema position="0 0" rotation="0" invertX="true" />
        </attacherJoint>
	</attacherJoints>
	
	
    <attacherJointConfigurations>
        <attacherJointConfiguration name="$l10n_configuration_valueDefault" price="0">
            <objectChange node="0>5|1" visibilityActive="false"/>
        </attacherJointConfiguration>
        <attacherJointConfiguration name="$l10n_configuration_trailerAttacherBack" price="700">
            <attacherJoint index="0>5|1|0|0" jointType="trailer" transNode="0>5|1|0" transNodeMinY="0.323" transNodeMaxY="0.95" lowerRotLimit="10 65 65" upperRotationOffset="0" allowsJointLimitMovement="false">
                <schema position="1 0" rotation="0" invertX="false" />
                <attachSound file="$data/sounds/attach.wav" pitchOffset="1.20" volume="1.10"  indoorVolumeFactor="0.75" indoorLowpassGain="0.75"/>
            </attacherJoint>
            <attacherJoint index="0>5|1|1|0" transNode="0>5|1|1" transNodeMinY="0.5" transNodeMaxY="0.7" jointType="trailerLow" lowerRotLimit="10 50 50" lowerTransLimit="0 0 0" upperRotRotationOffset="0" allowsJointLimitMovement="false" ptoOutputNode="0>16|4" comboTime="1">
            <schema position="1 0" rotation="0" invertX="false" />
             <attachSound file="$data/sounds/attach.wav" pitchOffset="1.20" volume="1.10"  indoorVolumeFactor="0.75" indoorLowpassGain="0.75"/>            
            <objectChange node="0>5|1|0" visibilityActive="false"  visibilityInactive="true" />
			<steeringBars leftNode="0>5|1|1|1" rightNode="0>5|1|1|2" />
        </attacherJoint>	
            <objectChange node="0>5|1" visibilityActive="true"/>
        </attacherJointConfiguration>
    </attacherJointConfigurations>

    <movingParts>
        <!-- steeringnld -->
        <movingPart index="0>0|1|0|1" referencePoint="0>0|0|0|1" referenceFrame="0>" isActiveDirty="true" scaleZ="true" />
		
		 <movingPart index="14|5" referencePoint="0>14|1|0|1" referenceFrame="14" >
            <translatingPart index="0>14|5|1" />
            <dependentPart index="0>14|5|0" />
        </movingPart>
        <movingPart index="0>14|5|1" referencePoint="0>14|1|1" referenceFrame="14|5" scaleZ="true" />
		
		 <movingPart index="16|5" referencePoint="0>16|1|0|1" referenceFrame="16" >
            <translatingPart index="0>16|5|1" />
            <dependentPart index="0>16|5|0" />
        </movingPart>
        <movingPart index="0>16|5|1" referencePoint="0>16|1|1" referenceFrame="16|5" scaleZ="true" />
    </movingParts>
	
	 <movingTools>	   
        <movingTool index="0>14|1">           
            <dependentPart index="0>14|5|0" />
        </movingTool>
		
		    <movingTool index="0>16|1">           
            <dependentPart index="0>16|5|0" />
        </movingTool>               
    </movingTools>	

    <animations>
        <animation name="speedDisplay">
            <part node="0>9|0" startTime="0" endTime="1" startRot="0 0 0" endRot="-200 0 0" />
        </animation>
        <animation name="rpmDisplay">
            <part node="0>9|1" startTime="0" endTime="1" startRot="0 0 0" endRot="-218 0 0" />
        </animation>
        <animation name="fuelDisplay">
            <part node="0>9|2" startTime="0" endTime="1" startRot="0 0 0" endRot="-60 0 0" />
        </animation>
		<animation name="Hydraulik">
		    <part node="0>14"  startTime="0" endTime="0.01" startTrans="0 60 0" endTrans="0 60 0" visibility="false"/>
			<part node="0>14"  startTime="0.01" endTime="0.02" startTrans="0 0 0" endTrans="0 0 0"  visibility="true" />			
		</animation> 
		<animation name="Hydraulik_rear">
		    <part node="0>16"  startTime="0" endTime="0.01" startTrans="0 60 2.83372998" endTrans="0 60 0" visibility="false"/>
			<part node="0>16"  startTime="0.01" endTime="0.02" startTrans="0 0 0" endTrans="0 0 0"  visibility="true" />			
		</animation> 
		<animation name="Fenster_Links">
			<part node="0>12|4|4"   startTime="0" duration="2"  startTrans="1.05499995 2.86319995 2.14701009" endTrans="1.05499995 2.2799499 2.14701009"/>
		</animation>
		<animation name="Fenster_Rechts">
			<part node="0>12|4|5"   startTime="0" duration="2"  startTrans="-1.05599999 2.85899997 2.14980006"  endTrans="-1.05599999 2.2799499 2.14980006"/>
        </animation>
    </animations>

    <steering index="0>4|0" indoorRotation="360" outdoorRotation="37" />

    <characterNode index="0>6|0" cameraMinDistance="1.5" filename="$dataS2/character/player/player.xml" spineRotation="180 0 100" >
        <target ikChain="rightFoot" targetNode="0>6|1" />
        <target ikChain="leftFoot"  targetNode="0>6|2" />
        <target ikChain="rightArm"  targetNode="0>4|0|0" setDirty="true"/>
        <target ikChain="leftArm"   targetNode="0>4|0|1" setDirty="true" />
    </characterNode>
	
	<BeifahrerScript>
        <Beifahrer NicknameNodeIndex="0>17|1" FarmerNode="0>17|0">
            <Kamera index="0>17|2" rotatable="true" limit="false" transMin="0" transMax="0" useMirror="true" isInside="true" useDefaultPositionSmoothing="false"/>
        </Beifahrer>
    </BeifahrerScript>
	
	<interactiveComponents>
        <windows>
             <window name="Hydraulik"      mark="0>12|3|0"size="0.03"   animName="Hydraulik"      onMessage="ic_component_show" offMessage="ic_component_hide"/>
             <window name="Hydraulik_rear"      mark="0>12|3|1"size="0.03"   animName="Hydraulik_rear"      onMessage="ic_component_show" offMessage="ic_component_hide"/>
			 <window name="Fenster_Links"  mark="0>12|4|7"size="0.03" animName="Fenster_Links"  onMessage="ic_component_open" offMessage="ic_component_close"/>
			 <window name="Fenster_Rechts" mark="0>12|4|8"size="0.03" animName="Fenster_Rechts" onMessage="ic_component_open" offMessage="ic_component_close"/>
        </windows>
    </interactiveComponents>

    <ai>
        <trafficCollisionTrigger index="0>7|0" />
    </ai>

    <exhaustEffects>
        <exhaustEffect index="0>8" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.1" maxRpmColor="0.9 0.9 0.9 0.4" minRpmScale="0.05" maxRpmScale="0.5" xzRotationsOffset="40 0" xzRotationsForward="-20 0" xzRotationsBackward="100 0" xzRotationsLeft="0 -100" xzRotationsRight="0 100" />
    </exhaustEffects>

    <motorStartDuration>2500</motorStartDuration>

    <motorStartSound file="$data/vehicles/steerable/man/manTGS18480_start.wav" pitchOffset="1.00"  volume="1.10"  indoorVolumeFactor="0.56"  indoorLowpassGain="0.95"/>
    <motorSound file="$data/vehicles/steerable/man/manTGS18480_idle.wav"       pitchOffset="1.00"  volume="1.10"  indoorVolumeFactor="0.56"  indoorLowpassGain="0.95" pitchMax="1.55" volumeMin="0.45" volumeMinSpeed="20" />
    <motorStopSound file="$data/vehicles/steerable/man/manTGS18480_stop.wav"   pitchOffset="1.00"  volume="1.10 " indoorVolumeFactor="0.56"  indoorLowpassGain="0.95"/>

    <motorSoundRun file="$data/vehicles/steerable/man/manTGS18480_run.wav"     pitchOffset="0.70"  volume="0.75"  indoorVolumeFactor="0.51"  indoorLowpassGain="0.85" pitchMax="1.15" />
    <motorSoundLoad file="$data/sounds/engine/loadHP150.wav"                   pitchOffset="0.58"  volume="1.20"  indoorVolumeFactor="0.46"  indoorLowpassGain="0.95" pitchMax="1.22" minimalVolumeFactor="0.20"/>

    <gearboxSound file="$data/sounds/transmission/transmissionFS15.wav"        pitchOffset="0.60"  volume="0.30"  indoorVolumeFactor="0.65"  indoorLowpassGain="0.75" pitchMax="0.90"  volumeMax="0.70" reverseVolumeMax="0.20"/>
    <retarderSound file="$data/sounds/transmission/transmissionCVT_X.wav"      pitchOffset="0.58"  volume="0.22"  indoorVolumeFactor="0.65"  indoorLowpassGain="0.80" pitchMax="1.75"  volumeMax="0.37"    minSpeed="0.1" />

    <brakeCompressor capacity="10000" fillSpeed="950" />
    <maximalAirConsumptionPerFullStop value="3400" />
    <brakeCompressorStartSound file="$data/sounds/technicalAccessories/compressor_controller.wav" pitchOffset="1.00" volume="0.65" indoorVolumeFactor="0.60" indoorLowpassGain="0.95" />
    <brakeCompressorRunSound file="$data/sounds/technicalAccessories/compressor_idle.wav"         pitchOffset="0.86" volume="0.18" indoorVolumeFactor="0.20" indoorLowpassGain="0.95"    pitchMax="1.1"  />
    <brakeCompressorStopSound file="$data/sounds/technicalAccessories/pressure_regulator.wav"     pitchOffset="1.00" volume="0.75" indoorVolumeFactor="0.46" indoorLowpassGain="0.95" />
		<compressedAirSound file="$data/sounds/technicalAccessories/brakeSmall.wav"                   pitchOffset="1.00" volume="0.75" indoorVolumeFactor="0.30" indoorLowpassGain="0.95" />
		<airReleaseValveSound        file="$data/sounds/technicalAccessories/regulator_valve.wav"     pitchOffset="0.96" volume="1.05" indoorVolumeFactor="0.50" indoorLowpassGain="0.95"/>

    <attachSound file="$data/sounds/truck_attach.wav"                                             pitchOffset="1.10"  volume="1.00"   indoorVolumeFactor="0.30"   indoorLowpassGain="0.90"/>
    <hydraulicSound file="$data/sounds/hydraulicUp.wav"                                           pitchOffset="1.00"  volume="0.45"   indoorVolumeFactor="0.55"   indoorLowpassGain="0.90" />
    <honkSound file="$data/sounds/hornBig.wav"                                                    pitchOffset="0.94"  volume="1.55"   indoorVolumeFactor="0.25"   indoorLowpassGain="0.90"  radius="100" innerRadius="18.775" />

    <speedRotatingParts>
        <speedRotatingPart index="0>11|0|0" wheelIndex="0" wheelScale="2" />
        <speedRotatingPart index="0>11|1|0" wheelIndex="0" wheelScale="2" />
        <speedRotatingPart index="0>11|2"   wheelIndex="0" wheelScale="2" />
        <speedRotatingPart index="0>11|3|0" wheelIndex="0" wheelScale="2" />
        <speedRotatingPart index="0>11|4"   wheelIndex="0" wheelScale="2" />
        <speedRotatingPart index="0>11|5"   wheelIndex="0" wheelScale="2" />
        <speedRotatingPart index="0>11|6|0" wheelIndex="0" wheelScale="2" />
        <speedRotatingPart index="0>11|7"   wheelIndex="0" wheelScale="2" />
    </speedRotatingParts>

    <washable dirtDuration="60" washDuration="1" workMultiplier="4" />

    <components count="2">
        <component1 centerOfMass="0 0.65 0.3" solverIterationCount="10" />
		<component2 solverIterationCount="6"/>
        <joint component1="0" component2="1" index="0>15" rotLimit="23 0 0" transLimit="0 0 0" breakable="false"/>
    </components>

    <schemaOverlay file="$dataS2/menu/schemas/vehicleSchema.png" fileSelected="$dataS2/menu/schemas/vehicleSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0.5 0" />

</vehicle>