<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="dynamicMountAttacherTrailer" 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>N60-40</name>
        <specs>
            <combination xmlFilename="$data/vehicles/fendt/powerFlow/powerFlow.xml" />
            <combination xmlFilename="$data/vehicles/masseyFerguson/powerFlow/powerFlow.xml" />
            <combination xmlFilename="$data/vehicles/fendt/dynaFlex9255/dynaFlex9255.xml" />
            <combination xmlFilename="$data/vehicles/masseyFerguson/dynaFlex9255/dynaFlex9255.xml" />
            <!-- <combination xmlFilename="$data/vehicles/newHolland/varifeed41/varifeed41.xml" /> -->
            <combination xmlFilename="$data/vehicles/case/terraFlex3050_41/terraFlex3050_41.xml" />
            <combination xmlFilename="$data/vehicles/capello/helianthus12000/helianthus12000.xml" />
        </specs>
        <functions>
            <function>$l10n_function_cutterTrailer</function>
        </functions>
        <image>$data/vehicles/nardi/n60_40/store_n60_40.png</image>
        <price>10500</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>NARDI</brand>
        <category>cutterTrailers</category>
        <shopTranslationOffset>0 0.042 0</shopTranslationOffset>
        <shopRotationOffset>0.055 0 0</shopRotationOffset>
        <shopLoadingDelay initial="0.3"/>
        <vertexBufferMemoryUsage>840192</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>152320</indexBufferMemoryUsage>
        <textureMemoryUsage>1966080</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_cutterTrailer</typeDesc>
        <filename>$data/vehicles/nardi/n60_40/n60_40.i3d</filename>
        <size width="3.8" length="17.8" lengthOffset="0.05" />
        <components>
            <component centerOfMass="0 0.45 -1.5" solverIterationCount="30" mass="1000"/>
            <component centerOfMass="0 -0.141 -0.198" solverIterationCount="30" mass="1000"/>
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="400"/>
            <joint component1="1" component2="2" node="componentJointAxis"    rotLimit="0 115 0" transLimit="0 0 0" />
            <joint component1="2" component2="3" node="componentJointDrawbar" rotLimit="0 0 0"   transLimit="0 0 0" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL_TRAILED" />
    </base>

     <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="TRELLEBORG" saveId="TRELLEBORG_DEFAULT">
                <wheels>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW305/300_80R15_3.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.8" repr="wheelFrontLeft"  useReprDirection="true" forcePointRatio="0.25" initialCompression="10" suspTravel="0.12" spring="62" damper="15"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW305/300_80R15_3.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.8" repr="wheelFrontRight" useReprDirection="true" forcePointRatio="0.25" initialCompression="10" suspTravel="0.12" spring="62" damper="15"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW305/300_80R15_3.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.4" repr="wheelBackLeft"   useReprDirection="true" forcePointRatio="0.25" initialCompression="10" suspTravel="0.055" spring="60" damper="15"/>
                        <wheelChock parkingNode="wheelChock02_left" filename="$data/shared/assets/wheelChocks/wheelChock02.i3d"/>
                        <wheelChock parkingNode="wheelChock02_right" filename="$data/shared/assets/wheelChocks/wheelChock02.i3d" isInverted="true" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW305/300_80R15_3.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.4" repr="wheelBackRight"  useReprDirection="true" forcePointRatio="0.25" initialCompression="10" suspTravel="0.055" spring="60" damper="15"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>

        <dynamicallyLoadedWheels>
            <dynamicallyLoadedWheel linkNode="wheelSpare" filename="$data/shared/wheels/tires/trelleborg/AW305/300_80R15_3.xml" />
        </dynamicallyLoadedWheels>

        <hubs>
            <color0 useBaseColor="true"/>
            <color1>SHARED_GREY3</color1>
            <hub linkNode="wheelFrontLeft"  filename="$data/shared/wheels/hubs/hub_n6_1.xml" isLeft="true"  scale="0.12 0.20 0.20" />
            <hub linkNode="wheelFrontRight" filename="$data/shared/wheels/hubs/hub_n6_1.xml" isLeft="false" scale="0.12 0.20 0.20" />
            <hub linkNode="wheelBackLeft"   filename="$data/shared/wheels/hubs/hub_n6_1.xml" isLeft="true"  scale="0.12 0.20 0.20" />
            <hub linkNode="wheelBackRight"  filename="$data/shared/wheels/hubs/hub_n6_1.xml" isLeft="false" scale="0.12 0.20 0.20" />
            <hub linkNode="wheelSpare"      filename="$data/shared/wheels/hubs/hubImperador_n0_1.xml" isLeft="false" scale="0.02 0.07 0.07">
                <color1>-</color1>
            </hub>
        </hubs>
    </wheels>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="trailer" rootNode="n60_40_drawbar_component3" attacherHeight="0.68"/>
        </inputAttacherJoints>
        <support animationName="moveSupport" />
        <brakeForce force="0.25"/>
    </attachable>

    <licensePlates>
        <licensePlate node="licensePlate" position="BACK" preferedType="SQUARISH" placementArea="0.08 0.2 0.2 0.2"/>
    </licensePlates>

    <connectionHoses>
        <hose inputAttacherJointIndices="1" type="electric" node="electric" length="1.6" diameter="0.008" straighteningFactor="0.2">
           <objectChange node="electric_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="0"   linkNode="wheelChockSupport01_left"  filename="$data/shared/assets/wheelChocks/wheelChockSupport01.i3d"/>
        <dynamicallyLoadedPart node="0"   linkNode="wheelChockSupport01_right" filename="$data/shared/assets/wheelChocks/wheelChockSupport01.i3d"/>
        <dynamicallyLoadedPart node="1|1" linkNode="electric_connector"        filename="$data/shared/connectionHoses/connectors.i3d"/>
    </dynamicallyLoadedParts>

    <lights>
        <sharedLight linkNode="redTriangle_02_left"        filename="$data/shared/assets/reflectors/lizard/redTriangle_01.xml" />
        <sharedLight linkNode="redTriangle_02_right"       filename="$data/shared/assets/reflectors/lizard/redTriangle_01.xml" />
        <sharedLight linkNode="redRound_03_left"           filename="$data/shared/assets/reflectors/lizard/redRound_03.xml" />
        <sharedLight linkNode="redRound_03_right"          filename="$data/shared/assets/reflectors/lizard/redRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_03_01" filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_03_02" filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_03_03" filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_03_04" filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_03_05" filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_03_06" filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_03_06" filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_03_07" filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_03_06" filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_03_10" filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_03_11" filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_03_12" filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_03_13" filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_03_14" filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_03_15" filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_03_16" filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />

        <realLights>
            <high>
                <light node="backLightsHigh1"       lightTypes="0" />
                <light node="licensePlateLightHigh" lightTypes="0" />
                <turnLightLeft node="turnLightLeftBack" />
                <turnLightRight node="turnLightRightBack" />
                <brakeLight node="backLightsHigh1" />
            </high>
        </realLights>

        <defaultLights>
            <defaultLight shaderNode="defaultLightStatic"      lightTypes="0" intensity="50"/>
            <defaultLight shaderNode="defaultLightGlassStatic" lightTypes="0" intensity="5"/>
            <defaultLight shaderNode="licensePlateLightStatic"      lightTypes="0" intensity="50"/>
            <defaultLight shaderNode="licensePlateLightGlassStatic" lightTypes="0" intensity="5"/>
        </defaultLights>

        <turnLights>
            <turnLightLeft  shaderNode="turnlightLeftStatic"       intensity="50"/>
            <turnLightLeft  shaderNode="turnlightLeftGlassStatic"  intensity="5"/>
            <turnLightRight shaderNode="turnlightRightStatic"      intensity="50"/>
            <turnLightRight shaderNode="turnlightRightGlassStatic" intensity="5"/>
        </turnLights>

        <brakeLights>
            <brakeLight shaderNode="defaultLightStatic" intensity="50"/>
            <brakeLight shaderNode="defaultLightGlassStatic" intensity="5"/>
        </brakeLights>

        <beaconLights>
           <beaconLight node="beaconLight03" filename="$data/shared/assets/beaconLights/lizard/beaconLight03.xml" />
        </beaconLights>
    </lights>

    <dynamicMountAttacher triggerNode="dynamicMountTrigger" rootNode="n60_40_main_component1" jointNode="n60_40_main_component1" forceAcceleration="500" mountType="TYPE_AUTO_ATTACH_XZ" transferMass="true">
        <lockPosition jointNode="capelloHelianthus12000" xmlFilename="$data/vehicles/capello/helianthus12000/helianthus12000.xml" />
        <lockPosition jointNode="newHollandVarifeed41" xmlFilename="$data/vehicles/newHolland/varifeed41/varifeed41.xml" />
        <lockPosition jointNode="fendtDynaFlex9255" xmlFilename="$data/vehicles/fendt/dynaFlex9255/dynaFlex9255.xml" />
        <lockPosition jointNode="fendtPowerFlow" xmlFilename="$data/vehicles/fendt/powerFlow/powerFlow.xml" />
    </dynamicMountAttacher>

    <animations>
        <animation name="moveSupport">
             <part componentJointIndex="2" startTime="0.0" endTime="0.15" startRotLimit="25 0 0" endRotLimit="5 0 0" />
        </animation>
    </animations>

    <cylindered>
        <movingParts>
            <movingPart node="drawbarPart"   referencePoint="drawbarSpringRef" referenceFrame="drawbarSpringRef" isActiveDirty="true" maxUpdateDistance="100"/>
            <movingPart node="drawbarSpring" referencePoint="drawbarSpringRef" referenceFrame="drawbarSpringRef" scaleZ="true" isActiveDirty="true" maxUpdateDistance="100"/>
        </movingParts>
    </cylindered>

    <designConfigurations title="$l10n_configuration_spareWheel">
        <designConfiguration name="$l10n_configuration_valueNo" price="0">
            <objectChange node="wheelSpareMount" visibilityActive="false" />
        </designConfiguration>
        <designConfiguration name="$l10n_configuration_valueYes" price="500">
            <objectChange node="wheelSpareMount" visibilityActive="true" />
        </designConfiguration>
    </designConfigurations>

    <ai>
        <agentAttachment jointNode="attacherJoint" rotCenterWheelIndices="1 2" width="2.8" height="2.2" length="15.3" lengthOffset="-6.75" hasCollision="false"/>
        <agentAttachment jointNode="componentJointAxis" rotCenterWheelIndices="3 4" width="1.0" height="1.2" length="1" lengthOffset="10.6"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-0.8" maxX="0.7" minZ="-8.6" maxZ="5.4" yOffset="0.4" />
        <bendingNode minX="-1.25" maxX="1.25" minZ="-5.4" maxZ="-4.3" yOffset="0.4" />
        <bendingNode minX="0.1" maxX="2.4" minZ="-0.3" maxZ="0.3" yOffset="-0.1" node="attacherJoint" />
        <bendingNode minX="2.4" maxX="3.4" minZ="-0.5" maxZ="0.5" yOffset="-0.22" node="attacherJoint" />
    </foliageBending>

    <baseMaterial>
        <material name="n60_40_mat" baseNode="n60_40_vis">
            <shaderParameter name="colorMat0" value="SHARED_GREYDARK"/>
            <shaderParameter name="colorMat1" value="SHARED_GREYDARK"/>
        </material>
        <material name="n60_40_45box_mat" baseNode="n60_40_vis1">
            <shaderParameter name="colorMat0" value="SHARED_GREYDARK"/>
        </material>
    </baseMaterial>

    <baseMaterialConfigurations price="0" useDefaultColors="true" defaultColorIndex="6" title="$l10n_configuration_chassisColor">
        <baseMaterialConfiguration name="New Holland" color="NEWHOLLAND_YELLOW1"/>
        <baseMaterialConfiguration name="Rostselmash" color="ROSTSELMASH_RED1"/>
        <material name="n60_40_mat" shaderParameter="colorMat0" />
        <material name="n60_40_45box_mat" shaderParameter="colorMat0" />
    </baseMaterialConfigurations>

    <designMaterialConfigurations price="0" useDefaultColors="true" defaultColorIndex="6" title="$l10n_configuration_extensionColor">
        <designMaterialConfiguration name="New Holland" color="NEWHOLLAND_YELLOW1"/>
        <designMaterialConfiguration name="Rostselmash" color="ROSTSELMASH_RED1"/>
        <material name="n60_40_mat" shaderParameter="colorMat1" />
    </designMaterialConfigurations>

    <rimColorConfigurations price="0" useDefaultColors="true" defaultColorIndex="0">
        <rimColorConfiguration name="$l10n_ui_colorSilver" color="SHARED_WHITE1" material="18" price="0"/>
        <rimColorConfiguration name="New Holland" color="NEWHOLLAND_YELLOW1"/>
        <rimColorConfiguration name="CLAAS" color="CLAAS_RED1"/>
    </rimColorConfigurations>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="n60_40_main_component1" node="0>" />
        <i3dMapping id="n60_40_vis" node="0>0" />
        <i3dMapping id="wheelChock02_left" node="0>0|0|0|0" />
        <i3dMapping id="wheelChock02_right" node="0>0|0|0|1" />
        <i3dMapping id="wheelChockSupport01_left" node="0>0|0|0|2" />
        <i3dMapping id="wheelChockSupport01_right" node="0>0|0|0|3" />
        <i3dMapping id="wheelBackLeft" node="0>0|1|0" />
        <i3dMapping id="wheelBackRight" node="0>0|1|1" />
        <i3dMapping id="redTriangle_02_left" node="0>0|2|0|0" />
        <i3dMapping id="redTriangle_02_right" node="0>0|2|0|1" />
        <i3dMapping id="redRound_03_left" node="0>0|2|0|2" />
        <i3dMapping id="redRound_03_right" node="0>0|2|0|3" />
        <i3dMapping id="reflectorYellowRound_03_01" node="0>0|2|0|4" />
        <i3dMapping id="reflectorYellowRound_03_02" node="0>0|2|0|5" />
        <i3dMapping id="reflectorYellowRound_03_03" node="0>0|2|0|6" />
        <i3dMapping id="reflectorYellowRound_03_04" node="0>0|2|0|7" />
        <i3dMapping id="reflectorYellowRound_03_05" node="0>0|2|0|8" />
        <i3dMapping id="reflectorYellowRound_03_06" node="0>0|2|0|9" />
        <i3dMapping id="reflectorYellowRound_03_07" node="0>0|2|0|10" />
        <i3dMapping id="reflectorYellowRound_03_08" node="0>0|2|0|11" />
        <i3dMapping id="reflectorYellowRound_03_09" node="0>0|2|0|12" />
        <i3dMapping id="reflectorYellowRound_03_10" node="0>0|2|0|13" />
        <i3dMapping id="reflectorYellowRound_03_11" node="0>0|2|0|14" />
        <i3dMapping id="reflectorYellowRound_03_12" node="0>0|2|0|15" />
        <i3dMapping id="reflectorYellowRound_03_13" node="0>0|2|0|16" />
        <i3dMapping id="reflectorYellowRound_03_14" node="0>0|2|0|17" />
        <i3dMapping id="reflectorYellowRound_03_15" node="0>0|2|0|18" />
        <i3dMapping id="reflectorYellowRound_03_16" node="0>0|2|0|19" />
        <i3dMapping id="defaultLightStatic" node="0>0|2|1|0" />
        <i3dMapping id="defaultLightGlassStatic" node="0>0|2|1|1" />
        <i3dMapping id="licensePlateLightStatic" node="0>0|2|1|2" />
        <i3dMapping id="licensePlateLightGlassStatic" node="0>0|2|1|3" />
        <i3dMapping id="turnlightLeftStatic" node="0>0|2|1|4" />
        <i3dMapping id="turnlightLeftGlassStatic" node="0>0|2|1|5" />
        <i3dMapping id="turnlightRightStatic" node="0>0|2|1|6" />
        <i3dMapping id="turnlightRightGlassStatic" node="0>0|2|1|7" />
        <i3dMapping id="licensePlateLightHigh" node="0>0|2|2|0" />
        <i3dMapping id="backLightsHigh1" node="0>0|2|3|0" />
        <i3dMapping id="turnLightLeftBack" node="0>0|2|4|0" />
        <i3dMapping id="turnLightRightBack" node="0>0|2|4|1" />
        <i3dMapping id="beaconLight03" node="0>0|2|5|0" />
        <i3dMapping id="componentJointAxis" node="0>0|3" />
        <i3dMapping id="licensePlate" node="0>0|4" />
        <i3dMapping id="dynamicMountTrigger" node="0>0|5|0" />
        <i3dMapping id="capelloHelianthus12000" node="0>0|5|1" />
        <i3dMapping id="newHollandVarifeed41" node="0>0|5|2" />
        <i3dMapping id="fendtDynaFlex9255" node="0>0|5|3" />
        <i3dMapping id="fendtPowerFlow" node="0>0|5|4" />
        <i3dMapping id="wheelSpareMount" node="0>0|6|0" />
        <i3dMapping id="wheelSpare" node="0>0|6|0|0" />
        <i3dMapping id="n60_40_vis1" node="0>0|7|0" />
        <i3dMapping id="n60_40_axis_component2" node="1>" />
        <i3dMapping id="wheelFrontLeft" node="1>0|0" />
        <i3dMapping id="wheelFrontRight" node="1>0|1" />
        <i3dMapping id="componentJointDrawbar" node="1>0|2" />
        <i3dMapping id="drawbarSpringRef" node="1>0|3" />
        <i3dMapping id="n60_40_drawbar_component3" node="2>" />
        <i3dMapping id="attacherJoint" node="2>0|0" />
        <i3dMapping id="electric" node="2>0|1|0" />
        <i3dMapping id="electric_detached" node="2>0|1|0|0" />
        <i3dMapping id="electric_connector" node="2>0|1|0|0|0" />
        <i3dMapping id="drawbarPart" node="2>0|2" />
        <i3dMapping id="drawbarSpring" node="2>0|2|0" />
    </i3dMappings>
</vehicle>
