<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="sprayer">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>
            <en>SP 4000</en></name>
        <specs>
            <workingWidth>16.0</workingWidth>
            <combination xmlFilename="vehicles/lizard/d754/CsD754.xml"/>
        </specs>
        <functions>
            <function>$l10n_function_sprayer</function>
        </functions>
        <image>sp4_store.png</image>
        <price>21000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>sprayers</category>
        <shopTranslationOffset>0 0.025 0</shopTranslationOffset>
        <shopRotationOffset>0 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>1834240</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>359424</indexBufferMemoryUsage>
        <textureMemoryUsage>1114112</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_sprayer</typeDesc>
        <filename>vehicles/lizard/sp4/sp4000.i3d</filename>
        <size width="4" length="5" lengthOffset="0"/>
        <components>
            <component centerOfMass="0 0.65 0.0" solverIterationCount="10" mass="2200"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT"/>
    </base>
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="trailerAttacherJointLow" jointType="trailerPF" upperRotationOffset="0"/>
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
    </attachable>
    <lights>
        <sharedLight linkNode="work1" node="0" lightTypes="1" filename="$data/shared/assets/lights/lizard/workingLight11.xml">
            <rotationNode name="rotationNode1" rotation="10 0 0"/>
        </sharedLight>
        <sharedLight linkNode="work2" node="0" lightTypes="1" filename="$data/shared/assets/lights/lizard/workingLight11.xml">
            <rotationNode name="rotationNode1" rotation="10 0 0"/>
        </sharedLight>
        <states>
            <state lightTypes="0"/>
            <state lightTypes="0 1"/>
            <state lightTypes="0 1 2"/>
        </states>
        <realLights>
            <low>
                <light node="workLightBackLow" lightTypes="1"/>
            </low>
            <high>
                <light node="workLightBackHigh1" lightTypes="1"/>
            </high>
        </realLights>
    </lights>
    <workAreas>
        <workArea type="sprayer" functionName="processSprayerArea" disableBackwards="false" requiresGroundContact="false">
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight"/>
        </workArea>
    </workAreas>
    <foldable>
        <foldingConfigurations>
            <foldingConfiguration>
                <foldingParts startMoveDirection="1" turnOnFoldMaxLimit="0" turnOnFoldMinLimit="0">
                    <foldingPart animationName="folding" speedScale="1"/>
                </foldingParts>
            </foldingConfiguration>
        </foldingConfigurations>
    </foldable>
    <animations>
        <animation name="mainArmMovement">
            <part node="middlePart" startTime="0" endTime="1" startTrans="0 0 0" endTrans="0 0.414 0"/>
        </animation>
        <animation name="moveSupport">
            <part node="supportColli02" startTime="0.0" endTime="0.25" startRot="0 0 71" endRot="0 0 0"/>
            <part node="supportColli01" startTime="0.0" endTime="0.25" startRot="0 0 -71" endRot="0 0 0"/>
            <part node="support" startTime="0" endTime="0.05" visibility="false"/>
            <part node="support" startTime="0.05" endTime="0.1" visibility="true"/>
            <part node="pipe01" startTime="0" endTime="0.05" visibility="true"/>
            <part node="pipe01" startTime="0.05" endTime="0.1" visibility="false"/>
        </animation>
        <animation name="folding">
            <part node="middlePart" startTime="0" endTime="2" startTrans="0 0.414 0" endTrans="0 0.414 0"/>
            <part node="leftArm01" startTime="0" endTime="6" startRot="0 0 0" endRot="0 -90 0"/>
            <part node="leftArm02" startTime="0" endTime="6" startRot="0 0 0" endRot="0 179 0"/>
            <part node="rightArm01" startTime="0" endTime="6" startRot="0 0 0" endRot="0 90 0"/>
            <part node="rightArm02" startTime="0" endTime="6" startRot="0 0 0" endRot="0 -179 0"/>
            <part node="leftArm03_Ref" startTime="0" endTime="6" startTrans="0.224 -0.321 0.016" endTrans="0.180 -0.320 0.004"/>
            <part node="rightArm03_Ref" startTime="0" endTime="6" startTrans="-0.225 -0.333 0.013" endTrans="-0.180 -0.320 0.004"/>
            <sound template="defaultHydraulicSound" startTime="13" endTime="13.99" volumeScale="1.7" pitchScale="0.6" fadeIn="0.1" fadeOut="0.1"/>
            <sound template="defaultHydraulicSound" startTime="8" endTime="13" volumeScale="1.7" pitchScale="0.8" fadeIn="0.1" fadeOut="0.1"/>
            <sound template="defaultHydraulicSound" startTime="3" endTime="8" volumeScale="1.7" pitchScale="1.1" fadeIn="0.1" fadeOut="0.1"/>
            <sound template="defaultHydraulicSound" startTime="0.01" endTime="3" volumeScale="1.7" pitchScale="0.7" fadeIn="0.1" fadeOut="0.1"/>
            <sound template="sheetImp02" startTime="0.01" volumeScale="1.9" pitchScale="1.1"/>
            <sound template="clackVar6" startTime="0.01" volumeScale="1" pitchScale="1.1"/>
            <sound template="clackVar4" startTime="3.01" volumeScale="0.9" pitchScale="1.5"/>
            <sound template="sheetImp02" startTime="3.02" volumeScale="2" pitchScale="2.1"/>
            <sound template="sheetImp02" startTime="8" volumeScale="2" pitchScale="1.9"/>
            <sound template="clackVar4" startTime="8" volumeScale="1.9" pitchScale="1.5"/>
            <sound template="sheetImp05" startTime="13" volumeScale="2" pitchScale="1.1"/>
            <sound template="clackVar4" startTime="13" volumeScale="1" pitchScale="1.2"/>
            <sound template="sheetImp02" startTime="13.99" volumeScale="2.5" pitchScale="0.7"/>
            <sound template="sheetImp01" startTime="13.99" volumeScale="1.5" pitchScale="0.8"/>
        </animation>
    </animations>
    <cylindered>
        <movingTools>
            <movingTool node="middlePart" playSound="true" foldMinLimit="0" foldMaxLimit="0.1">
                <controls axis="AXIS_SPRAYER_ARM" invertAxis="false" mouseSpeedFactor="0.5" iconName="SPRAYER_ARM_TRANSLATE_Y"/>
                <animation animSpeed="0.3" animAcceleration="5" animName="mainArmMovement"/>
            </movingTool>
        </movingTools>
        <movingParts>
            <movingPart node="rightArm03" referencePoint="rightArm03_Ref" referenceFrame="rightArm03_Ref" scaleZ="true" maxUpdateDistance="50" isActiveDirty="true"/>
            <movingPart node="leftArm03" referencePoint="leftArm03_Ref" referenceFrame="leftArm03_Ref" scaleZ="true" maxUpdateDistance="50" isActiveDirty="true"/>
            <!-- left arm -->
            <movingPart node="rightHydraulic" referencePoint="rightHydraulic_Ref" referenceFrame="rightHydraulic_Ref" maxUpdateDistance="50" isActiveDirty="true">
                <translatingPart node="rightHydraulicPunch"/>
            </movingPart>
            <movingPart node="leftHydraulic" referencePoint="leftHydraulic_Ref" referenceFrame="leftHydraulic_Ref" maxUpdateDistance="50" isActiveDirty="true">
                <translatingPart node="leftHydraulicPunch"/>
            </movingPart>
            <movingPart node="hydraulic01" referencePoint="hydraulic01_Ref" referenceFrame="hydraulic01_Ref" maxUpdateDistance="50" isActiveDirty="true">
                <translatingPart node="hydraulicPunch"/>
            </movingPart>
        </movingParts>
        <sounds>
            <actionSound template="defaultHydraulicSound" pitchScale="0.4" volumeScale="2.0" linkNode="rightArm03" actionNames="TOOL_MOVE_POS TOOL_MOVE_NEG" nodes="rightArm03" fadeIn="0.01" fadeOut="0.01"/>
            <actionSound template="clackVar6" pitchScale="0.8" volumeScale="1" linkNode="rightArm03" actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="rightArm03"/>
            <actionSound template="sheetImp02" pitchScale="1.3" volumeScale="1.4" linkNode="rightArm03" actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="rightArm03"/>
            <actionSound template="cylinderPunch" pitchScale="1.8" volumeScale="0.2" linkNode="rightArm03" actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="rightArm03"/>
            <actionSound template="clackVar6" pitchScale="0.8" volumeScale="1.2" linkNode="rightArm03" actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="rightArm03"/>
            <actionSound template="metalClose" pitchScale="1.5" volumeScale="0.3" linkNode="rightArm03" actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="rightArm03"/>
            <actionSound template="sheetImp02" pitchScale="0.8" volumeScale="1.4" linkNode="rightArm03" actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="rightArm03"/>
        </sounds>
    </cylindered>
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <unloading width="16" offset="0 0 0"/>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypeCategories="sprayer" capacity="4000">
                        <exactFillRootNode node="exactFillRootNode"/>
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
    <dischargeable requiresTipOcclusionArea="false">
        <dischargeNode node="dischargeTrigger" emptySpeed="200" fillUnitIndex="1" allowAIDischarge="true">
            <info width="1.0" length="0.5" zOffset="0.4"/>
            <trigger node="dischargeTrigger"/>
        </dischargeNode>
    </dischargeable>
    <sprayer>
        <usageScales workingWidth="16.0" scale="1"/>
        <effects>
            <effectNode effectNode="effect01" delay="0.4" materialType="sprayer"/>
            <effectNode effectNode="effect02" delay="0.3" materialType="sprayer"/>
            <effectNode effectNode="effect03" delay="0.2" materialType="sprayer"/>
            <effectNode effectNode="effect04" delay="0.1" materialType="sprayer"/>
            <effectNode effectNode="effect05" delay="0" materialType="sprayer"/>
        </effects>
    </sprayer>
    <turnOnVehicle turnOffIfNotAllowed="true">
        <sounds>
            <work template="DEFAULT_SPRAYER" linkNode="sp4_main_component"/>
        </sounds>
    </turnOnVehicle>
    <ai>
        <areaMarkers leftNode="aiMarkerLeft" rightNode="aiMarkerRight" backNode="aiMarkerBack"/>
        <sizeMarkers leftNode="aiMarkerLeft" rightNode="aiMarkerRight" backNode="aiMarkerBack"/>
        <needsLowering value="false"/>
        <collisionTrigger node="aiCollisionNode" width="2.5" length="4.2" height="2.75"/>
        <agentAttachment width="2.5" length="4.2" height="2.75" lengthOffset="-0.2"/>
    </ai>
    <baseMaterialConfigurations useDefaultColors="true" price="500">
        <baseMaterialConfiguration color="CASEIH_RED1"/>
        <material name="PUT_mat" shaderParameter="colorMat0"/>
    </baseMaterialConfigurations>
    <designMaterialConfigurations price="500" useDefaultColors="true" defaultColorIndex="9">
        <material name="PUT_mat" shaderParameter="colorMat2"/>
    </designMaterialConfigurations>
    <baseMaterial>
        <material name="PUT_mat" baseNode="sp4_vis">
            <shaderParameter name="colorMat0" value="CASEIH_RED1"/>
            <shaderParameter name="colorMat2" value="ARCUSIN_YELLOW1"/>
        </material>
    </baseMaterial>
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="1" fieldMultiplier="2"/>
    <i3dMappings>
        <i3dMapping id="sp4_main_component" node="0>"/>
        <i3dMapping id="attachable" node="0>0"/>
        <i3dMapping id="trailerAttacherJointLow" node="0>0|0"/>
        <i3dMapping id="supportx" node="0>0|1"/>
        <i3dMapping id="support" node="0>0|1|0"/>
        <i3dMapping id="supportColli01" node="0>0|1|1"/>
        <i3dMapping id="supportColli02" node="0>0|1|2"/>
        <i3dMapping id="pipe01" node="0>0|2"/>
        <i3dMapping id="movingParts" node="0>1"/>
        <i3dMapping id="middlePart_tr" node="0>1|0"/>
        <i3dMapping id="middlePart" node="0>1|0|0"/>
        <i3dMapping id="leftArm01" node="0>1|0|0|0"/>
        <i3dMapping id="rotL" node="0>1|0|0|0|0"/>
        <i3dMapping id="leftArm02" node="0>1|0|0|0|0|0"/>
        <i3dMapping id="leftArm03_Ref" node="0>1|0|0|0|0|0|0"/>
        <i3dMapping id="effect02" node="0>1|0|0|0|0|0|1"/>
        <i3dMapping id="joint10" node="0>1|0|0|0|0|0|2"/>
        <i3dMapping id="screwDecalsLeft02" node="0>1|0|0|0|0|0|3"/>
        <i3dMapping id="joint18" node="0>1|0|0|0|0|0|4"/>
        <i3dMapping id="colli04" node="0>1|0|0|0|0|0|5"/>
        <i3dMapping id="leftHydraulic_Ref" node="0>1|0|0|0|1"/>
        <i3dMapping id="effect01" node="0>1|0|0|0|2"/>
        <i3dMapping id="joint6" node="0>1|0|0|0|3"/>
        <i3dMapping id="screwDecalsLeft01" node="0>1|0|0|0|4"/>
        <i3dMapping id="Cable_05" node="0>1|0|0|0|5"/>
        <i3dMapping id="joint17" node="0>1|0|0|0|5|0"/>
        <i3dMapping id="colli02" node="0>1|0|0|0|6"/>
        <i3dMapping id="rightArm01" node="0>1|0|0|1"/>
        <i3dMapping id="colli01" node="0>1|0|0|1|0"/>
        <i3dMapping id="rotR" node="0>1|0|0|1|1"/>
        <i3dMapping id="rightArm02" node="0>1|0|0|1|1|0"/>
        <i3dMapping id="rightArm03_Ref" node="0>1|0|0|1|1|0|0"/>
        <i3dMapping id="effect04" node="0>1|0|0|1|1|0|1"/>
        <i3dMapping id="screwDecalsRight02" node="0>1|0|0|1|1|0|2"/>
        <i3dMapping id="joint8" node="0>1|0|0|1|1|0|3"/>
        <i3dMapping id="colli03" node="0>1|0|0|1|1|0|4"/>
        <i3dMapping id="rightHydraulic_Ref" node="0>1|0|0|1|2"/>
        <i3dMapping id="effect03" node="0>1|0|0|1|3"/>
        <i3dMapping id="joint4" node="0>1|0|0|1|4"/>
        <i3dMapping id="screwDecalsRight01" node="0>1|0|0|1|5"/>
        <i3dMapping id="Cable_07" node="0>1|0|0|1|6"/>
        <i3dMapping id="joint7" node="0>1|0|0|1|6|0"/>
        <i3dMapping id="hydraulic01_Ref" node="0>1|0|0|2"/>
        <i3dMapping id="rightHydraulic" node="0>1|0|0|3"/>
        <i3dMapping id="rightHydraulicPunch" node="0>1|0|0|3|0"/>
        <i3dMapping id="joint14" node="0>1|0|0|3|1"/>
        <i3dMapping id="leftHydraulic" node="0>1|0|0|4"/>
        <i3dMapping id="leftHydraulicPunch" node="0>1|0|0|4|0"/>
        <i3dMapping id="joint12" node="0>1|0|0|4|1"/>
        <i3dMapping id="rightArm03" node="0>1|0|0|5"/>
        <i3dMapping id="rightArm03_aimConstraint1" node="0>1|0|0|5|0"/>
        <i3dMapping id="leftArm03" node="0>1|0|0|6"/>
        <i3dMapping id="effect05" node="0>1|0|0|7"/>
        <i3dMapping id="joints01" node="0>1|0|0|8"/>
        <i3dMapping id="joint16" node="0>1|0|0|8|0"/>
        <i3dMapping id="joint2" node="0>1|0|0|8|1"/>
        <i3dMapping id="skinned02" node="0>1|0|0|9"/>
        <i3dMapping id="Cable_rightArm01" node="0>1|0|0|9|0"/>
        <i3dMapping id="joint3" node="0>1|0|0|9|0|0"/>
        <i3dMapping id="Cable_leftArm01" node="0>1|0|0|9|1"/>
        <i3dMapping id="joint5" node="0>1|0|0|9|1|0"/>
        <i3dMapping id="Cable_right_hydraulic" node="0>1|0|0|9|2"/>
        <i3dMapping id="joint13" node="0>1|0|0|9|2|0"/>
        <i3dMapping id="Cable_left_hydraulic" node="0>1|0|0|9|3"/>
        <i3dMapping id="joint11" node="0>1|0|0|9|3|0"/>
        <i3dMapping id="screwDecalsMiddle" node="0>1|0|0|10"/>
        <i3dMapping id="decals1" node="0>1|0|0|11"/>
        <i3dMapping id="pPlane12" node="0>1|0|0|12"/>
        <i3dMapping id="hydraulic01" node="0>1|1"/>
        <i3dMapping id="hydraulicPunch" node="0>1|1|0"/>
        <i3dMapping id="skinned" node="0>2"/>
        <i3dMapping id="skinnedMesh03" node="0>2|0"/>
        <i3dMapping id="joint1" node="0>2|1"/>
        <i3dMapping id="Cable_06" node="0>2|2"/>
        <i3dMapping id="joint15" node="0>2|2|0"/>
        <i3dMapping id="Cable_00" node="0>2|3"/>
        <i3dMapping id="sp4_vis" node="0>3"/>
        <i3dMapping id="screwDecals" node="0>3|0"/>
        <i3dMapping id="decals" node="0>3|1"/>
        <i3dMapping id="Cable_09" node="0>3|2"/>
        <i3dMapping id="workAreas" node="0>4"/>
        <i3dMapping id="workAreaStart" node="0>4|0"/>
        <i3dMapping id="workAreaWidth" node="0>4|1"/>
        <i3dMapping id="workAreaHeight" node="0>4|2"/>
        <i3dMapping id="ai" node="0>5"/>
        <i3dMapping id="aiCollisionNode" node="0>5|0"/>
        <i3dMapping id="aiMarkers" node="0>5|1"/>
        <i3dMapping id="aiMarkerLeft" node="0>5|1|0"/>
        <i3dMapping id="aiMarkerRight" node="0>5|1|1"/>
        <i3dMapping id="aiMarkerBack" node="0>5|1|2"/>
        <i3dMapping id="lights" node="0>6"/>
        <i3dMapping id="sharedLights" node="0>6|0"/>
        <i3dMapping id="work1" node="0>6|0|0"/>
        <i3dMapping id="work2" node="0>6|0|1"/>
        <i3dMapping id="workLights" node="0>6|1"/>
        <i3dMapping id="workLightBackLow" node="0>6|1|0"/>
        <i3dMapping id="workLightBackHigh1" node="0>6|2"/>
        <i3dMapping id="workLightBackHigh2" node="0>6|2|0"/>
        <i3dMapping id="fillUnit" node="0>7"/>
        <i3dMapping id="exactFillRootNode" node="0>7|0"/>
        <i3dMapping id="dischargeTrigger" node="0>7|1"/>
    </i3dMappings>
</vehicle>
