<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="scania">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <filename>Scania.i3d</filename>
    <size width="3.5" length="7"/>
    <wheels autoRotateBackSpeed="1.5">
        <wheel rotSpeed="1" repr="0>0|0" driveNode="0>0|0|0|0" radius="0.63" restLoad="08.8" forcePointRatio="0.2" initialCompression="50" suspTravel="0.25" spring="30" damper="20" hasTireTracks="true" tireTrackAtlasIndex="4" fenderNode="0>0|0|1" mass="0.8" maxLatStiffnessLoad="3" width="0.42" hasParticles="true"/>
        <wheel rotSpeed="1" repr="0>1|0" driveNode="0>1|0|0|0" radius="0.63" restLoad="08.8" forcePointRatio="0.2" initialCompression="50" suspTravel="0.25" spring="30" damper="20" hasTireTracks="true" tireTrackAtlasIndex="4" fenderNode="0>1|0|1" fenderRotMax="28" mass="0.8" maxLatStiffnessLoad="3" width="0.42" hasParticles="true"/>
        <wheel rotSpeed="1" repr="0>2|0" driveNode="0>2|0|0|0" radius="0.6" restLoad="08.8" forcePointRatio="0.3" initialCompression="50" suspTravel="0.15" spring="85" damper="65" hasTireTracks="true" tireTrackAtlasIndex="4" fenderNode="0>2|0|1" mass="0.8" maxLatStiffnessLoad="3" width="0.84" hasParticles="true"/>
        <wheel rotSpeed="1" repr="0>3|0" driveNode="0>3|0|0|0" radius="0.6" restLoad="08.8" forcePointRatio="0.3" initialCompression="50" suspTravel="0.15" spring="85" damper="65" hasTireTracks="true" tireTrackAtlasIndex="4" fenderNode="0>3|0|1" mass="0.8" maxLatStiffnessLoad="3" width="0.84" hasParticles="true"/>
        <wheel rotSpeed="0" repr="0>26" radius="0.5775" restLoad="16.0" forcePointRatio="0.3" initialCompression="50" suspTravel="0.1" spring="85" damper="65" hasTireTracks="true" tireTrackAtlasIndex="4" mass="0.8" maxLatStiffnessLoad="3" width="0.84"/>
        <wheel rotSpeed="0" repr="0>27" radius="0.5775" restLoad="16.0" forcePointRatio="0.3" initialCompression="50" suspTravel="0.1" spring="85" damper="65" hasTireTracks="true" tireTrackAtlasIndex="4" mass="0.8" maxLatStiffnessLoad="3" width="0.84"/>
        <wheel rotSpeed="1" repr="0>28|0" driveNode="0>28|0|0|0" radius="0.6" restLoad="08.8" forcePointRatio="0.3" initialCompression="50" suspTravel="0.15" spring="85" damper="65" hasTireTracks="true" tireTrackAtlasIndex="4" fenderNode="0>28|0|1" mass="0.8" maxLatStiffnessLoad="3" width="0.84"/>
        <wheel rotSpeed="1" repr="0>29|0" driveNode="0>29|0|0|0" radius="0.6" restLoad="08.8" forcePointRatio="0.3" initialCompression="50" suspTravel="0.15" spring="85" damper="65" hasTireTracks="true" tireTrackAtlasIndex="4" fenderNode="0>29|0|1" mass="0.8" maxLatStiffnessLoad="3" width="0.84"/>
    </wheels>
    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="0|1" linkNode="0>0|0|0|0|0" filename="Texturen/Reifen.i3d"/>
        <dynamicallyLoadedPart node="0|0" linkNode="0>1|0|0|0|0" filename="Texturen/Reifen.i3d"/>
        <dynamicallyLoadedPart node="0|1" linkNode="0>2|0|0|0|0" filename="Texturen/Reifen.i3d"/>
        <dynamicallyLoadedPart node="0|0" linkNode="0>3|0|0|0|0" filename="Texturen/Reifen.i3d"/>
        <dynamicallyLoadedPart node="1|1" linkNode="0>26|0" filename="Texturen/Reifen.i3d"/>
        <dynamicallyLoadedPart node="1|0" linkNode="0>27|0" filename="Texturen/Reifen.i3d"/>
        <dynamicallyLoadedPart node="1|0" linkNode="0>28|0|0|0|0" filename="Texturen/Reifen.i3d"/>
        <dynamicallyLoadedPart node="1|1" linkNode="0>29|0|0|0|0" filename="Texturen/Reifen.i3d"/>
    </dynamicallyLoadedParts>
    <ackermannSteering rotSpeed="50" rotMax="47" rotCenterWheel1="4" rotCenterWheel2="5"/>
    <differentials>
        <differential torqueRatio="0.5" maxSpeedRatio="1.3" wheelIndex1="0" wheelIndex2="1"/>
        <!-- front left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.4" wheelIndex1="2" wheelIndex2="3"/>
        <!-- back left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.4" wheelIndex1="4" wheelIndex2="5"/>
        <!-- back left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.4" 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="2.349" minRpm="1000" maxRpm="3000" maxBackwardSpeed="15" brakeForce="10" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1" minForwardGearRatio="13.5" maxForwardGearRatio="130" minBackwardGearRatio="50" maxBackwardGearRatio="130">
        <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>
    <fuelCapacity>1210</fuelCapacity>
    <fuelUsage>285</fuelUsage>
    <cameras count="2">
        <camera1 index="4|0" rotatable="true" rotateNode="4" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4.5" transMax="35">
            <raycastNode index="0>6"/>
            <raycastNode index="0>7"/>
            <raycastNode index="0>8"/>
        </camera1>
        <camera2 index="5" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true"/>
    </cameras>
    <exhaustEffects>
        <!--TODO: adjust xzRotationOffset, xzRotationsForward, xzRotationsBackward, xzRotationsLeft, xzRotationsRight-->
        <exhaustEffect filename="$data/particleSystems/shared/exhaust.i3d" index="0>42" minRpmColor="0.9 0.9 0.9 0.05" maxRpmColor="0.9 0.9 0.9 0.2" minRpmScale="0.15" maxRpmScale="0.45" xzRotationOffset="0 0" xzRotationsForward="0 0" xzRotationsBackward="0 0" xzRotationsLeft="0 0" xzRotationsRight="0 0"/>
        <exhaustEffect filename="$data/particleSystems/shared/exhaust.i3d" index="0>43" minRpmColor="0.9 0.9 0.9 0.05" maxRpmColor="0.9 0.9 0.9 0.2" minRpmScale="0.15" maxRpmScale="0.45" xzRotationOffset="0 0" xzRotationsForward="0 0" xzRotationsBackward="0 0" xzRotationsLeft="0 0" xzRotationsRight="0 0"/>
    </exhaustEffects>
    <beaconLights>
        <beaconLight index="0>32" speed="0.015" filename="$data/shared/beaconLights/beaconLight01.i3d"/>
        <beaconLight index="0>33" speed="0.017" filename="$data/shared/beaconLights/beaconLight01.i3d"/>
    </beaconLights>
    <lights>
        <!--to be adjusted manually-->
        <low>
            <light realLight="0>14|0|0" decoration="0>14|0|1" lightTypes="0"/>
            <light realLight="0>38|1" decoration="0>38|0" lightTypes="1"/>
            <light realLight="0>38|3" decoration="0>38|2" lightTypes="2"/>
            <light decoration="0>45|0|4" lightTypes="0"/>
            <light decoration="0>45|1|4" lightTypes="0"/>
        </low>
        <!--to be adjusted manually-->
        <high>
            <light realLight="0>14|0|0" decoration="0>14|0|1" lightTypes="0"/>
            <light realLight="0>38|1" decoration="0>38|0" lightTypes="1"/>
            <light realLight="0>38|3" decoration="0>38|2" lightTypes="2"/>
            <light decoration="0>45|0|4" lightTypes="0"/>
            <light decoration="0>45|1|4" lightTypes="0"/>
        </high>
        <!--to be adjusted manually-->
        <states>0 1 2</states>
    </lights>
    <brakeLights>
        <brakeLight decoration="0>14|1"/>
    </brakeLights>
    <turnLights>
        <turnLightLeft decoration="0>14|2|0"/>
        <turnLightRight decoration="0>14|2|1"/>
    </turnLights>
    <reverseLights>
        <reverseLight decoration="0>14|3"/>
    </reverseLights>
    <!--<mirrors>
        <mirror index="0>17|0"/>
    </mirrors>-->
    <indoorHud>
        <speed animName="speedDisplay"/>
        <rpm animName="rpmDisplay"/>
        <fuel animName="fuelDisplay"/>
        <fuel animName="adBlueDisplay"/>
    </indoorHud>
    <enterReferenceNode index="0>"/>
    <exitPoint index="0>9"/>
   <attacherJoints>
    <attacherJoint index="0>47|0|0|0|0|0|0" jointType="hookLift"lowerRotLimit="0 40 80" upperRotLimit="0 40 80" enableCollision="true" allowsLowering="false">
            <schema position="1 0.5" rotation="0" invertX="false"/>
        </attacherJoint>
		 <attacherJoint index="0>48|0|0" jointType="trailerLow" allowsJointLimitMovement="false" upperRotationOffset="0" lowerRotLimit="10 65 65">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
    </attacherJoints>
	<hydraulics count="1">
        <hydraulic1 index="0>47|1" punch="0>47|1|0" punchFixpoint="0>47|1|0|0" fixpoint="0>47|0|0|1"/>
    </hydraulics>
  
  <animationParts>
        <animationPart rootNode="0>47|0|0" clipName="foldingClipSet" clipSpeed="0.2" loadSave="true" numJoints="0" offSet="20"/>
    </animationParts>
    <movingTools>
   <!--      <movingTool index="0>24|0">
            <dependentPart index="0>24|1"/>
        </movingTool>
        <movingTool index="0>24|0|0">
            <dependentPart index="0>24|1"/>
        </movingTool>
        <movingTool index="0>24|0|0|0">
            <dependentPart index="0>24|0|1"/>
        </movingTool>
        <movingTool index="0>24|0|0|0|0"/>
    </movingTools>
	 -->
	   <movingTool index="0>47|0" playSound="true">
            <attacherJoint jointIndices="0" />
            <dependentPart index="0>47|1" />
        </movingTool>
        <movingTool index="0>47|0|0" playSound="true">
            <attacherJoint jointIndices="0" />
            <dependentPart index="0>47|1" />
        </movingTool>
        <movingTool index="0>47|0|0|0" playSound="true">
            <dependentPart index="0>47|0|1" />
            <attacherJoint jointIndices="0" />
        </movingTool>
        <movingTool index="0>47|0|0|0|0">
            <attacherJoint jointIndices="0" />
        </movingTool>
		</movingTools>
	
	<movingParts>
        <!-- hooklift arm -->
        <movingPart index="0>47|1" referencePoint="0>47|0|0|1" referenceFrame="0>">
            <translatingPart index="0>47|1|0"/>
        </movingPart>
        <movingPart index="0>47|0|1" referencePoint="0>47|0|0|0" referenceFrame="0>"/>
		<!-- stering-->
		 <movingPart index="0>1|0|1" referencePoint="0>0|0|1" referenceFrame="0>" isActiveDirty="true" playSound="false" scaleZ="true"/>
        <movingPart index="0>29|0|1" referencePoint="0>28|0|1" referenceFrame="0>" isActiveDirty="true" playSound="false" scaleZ="true"/>
		<movingPart index="0>3|0|1" referencePoint="0>2|0|1" referenceFrame="0>" isActiveDirty="true" playSound="false" scaleZ="true"/>
    </movingParts>
	
	<foldingParts startMoveDirection="-1" posDirectionText="unload_arm" negDirectionText="load_arm" turnOnFoldDirection="0">
        <foldingPart animationName="unfoldHand" speedScale="1" />
    </foldingParts>

	<hookLiftTrailer>
        <jointLimits refAnimation="unfoldHand">
            <key time="0"    rotLimit="0 0 0" />
            <key time="0.25" rotLimit="0 0 0" />
            <key time="0.30" rotLimit="0 0 180" />
            <key time="0.50" rotLimit="0 0 180" />
            <key time="1"    rotLimit="0 40 180" />
        </jointLimits>
        <unloadingAnimation name="unloading" speed="1" reverseSpeed="-2"/>
        <texts unloadContainer="unload_container" loadContainer="load_container" unloadArm="unload_arm" loadArm="load_arm"/>
    </hookLiftTrailer>
   
    <animations>
        <animation name="speedDisplay">
            <part node="0>17|1|0" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 150"/>
        </animation>
        <animation name="rpmDisplay">
            <part node="0>17|1|1" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 179"/>
        </animation>
        <animation name="fuelDisplay">
            <part node="0>17|1|2" startTime="0" endTime="1" startRot="0 0 179" endRot="0 0 0"/>
        </animation>
        <animation name="adBlueDisplay">
            <part node="0>17|1|3" startTime="0" endTime="1" startRot="0 0 179" endRot="0 0 0"/>
        </animation>
		<animation name="unfoldHand">
            <part node="0>47|0|0|0" startTime="0" endTime="2" startTrans="0 0 0" endTrans="0 0 -1.19036"/>
            <part node="0>47|0|0" startTime="2" endTime="10" startRot="0 0 0" endRot="-143 0 0"/>
            <part node="0>47|0|0|0|0|0" startTime="2" endTime="4.51" startRot="0 0 0" endRot="20 0 0"/>
            <part node="0>47|0|0|0|0|0" startTime="4.51" endTime="10" startRot="20 0 0" endRot="143 0 0"/>
        </animation>
        <animation name="unloading">
            <part node="0>47|0" startTime="0" endTime="14" startRot="0 0 0" endRot="-35 0 0"/>
        </animation>
    </animations>
    <steering index="0>10|0" indoorRotation="360" outdoorRotation="37"/>
    <characterNode index="0>12|0" cameraMinDistance="1.5" filename="$dataS2/character/player/player.xml" spineRotation="180 0 100">
        <target ikChain="rightFoot" targetNode="0>12|1" setDirty="true"/>
        <target ikChain="leftFoot" targetNode="0>12|2" setDirty="true"/>
        <target ikChain="rightArm" targetNode="0>10|0|0" setDirty="true"/>
        <target ikChain="leftArm" targetNode="0>10|0|1" setDirty="true"/>
    </characterNode>
    <ai>
        <trafficCollisionTrigger index="0>13"/>
    </ai>
    <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" />  
    <washable dirtDuration="90" washDuration="1" workMultiplier="4"/>
    <components count="1">
        <component1 centerOfMass="0 0.65 0" solverIterationCount="10"/>
    </components>
    <schemaOverlay file="Texturen/schemaSZM.png" fileSelected="Texturen/schemaSZMan.png" width="1.2" height="1" attacherJointPosition="1 0.1"/>
    <storeData>
        <name>
            <de>Scania R730 Agrar 8x8 IT Runner</de>
            <en>Scania R730 Agrar 8x8 IT Runner</en></name>
        <functions>
            <function>DieserScania R730 Agrar 8x8 kann HKL Itrunner  Container laden.</function>
        </functions>
        <specs>
            <power>440</power>
        </specs>
        <image>Texturen/store.dds</image>
        <price>261990</price>
        <dailyUpkeep>450</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>AGROSERVICEOSTWEST</brand>
        <category>trucks</category>
    </storeData>
</vehicle>
