<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="dynamicMountAttacherFork">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>DK-3</name>
		<functions>
            <function>$l10n_function_frontloaderBaleFork</function>
        </functions>
        <image>store_deleks.dds</image>
        <price>225</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>DELEKS</brand>
        <category>misc</category>
    </storeData>

    <base>
        <filename>i3d/deleksDC3.i3d</filename>
        <typeDesc>$l10n_typeDesc_baleLoader</typeDesc>
        <size width="2" length="2" />
        <components>
            <component centerOfMass="0 0.2 0.2" solverIterationCount="10" mass="34"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
    </base>
	
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint isControllable="true" node="attacherJointBottom" jointType="implement" topReferenceNode="topReferenceNode" lowerRotationOffset="0" upperRotationOffset="15" lowerRotLimitScale="0 0 0" upperRotLimitScale="0 0 0" lowerTransLimitScale="0 1 0" allowsLowering="true">
                <distanceToGround lower="0.1" upper="0.78"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
    </attachable>
	
	<attacherJointControl maxTiltAngle="20">
        <control controlFunction="controlAttacherJointHeight" controlAxis="AXIS_HYDRAULICATTACHER1" invertControlAxis="true" mouseSpeedFactor="0.3" iconName="IMPLEMENT_ATTACHER_TRANS" />
        <control controlFunction="controlAttacherJointTilt"   controlAxis="AXIS_HYDRAULICATTACHER2" invertControlAxis="true" mouseSpeedFactor="0.3" iconName="IMPLEMENT_ATTACHER_ROTX" />
    </attacherJointControl>
	
	<dynamicMountAttacher node="deleksMainComponent">
        <mountCollisionMask node="colPart1"  collisionMask="134225920" />
        <mountCollisionMask node="colPart2"  collisionMask="134225920" />
		<mountCollisionMask node="colPart3"  collisionMask="134225920" />
    </dynamicMountAttacher>
	
	<baseMaterial>
        <material name="deleks_mat" baseNode="telaioDeleks">
            <shaderParameter name="colorMat0" value="0.2 0.2 0.2 0" material="0"/>
        </material>
    </baseMaterial>
	
	<designMaterialConfigurations useDefaultColors="false" defaultColorIndex="0"    title="$l10n_Colore telaio">
        <designMaterialConfiguration name="$l10n_Grigio"        	color="0.2 0.2 0.2"            	material="0"/>
        <designMaterialConfiguration name="$l10n_Arancio"       	color="1 0.17 0"            	material="0"/>
        <designMaterialConfiguration name="$l10n_Nero"        	    color="0.05 0.05 0.05"    		material="0"/>
        <material name="deleks_mat"        shaderParameter="colorMat0"/>
    </designMaterialConfigurations>
	
	<ai>
        <agentAttachment width="1.3" height="1" length="1.7" lengthOffset="0"/>
    </ai>
	
	<foliageBending>
        <bendingNode minX="-0.6" maxX="0.6" minZ="-0.5" maxZ="0.4" yOffset="0.1" />
    </foliageBending>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="4" />

	<i3dMappings>
	  <i3dMapping id="deleksMainComponent" node="0>" />
	  <i3dMapping id="attacherJoint" node="0>0" />
	  <i3dMapping id="attacherJointBottom" node="0>0|0" />
	  <i3dMapping id="topReferenceNode" node="0>0|1" />
	  <i3dMapping id="visuals" node="0>1" />
	  <i3dMapping id="telaioDeleks" node="0>1|0" />
	  <i3dMapping id="molletta" node="0>1|1" />
	  <i3dMapping id="decals" node="0>1|2" />
	  <i3dMapping id="collisions" node="0>2" />
	  <i3dMapping id="colPart1" node="0>2|0" />
	  <i3dMapping id="colPart2" node="0>2|1" />
	  <i3dMapping id="colPart3" node="0>2|2" />
	  <i3dMapping id="colPartBack1" node="0>2|3" />
	  <i3dMapping id="colPartBack2" node="0>2|4" />
	  <i3dMapping id="colPartBack3" node="0>2|5" />
	</i3dMappings>

</vehicle>