﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="implement" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>$l10n_shopItem_comfortSupportWheel</name>
        <specs>
            <combination xmlFilename="$data/vehicles/kemper/plus360/plus360.xml"/>
            <combination xmlFilename="$data/vehicles/kemper/plus360/plus360_newHolland.xml"/>
            <combination xmlFilename="$data/vehicles/kemper/plus360/plus360_johnDeere.xml"/>
            <combination xmlFilename="$data/vehicles/kemper/plus375/plus375.xml"/>
            <combination xmlFilename="$data/vehicles/kemper/plus375/plus375_newHolland.xml"/>
            <combination xmlFilename="$data/vehicles/kemper/plus375/plus375_johnDeere.xml"/>
            <combination xmlFilename="$data/vehicles/kemper/plus390/plus390.xml"/>
            <combination xmlFilename="$data/vehicles/kemper/plus390/plus390_newHolland.xml"/>
            <combination xmlFilename="$data/vehicles/kemper/plus390/plus390_johnDeere.xml"/>
        </specs>
        <functions>
            <function>$l10n_function_comfortSupportWheel</function>
        </functions>
        <rotation>0</rotation>
        <image>$data/vehicles/kemper/comfortSupportWheel/store_comfortSupportWheel.png</image>
        <price>2000</price>
        <lifetime>600</lifetime>
        <brand>KEMPER</brand>
        <category>forageHarvesterCutters</category>
        <shopTranslationOffset>0 0.118 0</shopTranslationOffset>
        <shopRotationOffset>-9.271 0 0</shopRotationOffset>
        <shopFoldingState>1</shopFoldingState>
        <vertexBufferMemoryUsage>712960</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>136704</indexBufferMemoryUsage>
        <textureMemoryUsage>458752</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_tool</typeDesc>
        <filename>$data/vehicles/kemper/comfortSupportWheel/comfortSupportWheel.i3d</filename>
        <size width="4" length="3" />
        <components>
            <component centerOfMass="0 0.2 0" solverIterationCount="10" mass="1500" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT"/>
        <mapHotspot type="TOOL_TRAILED" />
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels hasSurfaceSounds="false" autoRotateBackSpeed="1.5">
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW305/380_55R17.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="2.5" repr="wheelRot" driveNode="wheelNode" radius="0.45" width="0.8" mass="0.2" forcePointRatio="0.2" initialCompression="35" suspTravel="0.1" spring="115" damper="30" rotationDamping="0.02" versatileYRot="true" frictionScale="0.2" transRatio="1"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>

        <rimColor material="18">SHARED_WHITE1</rimColor>

        <hubs>
            <color0>SHARED_DA_METAL_BLACK</color0>
            <color1>SHARED_GREY3</color1>
            <hub linkNode="wheelNode" filename="$data/shared/wheels/hubs/hub_n6_1.xml" isLeft="true" scale="0.15 0.2 0.2"/>
        </hubs>
    </wheels>

    <attachable>
        <inputAttacherJointConfigurations>
            <inputAttacherJointConfiguration name="Claas" price="0" displayBrand="CLAAS">
                <inputAttacherJoint node="attacherJoint" jointType="implement" lowerRotLimitScale="0 0 0" upperRotationOffset="0" lowerRotationOffset="0" allowsLowering="false" needsLowering="false">
                    <distanceToGround lower="0" upper="0" />
                    <subType name="kemperSupportFrame"/>
                </inputAttacherJoint>

                <objectChange node="frameClaas" visibilityActive="true" visibilityInactive="false"/>
            </inputAttacherJointConfiguration>
            <inputAttacherJointConfiguration name="Fendt" price="0" displayBrand="FENDT">
                <inputAttacherJoint node="attacherJoint" jointType="implement" lowerRotLimitScale="0 0 0" upperRotationOffset="0" lowerRotationOffset="0" allowsLowering="false" needsLowering="false">
                    <distanceToGround lower="0" upper="0" />
                    <subType name="kemperSupportFrame"/>
                </inputAttacherJoint>

                <objectChange node="frameJohnDeere" visibilityActive="true" visibilityInactive="false"/>
            </inputAttacherJointConfiguration>
            <inputAttacherJointConfiguration name="John Deere" price="0" displayBrand="JOHNDEERE">
                <inputAttacherJoint node="attacherJoint" jointType="implement" lowerRotLimitScale="0 0 0" upperRotationOffset="0" lowerRotationOffset="0" allowsLowering="false" needsLowering="false">
                    <distanceToGround lower="0" upper="0" />
                    <subType name="kemperSupportFrame"/>
                </inputAttacherJoint>

                <objectChange node="frameJohnDeere" visibilityActive="true" visibilityInactive="false"/>
            </inputAttacherJointConfiguration>
            <inputAttacherJointConfiguration name="New Holland" price="0" displayBrand="NEWHOLLAND">
                <inputAttacherJoint node="attacherJointNewHolland" jointType="implement" lowerRotLimitScale="0 0 0" upperRotationOffset="0" lowerRotationOffset="0" allowsLowering="false" needsLowering="false">
                    <distanceToGround lower="0" upper="0" />
                    <subType name="kemperSupportFrame"/>
                </inputAttacherJoint>

                <objectChange node="frameNewHolland" visibilityActive="true" visibilityInactive="false"/>
                <objectChange node="wheelRoot" translationActive="0.000 0.679 1.227"/>
            </inputAttacherJointConfiguration>
        </inputAttacherJointConfigurations>
    </attachable>

    <lights>
        <sharedLight linkNode="frontLightRectangle_02_left" filename="$data/shared/assets/lights/lizard/frontLight07_left.xml" />
        <sharedLight linkNode="frontLightRectangle_02_right" filename="$data/shared/assets/lights/lizard/frontLight07_right.xml" />

        <realLights>
            <low>
                <light node="frontLightLow" lightTypes="0"/>
            </low>
            <high>
                <light node="frontLightHighLeft" lightTypes="0"/>
                <light node="frontLightHighRight" lightTypes="0"/>
                <turnLightLeft node="turnLightLeftFront"/>
                <turnLightRight node="turnLightRightFront"/>
            </high>
        </realLights>
    </lights>

    <foldable>
        <foldingConfigurations title="$l10n_shop_combinations">
            <foldingConfiguration name="360 Plus / 600SFI" price="0">
                <foldingParts startMoveDirection="0" useParentFoldingState="true">
                    <foldingPart animationName="folding360" speedScale="1" />
                </foldingParts>
            </foldingConfiguration>
            <foldingConfiguration name="375 Plus / 750SFI" price="0">
                <foldingParts startMoveDirection="0" useParentFoldingState="true">
                    <foldingPart animationName="folding375" speedScale="1" />
                </foldingParts>
            </foldingConfiguration>
            <foldingConfiguration name="390 Plus / 900SFI" price="0">
                <foldingParts startMoveDirection="0" useParentFoldingState="true">
                    <foldingPart animationName="folding390" speedScale="1" />
                </foldingParts>

                <objectChange node="comfortWheelWide_vis" visibilityActive="true" visibilityInactive="false"/>
                <objectChange node="comfortWheelWide_collision" compoundChildActive="true" compoundChildInactive="false"/>

                <objectChange node="comfortWheelNarrow_vis" visibilityActive="false" visibilityInactive="true"/>
                <objectChange node="comfortWheelNarrow_collision" compoundChildActive="false" compoundChildInactive="true"/>

                <objectChange node="framePartsLeft" translationActive="0 0 0" translationInactive="-0.150 -0.131 -0.006"/>
                <objectChange node="framePartsRight" translationActive="0 0 0" translationInactive="0.150 -0.131 -0.006"/>

                <objectChange node="lightLeft" translationActive="0 0 0" translationInactive="-0.15 0 0"/>
                <objectChange node="lightRight" translationActive="0 0 0" translationInactive="0.15 0 0"/>
            </foldingConfiguration>
        </foldingConfigurations>
    </foldable>

    <animations>
        <animation name="folding360">
            <part node="leftFrame" startTime="2.60" endTime="3" startRot="0 0 0" endRot="0 88 0" />
            <part node="leftFramePart" startTime="2.35" endTime="2.9" startRot="0 0 0" endRot="0 90 0" />
            <part node="rightFrame" startTime="2.60" endTime="3" startRot="0 0 0" endRot="0 -88 0" />
            <part node="rightFramePart" startTime="2.35" endTime="2.9" startRot="0 0 0" endRot="0 -90 0" />
        </animation>
        <animation name="folding375">
            <part node="leftFrame" startTime="2.70" endTime="3" startRot="0 0 0" endRot="0 85 0" />
            <part node="leftFramePart" startTime="2.60" endTime="3" startRot="0 0 0" endRot="0 94 0" />
            <part node="rightFrame" startTime="2.70" endTime="3" startRot="0 0 0" endRot="0 -85 0" />
            <part node="rightFramePart" startTime="2.60" endTime="3" startRot="0 0 0" endRot="0 -94 0" />
        </animation>
        <animation name="folding390">
            <part node="leftFrame" startTime="2.70" endTime="3" startRot="0 0 0" endRot="0 90 0" />
            <part node="leftFramePart" startTime="2.60" endTime="3" startRot="0 0 0" endRot="0 100 0" />
            <part node="rightFrame" startTime="2.40" endTime="2.70" startRot="0 0 0" endRot="0 -90 0" />
            <part node="rightFramePart" startTime="2.30" endTime="2.70" startRot="0 0 0" endRot="0 -100 0" />
        </animation>
    </animations>

    <cylindered>
        <movingTools>
            <movingTool node="leftFrame" playSound="true">
                <dependentPart node="damperLeft" />
                <dependentPart node="springLeft" />
            </movingTool>
            <movingTool node="leftFramePart">
                <dependentPart node="springLeft" />
            </movingTool>
            <movingTool node="rightFrame" playSound="true">
                <dependentPart node="damperRight" />
                <dependentPart node="springRight" />
            </movingTool>
            <movingTool node="rightFramePart">
                <dependentPart node="springRight" />
            </movingTool>
        </movingTools>

        <movingParts>
            <movingPart node="damperLeft" referencePoint="damperLeftRef" referenceFrame="damperLeftRef">
                <translatingPart node="damperLeftPunch" />
            </movingPart>
            <movingPart node="damperRight" referencePoint="damperRightRef" referenceFrame="damperRightRef">
                <translatingPart node="damperRightPunch" />
            </movingPart>
            <movingPart node="springLeft" referencePoint="springLeftRef" referenceFrame="springLeftRef" scaleZ="true"/>
            <movingPart node="springRight" referencePoint="springRightRef" referenceFrame="springRightRef" scaleZ="true"/>
        </movingParts>

        <sounds>
            <hydraulic template="defaultHydraulicSound" linkNode="comfortSupportWheel_main_component1"/>
        </sounds>
    </cylindered>

    <ai>
        <agentAttachment width="3.1" height="2.5" length="2.6" lengthOffset="0"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-0.5" maxX="0.5" minZ="-0.5" maxZ="1.5" yOffset="0.1" />
    </foliageBending>

    <baseMaterial>
        <material name="comfortShared_mat" baseNode="comfortWheelNarrow_vis">
            <shaderParameter name="colorMat0" value="KEMPER_YELLOW_1"/>
        </material>
    </baseMaterial>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="2" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="comfortSupportWheel_main_component1" node="0>" />
        <i3dMapping id="attacherJoint" node="0>0|0|0" />
        <i3dMapping id="attacherJointNewHolland" node="0>0|0|1" />
        <i3dMapping id="wheelRoot" node="0>0|1" />
        <i3dMapping id="wheelRot" node="0>0|1|0" />
        <i3dMapping id="wheelNode" node="0>0|1|0|0" />
        <i3dMapping id="frontLightLow" node="0>0|2|0" />
        <i3dMapping id="lightLeft" node="0>0|2|1" />
        <i3dMapping id="frontLightHighLeft" node="0>0|2|1|0" />
        <i3dMapping id="turnLightLeftFront" node="0>0|2|1|1" />
        <i3dMapping id="frontLightRectangle_02_left" node="0>0|2|1|2" />
        <i3dMapping id="lightRight" node="0>0|2|2" />
        <i3dMapping id="frontLightHighRight" node="0>0|2|2|0" />
        <i3dMapping id="turnLightRightFront" node="0>0|2|2|1" />
        <i3dMapping id="frontLightRectangle_02_right" node="0>0|2|2|2" />
        <i3dMapping id="framePartsLeft" node="0>0|3|0" />
        <i3dMapping id="leftFrame" node="0>0|3|0|0" />
        <i3dMapping id="damperLeftRef" node="0>0|3|0|0|0" />
        <i3dMapping id="springLeftRef" node="0>0|3|0|0|1" />
        <i3dMapping id="damperLeft" node="0>0|3|0|1" />
        <i3dMapping id="damperLeftPunch" node="0>0|3|0|1|0" />
        <i3dMapping id="leftFramePart" node="0>0|3|0|2" />
        <i3dMapping id="springLeft" node="0>0|3|0|2|0" />
        <i3dMapping id="framePartsRight" node="0>0|3|1" />
        <i3dMapping id="rightFrame" node="0>0|3|1|0" />
        <i3dMapping id="damperRightRef" node="0>0|3|1|0|0" />
        <i3dMapping id="springRightRef" node="0>0|3|1|0|1" />
        <i3dMapping id="damperRight" node="0>0|3|1|1" />
        <i3dMapping id="damperRightPunch" node="0>0|3|1|1|0" />
        <i3dMapping id="rightFramePart" node="0>0|3|1|2" />
        <i3dMapping id="springRight" node="0>0|3|1|2|0" />
        <i3dMapping id="comfortWheelNarrow_vis" node="0>0|4|0" />
        <i3dMapping id="comfortWheelNarrow_collision" node="0>0|4|0|1" />
        <i3dMapping id="comfortWheelWide_vis" node="0>0|4|1" />
        <i3dMapping id="comfortWheelWide_collision" node="0>0|4|1|1" />
        <i3dMapping id="frameClaas" node="0>0|4|2" />
        <i3dMapping id="frameJohnDeere" node="0>0|4|3" />
        <i3dMapping id="frameNewHolland" node="0>0|4|4" />
    </i3dMappings>
</vehicle>
