<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="trailer">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>Bandit 750 ATTACHER</name>
        <specs>
            <combination>SB 700</combination>
        </specs>
        <functions>
            <function>$l10n_function_tipper</function>
        </functions>
        <image>$data/vehicles/krampe/bandit750/store_krampeBandit750.png</image>
        <price>51000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>KRAMPE</brand>
        <category>trailers</category>
        <shopTranslationOffset>0 -0.072 0</shopTranslationOffset>
        <shopRotationOffset>0.835 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>487840</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>72474</indexBufferMemoryUsage>
        <textureMemoryUsage>7427616</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_tipper</typeDesc>
        <filename>$data/vehicles/krampe/bandit750/bandit750.i3d</filename>
        <size width="3" length="10.5"/>
        <components>
            <component centerOfMass="0 0.75 -1.1" solverIterationCount="10" mass="5950" />
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="TRELLEBORG">
                <wheels>
                    <wheel filename="$data/shared/wheels/trelleborg/TwinRadial/710_50R26_5.xml" isLeft="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.9" repr="wheelLeftFront"                             forcePointRatio="0.5" initialCompression="15" suspTravel="0.25" spring="40" damper="50" />
                        <wheelChock parkingNode="wheelChock1Parking" />
                        <wheelChock parkingNode="wheelChock2Parking" isInverted="true" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TwinRadial/710_50R26_5.xml" isLeft="false" >
                        <physics tipOcclusionAreaGroupId="2" restLoad="1.9" repr="wheelRightFront"                            forcePointRatio="0.5" initialCompression="15" suspTravel="0.25" spring="40" damper="50" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TwinRadial/710_50R26_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.9" repr="axisLeftBack"    driveNode="wheelLeftBack"  forcePointRatio="0.5" initialCompression="18" suspTravel="0.25" spring="40" damper="50" />
                        <steeringAxle scale="-0.7" rotMax="16" rotMin="-20" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TwinRadial/710_50R26_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="2" restLoad="1.9" repr="axisRightBack"   driveNode="wheelRightBack" forcePointRatio="0.5" initialCompression="18" suspTravel="0.25" spring="40" damper="50" />
                        <steeringAxle scale="-0.7" rotMax="20" rotMin="-15" />
                    </wheel>
                </wheels>
            </wheelConfiguration>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="2100" brand="MICHELIN">
                <wheels>
                    <wheel filename="$data/shared/wheels/michelin/cargoXBib/710_50R26_5.xml" isLeft="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.9" repr="wheelLeftFront"                             forcePointRatio="0.5" initialCompression="15" suspTravel="0.25" spring="40" damper="50" />
                        <wheelChock parkingNode="wheelChock1Parking" />
                        <wheelChock parkingNode="wheelChock2Parking" isInverted="true" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/michelin/cargoXBib/710_50R26_5.xml" isLeft="false" >
                        <physics tipOcclusionAreaGroupId="2" restLoad="1.9" repr="wheelRightFront"                            forcePointRatio="0.5" initialCompression="15" suspTravel="0.25" spring="40" damper="50" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/michelin/cargoXBib/710_50R26_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.9" repr="axisLeftBack"    driveNode="wheelLeftBack"  forcePointRatio="0.5" initialCompression="21" suspTravel="0.25" spring="40" damper="50" />
                        <steeringAxle scale="-0.7" rotMax="16" rotMin="-20" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/michelin/cargoXBib/710_50R26_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="2" restLoad="1.9" repr="axisRightBack"   driveNode="wheelRightBack" forcePointRatio="0.5" initialCompression="21" suspTravel="0.25" spring="40" damper="50" />
                        <steeringAxle scale="-0.7" rotMax="20" rotMin="-14" />
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>

        <hubs>
            <color0>KRAMPE_RED1</color0>
            <color1>SHARED_BLACK2</color1>
            <hub linkNode="wheelLeftFront"  filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="true"  scale="0.335 0.335 0.335" />
            <hub linkNode="wheelRightFront" filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="false" scale="0.335 0.335 0.335" />
            <hub linkNode="wheelLeftBack"   filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="true"  scale="0.335 0.335 0.335" />
            <hub linkNode="wheelRightBack"  filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="false" scale="0.335 0.335 0.335" />
        </hubs>
    </wheels>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="trailerLow" attacherHeight="0.67" />
        </inputAttacherJoints>
        <steeringAxleAngleScale startSpeed="0" endSpeed="90" />
        <support animationName="moveSupport" />
        <brakeForce>1.1</brakeForce>
    </attachable>
	
	<attacherJoints>
		<attacherJoint node="trailerAttacherLow" jointType="trailerLow" lowerRotLimit="10 50 50" lowerTransLimit="0 0 0" upperRotRotationOffset="0" allowsJointLimitMovement="false" comboTime="1">
            <distanceToGround lower="0.59" upper="0.71" />
            <schema position="1 0" rotation="0" invertX="false" />
        </attacherJoint>
		<sounds>
            <attach template="ATTACH_01" />
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" />
        </sounds>
    </attacherJoints>

    <lights>
        <sharedLight linkNode="sideMarker_04White_01"         filename="$data/shared/assets/lights/lizard/sideMarker_04White.xml"/>
        <sharedLight linkNode="sideMarker_04White_02"         filename="$data/shared/assets/lights/lizard/sideMarker_04White.xml"/>
        <sharedLight linkNode="sideMarker_03_1"         filename="$data/shared/assets/lights/lizard/sideMarker_04_left.xml"/>
        <sharedLight linkNode="sideMarker_03_2"         filename="$data/shared/assets/lights/lizard/sideMarker_04_right.xml"/>
        <sharedLight linkNode="rearPlateNumber_01_1"         filename="$data/shared/assets/lights/lizard/rearPlateNumber_01.xml"/>
        <sharedLight linkNode="rearPlateNumber_01_2"         filename="$data/shared/assets/lights/lizard/rearPlateNumber_01.xml"/>
        <sharedLight linkNode="rear3ChamberLight_01_left"         filename="$data/shared/assets/lights/lizard/rear5ChamberLight_01_left.xml"/>
        <sharedLight linkNode="rear3ChamberLight_01_right"         filename="$data/shared/assets/lights/lizard/rear5ChamberLight_01_right.xml"/>
        <sharedLight linkNode="redTriangle_02_1"         filename="$data/shared/assets/reflectors/lizard/redTriangle_02.xml"/>
        <sharedLight linkNode="redTriangle_02_2"         filename="$data/shared/assets/reflectors/lizard/redTriangle_02.xml"/>
        <realLights>
            <high>
                <light node="backLightsHigh" lightTypes="0" />
                <turnLightLeft node="turnLightLeftBack" />
                <turnLightRight node="turnLightRightBack" />
                <brakeLight node="backLightsHigh" />
                <reverseLight node="reverseLight" />
            </high>
        </realLights>
    </lights>

    <animations>
        <animation name="tipAnimationBack">
            <part node="beltCol" startTime="1" endTime="12" startTrans="0 0 0" endTrans="0 0 -7.5" />
        </animation>
        <animation name="tipAnimationBackDoor">
            <part node="doorHook" startTime="0" endTime="0.9" startRot="0 0 0" endRot="-20 0 0" />
            <part node="door" startTime="1" endTime="4" startRot="0 0 0" endRot="90 0 0" />
        </animation>
        <animation name="moveSupport">
            <part node="supportArm" startTime="0" endTime="0.2" startTrans="-0.236 0.819 3.256" endTrans="-0.236 0.375 3.256" />
        </animation>
    </animations>

    <cylindered>
        <movingTools>
            <movingTool node="topDoor" playSound="true">
                <controls axis="AXIS_DOOR" invertAxis="true" mouseSpeedFactor="0.6" iconName="TOP_DOOR_ROTATE" />
                <rotation rotSpeed="50" rotAcceleration="160" rotMax="100" rotMin="0" rotationAxis="1" />
                <dependentPart node="topDoorHydraulic" />
            </movingTool>

            <movingTool node="door" playSound="true">
                <dependentPart node="doorHydraulic" />
            </movingTool>
            <movingTool node="doorHook" playSound="true">
                <dependentPart node="doorHydraulic" />
            </movingTool>
        </movingTools>

        <movingParts>
            <movingPart node="topDoorHydraulic" referencePoint="topDoorHydraulicRef" referenceFrame="topDoorHydraulicRef">
                <translatingPart node="topDoorHydraulicPunch" />
            </movingPart>
            <movingPart node="doorHydraulic" referencePoint="doorHydraulicRef" referenceFrame="doorHydraulicRef">
                <translatingPart node="doorHydraulicPunch" />
            </movingPart>

            <movingPart node="wheelHydraulic2Left" referencePoint="wheelHydraulicLeft2Ref" referenceFrame="krampeBandit750" scaleZ="true" isActiveDirty="true" />
            <movingPart node="wheelHydraulic2Right" referencePoint="wheelHydraulicRight2Ref" referenceFrame="krampeBandit750" scaleZ="true" isActiveDirty="true" />
            <movingPart node="wheelHydraulicLeft" referencePoint="wheelHydraulicLeftRef" referenceFrame="krampeBandit750" isActiveDirty="true">
                <translatingPart node="wheelHydraulicLeftPunch" />
            </movingPart>
            <movingPart node="wheelHydraulicRight" referencePoint="wheelHydraulicRightRef" referenceFrame="krampeBandit750" isActiveDirty="true">
                <translatingPart node="wheelHydraulicRightPunch" />
            </movingPart>
        </movingParts>

        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="krampeBandit750"/>
        </sounds>
    </cylindered>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="bulk" capacity="50000" >
                        <exactFillRootNode node="exactFillRootNode" />
                        <autoAimTargetNode node="fillAutoAimTargetNode" startZ="2.2" endZ="-4.0" invert="false" fillUnitIndex="1" startPercentage="25"/>
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="fillVolume" maxDelta="0.20" maxAllowedHeapAngle="15" fillUnitIndex="1" />
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>

        <unloadInfos>
            <unloadInfo>
                <node node="heightNode1" width="1.3" length="1.5" priority="2" minHeight="1.0" />
                <node node="heightNode2" width="1.3" length="1.5" priority="2" minHeight="1.0" />
                <node node="unloadInfo" width="1.3" length="1.7" />
            </unloadInfo>
        </unloadInfos>

        <heightNodes>
            <heightNode>
                <refNode node="heightNode1" />
                <refNode node="heightNode2" />
                <node node="effectParticle" baseScale="1 0.1 1" scaleAxis="0 0.5 0" />
            </heightNode>
        </heightNodes>
    </fillVolume>

    <trailer>
        <trailerConfigurations>
            <trailerConfiguration>
                <trailer>
                    <tipSide name="$l10n_info_tipSideBack" dischargeNodeIndex="1">
                        <animation name="tipAnimationBack" speedScale="1.0" />
                        <doorAnimation name="tipAnimationBackDoor" speedScale="1.0" startTipTime="0.5"/>
                        <animationNodes>
                            <animationNode node="belt" rotSpeed="10"  rotAxis="1" shaderComponentScale="0 1 0 0" shaderParameterName="offsetUV" />
                        </animationNodes>
                    </tipSide>
                </trailer>
            </trailerConfiguration>
        </trailerConfigurations>
    </trailer>

    <dischargeable>
        <dischargeNode node="dischargeNode" emptySpeed="2800" fillUnitIndex="1" unloadInfoIndex="1" >
            <info width="2.5" length="0.9" />
            <effects>
                <effectNode effectClass="TipEffect">
                    <effectNode effectNode="effectParticle" effectClass="ParticleEffect" extraDistance="1.5"/>
                    <effectNode effectNode="effectGrain" materialType="unloading" materialTypeId="1" fadeTime="0.5" extraDistanceNode="dischargeNode" extraDistance="0"/>
                </effectNode>
                <effectNode effectNode="effectSmoke" materialType="smoke"     materialTypeId="1" fadeTime="0.5" />
            </effects>
        </dischargeNode>
    </dischargeable>

    <ai>
        <allowTurnBackward value="false"/>
        <turningRadiusLimitation radius="10"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-1.5" maxX="1.5" minZ="-5.0" maxZ="3.5" yOffset="0.6" />
    </foliageBending>

    <baseMaterial>
        <material name="bandit750_mat" baseNode="krampe_vis">
            <shaderParameter name="colorMat0" value="KRAMPE_RED1"/>
        </material>
    </baseMaterial>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="krampeBandit750" node="0>" />
        <i3dMapping id="krampe_vis" node="0>0" />
        <i3dMapping id="wheelChocksAttached" node="0>0|0|0" />
        <i3dMapping id="wheelChock1Parking" node="0>0|0|0|0" />
        <i3dMapping id="wheelChock2Parking" node="0>0|0|0|1" />
        <i3dMapping id="supportArm" node="0>0|0|1" />
        <i3dMapping id="attacherJoint" node="0>0|0|2|0" />
        <i3dMapping id="wheelLeftFront" node="0>0|1|0" />
        <i3dMapping id="wheelRightFront" node="0>0|1|1" />
        <i3dMapping id="axisLeftBack" node="0>0|1|2" />
        <i3dMapping id="wheelLeftBack" node="0>0|1|2|0" />
        <i3dMapping id="wheelHydraulicLeftRef" node="0>0|1|2|1" />
        <i3dMapping id="wheelHydraulicLeft2Ref" node="0>0|1|2|2" />
        <i3dMapping id="axisRightBack" node="0>0|1|3" />
        <i3dMapping id="wheelRightBack" node="0>0|1|3|0" />
        <i3dMapping id="wheelHydraulicRightRef" node="0>0|1|3|1" />
        <i3dMapping id="wheelHydraulicRight2Ref" node="0>0|1|3|2" />
        <i3dMapping id="sideMarker_03_1" node="0>0|2|0|0" />
        <i3dMapping id="sideMarker_03_2" node="0>0|2|0|1" />
        <i3dMapping id="rearPlateNumber_01_1" node="0>0|2|0|2" />
        <i3dMapping id="rearPlateNumber_01_2" node="0>0|2|0|3" />
        <i3dMapping id="rear3ChamberLight_01_left" node="0>0|2|0|4" />
        <i3dMapping id="rear3ChamberLight_01_right" node="0>0|2|0|5" />
        <i3dMapping id="redTriangle_02_1" node="0>0|2|0|6" />
        <i3dMapping id="redTriangle_02_2" node="0>0|2|0|7" />
        <i3dMapping id="sideMarker_04White_01" node="0>0|2|0|8" />
        <i3dMapping id="sideMarker_04White_02" node="0>0|2|0|9" />
        <i3dMapping id="backLightsHigh" node="0>0|2|1" />
        <i3dMapping id="turnLightLeftBack" node="0>0|2|2" />
        <i3dMapping id="turnLightRightBack" node="0>0|2|3" />
        <i3dMapping id="reverseLight" node="0>0|2|4" />
        <i3dMapping id="door" node="0>0|3|0" />
        <i3dMapping id="doorHydraulicRef" node="0>0|3|0|3" />
        <i3dMapping id="doorHook" node="0>0|3|1" />
        <i3dMapping id="doorHydraulic" node="0>0|3|1|0" />
        <i3dMapping id="doorHydraulicPunch" node="0>0|3|1|0|0" />
        <i3dMapping id="topDoor" node="0>0|3|2" />
        <i3dMapping id="topDoorGrid" node="0>0|3|2|0" />
        <i3dMapping id="topDoorHydraulicRef" node="0>0|3|2|1" />
        <i3dMapping id="topDoorHydraulic" node="0>0|3|3" />
        <i3dMapping id="topDoorHydraulicPunch" node="0>0|3|3|0" />
        <i3dMapping id="belt" node="0>0|3|4" />
        <i3dMapping id="beltCol" node="0>0|3|4|0" />
        <i3dMapping id="wheelHydraulicLeft" node="0>0|4|0" />
        <i3dMapping id="wheelHydraulicLeftPunch" node="0>0|4|0|0" />
        <i3dMapping id="wheelHydraulicRight" node="0>0|4|1" />
        <i3dMapping id="wheelHydraulicRightPunch" node="0>0|4|1|0" />
        <i3dMapping id="wheelHydraulic2Left" node="0>0|4|2" />
        <i3dMapping id="wheelHydraulic2Right" node="0>0|4|3" />
        <i3dMapping id="fillVolume" node="0>0|5|0" />
        <i3dMapping id="unloadInfo" node="0>0|5|1" />
        <i3dMapping id="heightNode1" node="0>0|5|2|0" />
        <i3dMapping id="heightNode2" node="0>0|5|2|1" />
        <i3dMapping id="dischargeNode" node="0>0|5|3" />
        <i3dMapping id="exactFillRootNode" node="0>0|6|0" />
        <i3dMapping id="fillAutoAimTargetNode" node="0>0|6|1" />
        <i3dMapping id="effectNodes" node="0>0|7|0" />
        <i3dMapping id="effectGrain" node="0>0|7|0|0" />
        <i3dMapping id="effectSmoke" node="0>0|7|0|1" />
        <i3dMapping id="effectParticle" node="0>0|7|1|0" />
		<i3dMapping id="trailerAttacher" node="0>3" />
		<i3dMapping id="trailerAttacherLow" node="0>3|0" />
    </i3dMappings>
</vehicle>
