<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="sprayer" 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>CIS App 52</name>
        <specs>
            <workingWidth>5.2</workingWidth>
        </specs>
        <functions>
            <function>$l10n_function_slurrySpreaderTool</function>
        </functions>
        <image>store_cis_app52.png</image>
        <price>10000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>slurryTools</category>
        <shopTranslationOffset>0 0 0</shopTranslationOffset>
        <shopRotationOffset>0 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>474880</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>129280</indexBufferMemoryUsage>
        <textureMemoryUsage>1310720</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_manureDistributor</typeDesc>
        <filename>cis_app52.i3d</filename>
        <speedLimit value="15" />
        <size width="6.5" length="1.5" height="3" lengthOffset="0"/>
        <components>
            <component centerOfMass="0 1.05 0" solverIterationCount="10" mass="1950" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>
	
    <baseColorConfigurations useDefaultColors="false">
        <baseColorConfiguration color="0.444 0.325 0.045" name="$l10n_configuration_valueDefault"/>
		
        <material materialSlotName="cis_app52_color01"/>
    </baseColorConfigurations>
	
    <designColorConfigurations title="$l10n_configuration_baseColor" >
        <designColorConfiguration color="0.444 0.325 0.045" />
        <designColorConfiguration color="0.005 0.155 0.13" />

        <material materialSlotName="cis_app52_color01"/>
    </designColorConfigurations>

    <attachable allowFoldingWhileLowered="false">
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" topReferenceNode="topReferenceNode" jointType="implement" lowerRotLimitScale="0 0 0" lowerTransLimitScale="0 0.5 0" lowerRotationOffset="0">
                <distanceToGround lower="0.35" upper="1"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport" />
    </attachable>

    <connectionHoses>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="hydraulicIn01"  length="2" diameter="0.02" straighteningFactor="2">
           <objectChange node="hydraulicIn01_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="hydraulicOut01" length="2" diameter="0.02" straighteningFactor="2">
           <objectChange node="hydraulicOut01_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
		
        <hose inputAttacherJointIndices="1" type="TOOL_CONNECTOR_TOP_RIGHT" node="topRightHose" length="1.51" diameter="0.1525" straighteningFactor="2" isTwoPointHose="true" materialTemplateName="VOGELSANG_GREEN" >
           <objectChange node="cover" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicIn01_detached_connector"  	filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicOut01_detached_connector" 	filename="$data/shared/connectionHoses/connectors.i3d" />
    </dynamicallyLoadedParts>
	
    <lights>
        <sharedLight linkNode="rearLight13_left"    filename="$data/shared/assets/lights/lizard/rearLight13_left.xml" />
        <sharedLight linkNode="rearLight13_right"   filename="$data/shared/assets/lights/lizard/rearLight13_right.xml" />
        <sharedLight linkNode="rearLightW125_left" filename="lights/rearLightW125_left.xml" />
        <sharedLight linkNode="rearLightW125_right" filename="lights/rearLightW125_right.xml" />
        <sharedLight linkNode="rearLightGD2_left"  filename="lights/rearLightGD2_left.xml" />
        <sharedLight linkNode="rearLightGD2_right"  filename="lights/rearLightGD2_right.xml" />

        <realLights>
            <high>
                <light node="backLightsHigh1" lightTypes="0" />
                <light node="backLightsHigh3" lightTypes="0" />
                <light node="backLightsHigh5" lightTypes="0" />
                <turnLightLeft node="turnLightLeftBack1" />
                <turnLightLeft node="turnLightLeftBack3" />
                <turnLightLeft node="turnLightLeftBack5" />
                <turnLightRight node="turnLightRightBack1" />
                <turnLightRight node="turnLightRightBack3" />
                <turnLightRight node="turnLightRightBack5" />
                <brakeLight node="brakeLightsHigh1" />
                <brakeLight node="brakeLightsHigh3" />
                <brakeLight node="backLightsHigh5" />
                <reverseLight node="reverseLightHigh1" />
                <reverseLight node="reverseLightHigh3" />
            </high>
        </realLights>
    </lights>
	
    <powerConsumer ptoRpm="400" neededMinPtoPower="20" neededMaxPtoPower="20" forceNode="cis_app52_main_component1" maxForce="1" />

    <groundReferenceNodes>
        <groundReferenceNode node="groundReferenceNode" forceFactor="1" threshold="0.25"/>
    </groundReferenceNodes>

	<workAreas>
        <workArea type="sprayer" functionName="processSprayerArea" disableBackwards="false">
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight" />
            <groundReferenceNode index="1"/>
            <onlyActiveWhenLowered value="false"/>
        </workArea>
    </workAreas>

    <foldable>
        <foldingConfigurations>
            <foldingConfiguration>
                <foldingParts startMoveDirection="-1" turnOnFoldDirection="-1" turnOnFoldMinLimit="0" turnOnFoldMaxLimit="0.01" detachingMinLimit="0" detachingMaxLimit="0.01" toggleCoverMinLimit="0" toggleCoverMaxLimit="0.01" loweringMinLimit="0" loweringMaxLimit="0.01">
                    <foldingPart animationName="folding" speedScale="1" />
                </foldingParts>
            </foldingConfiguration>
        </foldingConfigurations>
    </foldable>

    <animations>
        <animation name="folding">
            <part node="leftArm"  startTime="0"   endTime="7.7" startRot="0 0 0" endRot="0 0 105"/>
            <part node="rightArm" startTime="0.3" endTime="8"   startRot="0 0 0" endRot="0 0 -105"/>
            <part node="groundReferenceNode" startTime="0" endTime="0.3"   startTrans="0 0 0" endTrans="0 1 0"/>

            <sound template="hydraulicClose02"      startTime="0"    endTime="7.5"  direction="1"     volumeScale="3"   pitchScale="1.3" linkNode="leftArm"  fadeIn="0.1" fadeOut="0.1"/>
            <sound template="hydraulicClose01"      startTime="0"    endTime="7.5"  direction="1"     volumeScale="3"   pitchScale="0.6" linkNode="leftArm"  fadeIn="0.1" fadeOut="0.1"/>
            <sound template="hydraulicClose02"      startTime="0.3"  endTime="7.7"  direction="1"     volumeScale="3"   pitchScale="1.1" linkNode="rightArm" fadeIn="0.1" fadeOut="0.1"/>
            <sound template="hydraulicClose01"      startTime="0.3"  endTime="7.7"  direction="1"     volumeScale="3"   pitchScale="0.8" linkNode="rightArm" fadeIn="0.1" fadeOut="0.1"/>
            <sound template="hydraulicOpen07"       startTime="0"    endTime="7.5"  direction="-1"    volumeScale="1.5" pitchScale="0.9" linkNode="leftArm" fadeIn="0.1" fadeOut="0.1"/>
            <sound template="hydraulicOpen07"       startTime="0.3"  endTime="7.7"  direction="-1"    volumeScale="1.5" pitchScale="0.7" linkNode="rightArm" fadeIn="0.1" fadeOut="0.1"/>
        </animation>
		
        <animation name="moveSupport">
            <part node="supportFrontLeft" startTime="0" endTime="0.1" startTrans="0.306 -0.146 0.209" endTrans="-0.024 -0.146 0.103" startRot="0 90 0"  endRot="0 80 -90"/>
            <part node="supportBackLeft" startTime="0" endTime="0.1" startTrans="0.306 -0.146 0.132" endTrans="-0.024 -0.146 -0.103" startRot="0 90 0"  endRot="0 -100 90"/>
            <part node="supportFrontRight" startTime="0" endTime="0.1" startTrans="-0.306 -0.146 0.209" endTrans="0.024 -0.146 0.103" startRot="0 -90 0"  endRot="0 -80 90"/>
            <part node="supportBackRight" startTime="0" endTime="0.1" startTrans="-0.306 -0.146 0.132" endTrans="0.024 -0.146 -0.103" startRot="0 -90 0"  endRot="0 100 -90"/>
            <part node="supportCol" startTime="0" endTime="0.1" startTrans="0 1.284 0" endTrans="0 0.284 0"/>

            <sound template="clackVar5" startTime="0.09" direction="-1" volumeScale="0.9" pitchScale="1.6" linkNode="attacherJoint"/>
            <sound template="latchSmall" startTime="0.09" direction="-1" volumeScale="0.2" pitchScale="1.2" linkNode="attacherJoint"/>
            <sound template="clackVar1" startTime="0.01" direction="1" volumeScale="1.5" pitchScale="1.6" linkNode="attacherJoint"/>
        </animation>
    </animations>

    <cylindered>
        <movingTools>
            <movingTool node="leftArm" >
                <dependentPart node="leftArmHydraulic" />
            </movingTool>
            <movingTool node="rightArm" >
                <dependentPart node="rightArmHydraulic" />
            </movingTool>
        </movingTools>

        <movingParts>
            <movingPart node="leftArmHydraulic" referencePoint="leftArmHydraulicRef" referenceFrame="leftArmHydraulicPunch" playSound="true" >
                <translatingPart node="leftArmHydraulicPunch" />
            </movingPart>
            <movingPart node="rightArmHydraulic" referencePoint="rightArmHydraulicRef" referenceFrame="rightArmHydraulicPunch" playSound="true" >
                <translatingPart node="rightArmHydraulicPunch" />
            </movingPart>
        </movingParts>
    </cylindered>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypeCategories="slurryTank" capacity="0" />
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
	
    <sprayer activateOnLowering="true" activateTankOnLowering="false">
        <usageScales workingWidth="5.2" scale="1" />
		<effects>
			<effectNode effectNode="effectSlurrySingleCenter01" delay="0.1" materialType="slurry" materialTypeId="1" />
			<effectNode effectNode="effectSlurrySingleCenter02" delay="0.1" materialType="slurry" materialTypeId="1" />
			<effectNode effectNode="effectSlurrySingleCenter03" delay="0.1" materialType="slurry" materialTypeId="1" />
			<effectNode effectNode="effectSlurrySingleCenter04" delay="0.1" materialType="slurry" materialTypeId="1" />
			<effectNode effectNode="effectSlurrySingleLeft01" delay="0.1" materialType="slurry" materialTypeId="1" />
			<effectNode effectNode="effectSlurrySingleLeft02" delay="0.1" materialType="slurry" materialTypeId="1" />
			<effectNode effectNode="effectSlurrySingleLeft03" delay="0.1" materialType="slurry" materialTypeId="1" />
			<effectNode effectNode="effectSlurrySingleLeft04" delay="0.1" materialType="slurry" materialTypeId="1" />
			<effectNode effectNode="effectSlurrySingleLeft05" delay="0.1" materialType="slurry" materialTypeId="1" />
			<effectNode effectNode="effectSlurrySingleRight01" delay="0.1" materialType="slurry" materialTypeId="1" />
			<effectNode effectNode="effectSlurrySingleRight02" delay="0.1" materialType="slurry" materialTypeId="1" />
			<effectNode effectNode="effectSlurrySingleRight03" delay="0.1" materialType="slurry" materialTypeId="1" />
			<effectNode effectNode="effectSlurrySingleRight04" delay="0.1" materialType="slurry" materialTypeId="1" />
			<effectNode effectNode="effectSlurrySingleRight05" delay="0.1" materialType="slurry" materialTypeId="1" />
		</effects>
		
        <sounds>
            <work template="defaultSowingAirBlower" linkNode="0>" />
        </sounds>
    </sprayer>

    <turnOnVehicle turnedOnByAttacherVehicle="true"/>

    <ai>
        <needsLowering value="true" />
        <areaMarkers leftNode="aiMarkerLeft" rightNode="aiMarkerRight" backNode="aiMarkerBack" />
        <collisionTrigger node="aiCollisionNode" width="5.2" height="2.4"/>
        <agentAttachment width="5.5" height="1.5" length="0.5" lengthOffset="0"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-0.75" maxX="0.75" minZ="-0.2" maxZ="0.25" yOffset="1.05" />
        <bendingNode minX="0.05" maxX="2.075"  minZ="-0.15" maxZ="0.15" yOffset="-0.145" node="leftArm" />
        <bendingNode minX="-2.075" maxX="-0.05" minZ="-0.15" maxZ="0.15" yOffset="-0.145" node="rightArm" />
    </foliageBending>
	
	<designConfigurations title="$l10n_configuration_light">
        <designConfiguration>
            <objectChange node="lights_configuration01" visibilityActive="true"/>
            <objectChange node="lights_configuration03" visibilityActive="false"/>
            <objectChange node="lights_configuration05" visibilityActive="false"/>
        </designConfiguration>
        <designConfiguration>
            <objectChange node="lights_configuration01" visibilityActive="false"/>
            <objectChange node="lights_configuration03" visibilityActive="true"/>
            <objectChange node="lights_configuration05" visibilityActive="false"/>
        </designConfiguration>
        <designConfiguration isDefault="true">
            <objectChange node="lights_configuration01" visibilityActive="false"/>
            <objectChange node="lights_configuration03" visibilityActive="false"/>
            <objectChange node="lights_configuration05" visibilityActive="true"/>
        </designConfiguration>
    </designConfigurations>
	
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="6" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="cis_app52_main_component1" node="0>" />
        <i3dMapping id="cis_app52_vis" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>0|0|0" />
        <i3dMapping id="topReferenceNode" node="0>0|0|1" />
        <i3dMapping id="hydraulicIn01" node="0>0|0|2|0" />
        <i3dMapping id="hydraulicIn01_detached" node="0>0|0|2|0|0" />
        <i3dMapping id="hydraulicIn01_detached_connector"  node="0>0|0|2|0|0|0" />
        <i3dMapping id="hydraulicOut01" node="0>0|0|2|1" />
        <i3dMapping id="hydraulicOut01_detached" node="0>0|0|2|1|0" />
        <i3dMapping id="hydraulicOut01_detached_connector" node="0>0|0|2|1|0|0" />
        <i3dMapping id="topRightHose" node="0>0|0|2|2" />
        <i3dMapping id="lights_configuration01" node="0>0|1|0" />
        <i3dMapping id="rearLightW125_left" node="0>0|1|0|0" />
        <i3dMapping id="rearLightW125_right" node="0>0|1|0|1" />
        <i3dMapping id="backLightsHigh1" node="0>0|1|0|2" />
        <i3dMapping id="brakeLightsHigh1" node="0>0|1|0|3" />
        <i3dMapping id="turnLightLeftBack1" node="0>0|1|0|4" />
        <i3dMapping id="turnLightRightBack1" node="0>0|1|0|5" />
        <i3dMapping id="reverseLightHigh1" node="0>0|1|0|6" />
        <i3dMapping id="lights_configuration03" node="0>0|1|1" />
        <i3dMapping id="rearLightGD2_left" node="0>0|1|1|0" />
        <i3dMapping id="rearLightGD2_right" node="0>0|1|1|1" />
        <i3dMapping id="backLightsHigh3" node="0>0|1|1|2" />
        <i3dMapping id="brakeLightsHigh3" node="0>0|1|1|3" />
        <i3dMapping id="turnLightLeftBack3" node="0>0|1|1|4" />
        <i3dMapping id="turnLightRightBack3" node="0>0|1|1|5" />
        <i3dMapping id="reverseLightHigh3" node="0>0|1|1|6" />
        <i3dMapping id="lights_configuration05" node="0>0|1|2" />
        <i3dMapping id="rearLight13_left" node="0>0|1|2|0" />
        <i3dMapping id="rearLight13_right" node="0>0|1|2|1" />
        <i3dMapping id="backLightsHigh5" node="0>0|1|2|2" />
        <i3dMapping id="turnLightLeftBack5" node="0>0|1|2|3" />
        <i3dMapping id="turnLightRightBack5" node="0>0|1|2|4" />
        <i3dMapping id="leftArm" node="0>0|2|0" />
        <i3dMapping id="leftArmHydraulicRef" node="0>0|2|0|0" />
        <i3dMapping id="supportFrontLeft" node="0>0|2|0|1" />
        <i3dMapping id="supportBackLeft" node="0>0|2|0|2" />
        <i3dMapping id="rightArm" node="0>0|2|1" />
        <i3dMapping id="rightArmHydraulicRef" node="0>0|2|1|0" />
        <i3dMapping id="supportFrontRight" node="0>0|2|1|1" />
        <i3dMapping id="supportBackRight" node="0>0|2|1|2" />
        <i3dMapping id="leftArmHydraulic" node="0>0|2|2" />
        <i3dMapping id="leftArmHydraulicPunch" node="0>0|2|2|0" />
        <i3dMapping id="rightArmHydraulic" node="0>0|2|3" />
        <i3dMapping id="rightArmHydraulicPunch" node="0>0|2|3|0" />
        <i3dMapping id="groundReferenceNode" node="0>0|3|0" />
        <i3dMapping id="workAreaStart" node="0>0|3|1" />
        <i3dMapping id="workAreaHeight" node="0>0|3|2" />
        <i3dMapping id="workAreaWidth" node="0>0|3|3" />
        <i3dMapping id="aiMarkerLeft" node="0>0|4|0" />
        <i3dMapping id="aiMarkerRight" node="0>0|4|1" />
        <i3dMapping id="aiMarkerBack" node="0>0|4|2" />
        <i3dMapping id="aiCollisionNode" node="0>0|4|3" />
        <i3dMapping id="effectSlurrySingleCenter01" node="0>0|5|0" />
        <i3dMapping id="effectSlurrySingleCenter02" node="0>0|5|1" />
        <i3dMapping id="effectSlurrySingleCenter03" node="0>0|5|2" />
        <i3dMapping id="effectSlurrySingleCenter04" node="0>0|5|3" />
        <i3dMapping id="effectSlurrySingleLeft01" node="0>0|5|4" />
        <i3dMapping id="effectSlurrySingleLeft02" node="0>0|5|5" />
        <i3dMapping id="effectSlurrySingleLeft03" node="0>0|5|6" />
        <i3dMapping id="effectSlurrySingleLeft04" node="0>0|5|7" />
        <i3dMapping id="effectSlurrySingleLeft05" node="0>0|5|8" />
        <i3dMapping id="effectSlurrySingleRight01" node="0>0|5|9" />
        <i3dMapping id="effectSlurrySingleRight02" node="0>0|5|10" />
        <i3dMapping id="effectSlurrySingleRight03" node="0>0|5|11" />
        <i3dMapping id="effectSlurrySingleRight04" node="0>0|5|12" />
        <i3dMapping id="effectSlurrySingleRight05" node="0>0|5|13" />
        <i3dMapping id="cover" node="0>0|6|0" />
        <i3dMapping id="supportCol" node="0>1|2" />
    </i3dMappings>
</vehicle>
