<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="sprayer" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://validation.gdn.giants-software.com/xml/fs22/vehicle.xsd">
    <annotation>Radichkov</annotation>
    <storeData>
        <name>  
		<en>Pilmet REX 2518</en>
        </name>
        <specs>
            <workingWidth>18.0</workingWidth>
        </specs>
        <functions>
            <function>$l10n_function_sprayer</function>
        </functions>
        <image>store_uniaPilmetRex2518.dds</image>
        <price>16700</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>UNIA</brand>
        <category>sprayers</category>
    </storeData>
	
    <base>
        <typeDesc>$l10n_typeDesc_sprayer</typeDesc>
        <filename>UniaPilmetRex2518.i3d</filename>
        <size width="3.5" length="8.5"/>
        <components>
            <component centerOfMass="0.0 1.0 -1.0" solverIterationCount="10" mass="1560"/>
        </components>
        <schemaOverlay name="IMPLEMENT" attacherJointPosition="0 0"/>
        <speedLimit value="20"/>
		<sounds volumeFactor="1.6" />
        <mapHotspot type="TOOL" />		
    </base>
	
    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TM100/270_95R48.xml" isLeft="true" hasTireTracks="true" hasParticles="true" isCareWheel="true">
                        <physics rotSpeed="0" restLoad="2.4" repr="0>1" forcePointRatio="0.5" initialCompression="30" suspTravel="0.15" spring="36" damper="60"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TM100/270_95R48.xml" isLeft="false" hasTireTracks="true" hasParticles="true" isCareWheel="true">
                        <physics rotSpeed="0" restLoad="2.4" repr="0>2" forcePointRatio="0.5" initialCompression="30" suspTravel="0.15" spring="36" damper="60"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
        <rimMaterial materialTemplateName="ZETOR_RED1"/>
        <hubMaterial materialTemplateName="HUB_DEFAULT" />		
		
        <hubs>
            <color0>SHARED_BLACK1</color0>
            <color1>SHARED_BLACK1</color1>
            <hub linkNode="0>1" filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="true" scale="0.335 0.335 0.335"/>
            <hub linkNode="0>2" filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="false" scale="0.335 0.335 0.335"/>
        </hubs>
    </wheels>
	
    <rimColorConfigurations>
        <rimColorConfiguration color="0.586 0 0" name="Red"/>
        <rimColorConfiguration color="0.05 0.35 0.05" price="200" name="Green"/>
        <rimColorConfiguration color="0.85 0.65 0.01" price="200" name="Yellow"/>
        <colorNode node="0>0"/>
    </rimColorConfigurations>
	
    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="1|0" linkNode="0>9|0|0|0" filename="$data/shared/connectionHoses/connectors.i3d"/>
        <dynamicallyLoadedPart node="1|0" linkNode="0>9|1|0|0" filename="$data/shared/connectionHoses/connectors.i3d"/>
        <dynamicallyLoadedPart node="1|0" linkNode="0>9|2|0|0" filename="$data/shared/connectionHoses/connectors.i3d"/>
        <dynamicallyLoadedPart node="1|0" linkNode="0>9|3|0|0" filename="$data/shared/connectionHoses/connectors.i3d"/>
        <dynamicallyLoadedPart node="1|1" linkNode="0>9|4|0|0" filename="$data/shared/connectionHoses/connectors.i3d"/>
    </dynamicallyLoadedParts>
	
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>0|3|0" jointType="trailer" attacherHeight="1.0"/>
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
    </attachable>
	
    <powerTakeOffs>
        <input aboveAttacher="false" detachNode="0>8" inputAttacherJointIndices="1" inputNode="0>7"/>
    </powerTakeOffs>
	
    <connectionHoses>
        <hose  inputAttacherJointIndices="1"  node="0>9|0" length="1.0" diameter="0.02" type="hydraulicOut">
            <objectChange node="0>9|0|0" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose  inputAttacherJointIndices="1"  node="0>9|1" length="1.0" diameter="0.02" type="hydraulicIn">
            <objectChange node="0>9|1|0" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose  inputAttacherJointIndices="1"  node="0>9|2"  length="1.0" diameter="0.02"type="hydraulicOut">
            <objectChange node="0>9|2|0" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose  inputAttacherJointIndices="1"  node="0>9|3"  length="1.0" diameter="0.02"type="hydraulicIn">
            <objectChange node="0>9|3|0" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose  inputAttacherJointIndices="1"  node="0>9|4" length="1.0" diameter="0.02" type="electric">
            <objectChange node="0>9|4|0" visibilityActive="false" visibilityInactive="true"/>
        </hose>
		<!--
        <localHose>
            <hose  isWorldSpaceHose="true" length="1.0" diameter="0.02" node="0>0|0|2|5|2" straighteningFactor="0.3" type="CABLE_BOUNDLE"/>
            <target attacherJointIndices="1" node="0>0|0|2|6" length="1.0" diameter="0.02" straighteningFactor="0.3" type="CABLE_BOUNDLE"/>
        </localHose>
        <localHose>
            <hose  isWorldSpaceHose="true" length="1.0" diameter="0.02" node="0>0|0|2|5|2|0" straighteningFactor="0.3" type="CABLE_BOUNDLE"/>
            <target attacherJointIndices="1" node="0>0|0|2|6|0" straighteningFactor="0.3" type="CABLE_BOUNDLE"/>
        </localHose>
        <localHose>
            <hose isWorldSpaceHose="true" length="1.0" diameter="0.02" node="0>0|0|1|5|2" straighteningFactor="0.3" type="CABLE_BOUNDLE"/>
            <target attacherJointIndices="1" node="0>0|0|1|6" straighteningFactor="0.3" type="CABLE_BOUNDLE"/>
        </localHose>
        <localHose>
            <hose  isWorldSpaceHose="true" length="1.0" diameter="0.02" node="0>0|0|1|5|2|0" straighteningFactor="0.3" type="CABLE_BOUNDLE"/>
            <target attacherJointIndices="1" node="0>0|0|1|6|0" straighteningFactor="0.3" type="CABLE_BOUNDLE"/>
        </localHose>
        <localHose>
            <hose  isWorldSpaceHose="true" length="1.0" diameter="0.02" node="0>0|0|2|0|5|2" straighteningFactor="0.3" type="CABLE_BOUNDLE"/>
            <target attacherJointIndices="1" node="0>0|0|2|0|6" straighteningFactor="0.3" type="CABLE_BOUNDLE"/>
        </localHose>
        <localHose>
            <hose  isWorldSpaceHose="true" length="1.0" diameter="0.02" node="0>0|0|2|0|5|2|0" straighteningFactor="0.3" type="CABLE_BOUNDLE"/>
            <target attacherJointIndices="1" node="0>0|0|2|0|6|0" straighteningFactor="0.3" type="CABLE_BOUNDLE"/>
        </localHose>
        <localHose>
            <hose  isWorldSpaceHose="true" length="1.0" diameter="0.02" node="0>0|0|1|0|5|2" straighteningFactor="0.3" type="CABLE_BOUNDLE"/>
            <target attacherJointIndices="1" node="0>0|0|1|0|6" straighteningFactor="0.3" type="CABLE_BOUNDLE"/>
        </localHose>
        <localHose>
            <hose  isWorldSpaceHose="true" length="1.0" diameter="0.02" node="0>0|0|1|0|5|2|0" straighteningFactor="0.3" type="CABLE_BOUNDLE"/>
            <target attacherJointIndices="1" node="0>0|0|1|0|6|0" straighteningFactor="0.3" type="CABLE_BOUNDLE"/>
        </localHose>
		-->
    </connectionHoses>
	
    <powerConsumer ptoRpm="450" neededMaxPtoPower="5"/>
	
    <lights>
        <states>
            <state lightTypes="0"/>
            <state lightTypes="0 1"/>
            <state lightTypes="0 1 2"/>
        </states>
        <realLights>
            <high>
                <light node="0>0|0|3|1|0" lightTypes="0"/>
                <light node="0>0|1|1|0|0" lightTypes="2"/>
                <light node="0>0|1|1|1|0" lightTypes="2"/>
                <brakeLight node="0>0|0|3|1|0"/>
            </high>
        </realLights>
        <defaultLights>
            <defaultLight shaderNode="0>0|2|0|0|0|0" lightTypes="0 3"/>
            <defaultLight shaderNode="0>0|2|0|0|2|0" lightTypes="0 3"/>
            <defaultLight shaderNode="0>0|2|0|0|1|0" lightTypes="0 3"/>
            <defaultLight shaderNode="0>0|2|0|0|3|0" lightTypes="0 3"/>
            <defaultLight shaderNode="0>0|1|0|0|0|1" lightTypes="2"/>
            <defaultLight shaderNode="0>0|1|0|1|0|1" lightTypes="2"/>
        </defaultLights>
        <sharedLight linkNode="0>0|0|3|0|1" filename="$data/shared/assets/lights/lizard/rearLight36_left.xml"/>
        <sharedLight linkNode="0>0|0|3|0|0" filename="$data/shared/assets/lights/lizard/rearLight36_right.xml"/>
    </lights>
	
    <workAreas>
        <workArea type="sprayer" functionName="processSprayerArea" disableBackwards="false" requiresGroundContact="false" >
            <area startNode="0>4|3|0" widthNode="0>4|3|1" heightNode="0>4|3|2" />
            <onlyActiveWhenLowered value="false"/>
        </workArea>
    </workAreas>
	
    <sprayer fillUnitIndex="1">
        <usageScales workAreaIndex="1" scale="1"/>
        <effects>
            <effectNode effectNode="0>0|0|0|0|0" materialType="sprayer" delay="0"/>
            <effectNode effectNode="0>0|0|0|0|1" materialType="sprayer" delay="0"/>
            <effectNode effectNode="0>0|0|0|0|2" materialType="sprayer" delay="0"/>
            <effectNode effectNode="0>0|0|0|0|3" materialType="sprayer" delay="0"/>
            <effectNode effectNode="0>0|0|1|1|0" materialType="sprayer" delay="0"/>
            <effectNode effectNode="0>0|0|1|1|1" materialType="sprayer" delay="0"/>
            <effectNode effectNode="0>0|0|1|1|2" materialType="sprayer" delay="0"/>
            <effectNode effectNode="0>0|0|2|1|0" materialType="sprayer" delay="0"/>
            <effectNode effectNode="0>0|0|2|1|1" materialType="sprayer" delay="0"/>
            <effectNode effectNode="0>0|0|2|1|2" materialType="sprayer" delay="0"/>
            <effectNode effectNode="0>0|0|1|0|1|0" materialType="sprayer" delay="0"/>
            <effectNode effectNode="0>0|0|1|0|1|1" materialType="sprayer" delay="0"/>
            <effectNode effectNode="0>0|0|1|0|1|2" materialType="sprayer" delay="0"/>
            <effectNode effectNode="0>0|0|1|0|1|3" materialType="sprayer" delay="0"/>
            <effectNode effectNode="0>0|0|2|0|1|0" materialType="sprayer" delay="0"/>
            <effectNode effectNode="0>0|0|2|0|1|1" materialType="sprayer" delay="0"/>
            <effectNode effectNode="0>0|0|2|0|1|2" materialType="sprayer" delay="0"/>
            <effectNode effectNode="0>0|0|2|0|1|3" materialType="sprayer" delay="0"/>
            <effectNode effectNode="0>0|0|1|0|0|0|0" materialType="sprayer" delay="0"/>
            <effectNode effectNode="0>0|0|1|0|0|0|1" materialType="sprayer" delay="0"/>
            <effectNode effectNode="0>0|0|1|0|0|0|2" materialType="sprayer" delay="0"/>
            <effectNode effectNode="0>0|0|2|0|0|0|0" materialType="sprayer" delay="0"/>
            <effectNode effectNode="0>0|0|2|0|0|0|1" materialType="sprayer" delay="0"/>
            <effectNode effectNode="0>0|0|2|0|0|0|2" materialType="sprayer" delay="0"/>
        </effects>
    </sprayer>
	
	<variableWorkWidth>
        <sections>
            <section isLeft="true" maxWidthNode="0>0|0|9|0">
                <effect node="0>0|0|2|0|0|0|0" />
				<effect node="0>0|0|2|0|0|0|1" />
				<effect node="0>0|0|2|0|0|0|2" />
            </section>
            <section isLeft="true" maxWidthNode="0>0|0|9|1">
                <effect node="0>0|0|2|0|1|0" />
				<effect node="0>0|0|2|0|1|1" />
				<effect node="0>0|0|2|0|1|2" />
				<effect node="0>0|0|2|0|1|3" />
            </section>
			<section isLeft="true" maxWidthNode="0>0|0|9|2">
                <effect node="0>0|0|2|1|0" />
				<effect node="0>0|0|2|1|1" />
				<effect node="0>0|0|2|1|2" />
            </section>
            
            <section isCenter="true" />

            <section isLeft="false" maxWidthNode="0>0|0|9|4">
                <effect node="0>0|0|1|1|0" />
				<effect node="0>0|0|1|1|1" />
				<effect node="0>0|0|1|1|2" />
            </section>
			<section isLeft="false" maxWidthNode="0>0|0|9|5">
                <effect node="0>0|0|1|0|1|0" />
				<effect node="0>0|0|1|0|1|1" />
				<effect node="0>0|0|1|0|1|2" />
				<effect node="0>0|0|1|0|1|3" />
            </section>
            <section isLeft="false" maxWidthNode="0>0|0|9|6">
                <effect node="0>0|0|1|0|0|0|0" />
				<effect node="0>0|0|1|0|0|0|1" />
				<effect node="0>0|0|1|0|0|0|2" />
            </section>
        </sections>

        <sectionNodes>
            <sectionNode node="0>4|3|0"  isLeft="true"  minTransX="1"  maxTransX="9" />
            <sectionNode node="0>4|3|1"  isLeft="false" minTransX="-1" maxTransX="-9" />
            <sectionNode node="0>4|3|2" isLeft="true"  minTransX="1"  maxTransX="9" />

            <sectionNode node="0>4|0|0"  isLeft="true"  minTransX="1"  maxTransX="9" />
            <sectionNode node="0>4|0|1"  isLeft="false" minTransX="-1" maxTransX="-9" />
        </sectionNodes>
    </variableWorkWidth>
	
    <animations>
        <animation name="folding">
            <part endRot="0 0 0" endTime="3.0" node="0>0|0|1" startRot="0 0 -90" startTime="0"/>
            <part endRot="0 -90 0" endTime="4.5" node="0>0|0|1|0" startRot="0 -180 0" startTime="3"/>
            <part endRot="0 0 0" endTime="6.0" node="0>0|0|1|0" startRot="0 -90 0" startTime="4.5"/>
            <part endRot="0 90 0" endTime="7.5" node="0>0|0|1|0|0" startRot="0 180 0" startTime="6"/>
            <part endRot="0 0 0" endTime="9.0" node="0>0|0|1|0|0" startRot="0 90 0" startTime="7.5"/>
            <part endRot="0 0 0" endTime="3.0" node="0>0|0|2" startRot="0 0 90" startTime="0"/>
            <part endRot="0 90 0" endTime="4.5" node="0>0|0|2|0" startRot="0 180 0" startTime="3"/>
            <part endRot="0 0 0" endTime="6.0" node="0>0|0|2|0" startRot="0 90 0" startTime="4.5"/>
            <part endRot="0 -90 0" endTime="7.5" node="0>0|0|2|0|0" startRot="0 -180 0" startTime="6"/>
            <part endRot="0 0 0" endTime="9.0" node="0>0|0|2|0|0" startRot="0 -90 0" startTime="7.5"/>
            <part endTime="2" endTrans="0.001 0.911 -2.464" node="0>0|0" startTime="0" startTrans="0.001 0.911 -2.464"/>
        </animation>
        <animation name="moveSupport">
            <part duration="0.3" endTrans="0.306 -0.31 0.45" node="0>0|3|1" startTime="0" startTrans="0.306 0 0.445"/>
            <part endRot="0 0 0" endTime="0.3" node="0>0|3|2" startRot="-900 0 0" startTime="0"/>
        </animation>
    </animations>
	
    <foldable>
        <foldingConfigurations>
            <foldingConfiguration>
                <foldingParts startMoveDirection="0" turnOnFoldMinLimit="0.99" turnOnFoldMaxLimit="1">
                    <foldingPart animationName="folding" speedScale="0.7"/>
                </foldingParts>
            </foldingConfiguration>
        </foldingConfigurations>
    </foldable>
	
    <cylindered>
        <movingParts>
            <movingPart node="0>0|0|0|2" referenceFrame="0>0|0|1|3" referencePoint="0>0|0|1|3">
                <translatingPart node="0>0|0|0|2|0"/>
            </movingPart>
            <movingPart node="0>0|0|0|3" referenceFrame="0>0|0|2|3" referencePoint="0>0|0|2|3">
                <translatingPart node="0>0|0|0|3|0"/>
            </movingPart>
            <movingPart node="0>0|0|2|5" referenceFrame="0>0|0|2|0|4|0" referencePoint="0>0|0|2|0|4|0">
                <translatingPart node="0>0|0|2|5|0"/>
            </movingPart>
            <movingPart node="0>0|0|1|5" referenceFrame="0>0|0|1|0|4|0" referencePoint="0>0|0|1|0|4|0">
                <translatingPart node="0>0|0|1|5|0"/>
            </movingPart>
            <movingPart node="0>0|0|1|0|5" referenceFrame="0>0|0|1|0|0|3|0" referencePoint="0>0|0|1|0|0|3|0">
                <translatingPart node="0>0|0|1|0|5|0"/>
            </movingPart>
            <movingPart node="0>0|0|2|0|5" referenceFrame="0>0|0|2|0|0|3|0" referencePoint="0>0|0|2|0|0|3|0">
                <translatingPart node="0>0|0|2|0|5|0"/>
            </movingPart>
            <movingPart node="0>0|5" referenceFrame="0>0|0|5" referencePoint="0>0|0|5" scaleZ="true"/>
            <movingPart node="0>0|6" referenceFrame="0>0|0|6" referencePoint="0>0|0|6" scaleZ="true"/>
        </movingParts>
        <movingTools>
            <movingTool foldMaxLimit="1" node="0>0|0|1" playSound="true">
                <dependentPart node="0>0|0|0|2"/>
            </movingTool>
            <movingTool foldMinLimit="0.7" node="0>0|0|2" playSound="true">
                <dependentPart node="0>0|0|0|3"/>
            </movingTool>
            <movingTool node="0>0|0|2|0" playSound="true">
                <dependentPart node="0>0|0|2|5"/>
            </movingTool>
            <movingTool node="0>0|0|1|0" playSound="true">
                <dependentPart node="0>0|0|1|5"/>
            </movingTool>
            <movingTool node="0>0|0|1|0|0" playSound="true">
                <dependentPart node="0>0|0|1|0|5"/>
            </movingTool>
            <movingTool node="0>0|0|2|0|0" playSound="true">
                <dependentPart node="0>0|0|2|0|5"/>
            </movingTool>
            <movingTool node="0>0|0" playSound="true">
                <dependentPart node="0>0|5"/>
                <dependentPart node="0>0|6"/>
                <controls axis="AXIS_SPRAYER_ARM" invertAxis="true" mouseSpeedFactor="4.2" iconName="SPRAYER_ARM_TRANSLATE_Y"/>
				<translation transSpeed="0.3" transAcceleration="5" transMax="1.911" transMin="0.911" translationAxis="2" />
            </movingTool>
        </movingTools>
    </cylindered>
	
	<fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <unloading width="11" offset="0 0 0" />
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypeCategories="sprayer" capacity="2500">
                        <exactFillRootNode node="0>11"/>
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
	
	<dischargeable requiresTipOcclusionArea="false">
        <dischargeNode node="0>10" emptySpeed="200" fillUnitIndex="1" allowAIDischarge="true">
            <info width="1.0" length="0.5" zOffset="0.4" />
            <trigger node="0>10" />
        </dischargeNode>
    </dischargeable>
	
    <turnOnVehicle turnOffIfNotAllowed="true">
        <sounds>
            <work template="defaultSprayer" linkNode="0>" />
        </sounds>
    </turnOnVehicle>
	
    <foliageBending>
        <bendingNode minX="-1.4" maxX="1.4" minZ="-1.1" maxZ="0.6" yOffset="0.6"/>
        <bendingNode minX="0" maxX="3.1" minZ="-0.2" maxZ="0.2" yOffset="-0.05" node="0>0|0|2"/>
        <bendingNode minX="0" maxX="3.4" minZ="-0.2" maxZ="0.2" yOffset="-0.05" node="0>0|0|2|0"/>
        <bendingNode minX="0" maxX="3" minZ="-0.2" maxZ="0.2" yOffset="-0.3" node="0>0|0|2|0|0"/>
        <bendingNode minX="-3.1" maxX="0" minZ="-0.2" maxZ="0.2" yOffset="-0.05" node="0>0|0|1"/>
        <bendingNode minX="-3.4" maxX="0" minZ="-0.2" maxZ="0.2" yOffset="-0.05" node="0>0|0|1|0"/>
        <bendingNode minX="-3" maxX="0" minZ="-0.2" maxZ="0.2" yOffset="-0.3" node="0>0|0|1|0|0"/>
    </foliageBending>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="6" fieldMultiplier="2"/>
	
    <ai>
        <allowTurnBackward value="false"/>
        <areaMarkers leftNode="0>4|0|0" rightNode="0>4|0|1" backNode="0>4|0|2"/>
        <collisionTrigger node="0>4|1" width="18" height="3.2"/>
        <toolReverserDirectionNode node="0>4|2|2"/>
        <agentAttachment width="3.5" height="3.4" length="8.5" lengthOffset="-0.2"/>		
    </ai>
	
	<licensePlates>
        <licensePlate node="0>12" position="BACK" preferedType="ELONGATED" placementArea="0.07 0.27 0.2 0.27"/>
    </licensePlates>

</vehicle>
