<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="HW80SHA">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
	
	<storeData>
        <name>HW80 SHA</name>
        <functions>
            <function>Aufbau für den Transport von Haeckselgut aller Art. Structure for the transport of all types of chopped.</function>
        </functions>
        <specs>
            <neededPower>100</neededPower>
        </specs>
        <image>store.dds</image>
        <price>21485</price>
        <dailyUpkeep>35</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
         <brand>FORTSCHRITT</brand>
        <category>tippers</category>
    </storeData>
	
	<designConfigurations>
        <designConfiguration name="Basic" price="0" icon="$dataS2/menu/hud/configurations/config_edition.png"></designConfiguration>
		
        <designConfiguration name="Schwerhäckselaufbau" price="6000" icon="$dataS2/menu/hud/configurations/config_edition.png">
            <objectChange node="0>3|0|21|2" visibilityActive="true" visibilityInactive="false"/>
        </designConfiguration>
    </designConfigurations>
	
    <typeDesc>$l10n_typeDesc_tipper</typeDesc>
    <filename>HW80SHA.i3d</filename>
    <size width="4" length="9" lengthOffset="0.5"/>
	
     <wheelConfigurations>
        <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
            <wheels>
                <wheel restLoad="1.5" repr="1>0"     forcePointRatio="0.2" filename="$data/vehicles/wheels/lizard/385_65R22_5.xml" isLeft="true"  initialCompression="17" suspTravel="0.12" spring="65" damper="50" hasTireTracks="true" hasParticles="true" />
                <wheel restLoad="1.5" repr="1>1"     forcePointRatio="0.2" filename="$data/vehicles/wheels/lizard/385_65R22_5.xml" isLeft="false" initialCompression="17" suspTravel="0.12" spring="65" damper="50" hasTireTracks="true" hasParticles="true" />
                <wheel restLoad="0.9" repr="0>0|0|0" forcePointRatio="0.3" filename="$data/vehicles/wheels/lizard/385_65R22_5.xml" isLeft="true"  initialCompression="10" suspTravel="0.12" spring="65" damper="50" hasTireTracks="true" hasParticles="true" />
                <wheel restLoad="0.9" repr="0>0|0|1" forcePointRatio="0.3" filename="$data/vehicles/wheels/lizard/385_65R22_5.xml" isLeft="false" initialCompression="10" suspTravel="0.12" spring="65" damper="50" hasTireTracks="true" hasParticles="true" />
				<wheel restLoad="0.9" repr="0>2|7|0" forcePointRatio="0.3" filename="$data/vehicles/wheels/lizard/385_65R22_5.xml" isLeft="false" initialCompression="10" suspTravel="0.12" spring="65" damper="50" hasTireTracks="true" hasParticles="true" />
			</wheels>
        </wheelConfiguration>
        <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="400" icon="$dataS2/menu/hud/configurations/config_wheel_broad.png" >
            <wheels>
                <wheel restLoad="1.5" repr="1>0"     forcePointRatio="0.2" filename="$data/vehicles/wheels/trelleborg/TwinRadial_500_60R22_5.xml" isLeft="true"  initialCompression="17" suspTravel="0.12" spring="65" damper="50" hasTireTracks="true" hasParticles="true" />
                <wheel restLoad="1.5" repr="1>1"     forcePointRatio="0.2" filename="$data/vehicles/wheels/trelleborg/TwinRadial_500_60R22_5.xml" isLeft="false" initialCompression="17" suspTravel="0.12" spring="65" damper="50" hasTireTracks="true" hasParticles="true" />
                <wheel restLoad="0.9" repr="0>0|0|0" forcePointRatio="0.3" filename="$data/vehicles/wheels/trelleborg/TwinRadial_500_60R22_5.xml" isLeft="true"  initialCompression="10" suspTravel="0.12" spring="65" damper="50" hasTireTracks="true" hasParticles="true" />
                <wheel restLoad="0.9" repr="0>0|0|1" forcePointRatio="0.3" filename="$data/vehicles/wheels/trelleborg/TwinRadial_500_60R22_5.xml" isLeft="false" initialCompression="10" suspTravel="0.12" spring="65" damper="50" hasTireTracks="true" hasParticles="true" />
				<wheel restLoad="0.9" repr="0>2|7|0" forcePointRatio="0.3" filename="$data/vehicles/wheels/trelleborg/TwinRadial_500_60R22_5.xml" isLeft="false" initialCompression="10" suspTravel="0.12" spring="65" damper="50" hasTireTracks="true" hasParticles="true" />
			</wheels>
        </wheelConfiguration>
    </wheelConfigurations>
    <brakeForce>0.9</brakeForce>
	
    <fillUnits>
        <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="bulk" capacity="20000"/>
    </fillUnits>

    <inputAttacherJoints>
        <inputAttacherJoint index="2>0" jointType="trailer" rootNode="2>" attacherHeight="0.7826"/>
    </inputAttacherJoints>	
	
    <attacherJoints>
        <attacherJoint index="0>2|6" jointType="trailer" allowsJointLimitMovement="false" upperRotationOffset="0" lowerRotLimit="10 80 80">
            <schema position="0.5 0" rotation="0" invertX="false"/>
        </attacherJoint>
    </attacherJoints>

    <lights>
        <low>
            <light                       decoration="0>4|0|0" lightTypes="0 3" />
        </low>
        <high>
            <light realLight="0>4|0|1" decoration="0>4|0|0" lightTypes="0 3" />
        </high>
    </lights>
	
    <brakeLights>
        <brakeLight realLight="0>4|0|1" decoration="0>4|2|0" />
    </brakeLights>

    <turnLights>
        <turnLightLeft  realLight="0>4|1|0|1" decoration="0>4|1|0|0" />
        <turnLightRight realLight="0>4|1|1|1" decoration="0>4|1|1|0" />
    </turnLights>	
	
    <Fortschritt_HW60>
        <spring index="1>4|0" part="1>4|0|0" fixPoint="1>4|0|0|0" target="2>2"/>
    </Fortschritt_HW60>
	
    <animations>
        <animation name="tipAnimationLeft">
            <part node="0>3|0" startTime="0" endTime="8" startRot="0 0 0" endRot="0 0 35"/>
            <!-- body -->
            <part node="0>3|0|0" startTime="0" endTime="8" startRot="0 0 0" endRot="0 0 -96"/>
            <!-- klappe -->
            <part node="0>3|0|0|0" startTime="0" endTime="8" startRot="0 0 0" endRot="0 0 32"/>
            <!-- klappe oben -->
        </animation>
        <!-- move support wheel down/up-->
        <animation name="moveSupport">
            <part node="2>3|0" startTime="0" endTime="0.05" visibility="false"/>
            <part node="2>3|1" startTime="0" endTime="0.05" visibility="true"/>
            <part node="2>3|0" startTime="0.05" endTime="0.1" visibility="true"/>
            <part node="2>3|1" startTime="0.05" endTime="0.1" visibility="false"/>
        </animation>
    </animations>
	
    <support animationName="moveSupport"/>
    <movingTools>
        <movingTool index="0>3|0" playSound="true" >
            <dependentPart index="0>2|0"/>
            <dependentPart index="0>2|1"/>
        </movingTool>
        <movingTool index="0>3|0" playSound="true" >
            <controls axis="AXIS_FRONTLOADER_ARM" icon="$dataS2/menu/moveControls/.png" invertAxis="true" invertMouseAxis="false" speedFactor="0.3"/>
            <rotation rotSpeed="100" rotAcceleration="160" rotMax="55" rotMin="-0" rotationAxis="3"/>
            <dependentPart index="0>2|0"/>
            <dependentPart index="0>2|1"/>
        </movingTool>
        <movingTool index="0>3|0|0" playSound="true" >
            <controls axis="AXIS_FRONTLOADER_TOOL" icon="$dataS2/menu/moveControls/frontloader_tool.png" invertAxis="false" invertMouseAxis="true" speedFactor="0.3"/>
            <rotation rotSpeed="100" rotAcceleration="160" rotMax="0" rotMin="-90" rotationAxis="3"/>
            <dependentPart index="0>2|0"/>
            <dependentPart index="0>2|1"/>
        </movingTool>
        <movingTool index="0>3|0">
            <dependentPart index="0>2|0"/>
            <dependentPart index="0>2|1"/>
        </movingTool>
    </movingTools>
    <movingParts>
        <movingPart index="0>2|0" referencePoint="0>3|0|11" referenceFrame="0>2|0" lockAxis="1"/>
        <movingPart index="0>2|0" referencePoint="0>3|0|11" referenceFrame="0>2|0" lockAxis="3">
            <translatingPart index="0>2|0|0"/>
            <translatingPart index="0>2|0|0|0"/>
            <translatingPart index="0>2|0|0|0|0"/>
        </movingPart>
        <movingPart index="0>2|1" referencePoint="0>3|0|12" referenceFrame="0>2|1" lockAxis="1"/>
        <movingPart index="0>2|1" referencePoint="0>3|0|12" referenceFrame="0>2|1" lockAxis="3">
            <translatingPart index="0>2|1|0"/>
            <translatingPart index="0>2|1|0|0"/>
            <translatingPart index="0>2|1|0|0|0"/>
        </movingPart>
        <movingPart index="0>2|9|0" referencePoint="0>3|0|1|0" 		referenceFrame="0>2|9|0" scaleZ="true" playSound="false" isActiveDirty="true"/>
        <movingPart index="0>3|0|1" referencePoint="0>3|0|0|0|0" 	referenceFrame="0>3|0|1" scaleZ="true" playSound="false" isActiveDirty="true"/>
        <movingPart index="0>2|8|0" referencePoint="0>3|0|2|0" 		referenceFrame="0>2|8|0" scaleZ="true" playSound="false" isActiveDirty="true"/>
        <movingPart index="0>3|0|2" referencePoint="0>3|0|0|0|1" 	referenceFrame="0>3|0|2" scaleZ="true" playSound="false" isActiveDirty="true"/>
    </movingParts>

    <fillVolumes>
        <volumes>
            <volume index="0>3|0|10|0"/>
        </volumes>

        <unloadInfos>
            <unloadInfo> <!-- left -->
                <node index="0>3|0|10|1|0" width="1.0" length="2.9" />
            </unloadInfo>
        </unloadInfos>

        <heights>
            <height fillVolumeIndex="1" > <!-- back -->
                <refNode index="0>3|0|9|0" />
                <refNode index="0>3|0|9|1" />
                <node index="0>3|0|7|0|1" baseScale="1 1 1" transAxis="0 1 0" transMax="0 0.05 0"/>
            </height>
        </heights>
    </fillVolumes>
	
    <tipAnimations>
        <tipAnimation speedScale="1" closeSpeedScale="-1.7" animationName="tipAnimationLeft" dischargeStartTime="0.8" dischargeEndTime="18">
            <tipEffect>
                <effectNode effectNode="0>3|0|7|0|0|0" materialType="unloading" materialTypeId="3" fadeTime="0.5"/>
                <effectNode effectNode="0>3|0|7|0|0|1" materialType="smoke"     materialTypeId="1" fadeTime="0.5"/>
            </tipEffect>
            <emitterShape node="0>3|0|7|0|1|0" />
            <fillVolume>
                <unloadInfo index="1"/>
                <height index="1"/>
            </fillVolume>
        </tipAnimation>
    </tipAnimations>	
	
    <cylinderedHydraulicSound file="$data/sounds/hydraulicUp.wav"  pitchOffset="0.8" volume="1.0" indoorVolumeFactor="0.45" />
    <fillSound file="$data/maps/sounds/siloFillSound.wav"          pitchOffset="1.0" volume="1.5" indoorVolumeFactor="0.75" />
	
    <tipReferencePoints>
        <tipReferencePoint index="0>2|2|0" width="2.5"/>
    </tipReferencePoints>
	
    <fillRootNode index="0>"/>
    <exactFillRootNode index="0>3|0|6"/>
    <fillAutoAimTargetNode index="0>3|0|5" startZ="-2" endZ="2" invert="false" fillUnitIndex="1" startPercentage="25"/>
    <fillMassNode index="0>"/>
    <allowFillFromAir value="true"/>
	
    <components count="5">
        <component1 centerOfMass="0.00 1.24 -0.71" solverIterationCount="35"/>
        <component2 solverIterationCount="35"/>
        <component3 solverIterationCount="35"/>
        <component4 centerOfMass="0 -0.23 -0.01" solverIterationCount="10"/>
        <component5 centerOfMass="0 -0.23 -0.01" solverIterationCount="10"/>
        <joint component1="0" component2="1" index="1>3" rotLimit="0 120 0" transLimit="0 0 0"/>
        <joint component1="1" component2="2" index="2>1" rotLimit="20 0 0" transLimit="0 0 0"/>
        <joint component1="0" component2="3" index="3>0" rotLimit="20 0 0" transLimit="0 0 0"/>
        <joint component1="0" component2="4" index="4>0" rotLimit="20 0 0" transLimit="0 0 0"/>
    </components>
    
	<washable dirtDuration="60" washDuration="1" workMultiplier="4"/>
    
	<schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>
</vehicle>
