<?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>Agribumper JCB 1500</name>
        <functions>
            <function>$l10n_function_weight</function>
        </functions>
        <specs>
            <combination xmlFilename="i3d/fastrac8330.xml" />
			<combination xmlFilename="i3d/fastrac4220.xml" />
        </specs>
        <rotation>0</rotation>
        <image>store/store_agribumper.png</image>
        <price>5000</price>
        <lifetime>600</lifetime>
        <brand>HOTINC</brand>
        <category>weights</category>
        <shopTranslationOffset>0 0 0</shopTranslationOffset>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_weight</typeDesc>
        <filename>i3d/agribumper.i3d</filename>
        <size width="2.8" length="1" height="3.8" />
        <components>
            <component centerOfMass="0 0.05 0" solverIterationCount="10" mass="200" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="OTHER" />
    </base>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="implement" needsLowering="false" allowsLowering="false">
                <distanceToGround lower="0.4" upper="0.4" />
                <subType name="agribumper" showWarning="false"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
    </attachable>
	
	<lights>	
		<sharedLight linkNode="workingLight_left" node="0" lightTypes="2" filename="$data/shared/assets/lights/lizard/workingLight04.xml" >
            <rotationNode name="rotationNode1" rotation="0 0 0" />
        </sharedLight>
		<sharedLight linkNode="workingLight_right" node="0" lightTypes="2" filename="$data/shared/assets/lights/lizard/workingLight04.xml" >
            <rotationNode name="rotationNode1" rotation="0 0 0" />
        </sharedLight>
		<sharedLight linkNode="frontLight_left" node="0" lightTypes="0" filename="i3d/assets/sideMarker14White.xml" />
        <sharedLight linkNode="frontLight_right" node="0" lightTypes="0" filename="i3d/assets/sideMarker14White.xml" />
    </lights>
	
	<designConfigurations>
        <designConfiguration name="$l10n_configuration_agriX" params="200" price="0" vehicleName="agribumper">
			<objectChange node="agribumper_vis" massActive="200"/>
            <objectChange node="left1" visibilityActive="false"/>
            <objectChange node="right1" visibilityActive="false"/>
			<objectChange node="left2" visibilityActive="false"/>
			<objectChange node="right2" visibilityActive="false"/>
			<objectChange node="left3" visibilityActive="false"/>
			<objectChange node="right3" visibilityActive="false"/>
        </designConfiguration>
		
		<designConfiguration name="$l10n_configuration_agriX1" params="700" price="750" vehicleName="agribumper 700">
			<objectChange node="agribumper_vis" massActive="700"/>
            <objectChange node="left1" visibilityActive="true"/>
            <objectChange node="right1" visibilityActive="true"/>
			<objectChange node="left2" visibilityActive="false"/>
			<objectChange node="right2" visibilityActive="false"/>
			<objectChange node="left3" visibilityActive="false"/>
			<objectChange node="right3" visibilityActive="false"/>
        </designConfiguration>

        <designConfiguration name="$l10n_configuration_agriX2" params="1200" price="1350" vehicleName="agribumper 1200">
            <objectChange node="agribumper_vis" massActive="1200"/>
            <objectChange node="left1" visibilityActive="true"/>
            <objectChange node="left2" visibilityActive="true"/>
			<objectChange node="right1" visibilityActive="true"/>
			<objectChange node="right2" visibilityActive="true"/>
			<objectChange node="left3" visibilityActive="false"/>
			<objectChange node="right3" visibilityActive="false"/>
        </designConfiguration>
		
		<designConfiguration name="$l10n_configuration_agriX3" params="1700" price="1350" vehicleName="agribumper 1700">
            <objectChange node="agribumper_vis" massActive="1700"/>
            <objectChange node="left1" visibilityActive="true"/>
            <objectChange node="left2" visibilityActive="true"/>
			<objectChange node="right1" visibilityActive="true"/>
			<objectChange node="right2" visibilityActive="true"/>
			<objectChange node="left3" visibilityActive="true"/>
			<objectChange node="right3" visibilityActive="true"/>
        </designConfiguration>
    </designConfigurations>

    <ai>
        <agentAttachment width="2.0" height="0.2" length="1.8" lengthOffset="0"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-1.1" maxX="1.1" minZ="0.2" maxZ="0.85" yOffset="0.02" />
    </foliageBending>

    <baseMaterial>
		<material name="agri_mat" baseNode="agribumper_vis">
            <shaderParameter name="colorMat0" value="JCB_YELLOW1"/>
        </material>
    </baseMaterial>
	
	<baseMaterialConfigurations price="3000" useDefaultColors="true" defaultColorIndex="0">
		<baseMaterialConfiguration name="JCB" color="JCB_YELLOW1" />
		<baseMaterialConfiguration name="HOT" color="1 0.144 0" />
        <material name="agri_mat" shaderParameter="colorMat0" />
	</baseMaterialConfigurations> 	

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

    <i3dMappings>
        <i3dMapping id="main_component1" node="0>" />
        <i3dMapping id="agribumper_vis" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>1" />
		<i3dMapping id="left1" node="0>2|0|0" />
		<i3dMapping id="left2" node="0>2|0|1" />
		<i3dMapping id="left3" node="0>2|0|2" />
		<i3dMapping id="right1" node="0>2|0|3" />
		<i3dMapping id="right2" node="0>2|0|4" />
		<i3dMapping id="right3" node="0>2|0|5" />
		<i3dMapping id="frontLight_left" node="0>3|0" />
		<i3dMapping id="frontLight_right" node="0>3|1" />
		<i3dMapping id="workingLight_left" node="0>3|2" />
		<i3dMapping id="workingLight_right" node="0>3|3" />
    </i3dMappings>
</vehicle>
