<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="dynamicMountAttacherTrailer">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>Cutter Trailer JSK7</name>
        <functions>
            <function>$l10n_function_cutterTrailer</function>
        </functions>
        <image>store/store_cutterTrailerJSK7.dds</image>
        <price>1750</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>_GOMSELMASH_</brand>
        <category>cutterTrailers</category>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_cutterTrailer</typeDesc>
        <filename>TelegkaSmall.i3d</filename>
        <size width="2.5" length="12" lengthOffset="0.415"/>
        <components>
            <component centerOfMass="0 0.26 -1.4" 		solverIterationCount="30" mass="2000"/>
            <component centerOfMass="0 0 0" 			solverIterationCount="30" mass="200"/>
            <component centerOfMass="0.00 -0.05 -1.17" 	solverIterationCount="30" mass="50"/>
            <joint component1="1" component2="2" node="compjoint1" rotLimit="120 0 0" transLimit="0 0 0"/>
            <joint component1="2" component2="3" node="compjoint2" rotLimit="20 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">
                <wheels>
                    <wheel filename="Wheels/R14_1.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="0.4" repr="wheelFrontLeft"  forcePointRatio="0.4" initialCompression="15" suspTravel="0.1" spring="40" damper="10"/>
                    </wheel>
                    <wheel filename="Wheels/R14_1.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="0.4" repr="wheelFrontRight" forcePointRatio="0.4" initialCompression="15" suspTravel="0.1" spring="40" damper="10"/>
                    </wheel>

                    <wheel filename="Wheels/R14_1.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="0.4" repr="wheelBackLeft"   forcePointRatio="0.4" initialCompression="15" suspTravel="0.1" spring="40" damper="10"/>
                    </wheel>
                    <wheel filename="Wheels/R14_1.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="0.4" repr="wheelBackRight"  forcePointRatio="0.4" initialCompression="15" suspTravel="0.1" spring="40" damper="10"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacher" rootNode="lafet_drawbar_component3" jointType="trailer" attacherHeight="0"/>
        </inputAttacherJoints>
        <brakeForce force="0.25"/>
    </attachable>
    
    <connectionHoses>
        <hose inputAttacherJointIndices="1" type="electric" node="electric" length="1" diameter="0.007" straighteningFactor="1.5">
			<objectChange node="HosesDetached" visibilityActive="false" visibilityInactive="true"/>
		</hose>
    </connectionHoses>

    <lights>
        <sharedLight linkNode="rearLight11_left" 	filename="$data/shared/assets/lights/lizard/rearLight11_left.xml"/>
        <sharedLight linkNode="rearLight11_right" 	filename="$data/shared/assets/lights/lizard/rearLight11_right.xml"/>
		<sharedLight linkNode="bigTriangle" 		filename="$data/shared/assets/reflectors/lizard/bigTriangle.xml" />
        <sharedLight linkNode="redTriangle_01" 		filename="$data/shared/assets/reflectors/lizard/redTriangle_01.xml" />
        <sharedLight linkNode="redTriangle_02" 		filename="$data/shared/assets/reflectors/lizard/redTriangle_01.xml" />

        <realLights>
            <high>
                <light node="backLightHighLeft" lightTypes="0" />
                <turnLightLeft 	node="turnLightLeftBack" />
                <turnLightRight node="turnLightRightBack" />
                <brakeLight node="backLightHighLeft" />
            </high>
        </realLights>
    </lights>
	
	<cylindered>
        <movingTools>
        </movingTools>

        <movingParts>
			<movingPart node="Spring001" referencePoint="Spring001Fix" referenceFrame="Spring001Fix" isActiveDirty="true" maxUpdateDistance="300" scaleZ="true"/>
        </movingParts>
    </cylindered>
	
	<ai>
        <agentAttachment jointNode="attacher" 	rotCenterWheelIndices="1 2" width="2.8" height="2.2" length="10" lengthOffset="-6.2" hasCollision="false"/>
        <agentAttachment jointNode="compjoint1" rotCenterWheelIndices="3 4" width="1.0" height="1.2" length="1" lengthOffset="9"/>
    </ai>

    <dynamicMountAttacher triggerNode="dynamicMountTrigger" rootNode="Lafet_main_component" jointNode="cutterJointNode" forceAcceleration="500" mountType="TYPE_AUTO_ATTACH_XZ" transferMass="true">
        <lockPosition jointNode="JointJSK7" xmlFilename="JSK7Old.xml" />
        <lockPosition jointNode="JointJSK7" xmlFilename="JSK7.xml" />
    </dynamicMountAttacher>
    
	<foliageBending>
        <bendingNode minX="-1" 		maxX="1" 	minZ="-5" 		maxZ="3.54" yOffset="0.4" />
        <bendingNode minX="-0.5" 	maxX="0.5" 	minZ="-0.2" 	maxZ="0.35" yOffset="-0.2" />
        <bendingNode minX="-0.1" 	maxX="0.1" 	minZ="0" 		maxZ="2.78" yOffset="-0.06" />
    </foliageBending>
	
	<baseColorConfigurations price="600">
	
		<baseColorConfiguration name="AEBI_RED1" 		 	color="AEBI_RED1"/>
		<baseColorConfiguration name="AGROMASZ_REDPAINT"  	color="AGROMASZ_REDPAINT"/>
        <baseColorConfiguration name="AMAZONE_RED1" 		color="AMAZONE_RED1"/>
        <baseColorConfiguration name="ANNABURGER_RED1" 	 	color="ANNABURGER_RED1"/>
		<baseColorConfiguration name="ARCUSIN_RED1" 		color="ARCUSIN_RED1"/>
		<baseColorConfiguration name="BIZON_RED1" 		 	color="BIZON_RED1"/>
		<baseColorConfiguration name="BRANTNER_RED1" 	 	color="BRANTNER_RED1"/>
		<baseColorConfiguration name="CAPELLO_RED1" 		color="CAPELLO_RED1"/>
		<baseColorConfiguration name="CHALLENGER_RED1"  	color="CHALLENGER_RED1"/>
		<baseColorConfiguration name="CLAAS_RED1" 		 	color="CLAAS_RED1"/>
		<baseColorConfiguration name="DUEVELSDORF_RED1"  	color="DUEVELSDORF_RED1"/>
		<baseColorConfiguration name="FLEXICOIL_RED1"  		color="FLEXICOIL_RED1"/>
		<material materialSlotName="red_metal_mat"/>
		
	</baseColorConfigurations>
    
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>
	
	<i3dMappings>
	  <i3dMapping id="Lafet_main_component" node="0>" />
	  <i3dMapping id="compjoint1" node="0>0" />
	  <i3dMapping id="lights" node="0>1" />
	  <i3dMapping id="backLightHighLeft" node="0>1|0" />
	  <i3dMapping id="backLightHighRight" node="0>1|0|0" />
	  <i3dMapping id="turnLightLeftBack" node="0>1|1" />
	  <i3dMapping id="turnLightRightBack" node="0>1|2" />
	  <i3dMapping id="rearLight11_right" node="0>1|3" />
	  <i3dMapping id="rearLight11_left" node="0>1|4" />
	  <i3dMapping id="redTriangle_01" node="0>1|5" />
	  <i3dMapping id="redTriangle_02" node="0>1|6" />
	  <i3dMapping id="bigTriangle" node="0>1|7" />
	  <i3dMapping id="wheelBackLeft" node="0>2|0" />
	  <i3dMapping id="wheelBackRight" node="0>2|1" />
	  <i3dMapping id="dynamicMountTrigger" node="0>4|0" />
	  <i3dMapping id="cutterJointNode" node="0>4|1" />
	  <i3dMapping id="JointJSK7" node="0>4|2" />
	  <i3dMapping id="Rama" node="0>3|4" />
	  <i3dMapping id="lafet_axis_component2" node="1>" />
	  <i3dMapping id="wheelsFront" node="1>0" />
	  <i3dMapping id="wheelFrontLeft" node="1>0|0" />
	  <i3dMapping id="wheelFrontRight" node="1>0|1" />
	  <i3dMapping id="compjoint2" node="1>1" />
	  <i3dMapping id="Spring001" node="1>2" />
	  <i3dMapping id="OsFront" node="1>3" />
	  <i3dMapping id="lafet_drawbar_component3" node="2>" />
	  <i3dMapping id="electric" node="2>0" />
	  <i3dMapping id="attacher" node="2>1" />
	  <i3dMapping id="Dyshlo" node="2>2" />
	  <i3dMapping id="HosesDetached" node="2>3" />
	  <i3dMapping id="electric_vis" node="2>3|0" />
	  <i3dMapping id="Spring001Fix" node="2>4" />
	</i3dMappings>
</vehicle>
