<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="baseAttachable">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>
            <en>360 Plus Fahrwerk</en></name>
        <specs>
            <combination>360 Plus</combination>
        </specs>
        <image>$data/vehicles/kemper/plus360/store_plus360.png</image>
        <price>6000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>KEMPER</brand>
        <category>forageHarvesterCutters</category>
        <shopTranslationOffset>0 0 0</shopTranslationOffset>
        <shopRotationOffset>0 0 0</shopRotationOffset>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_harvestingHeader</typeDesc>
        <filename>fahrwerk.i3d</filename>
        <size width="4.5" length="3.5" lengthOffset="0.3"/>
        <speedLimit value="10"/>
        <components>
            <component centerOfMass="0 -0.8 -0.5" solverIterationCount="10" mass="500"/>
        </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">
                <wheels hasSurfaceSounds="false" autoRotateBackSpeed="1.5">
                    <wheel>
                        <physics rotSpeed="0" restLoad="1.2" repr="groundContacWheelRight" forcePointRatio="0.5" radius="0.425" width="0.4" mass="0.005" initialCompression="25" suspTravel="0.1" spring="45" damper="20" rotationDamping="0.002" isSynchronized="false" versatileYRot="true" maxLatStiffness="0"/>
                    </wheel>
                    <wheel>
                        <physics rotSpeed="0" restLoad="1.2" repr="groundContacWheelLeft"  forcePointRatio="0.5" radius="0.425" width="0.4" mass="0.005" initialCompression="25" suspTravel="0.1" spring="45" damper="20" rotationDamping="0.002" isSynchronized="false" versatileYRot="true" maxLatStiffness="0"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>

        <dynamicallyLoadedWheels>
            <dynamicallyLoadedWheel linkNode="wheelNode" filename="$data/shared/wheels/trelleborg/AW305/380_55R17.xml" isLeft="true"/>
        </dynamicallyLoadedWheels>

        <hubs>
            <color0>SHARED_BLACK2</color0>
            <hub linkNode="wheelNode" filename="$data/shared/wheels/hubs/hubSmall_n0_1.xml" isLeft="true"  scale="0.1 0.185 0.185" offset="0.02" />
            <hub linkNode="wheelNode" filename="$data/shared/wheels/hubs/hubSmall_n0_1.xml" isLeft="false" scale="0.1 0.185 0.185" offset="0.02" />
        </hubs>
	</wheels>

    <speedRotatingParts>
        <speedRotatingPart node="wheelRot" radius="0.32" driveNode="wheelNode" versatileYRot="true" speedReferenceNode="wheelRot" />
    </speedRotatingParts>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="trailer" forceSelectionOnAttach="false" />
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
    </attachable>
	
    <animations>
        <animation name="moveSupport">
            <part node="fahwerk360left_vis" startTime="0" duration="0.5" startRot="0 0 0" endRot="0 -90 0"/>
            <part node="fahwerk360right_vis" startTime="0" duration="0.5" startRot="0 0 0" endRot="0 90 0"/>
        </animation>
    </animations>

    <cylindered>
        <movingTools>
            <movingTool node="fahwerk360left_vis" playSound="true">
                <dependentPart node="leftCyl_vis"/>
            </movingTool>
            <movingTool node="fahwerk360right_vis" playSound="true">
                <dependentPart node="rightCyl_vis"/>
            </movingTool>
        </movingTools>
        <movingParts>
            <movingPart node="leftCyl_vis" referencePoint="leftRef" referenceFrame="leftRef" invertZ="true">
                <translatingPart node="leftDep_vis" />
            </movingPart>
            <movingPart node="rightCyl_vis" referencePoint="rightRef" referenceFrame="rightRef" invertZ="true">
                <translatingPart node="rightDep_vis"/>
            </movingPart>
        </movingParts>
        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="fahrwerk_main_component1"/>
        </sounds>
    </cylindered>

    <lights>
        <sharedLight linkNode="sideMarker_04Orange1" filename="$data/shared/assets/lights/lizard/frontLightRectangle_02_right.xml" />
        <sharedLight linkNode="sideMarker_04Orange2" filename="$data/shared/assets/lights/lizard/frontLightRectangle_02_left.xml" />
        <realLights>
            <low>
                <light node="frontLightLow" lightTypes="0"/>
            </low>
            <high>
                <light node="frontLightLow" lightTypes="0"/>
                <turnLightLeft node="turnLightLeftFront"/>
                <turnLightRight node="turnLightRightFront"/>
            </high>
        </realLights>
    </lights>

    <dynamicMount forceLimitScale="1"/>
    <foliageBending>
        <bendingNode minX="-1.1" maxX="1.1" minZ="-0.6" maxZ="0.6" yOffset="0.8"/>
    </foliageBending>
    <baseMaterial>
        <material name="fahrwerk360_mat" baseNode="fahwerk360_vis">
            <shaderParameter name="colorMat0" value="KEMPER_YELLOW_1"/>
        </material>
    </baseMaterial>
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="4" fieldMultiplier="2"/>
    <i3dMappings>
        <i3dMapping id="fahrwerk_main_component1" node="0>" />
        <i3dMapping id="wheelMoveNode" node="0>0" />
        <i3dMapping id="groundContacWheelRight" node="0>0|0" />
        <i3dMapping id="groundContacWheelLeft" node="0>0|1" />
        <i3dMapping id="attacherJoint" node="0>1" />
        <i3dMapping id="fahwerk360_vis" node="0>2|0" />
        <i3dMapping id="wheel_root" node="0>2|0|0" />
        <i3dMapping id="wheelRot" node="0>2|0|0|0" />
        <i3dMapping id="wheelNode" node="0>2|0|0|0|0" />
        <i3dMapping id="frontLightLow" node="0>2|0|1|0" />
        <i3dMapping id="turnLightLeftFront" node="0>2|0|1|1" />
        <i3dMapping id="turnLightRightFront" node="0>2|0|1|2" />
        <i3dMapping id="sideMarker_04Orange1" node="0>2|0|1|3" />
        <i3dMapping id="sideMarker_04Orange2" node="0>2|0|1|4" />
        <i3dMapping id="fahwerk360left_vis" node="0>2|1|0" />
        <i3dMapping id="leftRef" node="0>2|1|0|0" />
        <i3dMapping id="fahwerk360right_vis" node="0>2|1|1" />
        <i3dMapping id="rightRef" node="0>2|1|1|0" />
        <i3dMapping id="leftCyl_vis" node="0>2|1|2|0" />
        <i3dMapping id="leftDep_vis" node="0>2|1|2|0|0" />
        <i3dMapping id="rightCyl_vis" node="0>2|1|2|1" />
        <i3dMapping id="rightDep_vis" node="0>2|1|2|1|0" />
    </i3dMappings>
</vehicle>
