﻿<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="trailer">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <typeDesc>$l10n_typeDesc_tipper</typeDesc>
    <filename>krampeBandit550.i3d</filename>
    <size width="3" length="10.5"/>
	
    <wheels autoRotateBackSpeed="2.0">
        <wheel repr="0>0" driveNode="0>0|0" radius="0.7" restLoad="2.0" initialCompression="50" suspTravel="0.15" spring="55" damper="30" hasTireTracks="true" tireTrackAtlasIndex="3" mass="0.2475" width="0.9" hasParticles="true"/>
        <wheel repr="0>1" radius="0.7" restLoad="2.0" initialCompression="50" suspTravel="0.15" spring="55" damper="30" hasTireTracks="true" tireTrackAtlasIndex="3" mass="0.2475" width="0.9" hasParticles="true"/>
    </wheels>
      
	<speedRotatingParts>
        <speedRotatingPart index="0>0" wheelIndex="0" wheelScale="1"/>
        <speedRotatingPart index="0>1" wheelIndex="1" wheelScale="1"/>
        <speedRotatingPart index="0>31" wheelIndex="0" wheelScale="1"/>
        <speedRotatingPart index="0>32" wheelIndex="1" wheelScale="1"/>
    </speedRotatingParts>
	
	<dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="0" linkNode="0>0|0|1|0" filename="$data/shared/vehicleParts/wheelChock01.i3d"/>
        <dynamicallyLoadedPart node="0" linkNode="0>0|0|1|1" filename="$data/shared/vehicleParts/wheelChock01.i3d"/>
        <dynamicallyLoadedPart node="0" linkNode="0>5|8|0" filename="$data/shared/vehicleParts/wheelChock01.i3d"/>
        <dynamicallyLoadedPart node="0" linkNode="0>5|8|1" filename="$data/shared/vehicleParts/wheelChock01.i3d"/>
    </dynamicallyLoadedParts>
	
    <brakeForce>1.4</brakeForce>
    <steeringAxleAngleScale startSpeed="5" endSpeed="70"/>

    <lights>
        <low>
            <light decoration="0>3|0|0" lightTypes="0 3"/>
        </low>
        <high>
            <light realLight="0>3|0|1" decoration="0>3|0|0" lightTypes="0 3"/>
        </high>
    </lights>
    <brakeLights>
        <brakeLight realLight="0>3|0|1" decoration="0>3|2|0"/>
    </brakeLights>
    <turnLights>
        <turnLightLeft realLight="0>3|1|0|1" decoration="0>3|1|0|0"/>
        <turnLightRight realLight="0>3|1|1|1" decoration="0>3|1|1|0"/>
    </turnLights>
    <reverseLights>
        <reverseLight realLight="0>3|3|1" decoration="0>3|3|0"/>
    </reverseLights>
	
    <cylinderedHydraulicSound file="$data/sounds/hydraulicUp.wav" pitchOffset="0.8" volume="0.4"/>
    <fillSound file="$data/maps/sounds/siloFillSound.wav" pitchOffset="1.0" volume="1.5"/>
	<attachSound file="$data/sounds/attach.wav" pitchOffset="1.0" volume="1.0" indoorVolumeFactor="0.35" indoorLowpassGain="0.75"/>
    
	<fillUnits>
        <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="bulk" capacity="18000"/>
    </fillUnits>
    <fillVolumes>
        <volumes>
            <fillVolume index="0>10|0"/>
        </volumes>
        <unloadInfos>
            <unloadInfo>
                <!-- back -->
                <node index="0>5|5|1" width="1.0" length="1.7"/>
            </unloadInfo>
        </unloadInfos>
        <heights>
            <height fillVolumeIndex="1">
                <refNode index="0>26|0"/>
				<refNode index="0>26|1"/>
                <node index="0>19|0" baseScale="0.95 1 1" transAxis="0 1 0" transMax="0 1.6 0"/>
				<node index="0>19|1" baseScale="2.15 0.1 1" scaleAxis="0 1 0" transAxis="0 0 0"/>
            </height>
        </heights>
    </fillVolumes>
	
	<inputAttacherJoints>
        <inputAttacherJoint index="0>4" jointType="trailerLow"/>
    </inputAttacherJoints>
	
    <tipScrollerNodes>
        <tipScrollerNode index="0>16" shaderParameterName="offsetUV" scrollSpeed="0.1" shaderParameterComponent="2" turnOnFadeTime="1" turnOffFadeTime="1"/>
    </tipScrollerNodes>
    <tipReferencePoints>
        <tipReferencePoint index="0>9" width="2.5"/>
    </tipReferencePoints>
    <!-- Bandit 750--> <!--<tipAnimations>
        <tipAnimation speedScale="1" openSpeedScale="0.9" animationName="tipAnimationBack" dischargeStartTime="1" dischargeEndTime="13">
            <tipEffect>
                <effectNode effectNode="0>5|7|0|0" materialType="unloading" materialTypeId="3" delay="0.3" fadeTime="0.5"/>
                <effectNode effectNode="0>5|7|0|1" materialType="smoke" materialTypeId="1" delay="0.3" fadeTime="0.5"/>
            </tipEffect>
            <emitterShape node="0>5|7|1|0"/>
            <fillVolume>
                <unloadInfo index="1"/>
                <height index="1"/>
            </fillVolume>
        </tipAnimation>
    </tipAnimations>
	-->
	
	<!-- BB550 --> <!-- <tipAnimations>
        <tipAnimation speedScale="1" animationName="tipAnimationBack" dischargeStartTime="1.5" dischargeEndTime="19">
            <tipEffect fillTypes="wheat barley maize rape">
                <effectNode node="0|0|0" linkNode="0>19|0" materialType="unloading" materialTypeId="3" position="0 0 0" filename="$data/vehicles/particleAnimations/shared/unloadingBack.i3d" fadeTime="0.5"/>
                <effectNode node="0|0|1" linkNode="0>19|0" materialType="smoke" materialTypeId="1" position="0 0 0" filename="$data/vehicles/particleAnimations/shared/unloadingBack.i3d" fadeTime="0.5"/>
            </tipEffect>
            <dischargeParticleSystems>
                <dischargeParticleSystem type="chaff" node="0>19|1" psRootNode="0|0" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d"/>
                <dischargeParticleSystem type="potato" node="0>19|1" psRootNode="0|1" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d"/>
                <dischargeParticleSystem type="sugarBeet" node="0>19|1" psRootNode="0|2" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d"/>
                <dischargeParticleSystem type="woodChips" node="0>19|1" psRootNode="0|3" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d"/>
                <dischargeParticleSystem type="silage" node="0>19|1" psRootNode="0|4" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d"/>
                <dischargeParticleSystem type="compost_soil" node="0>19|1" psRootNode="0|3" position="0 0 0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d"/>
            </dischargeParticleSystems>
            <fillVolumeDischargeInfo index="0>25" width="8.0" length="1.4"/>
            <fillVolumeHeight index="1"/>
        </tipAnimation>
    </tipAnimations>-->
	
    <fillRootNode index="0>"/>
    <exactFillRootNode index="0>17"/>
    <fillAutoAimTargetNode index="0>18"/>
    <fillMassNode index="0>"/>
	
    <movingTools>
        <movingTool index="0>12">
            <dependentPart index="0>11|0"/>
        </movingTool>
        <movingTool index="0>11">
            <dependentPart index="0>11|0"/>
        </movingTool>
    </movingTools>
    <movingParts>
        <movingPart index="0>11|0" referencePoint="0>12|0" referenceFrame="0>12|0">
            <translatingPart index="0>11|0|0"/>
        </movingPart>
        <movingPart index="0>22" referencePoint="0>3|2" referenceFrame="0>" scaleZ="true" isActiveDirty="true" playSound="false"/>
        <movingPart index="0>23" referencePoint="0>2|2" referenceFrame="0>" scaleZ="true" isActiveDirty="true" playSound="false"/>
        <movingPart index="0>20" referencePoint="0>3|1" referenceFrame="0>" isActiveDirty="true" playSound="false">
            <translatingPart index="0>20|0"/>
        </movingPart>
        <movingPart index="0>21" referencePoint="0>2|1" referenceFrame="0>" isActiveDirty="true" playSound="false">
            <translatingPart index="0>21|0"/>
        </movingPart>
        <!-- attachable hose -->
        <movingPart index="0>33|0|0" referenceFrame="0>" moveToReferenceFrame="true" doDirectionAlignment="true" playSound="false" isActiveDirty="true"/>
        <movingPart index="0>33|1|0" referenceFrame="0>" moveToReferenceFrame="true" doDirectionAlignment="true" playSound="false" isActiveDirty="true"/>
        <movingPart index="0>33|2|0" referenceFrame="0>" moveToReferenceFrame="true" doDirectionAlignment="true" playSound="false" isActiveDirty="true"/>
        <movingPart index="0>33|3|0" referenceFrame="0>" moveToReferenceFrame="true" doDirectionAlignment="true" playSound="false" isActiveDirty="true"/>
        <movingPart index="0>33|4|0" referenceFrame="0>" moveToReferenceFrame="true" doDirectionAlignment="true" playSound="false" isActiveDirty="true"/>
    </movingParts>
	
    <animations>
        <!-- backtipping -->
        <animation name="tipAnimationBack">
            <part node="0>12" startTime="0" endTime="0.9" startRot="0 0 0" endRot="-30 0 0"/>
            <part node="0>11" startTime="1" endTime="4" startRot="0 0 0" endRot="63 0 0"/>
        </animation>
        <!-- move support wheel down/up -->
        <animation name="moveSupport">
            <part node="0>0|1" startTime="0" endTime="0.05" visibility="false"/>
            <part node="0>24" startTime="0" endTime="0.05" visibility="true"/>
            <part node="0>0|1" startTime="0.05" endTime="0.1" visibility="true"/>
            <part node="0>24" startTime="0.05" endTime="0.1" visibility="false"/>
            <part node="0>15" startTime="0" endTime="0.2" startTrans="-0.236 0.819 0.755" endTrans="-0.236 0.275 0.755"/>
        </animation>
    </animations>
	
    <skinnedNodes>
        <skinnedNode index="0>34|0"/>
        <skinnedNode index="0>34|1"/>
        <skinnedNode index="0>34|2"/>
        <skinnedNode index="0>34|3"/>
        <skinnedNode index="0>34|4"/>
    </skinnedNodes>
	
    <support animationName="moveSupport"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="4"/>
   
   <components count="1">
        <component1 centerOfMass="0 0.75 -2.4" solverIterationCount="10"/>
    </components>
   
   <schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>
    
	<storeData>
        <name>
            <de>Krampe Bandit 550</de>
            <en>Krampe Bandit 550</en></name>
        <functions>
            <function>$l10n_function_tipper</function>
        </functions>
        <specs>
            <neededPower>150</neededPower>
        </specs>
        <image>textures/store.dds</image>
        <price>28750</price>
        <dailyUpkeep>9</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>1</rotation>
        <brand>KRAMPE</brand>
        <category>tippers</category>
    </storeData>
</vehicle>
