<?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) PeterJ, All Rights Reserved.</annotation>

    <storeData>
        <name>
			<en>Concrete Weight</en>
			<de>Ballastkasten</de>
		</name>
        <specs>
            <weight>
                <config name="inputAttacherJoint" index="1" value="350"/>
                <config name="inputAttacherJoint" index="2" value="500"/>
            </weight>
            <combination xmlFilename="MF35.xml"/>
            <combination xmlFilename="MF100series3cyl.xml"/>
            <combination xmlFilename="Systematic_short.xml"/>
            <combination xmlFilename="Systematic.xml"/>
        </specs>
        <functions>
            <function>$l10n_function_weight</function>
        </functions>
        <image>store_concretWeight.png</image>
        <price>380</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>weights</category>
        <vertexBufferMemoryUsage>46848</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>7168</indexBufferMemoryUsage>
        <textureMemoryUsage>524288</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_weight</typeDesc>
		<filename>concreteWeight.i3d</filename>
        <size width="2.0" length="1" />
        <components>
            <component centerOfMass="0 0.05 0" solverIterationCount="10" mass="350" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>

    <attachable>		
		<inputAttacherJointConfigurations title="$l10n_configuration_version">
            <inputAttacherJointConfiguration name="350" params="350" price="0" vehicleName="Concrete Weight 350">
				<inputAttacherJoint node="attacherJoint" jointType="implement" topReferenceNode="topReferenceNode" lowerRotLimitScale="0 0 0" upperRotationOffset="3" lowerRotationOffset="0" needsLowering="false">
					<distanceToGround lower="0" upper="0.85" />
				</inputAttacherJoint>
				<objectChange node="concreteWeightSmall" 	visibilityInactive="false" />
				<objectChange node="weightCollision"		compoundChildActive="false"/>
            </inputAttacherJointConfiguration>
            <inputAttacherJointConfiguration name="500" params="500" price="70" vehicleName="Concrete Weight 500">	
				<inputAttacherJoint node="attacherJoint1" jointType="implement" topReferenceNode="topReferenceNode1" lowerRotLimitScale="0 0 0" upperRotationOffset="3" lowerRotationOffset="0" needsLowering="false">
					<distanceToGround lower="0" upper="0.85" />
				</inputAttacherJoint>
				<objectChange node="concreteWeight" 	visibilityActive="true" />
				<objectChange node="concreteWeight_component1" massActive="500" />
            </inputAttacherJointConfiguration>
        </inputAttacherJointConfigurations>
    </attachable>

    <ai>
        <agentAttachment width="0.85" height="1.0" length="0.6" lengthOffset="-0.1"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-0.5" maxX="0.5" minZ="-0.5" maxZ="0.3" yOffset="0.1" />
    </foliageBending>
   
    <baseMaterial>
        <material name="attacher_mat" baseNode="concreteWeight">
            <shaderParameter name="colorMat0" value="SHARED_GREY5"/>
        </material>
    </baseMaterial>
	
    <baseMaterialConfigurations>
        <baseMaterialConfiguration color="MASSEYFERGUSON_RED"	name="$l10n_colour_MFred" />
        <baseMaterialConfiguration color="NEWHOLLAND_YELLOW1"	name="$l10n_colour_MFyellow" />
        <baseMaterialConfiguration color="MASSEYFERGUSON_GOLD" material="18" name="$l10n_colour_MFgold" />
        <baseMaterialConfiguration color="SHARED_GREY5"			name="$l10n_ui_colorGrey" />
        <material name="attacher_mat" shaderParameter="colorMat0" />
    </baseMaterialConfigurations>

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

    <i3dMappings>
        <i3dMapping id="concreteWeight_component1" node="0>" />
        <i3dMapping id="attacherJoint" node="0>0|0" />
        <i3dMapping id="topReferenceNode" node="0>0|1" />
        <i3dMapping id="attacherJoint1" node="0>0|2" />
        <i3dMapping id="topReferenceNode1" node="0>0|3" />
        <i3dMapping id="concreteWeightSmall" node="0>1|0" />
        <i3dMapping id="concreteWeight" node="0>1|1" />
        <i3dMapping id="weightCollision" node="0>2|0" />
    </i3dMappings>
</vehicle>
