<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<motionPathEffects xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../shared/xml/schema/mapMotionPathEffects.xsd">

    <motionPathEffect effectClass="TypedMotionPathEffect" effectType="SUGARCANE_PREPARE_FRUIT" filename="$data/effects/sugarcane/sugarcane_prepareFruit.i3d">
        <effectGeneration rootNode="0|0" minRot="-5 0 -5" maxRot="5 360 5" minScale="0.95 0.95 0.95" maxScale="1.05 1.05 1.05"/>
        <typeDefinition fruitTypes="SUGARCANE" growthStates="11" speedScale="0.75"/>

        <effectMeshes>
            <effectMesh node="0|0|0" numRows="6"  rowLength="32" skipPositions="2" boundingBoxCenter="0 2 0" boundingBox="12 10 10" />
            <effectMesh node="0|0|1" numRows="12" rowLength="32" skipPositions="2" boundingBoxCenter="0 2 0" boundingBox="12 10 10" />
        </effectMeshes>

        <customShaderDefaults>
            <customShaderMap       name="shapeArray" filename="$data/effects/sugarcane/arrays/prepareFruitArray12x32.dds"/>
            <customShaderVariation name="cosOffsetY"/>
        </customShaderDefaults>
    </motionPathEffect>

    <motionPathEffect effectClass="TypedMotionPathEffect" effectType="SUGARCANE_CHOPPER" filename="$data/effects/sugarcane/sugarcane_chopper.i3d">
        <effectGeneration rootNode="0|1"/>
        <typeDefinition fillTypes="SUGARCANE" speedScale="0.60"/>

        <effectMeshes>
            <effectMesh node="0|0|0" numRows="24" rowLength="30" skipPositions="0" boundingBox="10 10 14" boundingBoxCenter="0 1 -4"  />
        </effectMeshes>

        <customShaderDefaults>
            <customShaderMap       name="shapeArray" filename="$data/effects/sugarcane/arrays/chopperArray24x30.dds"/>
            <customShaderVariation name="subUV_scaleByLife_alphaMap"/>
            <customShaderParameter name="sizeScale" value="0.5 3.75 0.0 0.0"/>
        </customShaderDefaults>
    </motionPathEffect>

    <motionPathEffect effectClass="TypedMotionPathEffect" effectType="SUGARCANE_CHAFFER" filename="$data/effects/sugarcane/sugarcane_chaffer.i3d">
        <effectGeneration rootNode="0|2"/>
        <typeDefinition fillTypes="SUGARCANE" speedScale="0.60"/>

        <effectMeshes>
            <effectMesh node="0|0|0" numRows="12" rowLength="32" skipPositions="2" boundingBox="14 14 24" boundingBoxCenter="0 4 -10" />
        </effectMeshes>

        <customShaderDefaults>
            <customShaderMap       name="shapeArray" filename="$data/effects/sugarcane/arrays/chafferArray12x32.dds"/>
            <customShaderVariation name="subUV_scaleByLife_alphaMap"/>
            <customShaderParameter name="sizeScale" value="0.5 3.75 0.0 0.0"/>
        </customShaderDefaults>
    </motionPathEffect>

    <motionPathEffect effectClass="TypedMotionPathEffect" effectType="SUGARCANE_CUTTER" filename="$data/effects/sugarcane/sugarcane_cutter.i3d">
        <effectGeneration rootNode="0|3|0" minRot="0 0 0" maxRot="0 360 0" minScale="1 0.9 1" maxScale="1 1.05 1" />
        <typeDefinition fruitTypes="SUGARCANE" growthStates="11" speedScale="0.5"/>

        <effectMeshes>
            <effectMesh node="0|0|0" numRows="1" rowLength="14" skipPositions="1" boundingBox="8 8 12" boundingBoxCenter="0 1 0"/>
        </effectMeshes>

        <customShaderDefaults>
            <customShaderMap       name="shapeArray" filename="$data/effects/sugarcane/arrays/cutterArray1x14.dds"/>
            <customShaderVariation name="scaleByTexture_verticalOffsetCut_alphaMap_keepNormals"/>
        </customShaderDefaults>
    </motionPathEffect>

</motionPathEffects>
