<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="attachableFrontloader" 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>
            <en>700M</en></name>
        <specs>
            <neededPower>290</neededPower>
            <combination xmlFilename="$data/vehicles/johnDeere/series7R/series7R.xml"/>
            <combination filterCategory="frontLoaderTools"/>
        </specs>
        <functions>
            <function>$l10n_function_frontloader</function>
        </functions>
        <image>Extras/textures/store_frontloader700M.dds</image>
        <price>15500</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>JOHNDEERE</brand>
        <category>frontLoaders</category>
        <shopHeight>3</shopHeight>
        <shopTranslationOffset>0 -0.143 0</shopTranslationOffset>
        <shopRotationOffset>-0.961 0 0</shopRotationOffset>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_frontloader</typeDesc>
        <filename>Extras/frontloader700M.i3d</filename>
        <size width="1.7" length="3.05" height="2.55" lengthOffset="1.42"/>
        <components>
            <component centerOfMass="0 0.2 1.8" solverIterationCount="10" mass="1150"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="FRONTLOADER"/>
        <mapHotspot type="TOOL"/>
    </base>
    <attacherJoints>
        <attacherJoint jointType="frontloader" node="attacherJointTools" nodeVisual="attacherJointToolsVisuals" allowsJointLimitMovement="false" allowsLowering="false" rotLimitSpring="7500 7500 7500" rotLimitDamping="5 5 5" transLimitSpring="7500 7500 7500" transLimitDamping="5 5 5">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
        <sounds>
            <attach template="attach01"/>
        </sounds>
    </attacherJoints>
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" hardAttach="true" jointType="attachableFrontloader">
                <objectChange node="attachedAdapter" visibilityActive="true" visibilityInactive="false"/>
                <objectChange node="detachedAdapter" visibilityActive="false" visibilityInactive="true"/>
                <objectChange node="hose_detached" visibilityActive="false" visibilityInactive="true"/>
                <objectChange node="hose_attached" visibilityActive="true" visibilityInactive="false"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
    </attachable>
    <animations>
        <animation name="moveSupport">
            <part node="supportCol" startTime="0" endTime="1" startRot="0 0 0" endRot="-65.786 0 0"/>
            <part node="supportArm01" startTime="0" endTime="1" startRot="0 0 0" endRot="-105.145 0 0"/>
            <part node="supportArm02" startTime="0" endTime="1" startRot="0 0 0" endRot="39.969 0 0"/>
            <sound template="hingeMedium02" startTime="0.1" direction="1" volumeScale="2" pitchScale="1.2"/>
            <sound template="hingeMedium03" startTime="0.9" direction="-1" volumeScale="2" pitchScale="1.2"/>
            <sound template="hingeImp" startTime="0.1" direction="-1" volumeScale="0.5" pitchScale="1"/>
            <sound template="vibratingImp" startTime="0.01" direction="-1" volumeScale="0.6" pitchScale="1.7"/>
            <sound template="clackVar6" startTime="0.01" direction="-1" volumeScale="2" pitchScale="1"/>
        </animation>
    </animations>
    <cylindered>
        <movingTools>
            <movingTool node="mainArmDummy" delayedNode="mainArm">
                <controls axis="AXIS_FRONTLOADER_ARM" invertAxis="true" mouseSpeedFactor="0.3" iconName="FRONTLOADER_ARM_ROTATE"/>
                <attacherJoint jointIndices="1"/>
                <rotation rotSpeed="20" rotAcceleration="150" rotMax="5" rotMin="-75" startRot="2.5" detachingRotMinLimit="0"/>
                <dependentPart node="attacherRotDummy"/>
                <dependentMovingTool node="attacherDummy" minRotLimits="-36 -50" maxRotLimits="100 50"/>
            </movingTool>
            <movingTool node="attacherDummy" delayedNode="attacher">
                <controls axis="AXIS_FRONTLOADER_TOOL" invertAxis="true" mouseSpeedFactor="0.3" iconName="FRONTLOADER_ARM_ROTATE_TOOL"/>
                <attacherJoint jointIndices="1"/>
                <rotation rotSpeed="60" rotAcceleration="300" rotMax="53" rotMin="-65" startRot="-45" syncMaxRotLimits="true"/>
            </movingTool>
            <movingTool node="mainArm">
                <dependentPart node="hydraulicMainArm"/>
                <dependentPart node="hydraulicMainArm2"/>
                <dependentPart node="attacherRot"/>
                <dependentPart node="mainArmPart01"/>
                <dependentPart node="hydraulicMainArmPart01"/>
                <dependentPart node="hydraulicMainArm2Spring"/>
            </movingTool>
            <movingTool node="attacher">
                <dependentPart node="wing"/>
                <dependentPart node="mainArmPart01"/>
                <dependentPart node="hydraulicMainArmPart01"/>
                <dependentPart node="hydraulicMainArm2Spring"/>
            </movingTool>
        </movingTools>
        <movingParts>
            <movingPart node="hydraulicMainArm" referencePoint="hydraulicMainArmRef" referenceFrame="hydraulicMainArmRefFrame">
                <translatingPart node="hydraulicMainArmPunch"/>
            </movingPart>
            <movingPart node="attacherRotDummy" referenceFrame="frontloader700M_main_component1">
                <attacherJoint jointIndices="1"/>
            </movingPart>
            <movingPart node="attacherRot" referenceFrame="frontloader700M_main_component1">
                <attacherJoint jointIndices="1"/>
                <dependentPart node="wing"/>
                <dependentPart node="mainArmPart01"/>
            </movingPart>
            <movingPart node="wing" localReferencePoint="wingPart" referencePoint="wingPartRef" referenceFrame="wingRefFrame">
                <dependentPart node="wingPart"/>
            </movingPart>
            <movingPart node="wingPart" referencePoint="wingPartRef" referenceFrame="wingPartRef"/>
            <movingPart node="hydraulicMainArm2" referencePoint="hydraulicMainArm2Ref" referenceFrame="hydraulicMainArm2Ref">
                <translatingPart node="hydraulicMainArm2Punch"/>
            </movingPart>
            <movingPart node="mainArmPart01" localReferencePoint="mainArmPart02" referencePoint="mainArmPart02Ref" referenceFrame="mainArmPart01RefFrame">
                <dependentPart node="mainArmPart02"/>
            </movingPart>
            <movingPart node="mainArmPart02" referencePoint="mainArmPart02Ref" referenceFrame="mainArmPart02RefFrame">
                <dependentPart node="hydraulicMainArm2"/>
            </movingPart>
            <movingPart node="hydraulicMainArmPart01" referencePoint="hydraulicMainArmPart01Ref" referenceFrame="hydraulicMainArmPart01RefFrame">
                <translatingPart node="hydraulicMainArmPart01Punch"/>
            </movingPart>
            <movingPart node="hydraulicMainArm2Spring" referencePoint="hydraulicMainArm2SpringRef" referenceFrame="hydraulicMainArm2SpringRefFrame" scaleZ="true"/>
			<movingPart node="cam"  referenceFrame="cam_ref" isActiveDirty="true" maxUpdateDistance="-">
                <connectionHoses customTargetIndices="1"/>
            </movingPart> 
			
        </movingParts>
        <sounds>
            <actionSound template="hydraulicOpen06" pitchScale="0.4" volumeScale="0.4" linkNode="mainArmDummy" actionNames="TOOL_MOVE_POS" nodes="mainArmDummy" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="hydraulicOpen02" pitchScale="1.4" volumeScale="2.2" linkNode="mainArmDummy" actionNames="TOOL_MOVE_POS" nodes="mainArmDummy" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="hydraulicClose03" pitchScale="1.7" volumeScale="2.9" linkNode="mainArmDummy" actionNames="TOOL_MOVE_NEG" nodes="mainArmDummy" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="hydraulicOpen06" pitchScale="1.0" volumeScale="0.5" linkNode="mainArmDummy" actionNames="TOOL_MOVE_NEG" nodes="mainArmDummy" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="hydraulicClose01" pitchScale="1.7" volumeScale="1.6" linkNode="attacherDummy" actionNames="TOOL_MOVE_POS TOOL_MOVE_NEG" nodes="attacherDummy" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="metalLowVar2" pitchScale="1.0" volumeScale="3" linkNode="mainArmDummy" actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="mainArmDummy"/>
            <actionSound template="cylinderPunch" pitchScale="1.5" volumeScale="0.4" linkNode="mainArmDummy" actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="mainArmDummy"/>
            <actionSound template="metalClose" pitchScale="2.5" volumeScale="0.2" linkNode="mainArmDummy" actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="mainArmDummy"/>
            <actionSound template="clackVar6" pitchScale="1.0" volumeScale="1.0" linkNode="mainArmDummy" actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="mainArmDummy"/>
            <actionSound template="metalLowVar2" pitchScale="1.3" volumeScale="2.0" linkNode="mainArmDummy" actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="mainArmDummy"/>
            <actionSound template="cylinderPunch" pitchScale="1.8" volumeScale="0.2" linkNode="mainArmDummy" actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="mainArmDummy"/>
            <actionSound template="metalClose" pitchScale="2.8" volumeScale="0.1" linkNode="mainArmDummy" actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="mainArmDummy"/>
            <actionSound template="clackVar6" pitchScale="1.8" volumeScale="0.5" linkNode="mainArmDummy" actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="mainArmDummy"/>
        </sounds>
    </cylindered>
    <ai>
        <agentAttachment width="1.5" height="2.7" length="3" lengthOffset="1.42"/>
    </ai>
    <foliageBending>
        <bendingNode minX="-0.75" maxX="0.75" minZ="-0.6" maxZ="0.3" yOffset="-0.08" node="attacherRotDummy"/>
    </foliageBending>
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>
	
	<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">
			<objectChange node="frontloader700M_decals1"	visibilityActive="true"		visibilityInactive="false"/>
			<objectChange node="frontloader700M_decals3"	visibilityActive="true"		visibilityInactive="false"/>
			<objectChange node="frontloader700M_decals2"	visibilityActive="false"	visibilityInactive="true"/>
			<objectChange node="frontloader700M_decals4"	visibilityActive="false"	visibilityInactive="true"/>
			<material materialSlotName="deerDecalColor_mat">
				<colorScale value="JOHNDEERE_YELLOW1"/>
			</material>	
        </design2Configuration>
		<design2Configuration name="%s (%s)" params="$l10n_ui_colorGreenOlive|$l10n_ui_colorSpecial">
			<material materialSlotName="DecalColorConfig_mat" >
				<colorScale value="JOHNDEERE_GREEN2"/>
			</material>
			<material materialSlotName="deerDecalColor_mat" >
				<colorScale value="JOHNDEERE_GREEN2"/>
			</material>
        </design2Configuration>
		<design2Configuration name="%s (%s)" params="$l10n_ui_colorBlack|$l10n_ui_colorSpecial">
			<material materialSlotName="DecalColorConfig_mat" >
				<colorScale value="RIM_ADDITIONAL_DEFAULT"/>
			</material>
			<material materialSlotName="deerDecalColor_mat">
				<colorScale value="RIM_ADDITIONAL_DEFAULT"/>
			</material>
        </design2Configuration>
		<design2Configuration name="%s (%s)" params="$l10n_ui_colorWhite|$l10n_ui_colorSpecial"/>
    </design2Configurations>
	
	<connectionHoses>
            <customTarget  node="cam" type="Camera_data" inputAttacherJointIndices="1"/>
            <customHose  node="cam" type="Camera_data" attacherJointIndices="1"/> 
    </connectionHoses>
	
    <i3dMappings>
        <i3dMapping id="frontloader700M_main_component1" node="0>"/>
        <i3dMapping id="frontloader700M_vis" node="0>0"/>
        <i3dMapping id="attacherJoint" node="0>0|0|0"/>
        <i3dMapping id="attachedAdapter" node="0>0|0|1|0"/>
        <i3dMapping id="mainArmDummy" node="0>0|1|0"/>
        <i3dMapping id="attacherRotDummy" node="0>0|1|0|0"/>
        <i3dMapping id="attacherDummy" node="0>0|1|0|0|0"/>
        <i3dMapping id="attacherJointTools" node="0>0|1|0|0|0|0"/>
        <i3dMapping id="supportCol" node="0>0|1|0|2"/>
        <i3dMapping id="mainArm" node="0>0|1|1"/>
        <i3dMapping id="attacherRot" node="0>0|1|1|0"/>
        <i3dMapping id="attacher" node="0>0|1|1|0|0"/>
        <i3dMapping id="wingPartRef" node="0>0|1|1|0|0|0"/>
        <i3dMapping id="attacherJointToolsVisuals" node="0>0|1|1|0|0|1"/>
        <i3dMapping id="hydraulicMainArmRefFrame" node="0>0|1|1|1"/>
        <i3dMapping id="hydraulicMainArm" node="0>0|1|1|1|0"/>
        <i3dMapping id="hydraulicMainArmPunch" node="0>0|1|1|1|0|0"/>
        <i3dMapping id="detachedAdapter" node="0>0|1|1|1|0|1"/>
        <i3dMapping id="mainArmPart02Ref" node="0>0|1|1|2"/>
        <i3dMapping id="wingRefFrame" node="0>0|1|1|3"/>
        <i3dMapping id="wing" node="0>0|1|1|3|0"/>
        <i3dMapping id="wingPart" node="0>0|1|1|3|0|0"/>
        <i3dMapping id="hydraulicMainArm2Ref" node="0>0|1|1|3|0|1"/>
        <i3dMapping id="hydraulicMainArmPart01RefFrame" node="0>0|1|1|3|0|2"/>
        <i3dMapping id="hydraulicMainArmPart01" node="0>0|1|1|3|0|2|0"/>
        <i3dMapping id="hydraulicMainArmPart01Punch" node="0>0|1|1|3|0|2|0|0"/>
        <i3dMapping id="hydraulicMainArm2SpringRefFrame" node="0>0|1|1|3|0|2|0|0|0"/>
        <i3dMapping id="hydraulicMainArm2Spring" node="0>0|1|1|3|0|2|0|0|0|0"/>
        <i3dMapping id="hydraulicMainArm2SpringRef" node="0>0|1|1|3|0|2|0|1"/>
        <i3dMapping id="supportArm01" node="0>0|1|1|5"/>
        <i3dMapping id="supportArm02" node="0>0|1|1|5|0"/>
        <i3dMapping id="hydraulicMainArmRef" node="0>0|1|2"/>
        <i3dMapping id="mainArmPart01RefFrame" node="0>0|1|3"/>
        <i3dMapping id="mainArmPart01" node="0>0|1|3|0"/>
        <i3dMapping id="mainArmPart02RefFrame" node="0>0|1|3|0|0"/>
        <i3dMapping id="mainArmPart02" node="0>0|1|3|0|0|0"/>
        <i3dMapping id="hydraulicMainArm2RefFrame" node="0>0|1|3|0|0|0|0"/>
        <i3dMapping id="hydraulicMainArm2" node="0>0|1|3|0|0|0|0|0"/>
        <i3dMapping id="hydraulicMainArm2Punch" node="0>0|1|3|0|0|0|0|0|0"/>
        <i3dMapping id="hydraulicMainArmPart01Ref" node="0>0|1|3|0|0|0|1"/>
        <i3dMapping id="hose_detached" node="0>2|1"/>
        <i3dMapping id="hose_attached" node="0>2|2"/>
		<!--Decals-->
		<i3dMapping id="frontloader700M_decals1" node="0>0|1|3|0|1"/>
		<i3dMapping id="frontloader700M_decals2" node="0>0|1|3|0|2"/>
		<i3dMapping id="frontloader700M_decals3" node="0>0|1|1|4|2"/>
		<i3dMapping id="frontloader700M_decals4" node="0>0|1|1|4|3"/>
		<!--Cams-->
		<i3dMapping id="cam" node="0>0|1|1|7|0|0|0"/>
        <i3dMapping id="cam_ref" node="0>0|1|1|7|0|0|0|0"/>
    </i3dMappings>
</vehicle>
