<?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">
    
    <storeData>
        <name>AVM Bumper</name>
        <specs>
            <weight>
                <config name="design" index="1" value="400"/>
                <config name="design" index="2" value="700"/>
                <config name="design" index="3" value="900"/>
                <config name="design" index="4" value="1200"/>
                <config name="design" index="5" value="1400"/>
                <config name="design" index="6" value="1600"/>
                <config name="design" index="7" value="1800"/>
            </weight>
        </specs>
        <functions>
            <function>$l10n_function_weight</function>
        </functions>
        <rotation>0</rotation>
        <image>Extras/textures/store_AVMBumper.dds</image>
        <price>5000</price>
        <lifetime>600</lifetime>
        <brand>JOHNDEERE</brand>
        <category>weights</category>
        <shopLoadingDelay initial="0.15"/>
        <shopTranslationOffset>0 -0.116 0</shopTranslationOffset>
        <shopRotationOffset>0.2 0 0</shopRotationOffset>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_weight</typeDesc>
        <filename>Extras/Bumper.i3d</filename>
        <size width="3" length="0.72" height="0.9" />
        <components>
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="400" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>
	<attachable>
		<inputAttacherJoints>
			<inputAttacherJoint node="attacherJoint" jointType="implement" lowerRotLimitScale="0 0 0" upperRotationOffset="3" lowerRotationOffset="0" needsLowering="false">
				<distanceToGround lower="0.3" upper="0.75"/>
			</inputAttacherJoint>
		</inputAttacherJoints>
		<support animationName="pallet_visibility" />	
	</attachable>
	<tensionBeltObject>
		<meshNodes>
			<meshNode node="Agribumper_vis"/>
		</meshNodes>
	</tensionBeltObject>
    <ai>
        <agentAttachment width="1" height="1.2" length="0.8" lengthOffset="-0.075"/>
    </ai>
	<lights>
		<staticLightCompounds>
            <staticLightCompound>
				<node node="rearLight22White3" intensity="5"/>
                <node node="rearLightGlass3" intensity="1"/>
				<node node="rearLight22White4" intensity="5"/>
                <node node="rearLightGlass4" intensity="1"/>
				<node node="rearLight22White2" intensity="5"/>
                <node node="rearLightGlass2" intensity="1"/>
				<node node="rearLight22Orange_right" intensity="5"/>
                <node node="rearLightGlassR" intensity="1"/>	
				<node node="rearLight22Orange_left" intensity="5"/>
                <node node="rearLightGlassL" intensity="1"/>
				<node node="frontLight09_right" intensity="5"/>
                <node node="frontLightGlass_staticR" intensity="2"/>
				<node node="frontLight09_left" intensity="5"/>
                <node node="frontLightGlass_staticL" intensity="2"/>
				<node node="sideMarker05OrangeR" intensity="5"/>
				<node node="sideMarker05OrangeL" intensity="5"/>
				<node node="rearLight22White" intensity="5"/>
                <node node="rearLightGlass" intensity="1"/>
				<node node="rearLight22White2" intensity="5"/>
                <node node="rearLightGlass2" intensity="1"/>
				<node node="rearLight22Orange_right" intensity="5"/>
                <node node="rearLightGlassR" intensity="1"/>	
				<node node="rearLight22Orange_left" intensity="5"/>
                <node node="rearLightGlassL" intensity="1"/>
			</staticLightCompound>
        </staticLightCompounds>
	</lights>
    <foliageBending>
        <bendingNode minX="-0.5" maxX="0.5" minZ="-0.4" maxZ="0.35" yOffset="0.15"/>
    </foliageBending>
	<animations>
		<animation name="Box_Door_open">
            <part node="Box_Door" 		startTime="2" duration="2" startRot="0 0 0" endRot="-70 0 0"/>
			<part node="latchopener" 	startTime="0" duration="2" startRot="0 0 0" endRot="-45 0 0"/>
			<part node="latch" 			startTime="0.01" duration="2" startRot="0 0 0" endRot="60 0 0"/>
			<sound file="$data/sounds/animations/impacts/aniMetalImpLow_01.ogg" startTime="0.01" endTime="2" volumeScale="2.5" pitchScale="0" direction="-1"/>
            <sound file="$data/sounds/animations/hinges/aniHingeMedium_02.ogg" startTime="2" volumeScale="2.5" pitchScale="0" direction="1" />
			<sound file="$data/sounds/animations/clacks/aniClack_04.ogg" startTime="1.2" volumeScale="2.5" pitchScale="0" direction="-1" />
            <sound file="$data/sounds/animations/clacks/aniClack_03.ogg" startTime="0.01" volumeScale="2.5" pitchScale="0" direction="1" />
        </animation>
		<animation name="pallet_visibility">
            <part node="pallet" startTime="0" endTime="0.001" visibility="false"/>
			<part node="pallet" startTime="0.001" endTime="0.002" visibility="true"/>			
			<part node="collision" startTime="0" endTime="0.001" startTrans="0 0.2 0" endTrans="0 0 0" startScale="0 0 0" endScale="1 1 1"/>	                
			<part node="mainColli" startTime="0" endTime="0.001" startTrans="0 0 0" endTrans="0 0.1 0"/>	
			<part node="groundcolli01" startTime="0" endTime="0.001" startTrans="0 0.261 0.527" endTrans="0.646 0.186 0.527" startScale="0 0 0" endScale="1 1 1"/>	
			<part node="groundcolli02" startTime="0" endTime="0.001" startTrans="0 0.261 0.527" endTrans="-0.646 0.186 0.527" startScale="0 0 0" endScale="1 1 1"/>			
        </animation>
	</animations>
	<interactiveControl>
        <interactiveControlConfigurations title="$l10n_actionIC_Animation">
            <interactiveControlConfiguration name="$l10n_actionIC_IC">
                <interactiveControls>
                    <outdoorTrigger node="interactiveTrigger" />
					<interactiveControl posText="$l10n_actionIC_openDoor" negText="$l10n_actionIC_closeDoor">
                        <clickPoint node="IC_Box" alignToCamera="true" size="0.04" type="OUTDOOR" iconType="CROSS"/> 
                        <animation name="Box_Door_open" speedScale="1.5" initTime="0.0"/>
                    </interactiveControl>
				</interactiveControls>
            </interactiveControlConfiguration>
        </interactiveControlConfigurations>
    </interactiveControl>				
	<connectionHoses>
		<hose inputAttacherJointIndices="1" type="electric" node="ElectricFrontRef" length="0.04" diameter="0.008" straighteningFactor="0.8">
		<objectChange node="Cable_Disconnect" visibilityActive="false" visibilityInactive="true"/>
        </hose>		
    </connectionHoses>
    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="0|1" linkNode="ElectricConnector" 			filename="$data/shared/connectionHoses/connectors.i3d"/>	
    </dynamicallyLoadedParts>	
	<designConfigurations name="$l10n_Weight"> 	
	        <designConfiguration name="$l10n_configuration_valueDefault" price="2500">
		    <objectChange node="Agribumper_vis" visibilityActive="true"/>
            <objectChange node="agribumper_middle_weight_1" visibilityActive="false" />
            <objectChange node="agribumper_middle_weight_2" visibilityActive="false" />
            <objectChange node="agribumper_left_weight_1" visibilityActive="false" />
            <objectChange node="agribumper_left_weight_2" visibilityActive="false" />
            <objectChange node="agribumper_right_weight_1" visibilityActive="false" />
            <objectChange node="agribumper_right_weight_2" visibilityActive="false" />
		</designConfiguration>
        <designConfiguration name="$l10n_configuration_frontWeightX" params="700" price="2700">
		    <objectChange node="Agribumper_vis" visibilityActive="true" massActive="700" />
            <objectChange node="agribumper_middle_weight_1" visibilityActive="true" />
            <objectChange node="agribumper_middle_weight_2" visibilityActive="false" />
            <objectChange node="agribumper_left_weight_1" visibilityActive="false" />
            <objectChange node="agribumper_left_weight_2" visibilityActive="false" />
            <objectChange node="agribumper_right_weight_1" visibilityActive="false" />
            <objectChange node="agribumper_right_weight_2" visibilityActive="false" />
		</designConfiguration>
		<designConfiguration name="$l10n_configuration_frontWeightX" params="900" price="2900">
		    <objectChange node="Agribumper_vis" visibilityActive="true" massActive="900"/>
            <objectChange node="agribumper_middle_weight_1" visibilityActive="false" />
            <objectChange node="agribumper_middle_weight_2" visibilityActive="false" />
            <objectChange node="agribumper_left_weight_1" visibilityActive="true" />
            <objectChange node="agribumper_left_weight_2" visibilityActive="false" />
            <objectChange node="agribumper_right_weight_1" visibilityActive="true" />
            <objectChange node="agribumper_right_weight_2" visibilityActive="false" />
		</designConfiguration>
		<designConfiguration name="$l10n_configuration_frontWeightX" params="1200" price="3100">
		    <objectChange node="Agribumper_vis" visibilityActive="true" massActive="1200"/>
            <objectChange node="agribumper_middle_weight_1" visibilityActive="true" />
            <objectChange node="agribumper_middle_weight_2" visibilityActive="false" />
            <objectChange node="agribumper_left_weight_1" visibilityActive="true" />
            <objectChange node="agribumper_left_weight_2" visibilityActive="false" />
            <objectChange node="agribumper_right_weight_1" visibilityActive="true" />
            <objectChange node="agribumper_right_weight_2" visibilityActive="false" />
		</designConfiguration>
        <designConfiguration name="$l10n_configuration_frontWeightX" params="1400" price="3300">
		    <objectChange node="Agribumper_vis" visibilityActive="true" massActive="1400"/>
            <objectChange node="agribumper_middle_weight_1" visibilityActive="false" />
            <objectChange node="agribumper_middle_weight_2" visibilityActive="false" />
            <objectChange node="agribumper_left_weight_1" visibilityActive="true" />
            <objectChange node="agribumper_left_weight_2" visibilityActive="true" />
            <objectChange node="agribumper_right_weight_1" visibilityActive="true" />
            <objectChange node="agribumper_right_weight_2" visibilityActive="true" />
		</designConfiguration>     
        <designConfiguration name="$l10n_configuration_frontWeightX" params="1600" price="3500">
		    <objectChange node="Agribumper_vis" visibilityActive="true" massActive="1600"/>
            <objectChange node="agribumper_middle_weight_1" visibilityActive="true" />
            <objectChange node="agribumper_middle_weight_2" visibilityActive="false" />
            <objectChange node="agribumper_left_weight_1" visibilityActive="true" />
            <objectChange node="agribumper_left_weight_2" visibilityActive="true" />
            <objectChange node="agribumper_right_weight_1" visibilityActive="true" />
            <objectChange node="agribumper_right_weight_2" visibilityActive="true" />
		</designConfiguration>   
        <designConfiguration name="$l10n_configuration_frontWeightX" params="1800" price="3700">
		    <objectChange node="Agribumper_vis" visibilityActive="true" massActive="1800"/>
            <objectChange node="agribumper_middle_weight_1" visibilityActive="true" />
            <objectChange node="agribumper_middle_weight_2" visibilityActive="true" />
            <objectChange node="agribumper_left_weight_1" visibilityActive="true" />
            <objectChange node="agribumper_left_weight_2" visibilityActive="true" />
            <objectChange node="agribumper_right_weight_1" visibilityActive="true" />
            <objectChange node="agribumper_right_weight_2" visibilityActive="true" />
		</designConfiguration>
	</designConfigurations>
					
	<baseColorConfigurations>
		<baseColorConfiguration materialTemplateName="JOHNDEERE_GREEN1" name="%s %s (%s)" params="John Deere|$l10n_ui_colorGreen|$l10n_configuration_valueDefault"	price="0"/>
		<baseColorConfiguration materialTemplateName="JOHNDEERE_GREEN2" name="%s %s (%s)" params="John Deere|$l10n_ui_colorGreenOlive|$l10n_ui_colorSpecial" 		price="1000"/>
		<baseColorConfiguration materialTemplateName="JOHNDEERE_BLACK1" name="%s %s (%s)" params="John Deere|$l10n_ui_colorBlack|$l10n_ui_colorSpecial"				price="1000"/>
		<baseColorConfiguration materialTemplateName="SHARED_WHITE1" 	name="%s (%s)"	  params="$l10n_ui_colorWhite|$l10n_ui_colorSpecial"						price="1000"/>
        <material materialSlotName="MainColor">
			<clearCoat intensity="0.5" smoothness="0.85"/>
		</material>
    </baseColorConfigurations>				
	
	<design2Configurations title="$l10n_configuration_decalColor">
        <design2Configuration name="%s (%s)" params="John Deere|$l10n_configuration_valueDefault">
			<material materialSlotName="deerDecalColor_mat">
				<colorScale value="JOHNDEERE_YELLOW1"/>
			</material>	
        </design2Configuration>
		<design2Configuration name="%s (%s)" params="$l10n_ui_colorGreenOlive|$l10n_ui_colorSpecial">
			<material materialSlotName="deerDecalColor_mat" >
				<colorScale value="JOHNDEERE_GREEN2"/>
			</material>
        </design2Configuration>
		<design2Configuration name="%s (%s)" params="$l10n_ui_colorBlack|$l10n_ui_colorSpecial">
			<material materialSlotName="deerDecalColor_mat">
				<colorScale value="RIM_ADDITIONAL_DEFAULT"/>
			</material>
        </design2Configuration>
		<design2Configuration name="%s (%s)" params="$l10n_ui_colorWhite|$l10n_ui_colorSpecial"/>
    </design2Configurations>
	
	<handToolHolders>
		<handToolHolder>
			<holder type="CHAINSAW" node="dummyChainsaw0" dummyFilename="$data/shared/visualization/dummyChainsaw.i3d"/>
			<trigger node="handToolTriggerChainsaw0" />
		</handToolHolder>
		<handToolHolder>
			<holder type="SPRAYCAN" node="dummySpraycan1" dummyFilename="$data/shared/visualization/dummySprayCan.i3d"/>
			<trigger node="handToolTriggerSpraycan1" />
		</handToolHolder>
		<handToolHolder>
			<holder type="SPRAYCAN" node="dummySpraycan2" dummyFilename="$data/shared/visualization/dummySprayCan.i3d"/>
			<trigger node="handToolTriggerSpraycan2" />
		</handToolHolder>
		<handToolHolder>
			<holder type="SPRAYCAN" node="dummySpraycan3" dummyFilename="$data/shared/visualization/dummySprayCan.i3d"/>
			<trigger node="handToolTriggerSpraycan3" />
		</handToolHolder>
		<handToolHolder>
			<holder type="SPRAYCAN" node="dummySpraycan4" dummyFilename="$data/shared/visualization/dummySprayCan.i3d"/>
			<trigger node="handToolTriggerSpraycan4" />
		</handToolHolder>
		<handToolHolder>
			<holder type="SPRAYCAN" node="dummySpraycan5" dummyFilename="$data/shared/visualization/dummySprayCan.i3d"/>
			<trigger node="handToolTriggerSpraycan5" />
		</handToolHolder>
    </handToolHolders>
	
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2" showOnHud="false"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="2" fieldMultiplier="2"/>

    <i3dMappings>
	<i3dMapping id="Agribumper_vis"						node="0>"/>
	<i3dMapping id="attacherJoint"						node="0>3|4|0"/>
	<i3dMapping id="dummyChainsaw0"						node="0>3|5|0"/>
	<i3dMapping id="dummySpraycan1"						node="0>3|5|1"/>
	<i3dMapping id="dummySpraycan2"						node="0>3|5|2"/>
	<i3dMapping id="dummySpraycan3"						node="0>3|5|3"/>
	<i3dMapping id="dummySpraycan4"						node="0>3|5|4"/>
	<i3dMapping id="dummySpraycan5"						node="0>3|5|5"/>
	<i3dMapping id="handToolTriggerChainsaw0"			node="0>3|6|0"/>
	<i3dMapping id="handToolTriggerSpraycan1"			node="0>3|6|1"/>
	<i3dMapping id="handToolTriggerSpraycan2"			node="0>3|6|2"/>
	<i3dMapping id="handToolTriggerSpraycan3"			node="0>3|6|3"/>
	<i3dMapping id="handToolTriggerSpraycan4"			node="0>3|6|4"/>
	<i3dMapping id="handToolTriggerSpraycan5"			node="0>3|6|5"/>
	<!--Animations-->
	<i3dMapping id="Box_Door"							node="0>3|0"/>
	<i3dMapping id="latchopener"						node="0>3|3"/>
    <i3dMapping id="latch"								node="0>3|3|0"/>
	<i3dMapping id="agribumper_middle_weight_1"			node="0>0|0"/>
    <i3dMapping id="agribumper_middle_weight_2"			node="0>0|0|0"/>
	<i3dMapping id="agribumper_right_weight_1"			node="0>1|1"/>
    <i3dMapping id="agribumper_right_weight_2"			node="0>1|1|0"/>
    <i3dMapping id="agribumper_left_weight_1"			node="0>2|1"/>
    <i3dMapping id="agribumper_left_weight_2"			node="0>2|1|0"/>
	<i3dMapping id="Cable_Disconnect"					node="0>6|1"/>
    <i3dMapping id="ElectricConnector"					node="0>6|1|0"/>
	<i3dMapping id="ElectricFrontRef"					node="0>6|0|0"/>
	<i3dMapping id="pallet"								node="0>7"/>              
	<i3dMapping id="mainColli"			node="0>4"/>
	<i3dMapping id="collision"							node="0>7|2"/>
	<i3dMapping id="groundcolli01"						node="0>7|2|0"/>
    <i3dMapping id="groundcolli02"						node="0>7|2|1"/>
	<!--IC Points-->
	<i3dMapping id="interactiveTrigger"					node="0>5"/>
	<i3dMapping id="IC_Box"								node="0>3|0|1"/>
	<i3dMapping id="IC_middle_weight1"					node="0>0|1"/>
	<!--Lights-->
	<i3dMapping id="rearLight22White2"					node="0>1|2"/>
    <i3dMapping id="rearLightGlass2"					node="0>1|2|0"/>
    <i3dMapping id="rearLight22Orange_right"			node="0>1|5"/>
    <i3dMapping id="rearLightGlassR"					node="0>1|5|0"/>
    <i3dMapping id="frontLight09_right"					node="0>1|6"/>
    <i3dMapping id="frontLightGlass_staticR"			node="0>1|6|0"/>
    <i3dMapping id="sideMarker05OrangeR"				node="0>1|7"/>
    <i3dMapping id="rearLight22White"					node="0>2|2"/>
    <i3dMapping id="rearLightGlass"						node="0>2|2|0"/>
    <i3dMapping id="rearLight22Orange_left"				node="0>2|5"/>
    <i3dMapping id="rearLightGlassL"					node="0>2|5|0"/>
    <i3dMapping id="frontLight09_left"					node="0>2|6"/>
    <i3dMapping id="frontLightGlass_staticL"			node="0>2|6|0"/>
    <i3dMapping id="sideMarker05OrangeL"				node="0>2|7"/>
	<i3dMapping id="rearLight22White3"					node="0>1|4"/>
    <i3dMapping id="rearLightGlass3"					node="0>1|4|0"/>
    <i3dMapping id="rearLight22Orange_right"			node="0>1|5"/>
    <i3dMapping id="rearLightGlassR"					node="0>1|5|0"/>
    <i3dMapping id="rearLight22White4"					node="0>2|4"/>
    <i3dMapping id="rearLightGlass4"					node="0>2|4|0"/>
    <i3dMapping id="rearLight22Orange_left"				node="0>2|5"/>
    <i3dMapping id="rearLightGlassL"					node="0>2|5|0"/>
    </i3dMappings>
</vehicle>
