<?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 FreeSight</name>
        <functions>
            <function>$l10n_function_slurrySpreaderTool</function>
        </functions>
        <rotation>0</rotation>
        <image>Extras/textures/store_AVMFreeSight.dds</image>
        <price>3000</price>
        <lifetime>600</lifetime>
        <brand>JOHNDEERE</brand>
        <category>slurryTools</category>
        <shopLoadingDelay initial="0.15"/>
        <shopTranslationOffset>0 0.356 0</shopTranslationOffset>
        <shopRotationOffset>0.2 0 0</shopRotationOffset>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_weight</typeDesc>
        <filename>Extras/FreeSight.i3d</filename>
        <size width="1" length="3" height="0.5" />
        <components>
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="200" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>
	<attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="implement" needsLowering="false" allowsLowering="false" attacherJointcollision="false" >
                <distanceToGround lower="0.4" upper="0.4" />
                <subType name="FreeSightTube" showWarning="false"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
		<support animationName="palett_visibility" />
    </attachable>
	<tensionBeltObject>
		<meshNodes>
			<meshNode node="FreeSight_MainColli"/>
		</meshNodes>
	</tensionBeltObject>
    <ai>
        <agentAttachment width="1" height="1.2" length="0.8" lengthOffset="-0.075"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-0.5" maxX="0.5" minZ="-0.4" maxZ="0.35" yOffset="0.15"/>
    </foliageBending>
	<animations>
		<animation name="palett_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"/>
			<part node="FreeSightPipe" startTime="0" endTime="0.001" startRot="-90 0 -90" endRot="0 90 0"/>
			<part node="Hydraulik_detached" startTime="0" endTime="0.001" visibility="false" visibilityInactive="false"/>
			<part node="Hydraulik_detached" startTime="0.001" endTime="0.002" visibility="true" visibilityInactive="false"/>
			<part node="Hydraulik_detached01" startTime="0" endTime="0.001" visibility="true" visibilityInactive="false"/>
			<part node="Hydraulik_detached01" startTime="0.001" endTime="0.002" visibility="false" visibilityInactive="false"/>
			<part node="Schlauch" startTime="0" endTime="0.001" visibility="true"/>
			<part node="Schlauch" startTime="0.001" endTime="0.002" visibility="false"/>
			<part node="attachedCab" startTime="0" endTime="0.001" visibility="true"/>
			<part node="attachedCab" startTime="0.001" endTime="0.002" visibility="false"/>
			<part node="detachedCab" startTime="0" endTime="0.001" visibility="false"/>
			<part node="detachedCab" startTime="0.001" endTime="0.002" visibility="true"/>
			<part node="Kappe" startTime="0" endTime="0.001" visibility="false"/>
			<part node="Kappe" startTime="0.001" endTime="0.002" visibility="true"/>
			<part node="pipebracket" startTime="0" endTime="0.001" startTrans="0 0 0" endTrans="-0.485 -0.174 -1.028" startRot="0 0 0" endRot="0 0 -41.158"/>	
			<part node="bracket" startTime="0" endTime="0.001" startTrans="-0.714 1.217 -1.71" endTrans="-0.717 -0.202 -1.055" startRot="90 -90 0" endRot="1.1 -0.05 84.937"/>	
			<part node="screw01" startTime="0" endTime="0.001" startTrans="1.555 -0.234 1.64" endTrans="-0.834 -0.196 1.797" startRot="095.519 -39.608 -10.129" endRot="095.519 -39.608 -10.129"/>	
			<part node="screw02" startTime="0" endTime="0.001" startTrans="1.519 -0.235 1.615" endTrans="-0.797 -0.199 1.774" startRot="110.733 -41.248 -33.28" endRot="105.501 -5.157 -20.695"/>	
			<part node="screw03" startTime="0" endTime="0.001" startTrans="0.894 -0.044 1.29" endTrans="-0.849 -0.199 1.756" startRot="90 0 0" endRot="149.33 0 0"/>	
			<part node="screw04" startTime="0" endTime="0.001" startTrans="0.894 -0.044 1.29" endTrans="-0.802 -0.203 1.723" startRot="90 0 0" endRot="12.308 0 0"/>	
			<part node="screw05" startTime="0" endTime="0.001" startTrans="0.894 -0.044 1.29" endTrans="-0.774 -0.07 1.739" startRot="90 0 0" endRot="90 0 72.759"/>	
			<part node="screw06" startTime="0" endTime="0.001" startTrans="0.894 -0.044 1.29" endTrans="-0.629 -0.199 1.718" startRot="90 0 0" endRot="90 0 0"/>	
			<part node="screw07" startTime="0" endTime="0.001" startTrans="0.894 -0.044 1.29" endTrans="-0.522 -0.196 1.697" startRot="90 0 0" endRot="150.039 0 0"/>	
			<part node="screw08" startTime="0" endTime="0.001" startTrans="-1.052 1.068 2.249" endTrans="-0.808 -0.199 1.667" startRot="-172.608 -77.138 -91.701" endRot="18.01 -69.022 85.499"/>	
			<part node="screw09" startTime="0" endTime="0.001" startTrans="-1.052 1.067 2.207" endTrans="-0.808 -0.199 1.667" startRot="-172.608 -77.138 -91.701" endRot="125.535 37.182 15.766"/>
			<part node="screw10" startTime="0" endTime="0.001" startTrans="-0.888 1.704 1.609" endTrans="-0.87 -0.19 1.654" startRot="-154.183 -84.324 -6.775" endRot="-154.183 -84.324 -6.775"/>	
			<part node="screw11" startTime="0" endTime="0.001" startTrans="-0.888 0.752 1.609" endTrans="-0.831 -0.202 1.652" startRot="25.817 84.324 6.775" endRot="25.817 84.324 6.775"/>					
        </animation>
	</animations>				
	<connectionHoses>
		<hose inputAttacherJointIndices="1" type="hydraulicIn" node="hydraulic05_in_eu"  length="3" diameter="0.02" straighteningFactor="1.8" adapterNode="hydraulicIn05_connector">
           <objectChange node="Hydraulik_detached01" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="hydraulic05_out_eu" length="3" diameter="0.02" straighteningFactor="1.8" adapterNode="hydraulicOut05_connector">
		<objectChange node="Hydraulik_detached01" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicIn" node="hydraulic06_in_eu"  length="3" diameter="0.02" straighteningFactor="1.8" adapterNode="hydraulicIn06_connector">
		<objectChange node="Hydraulik_detached01" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="hydraulic06_out_eu" length="3" diameter="0.02" straighteningFactor="1.8" adapterNode="hydraulicOut06_connector">
		<objectChange node="Hydraulik_detached01" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>
    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicIn05_connector01" 	filename="$data/shared/connectionHoses/connectors.i3d"/>
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicOut05_connector01" 	filename="$data/shared/connectionHoses/connectors.i3d"/>
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicIn06_connector01" 	filename="$data/shared/connectionHoses/connectors.i3d"/>
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicOut06_connector01" 	filename="$data/shared/connectionHoses/connectors.i3d"/>	
    </dynamicallyLoadedParts>	
				
			
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2" showOnHud="false"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="2" fieldMultiplier="2"/>

    <i3dMappings>
		<i3dMapping id="FreeSight_MainColli" 										node="0>"/>
		<i3dMapping id="FreeSightPipe" 												node="0>0"/>
		<i3dMapping id="pallet"										 				node="0>0|7"/>
		<i3dMapping id="collision" 													node="0>0|7|1"/>
		<i3dMapping id="groundcolli01" 												node="0>0|7|1|0"/>

		<!--Connecting Hoses-->
	<i3dMapping id="hydraulic05_in_eu" node="0>0|1|4|0"/>
    <i3dMapping id="hydraulic05_out_eu" node="0>0|1|4|1"/>
    <i3dMapping id="hydraulic06_in_eu" node="0>0|1|4|2"/>
    <i3dMapping id="hydraulic06_out_eu" node="0>0|1|4|3"/>
    <i3dMapping id="Hydraulik_detached" node="0>0|1|1"/>
    <i3dMapping id="hydraulicIn05_connector" node="0>0|1|1|0"/>
    <i3dMapping id="hydraulicOut05_connector" node="0>0|1|1|1"/>
    <i3dMapping id="hydraulicIn06_connector" node="0>0|1|1|2"/>
    <i3dMapping id="hydraulicOut06_connector" node="0>0|1|1|3"/>
    <i3dMapping id="Hydraulik_detached01" node="0>0|1|2"/>
    <i3dMapping id="hydraulicIn05_connector01" node="0>0|1|2|0"/>
    <i3dMapping id="hydraulicOut05_connector01" node="0>0|1|2|1"/>
    <i3dMapping id="hydraulicIn06_connector01" node="0>0|1|2|2"/>
    <i3dMapping id="hydraulicOut06_connector01" node="0>0|1|2|3"/>
		<i3dMapping id="detachedCab" node="0>0|1|0|1"/>
		<i3dMapping id="attachedCab" node="0>0|1|0|2"/>
		<i3dMapping id="Schlauch" node="0>0|5"/>
		<i3dMapping id="hydraulic1" 												node="0>0|0"/>
		<i3dMapping id="attacherJoint" 												node="0>0|9"/>
		<i3dMapping id="bracket" node="0>0|2"/>
		<i3dMapping id="pipebracket" node="0>0|3"/>
		    <i3dMapping id="screw01" node="0>0|8|0"/>
    <i3dMapping id="screw02" node="0>0|8|1"/>
    <i3dMapping id="screw03" node="0>0|8|2"/>
    <i3dMapping id="screw04" node="0>0|8|3"/>
    <i3dMapping id="screw05" node="0>0|8|4"/>
    <i3dMapping id="screw06" node="0>0|8|5"/>
    <i3dMapping id="screw07" node="0>0|8|6"/>
    <i3dMapping id="screw08" node="0>0|8|7"/>
    <i3dMapping id="screw09" node="0>0|8|8"/>
	<i3dMapping id="screw10" node="0>0|8|9"/>
    <i3dMapping id="screw11" node="0>0|8|10"/>
	<i3dMapping id="Kappe" node="0>0|4"/>
	<i3dMapping id="bracket" node="0>0|2"/>
	<i3dMapping id="MainColli" node="0>0|10"/>

    </i3dMappings>
</vehicle>
