<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="Zettelmeyer">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
	<typeDesc>Atlas</typeDesc>
    <filename>ZZL602.i3d</filename>
    <size width="3.0" length="6.0"/>
	
    <wheels autoRotateBackSpeed="2.5">
        <wheel rotSpeed="0" repr="0" radius="0.498" restLoad="4.8" initialCompression="30" suspTravel="0.15" spring="180" damper="25" hasTireTracks="true" tireTrackAtlasIndex="0" mass="1.2" hasParticles="true"/>
        <wheel rotSpeed="0" repr="1" radius="0.498" restLoad="4.8" initialCompression="30" suspTravel="0.15" spring="180" damper="25" hasTireTracks="true" tireTrackAtlasIndex="0" mass="1.2" hasParticles="true"/>
        <wheel rotSpeed="0" repr="1>1" radius="0.498" restLoad="4.8" initialCompression="30" suspTravel="0.15" spring="180" damper="25" hasTireTracks="true" tireTrackAtlasIndex="0" mass="1.2" hasParticles="true"/>
        <wheel rotSpeed="0" repr="1>2" radius="0.498" restLoad="4.8" initialCompression="30" suspTravel="0.15" spring="180" damper="25" hasTireTracks="true" tireTrackAtlasIndex="0" mass="1.2" hasParticles="true"/>
    </wheels>
	
    <differentials>
        <differential torqueRatio="0.5" maxSpeedRatio="1.8" wheelIndex1="0" wheelIndex2="1" /> <!-- front left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.8" wheelIndex1="2" wheelIndex2="3" /> <!-- back left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.8" differentialIndex1="0" differentialIndex2="1" /> <!-- front-back -->
    </differentials>
	
    <motorConfigurations>
        <motorConfiguration name="$l10n_configuration_valueDefault" price="0">
            <motor torqueScale="0.783" minRpm="1000" maxRpm="2200" maxForwardSpeed="27" maxBackwardSpeed="15" brakeForce="7" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1" rotInertia="0.002" minForwardGearRatio="24" maxForwardGearRatio="150" minBackwardGearRatio="40" maxBackwardGearRatio="150">
                <torque normRpm="0.45" torque="0.9"/>
                <torque normRpm="0.5" torque="0.97"/>
                <torque normRpm="0.59" torque="1"/>
                <torque normRpm="0.72" torque="1"/>
                <torque normRpm="0.86" torque="0.88"/>
                <torque normRpm="1" torque="0.72"/>
            </motor>
        </motorConfiguration>
    </motorConfigurations>
	
    <fuelCapacity>60</fuelCapacity>
    
	<cameras count="2">
        <camera1 index="4|0" rotatable="true" rotateNode="4" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="0" transMin="4" transMax="50"/>
        <camera2 index="0>10|0|6" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" />
    </cameras>
	
    <lights>
        <low>
            <light realLight="1>7|0|0|1" decoration="1>7|0|0|0" lightTypes="0"/>
			<light realLight="0>19|1|1" decoration="0>19|1|0" lightTypes="0"/>
			<light realLight="0>19|0|0|1" decoration="0>19|0|0|0" lightTypes="1"/>
		</low>
        <high>
            <light realLight="1>7|0|0|1" decoration="1>7|0|0|0" lightTypes="0"/>
			<light realLight="0>19|1|1" decoration="0>19|1|0" lightTypes="0"/>
			<light realLight="0>19|0|0|1" decoration="0>19|0|0|0" lightTypes="1"/>
		</high>
        <states>
            <state lightTypes="0" />
            <state lightTypes="0 1" />
		</states>
    </lights>

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

    <turnLights>
        <turnLightLeft realLight="0>19|2|0|1" decoration="0>19|2|0|0" />
		<turnLightLeft realLight="1>7|1|0|1" decoration="1>7|1|0|0" />
        <turnLightRight realLight="0>19|2|1|1" decoration="0>19|2|1|0" />
        <turnLightRight realLight="1>7|1|1|1" decoration="1>7|1|1|0" />
    </turnLights>

    <reverseLights>
        <reverseLight realLight="0>19|3|1" decoration="0>19|3|0" />
    </reverseLights>
	
    <beaconLights>
        <beaconLight index="0>15" speed="0.011" filename="$data/shared/beaconLights/beaconLight02.i3d"/>
    </beaconLights>
	
    <steering index="0>16|0" indoorRotation="540" outdoorRotation="60"/>
    <characterNode index="0>17|0" cameraMinDistance="1.5" filename="$dataS2/character/player/player.xml" spineRotation="180 0 105">
        <target ikChain="rightFoot" targetNode="0>17|1" setDirty="true"/>
        <target ikChain="leftFoot" targetNode="0>17|2" setDirty="true"/>
        <target ikChain="rightArm" targetNode="0>16|0|1" setDirty="true"/>
        <target ikChain="leftArm" targetNode="0>16|0|2" setDirty="true"/>
    </characterNode>
	
    <enterReferenceNode index="0>"/>
    <exitPoint index="9"/>
	
    <articulatedAxis componentJointIndex="0" anchorActor="0" rotSpeed="43" rotMax="33" rotMin="-33"/>
    
	<attacherJoints>
        <attacherJoint index="1>0|1|0|0" jointType="frontloader" rootNode="1>" allowsJointLimitMovement="false" allowsLowering="false" rotLimitSpring="7500 7500 7500" rotLimitDamping="5 5 5" transLimitSpring="7500 7500 7500" transLimitDamping="5 5 5">
            <schema position="0 0.4" rotation="0" invertX="true"/>
        </attacherJoint>
        <attacherJoint index="1>0|1|0|2" jointType="telehandler" rootNode="1>" allowsJointLimitMovement="false" allowsLowering="false" rotLimitSpring="7500 7500 7500" rotLimitDamping="5 5 5" transLimitSpring="7500 7500 7500" transLimitDamping="5 5 5">
            <schema position="0 0.4" rotation="0" invertX="true"/>
        </attacherJoint>
        <attacherJoint index="1>0|1|0|4" jointType="implement" rootNode="1>" allowsJointLimitMovement="false" allowsLowering="false" rotLimitSpring="7500 7500 7500" rotLimitDamping="5 5 5" transLimitSpring="7500 7500 7500" transLimitDamping="5 5 5">
            <schema position="0 0.4" rotation="0" invertX="true"/>
        </attacherJoint>
        <attacherJoint index="1>0|1|0|3" jointType="cutter" rootNode="1>" allowsJointLimitMovement="false" allowsLowering="false" rotLimitSpring="7500 7500 7500" rotLimitDamping="5 5 5" transLimitSpring="7500 7500 7500" transLimitDamping="5 5 5">
            <schema position="0 0.4" rotation="0" invertX="true"/>
        </attacherJoint>
        <attacherJoint index="1>0|1|0|5" jointType="cutterHarvester" rootNode="1>" allowsJointLimitMovement="false" allowsLowering="false" rotLimitSpring="7500 7500 7500" rotLimitDamping="5 5 5" transLimitSpring="7500 7500 7500" transLimitDamping="5 5 5">
            <schema position="0 0.4" rotation="0" invertX="true"/>
        </attacherJoint>
        <attacherJoint index="0>10|0|1" jointType="trailerLow" allowsJointLimitMovement="false" upperRotationOffset="0" lowerRotLimit="10 50 50">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
        <attacherJoint index="0>10|0|10" jointType="trailer" allowsJointLimitMovement="false" upperRotationOffset="0" lowerRotLimit="10 50 50">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
    </attacherJoints>
	
    <movingTools>
        <movingTool index="1>0|1">
            <controls axis="AXIS_FRONTLOADER_ARM" icon="$dataS2/menu/moveControls/frontloader_arm.png" invertAxis="true" invertMouseAxis="true" speedFactor="0.9"/>
            <rotation rotSpeed="40" rotAcceleration="300" rotMax="90" rotMin="0"/>
            <attacherJoint jointIndices="0 1 2 3 4" />
            <dependentPart index="1>0|2"/>
            <dependentPart index="1>0|1|0"/>
        </movingTool>
        <movingTool index="1>0|1|0">
            <controls axis="AXIS_FRONTLOADER_TOOL" icon="$dataS2/menu/moveControls/frontloader_tool.png" invertAxis="true" invertMouseAxis="true" speedFactor="0.9"/>
            <rotation rotSpeed="45" rotAcceleration="500" rotMax="105" rotMin="-35"/>
            <dependentPart index="1>0|1|1|0"/>
			<attacherJoint jointIndices="0 1 2 3 4" />
        </movingTool>
    </movingTools>
	
    <movingParts>
        <!-- big hinge -->
        <movingPart index="1>0|1|1|0" referencePoint="1>0|1|0|1" localReferencePoint="1>0|1|1|0|0" referenceFrame="1>5">
            <dependentPart index="1>0|1|1|0|0"/>
            <!-- big hinge zyl-->
            <dependentPart index="1>0|3"/>
            <!-- hydraulic high -->
        </movingPart>
        <!-- big hinge cyl-->
        <movingPart index="1>0|1|1|0|0" referencePoint="1>0|1|0|1" referenceFrame="1>0|1"playSound="true"/>
        <!-- hydraulic_high -->
        <movingPart index="1>0|3" referencePoint="1>0|1|1|0|1" referenceFrame="1>0|1"playSound="true">
            <translatingPart index="1>0|3|0"/>
        </movingPart>
        <!-- hydraulic_low -->
        <movingPart index="1>0|2" referencePoint="1>0|1|2" referenceFrame="1>0|1"playSound="true">
            <translatingPart index="1>0|2|0|0|0"/>
        </movingPart>
        <!-- cardan shaft -->
        <movingPart index="10|0|0|0" referencePoint="1>0|0|0" referenceFrame="10|0|0"/>
    </movingParts>

	<!-- Zettelmeyer ZL 602 Motor Sounds By LudmillaPower -->

    <motorStartSound file="Sounds/ZL602_Start.wav"               pitchOffset="1" volume="1" indoorVolumeFactor="0.40" indoorLowpassGain="0.75" />
    <motorSound file="Sounds/ZL602_idle.wav"                     pitchOffset="1" volume="1.00" indoorVolumeFactor="0.40" indoorLowpassGain="0.75"  pitchMax="1.65"  volumeMin="0.20" volumeMinSpeed="26" />
    <motorStopSound file="Sounds/ZL602_Stop.wav"                 pitchOffset="1" volume="1.80" indoorVolumeFactor="0.40" indoorLowpassGain="0.75"  />

    <motorSoundRun file="Sounds/ZL602_Run.wav"            pitchOffset="0.55" volume="1.2" indoorVolumeFactor="0.35" indoorLowpassGain="0.95" pitchMax="0.99" minimalVolumeFactor="0.20"/>
  <motorSoundLoad file="Sounds/ZL602_Load.wav" pitchOffset="0.66" volume="2" indoorVolumeFactor="0.40" indoorLowpassGain="0.95" pitchMax="1.5" pitchScale="0.0225" minimalVolumeFactor="1.0"/>
    <gearboxSound file="Sounds/ZL602_Getriebe.wav"                 pitchOffset="0.1" pitchScale="0.0225" volume="0.0" indoorVolumeFactor="1.70" indoorLowpassGain="0.75" pitchMax="1.0" volumeMax="0.55" reverseVolumeMax="0.60" />
    <retarderSound file="Sounds/ZL602_Run.wav"                   pitchOffset="0.65" volume="0.10" indoorVolumeFactor="1.70" indoorLowpassGain="0.75" pitchMax="1.1" volumeMax="0.90" minSpeed="0.1" />

    <brakeCompressor capacity="10000" fillSpeed="250" />
    <maximalAirConsumptionPerFullStop value="2450" />
    <brakeCompressorStartSound file="$data/vehicles/steerable/jcb/jcb_module.wav"             pitchOffset="1.07" volume="0.80" indoorVolumeFactor="0.75 " indoorLowpassGain="0.75" />
    <brakeCompressorRunSound file="$data/sounds/technicalAccessories/compressor_idle.wav"     pitchOffset="0.92" volume="0.22" indoorVolumeFactor="0.20" indoorLowpassGain="0.75" pitchMax="1.10" />
    <brakeCompressorStopSound file="$data/sounds/technicalAccessories/pressure_regulator.wav" pitchOffset="1.10" volume="0.75" indoorVolumeFactor="0.75" indoorLowpassGain="0.75" />
    <compressedAirSound file="$data/sounds/technicalAccessories/brakeSmall.wav"               pitchOffset="1.15" volume="1.10" indoorVolumeFactor="0.55" indoorLowpassGain="0.75" />
    <airReleaseValveSound      file="$data/sounds/technicalAccessories/regulator_valve.wav"   pitchOffset="0.98" volume="1.00" indoorVolumeFactor="0.95" indoorLowpassGain="0.75"/>

    <attachSound file="$data/sounds/attach.wav"                                               pitchOffset="1.00"  volume="1.00" indoorVolumeFactor="0.45" indoorLowpassGain="0.75"/>
    <honkSound file="$data/sounds/hornBig.wav"                                                pitchOffset="0.98"  volume="1.50" indoorVolumeFactor="0.20" indoorLowpassGain="0.75" radius="70" innerRadius="10" />
    <cylinderedHydraulicSound file="$data/sounds/hydraulicUp.wav"                  pitchOffset="0.85" volume="0.55" indoorVolumeFactor="0.20" indoorLowpassGain="0.65" />
    
	<exhaustEffects>
        <exhaustEffect filename="$data/particleSystems/shared/exhaust.i3d" index="0>13" minRpmColor="0.1 0.1 0.1 0.05" maxRpmColor="0.01 0.01 0.01 6" minRpmScale="0.05" maxRpmScale="0.3" xzRotationOffset="0 0" xzRotationsForward="0 0" xzRotationsBackward="0 0" xzRotationsLeft="0 0" xzRotationsRight="0 0"/>
    </exhaustEffects>
	
    <ai>
        <trafficCollisionTrigger index="7"/>
    </ai>
	
    <cardanShafts>
        <cardanShaft cardanJoint1="10|0|0" cardanJoint2="1>0|0|0" movingPartNumber="5" speedFactor="2" ongoingUpdate="true"/>
    </cardanShafts>
	
    <components count="2">
        <component1 centerOfMass="0 0.5 -1.3" solverIterationCount="35"/>
        <component2 centerOfMass="0 0.2 0.9" solverIterationCount="35"/>
        <joint component1="0" component2="1" index="0>11" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
    </components>
	
    <washable dirtDuration="25" washDuration="1" workMultiplier="6"/>
    <schemaOverlay file="$dataS2/menu/schemas/vehicleSchema.png" fileSelected="$dataS2/menu/schemas/vehicleSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0.5 0"/>
    
	<storeData>
        <name>
            <en>Atlas ZL602</en>
            <de>Atlas ZL602</de>
		</name>
        <functions>
            <function>FrontloaderAttacherJoints: telehandler, frontloader, cutter, cutterHarvester, implement</function>
        </functions>
        <specs/>
        <image>store.dds</image>
        <price>10000</price>
        <dailyUpkeep>15</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>TSL</brand>
        <category>frontLoaders</category>
    </storeData>
</vehicle>
