<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="carFillable">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>            <en>745C Dump</en>
        </name>
        <specs>
            <power>511</power>
        </specs>
        <functions>
            <function>$l10n_function_tipper</function>
        </functions>
        <image>store.dds</image>
        <price>180000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>CATERPILLAR</brand>
        <category>TP</category>
		<vertexBufferMemoryUsage>2962400</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>796098</indexBufferMemoryUsage>
        <textureMemoryUsage>21845608</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_tipper</typeDesc>
        <filename>cat745cdump.i3d</filename>
        <size width="5" length="15" lengthOffset="-0.2"/>
        <components>
            <component centerOfMass="0 -0.25 1.3" solverIterationCount="20" mass="17858"/>
            <component centerOfMass="0 0.35 -3.5" solverIterationCount="20" mass="17858"/>
            <joint component1="1" component2="2" node="0>11" rotLimit="0 0 0" transLimit="0 0 0"/>
        </components>
        <schemaOverlay attacherJointPosition="0.5 0">
            <default name="DEFAULT_VEHICLE"/>
            <selected name="DEFAULT_VEHICLE_SELECTED"/>
        </schemaOverlay>
    </base>
	
	<wheels>
        <wheelConfigurations>
            <wheelConfiguration name="Standard Rims" price="0">
                <wheels autoRotateBackSpeed="1">
                    <wheel isLeft="true" hasTireTracks="true" hasParticles="false">
                        <physics rotSpeed="0" restLoad="3.5" repr="0>0" radius="0.85" width="0.9" mass="7.515" initialCompression="70" suspTravel="0.1" spring="150" damper="8"/>
                        <tire tireTrackAtlasIndex="0"/>
                    </wheel>
                    <wheel isLeft="true" hasTireTracks="true" hasParticles="false">
                        <physics rotSpeed="0" restLoad="3.5" repr="0>1" radius="0.85" width="0.9" mass="7.515" initialCompression="70" suspTravel="0.1" spring="150" damper="8"/>
                        <tire tireTrackAtlasIndex="0"/>
                    </wheel>
                    <wheel isLeft="true" hasTireTracks="true" hasParticles="false">
                        <physics rotSpeed="0" restLoad="1.9" repr="1>0" radius="0.85" width="0.9" mass="7.515" initialCompression="40" suspTravel="0.1" spring="120" damper="8"/>
                        <tire tireTrackAtlasIndex="0"/>
                    </wheel>
                    <wheel isLeft="true" hasTireTracks="true" hasParticles="false">
                        <physics rotSpeed="0" restLoad="1.9" repr="1>1" radius="0.85" width="0.9" mass="7.515" initialCompression="40" suspTravel="0.1" spring="120" damper="8"/>
                        <tire tireTrackAtlasIndex="0"/>
                    </wheel>
                    <wheel isLeft="true" hasTireTracks="true" hasParticles="false">
                        <physics rotSpeed="0" restLoad="1.9" repr="1>2" radius="0.85" width="0.9" mass="7.515" initialCompression="40" suspTravel="0.1" spring="120" damper="8"/>
                        <tire tireTrackAtlasIndex="0"/>
                    </wheel>
                    <wheel isLeft="true" hasTireTracks="true" hasParticles="false">
                        <physics rotSpeed="0" restLoad="1.9" repr="1>3" radius="0.85" width="0.9" mass="7.515" initialCompression="40" suspTravel="0.1" spring="120" damper="8"/>
                        <tire tireTrackAtlasIndex="0"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="40" rotMax="35" rotCenter="0 2.379"/>
        </ackermannSteeringConfigurations>
    </wheels>
   <articulatedAxis componentJointIndex="1" rotSpeed="-30" rotMax="35" rotMin="-35" anchorActor="0"/>
    <attacherJoints>
        <sounds>
            <attach template="ATTACH_01" linkNode="0>"/>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="0>"/>
        </sounds>
    </attacherJoints>
    <lights>
        
		<states>
            <state lightTypes="0"/>
            <state lightTypes="0 2"/>
        </states>
		<realLights>
            <low>
                <light node="0>12|0|0" lightTypes="0"/>
                <light node="0>12|1|0" lightTypes="2"/>
             </low>
            <high>
                <light node="0>12|0|0" lightTypes="0"/>
                <light node="0>12|1|0" lightTypes="2"/>
                <reverseLight node="1>12|3|2"/>
            </high>
		</realLights>	
		
		<defaultLights>
            <defaultLight node="0>12|0|1|0" lightTypes="0"/>			
            <defaultLight node="0>12|0|1|1" lightTypes="0"/>
			<defaultLight node="1>12|0|0|0" lightTypes="0"/>
            <defaultLight node="1>12|0|0|1" lightTypes="0"/>
            <defaultLight node="0>12|1|1|0" lightTypes="2"/>
            <defaultLight node="0>12|1|1|1" lightTypes="2"/>
        </defaultLights>
        <turnLights>
            <turnLightLeft node="0>12|2|0|0"/>
            <turnLightLeft node="1>12|1|0|0"/>
            <turnLightRight node="0>12|2|1|0"/>
            <turnLightRight node="1>12|1|1|0"/>
        </turnLights>
        <brakeLights>
            <brakeLight node="1>12|2|0"/>
            <brakeLight node="1>12|2|1"/>
        </brakeLights>
        <reverseLights>
            <reverseLight node="1>12|3|0"/>
            <reverseLight node="1>12|3|1"/>
        </reverseLights>
        <sounds>
            <switchLight template="SWITCH_01" linkNode="0>"/>
            <turnLight template="SWITCH_TURNLIGHT" linkNode="0>"/>
        </sounds>

        <beaconLights>
            <beaconLight node="0>12|3|0" filename="$data/shared/assets/beaconLights/lizard/beaconLight02.xml"/>
        </beaconLights>
    </lights>
    <enterable>
        <exitPoint node="0>3"/>
        <enterReferenceNode node="0>"/>
        <characterNode node="0>5" cameraMinDistance="0" spineRotation="-90 0 90">
            <target ikChain="rightFoot" targetNode="0>5|1"/>
            <target ikChain="leftFoot" targetNode="0>5|2"/>
            <target ikChain="rightArm" targetNode="0>4|0|0"/>
            <target ikChain="leftArm" targetNode="0>4|0|1"/>
        </characterNode>
        <cameras>
            <camera node="0>6|0|0" rotatable="true" rotateNode="0>6|0" limit="true" useWorldXZRotation="true" rotMinX="-1.55" rotMaxX="1" transMin="10" transMax="90">
                <raycastNode node="0>6|2"/>
                <raycastNode node="0>6|3"/>
            </camera>
            <camera node="0>6|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true"/>
        </cameras>
    </enterable>
    <motorized>
        <motorConfigurations>
            <motorConfiguration>
                <motor torqueScale="3.645" minRpm="750" maxRpm="2100" maxForwardSpeed="70" maxBackwardSpeed="18" brakeForce="25" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1" rotInertia="0.004">
                    <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>
                <transmission minForwardGearRatio="10" maxForwardGearRatio="150" minBackwardGearRatio="40" maxBackwardGearRatio="150"/>
            </motorConfiguration>
        </motorConfigurations>
        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.3" wheelIndex1="1" wheelIndex2="2"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.4" wheelIndex1="3" wheelIndex2="4"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.2" wheelIndex1="5" wheelIndex2="6"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.0" differentialIndex1="1" differentialIndex2="2"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.0" differentialIndex1="3" differentialIndex2="4"/>
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>
        <exhaustEffects>
            <exhaustEffect node="0>7" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.05" maxRpmColor="0.9 0.9 0.9 0.95" minRpmScale="0.08" maxRpmScale="0.8" xzRotationsForward="0 0" xzRotationsBackward="0 0" xzRotationsLeft="0 0" xzRotationsRight="0 0"/>
        </exhaustEffects>
        <motorStartDuration>2500</motorStartDuration>
         <sounds externalSoundFile="Sound/xerion_sounds.xml"/>
    </motorized>
    <animations>
        <animation name="tipAnimationBack">
            <part node="1>5" startTime="0.25" endTime="10" startRot="0 0 0" endRot="-40 0 0"/>
            <part node="1>5|0" startTime="0.25" endTime="10" startRot="0 0 0" endRot="52.183 0 0"/>
            <part node="1>6" startTime="0.25" endTime="10" startRot="-61.564 0 0" endRot="-107.645 0 0"/>
        </animation>
    </animations>
    
	<cylindered>
        <movingTools>
            <movingTool node="1>5"/>
        </movingTools>
        <movingParts>
            <movingPart node="1>8|0" referencePoint="1>5|6" referenceFrame="1>5|6" isActiveDirty="true" playSound="false">
                <translatingPart node="1>8|0|0"/>
            </movingPart>
            <movingPart node="1>8|1" referencePoint="1>5|7" referenceFrame="1>5|7" isActiveDirty="true" playSound="false">
                <translatingPart node="1>8|1|0"/>
            </movingPart>
            <movingPart node="0>9" referencePoint="1>10" referenceFrame="1>10" isActiveDirty="true" playSound="false">
                <translatingPart node="0>9|0"/>
            </movingPart>
            <movingPart node="0>10" referencePoint="1>11" referenceFrame="1>11" isActiveDirty="true" playSound="false">
                <translatingPart node="0>10|0"/>
            </movingPart>
        </movingParts>
        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="0>"/>
        </sounds>
    </cylindered>
	
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="bulk" capacity="42000">
                        <exactFillRootNode node="1>5|1"/>
                        <fillRootNode node="1>"/>
                        <fillMassNode node="1>"/>
                        <autoAimTargetNode node="1>5|2"/>
                    </fillUnit>
					<fillTrigger>
                        <fillSound template="DEFAULT_REFUEL_SOUND" linkNode="0>"/>
                    </fillTrigger>
                    <fillUnit capacity="890" unit="$l10n_unit_literShort" fillTypes="diesel" showOnHud="false" showInShop="false"/>
                    <fillUnit capacity="178" unit="$l10n_unit_literShort" fillTypes="def" showOnHud="false" showInShop="false"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="1>5|4|0" maxDelta="1.10" fillUnitIndex="1"/>
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>
        <unloadInfos>
            <unloadInfo>
                <node node="1>5|4|1|0|0" width="1.0" length="0.8" minHeight="0.5" priority="2"/>
                <node node="1>5|4|1|0|1" width="1.0" length="0.8" minHeight="0.5" priority="2"/>
                <node node="1>5|4|1|4|0" width="2.0" length="4.0"/>
                <node node="1>5|4|1|4|1" width="2.0" length="4.0"/>
            </unloadInfo>
        </unloadInfos>
    </fillVolume>
    <fillVolumes>
        <heightNodes>
            <heightNode fillVolumeIndex="1">
                <refNode node="1>5|4|1|0|0"/>
                <refNode node="1>5|4|1|0|1"/>
                <node node="1>5|5|0|0" baseScale="1 1 1" transAxis="0 1 0" transMax="0 0.1 0"/>
            </heightNode>
        </heightNodes>
    </fillVolumes>
    <dischargeable>
        <dischargeNode node="1>9"emptySpeed="5430" fillUnitIndex="1" unloadInfoIndex="3">
            <info width="2.5" length="0.5" zOffset="-1"/>
            <effects>
			<effectNode effectClass="TipEffect">
                <effectNode effectNode="1>5|5|0|0|0" materialType="unloading" materialTypeId="3" fadeTime="0.5"/>
				<effectNode effectNode="1>5|5|0|1|0" effectClass="ParticleEffect"/>
			</effectNode>
                <effectNode effectNode="1>5|5|0|0|1" materialType="smoke" materialTypeId="1" fadeTime="0.5"/>
            </effects>
        </dischargeNode>
    </dischargeable>
    <trailer>
        <trailerConfigurations>
            <trailerConfiguration>
                <trailer>
                    <tipSide name="info_tipSideBack" dischargeNodeIndex="1">
                        <animation name="tipAnimationBack" speedScale="1"/>
                    </tipSide>
                </trailer>
            </trailerConfiguration>
        </trailerConfigurations>
    </trailer>
   <honk>
        <sound template="HONK_TRUCK" linkNode="0>"/>
    </honk>
	<ai>
        <collisionTrigger node="0>8"/>
    </ai>
 
</vehicle>
