<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="mixerWagon">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>
            <en>Knight RA 142 PF</en></name>
        <specs>
            <combination xmlFilename="vehicles/lizard/d754/CsD754.xml"/>
        </specs>
        <functions>
            <function>$l10n_function_feeder</function>
        </functions>
        <image>store_kuhnRA142CS.png</image>
        <price>26000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>KUHN</brand>
        <category>animals</category>
        <vertexBufferMemoryUsage>841984</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>153600</indexBufferMemoryUsage>
        <textureMemoryUsage>1048576</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_mixerWagon</typeDesc>
        <filename>vehicles/kuhn/kuhnRA142CS/kuhnRA142CS.i3d</filename>
        <size width="3.2" length="5.1" height="3.4" lengthOffset="0.1"/>
        <components>
            <component centerOfMass="0 0.6 0" solverIterationCount="10" mass="4920"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT"/>
    </base>
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="trailerHorsh" upperRotationOffset="0"/>
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
    </attachable>
    <powerConsumer ptoRpm="540" neededMaxPtoPower="35"/>
    <animations>
        <animation name="dischargeAnim">
            <part node="bottomDoor" startTime="0" endTime="1.5" startRot="0 0 0" endRot="0 0 -120"/>
            <part node="topDoor" startTime="1.5" endTime="3" startTrans="0 0 0" endTrans="0 0.0 0.4"/>
            <part node="dischargeNodeLeft" startTime="2.8" endTime="3" startTipSideEmptyFactor="0" endTipSideEmptyFactor="1"/>
            <sound template="defaultHydraulicSound" startTime="0.01" endTime="1.5" volumeScale="1.3" pitchScale="1.4" linkNode="topDoor"/>
            <sound template="defaultHydraulicSound" startTime="1.5" endTime="2.99" volumeScale="1.3" pitchScale="1.1" linkNode="topDoor"/>
            <sound template="metalOpen" startTime="0.01" direction="1" volumeScale="1.6" pitchScale="1.7" linkNode="topDoor"/>
            <sound template="metalClose" startTime="1.5" direction="1" volumeScale="1.6" pitchScale="1.7" linkNode="topDoor"/>
            <sound template="clackVar6" startTime="1.5" direction="1" volumeScale="1.6" pitchScale="1" linkNode="topDoor"/>
            <sound template="slideOpen" startTime="1.5" direction="1" volumeScale="2" pitchScale="1.7" linkNode="topDoor"/>
            <sound template="clackVar6" startTime="2.99" direction="1" volumeScale="0.8" pitchScale="0.9" linkNode="topDoor"/>
            <sound template="sheetImp02" startTime="2.99" direction="1" volumeScale="2" pitchScale="0.8" linkNode="topDoor"/>
            <sound template="clackVar4" startTime="2.99" direction="-1" volumeScale="0.8" pitchScale="1.6" linkNode="topDoor"/>
            <sound template="clackVar6" startTime="1.5" direction="-1" volumeScale="1.2" pitchScale="0.8" linkNode="topDoor"/>
            <sound template="sheetImp02" startTime="1.5" direction="-1" volumeScale="1.8" pitchScale="0.8" linkNode="topDoor"/>
            <sound template="clackVar4" startTime="0.01" direction="-1" volumeScale="1.2" pitchScale="2" linkNode="topDoor"/>
            <sound template="metalClose" startTime="0.01" direction="-1" volumeScale="1.2" pitchScale="1" linkNode="topDoor"/>
            <sound template="clackVar6" startTime="0.01" direction="-1" volumeScale="1.2" pitchScale="0.8" linkNode="topDoor"/>
            <sound template="hingeMedium" startTime="1.6" endTime="2.8" direction="1" volumeScale="1.2" pitchScale="0.6" linkNode="topDoor"/>
        </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="pipe" startTime="0" endTime="0.05" visibility="true"/>
            <part node="pipe" startTime="0.05" endTime="0.1" visibility="false"/>
        </animation>
    </animations>
    <cylindered>
        <movingTools>
            <movingTool node="topDoor">
                <dependentPart node="topDoorArm"/>
            </movingTool>
            <movingTool node="bottomDoor">
                <dependentPart node="hydraulicBottomDoor"/>
            </movingTool>
        </movingTools>
        <movingParts>
            <movingPart node="topDoorArm" referencePoint="topDoorArmRef" referenceFrame="topDoorArmRefFrame">
                <dependentPart node="topDoorArmPart"/>
                <dependentPart node="hydraulicTopDoorArm"/>
            </movingPart>
            <movingPart node="topDoorArmPart" referencePoint="topDoorArmPartRef" referenceFrame="topDoorArmPartRefFrame"/>
            <movingPart node="hydraulicTopDoorArm" referencePoint="hydraulicTopDoorArmRef" referenceFrame="hydraulicTopDoorArmRef">
                <translatingPart node="hydraulicTopDoorArmPunch"/>
            </movingPart>
            <movingPart node="hydraulicBottomDoor" referencePoint="hydraulicBottomDoorRef" referenceFrame="hydraulicBottomDoorRef">
                <translatingPart node="hydraulicBottomDoorPunch"/>
            </movingPart>
        </movingParts>
        <sounds>
            <hydraulic template="defaultHydraulicSound" linkNode="0>"/>
        </sounds>
    </cylindered>
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration name="$l10n_configuration_valueDefault" price="0">
                <fillUnits>
                    <fillUnit shopDisplayUnit="CUBICMETER" fillTypeCategories="MIXERWAGON" capacity="11900">
                        <exactFillRootNode node="exactFillRootNode"/>
                        <dashboard displayType="TEXT" valueType="fillLevel" node="numbersFillLevel" textColor="0.03 0.03 0.03 1" textSize="0.04" textMask="00000" font="DIGIT" emissiveScale="1" textAlignment="RIGHT"/>
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="fillVolume" maxDelta="0.23" maxAllowedHeapAngle="18" fillUnitIndex="1"/>
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>
        <unloadInfos>
            <unloadInfo>
                <node node="unloadInfoFront" width="2" length="4.0"/>
                <node node="unloadInfoBack" width="2" length="1.0" minHeight="1.2" priority="2"/>
            </unloadInfo>
        </unloadInfos>
    </fillVolume>
    <trailer>
        <trailerConfigurations>
            <trailerConfiguration name="$l10n_configuration_valueDefault" price="0">
                <trailer>
                    <tipSide name="$l10n_info_tipSideBack" dischargeNodeIndex="1">
                        <animation name="dischargeAnim" speedScale="1.0"/>
                    </tipSide>
                </trailer>
            </trailerConfiguration>
        </trailerConfigurations>
    </trailer>
    <dischargeable>
        <dischargeNode node="dischargeNodeLeft" emptySpeed="300" fillUnitIndex="1" unloadInfoIndex="1">
            <info width="1.0" length="0.5" zOffset="0.4"/>
            <effects>
                <effectNode effectClass="TypedMotionPathEffect" effectType="MIXERWAGON" linkNode="effectDischarge">
                    <motionPathEffect textureFilename="$data/vehicles/kuhn/ra142/unloadEffectFrontLeftArray.dds" numRows="8" rowLength="15" delay="0"/>
                </effectNode>
            </effects>
        </dischargeNode>
    </dischargeable>
    <mixerWagon fillUnitIndex="1" recipe="FORAGE">
        <baleTriggers>
            <baleTrigger node="baleTrigger" pickupSpeed="500"/>
        </baleTriggers>
        <mixAnimationNodes>
            <animationNode node="mainDrum" rotSpeed="25" rotAxis="3" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="drumTop" rotSpeed="250" rotAxis="3" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="drumBottom" rotSpeed="250" rotAxis="3" turnOnFadeTime="1" turnOffFadeTime="1"/>
        </mixAnimationNodes>
    </mixerWagon>
    <turnOnVehicle>
        <sounds>
            <work template="SILAGE_MIX_LOOP_01" linkNode="0>"/>
            <start template="SILAGE_MIX_START_01" linkNode="0>"/>
            <stop template="SILAGE_MIX_STOP_01" linkNode="0>"/>
        </sounds>
    </turnOnVehicle>
    <ai>
        <agentAttachment width="2.7" length="5.0" height="3.3" lengthOffset="-0.1"/>
    </ai>
    <tipOccluder>
        <occlusionArea start="tipOcclusionArea1Start" width="tipOcclusionArea1Width" height="tipOcclusionArea1Height"/>
    </tipOccluder>
    <foliageBending>
        <bendingNode minX="-1.2" maxX="1.2" minZ="-2.3" maxZ="2.2 " yOffset="0.6"/>
    </foliageBending>
    <baseMaterial>
        <material name="ra142_mat" baseNode="ra142_vis">
            <shaderParameter name="colorMat0" value="KUHN_RED1"/>
        </material>
    </baseMaterial>
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="6" fieldMultiplier="2"/>
    <i3dMappings>
        <i3dMapping id="ra142_main_component1" node="0>"/>
        <i3dMapping id="ra142_vis01" node="0>0"/>
        <i3dMapping id="attachable" node="0>0|0"/>
        <i3dMapping id="attacherJoint" node="0>0|0|0"/>
        <i3dMapping id="support" node="0>0|0|1"/>
        <i3dMapping id="supportVis" node="0>0|0|1|0"/>
        <i3dMapping id="supportColli01" node="0>0|0|1|1"/>
        <i3dMapping id="supportColli02" node="0>0|0|1|2"/>
        <i3dMapping id="drums" node="0>0|1"/>
        <i3dMapping id="drumTop" node="0>0|1|0"/>
        <i3dMapping id="drumBottom" node="0>0|1|1"/>
        <i3dMapping id="mainDrum" node="0>0|1|2"/>
        <i3dMapping id="door" node="0>0|2"/>
        <i3dMapping id="bottomDoor" node="0>0|2|0"/>
        <i3dMapping id="decals" node="0>0|2|0|0"/>
        <i3dMapping id="hydraulicBottomDoorRef" node="0>0|2|0|1"/>
        <i3dMapping id="null1" node="0>0|2|1"/>
        <i3dMapping id="topDoor" node="0>0|2|1|0"/>
        <i3dMapping id="topDoorArmRef" node="0>0|2|1|0|0"/>
        <i3dMapping id="topDoorArmPartRef" node="0>0|2|1|0|1"/>
        <i3dMapping id="topDoorArm" node="0>0|2|2"/>
        <i3dMapping id="hydraulicTopDoorArmRef" node="0>0|2|2|0"/>
        <i3dMapping id="topDoorArmPart" node="0>0|2|2|1"/>
        <i3dMapping id="hydraulicTopDoorArm" node="0>0|2|3"/>
        <i3dMapping id="hydraulicTopDoorArmPunch" node="0>0|2|3|0"/>
        <i3dMapping id="jointTopDoorArm" node="0>0|2|3|1"/>
        <i3dMapping id="hydraulicBottomDoor" node="0>0|2|4"/>
        <i3dMapping id="hydraulicBottomDoorPunch" node="0>0|2|4|0"/>
        <i3dMapping id="jointBottomDoor" node="0>0|2|4|1"/>
        <i3dMapping id="topDoorArmRefFrame" node="0>0|2|5"/>
        <i3dMapping id="topDoorArmPartRefFrame" node="0>0|2|6"/>
        <i3dMapping id="door12" node="0>0|3"/>
        <i3dMapping id="exactFillRootNode" node="0>0|4"/>
        <i3dMapping id="baleTrigger" node="0>0|5"/>
        <i3dMapping id="fillVolume01" node="0>0|6"/>
        <i3dMapping id="fillVolume" node="0>0|6|0"/>
        <i3dMapping id="unloadInfoFront" node="0>0|6|1"/>
        <i3dMapping id="unloadInfoBack" node="0>0|6|2"/>
        <i3dMapping id="dischargeNodeLeft" node="0>0|7"/>
        <i3dMapping id="effectDischarge" node="0>0|8"/>
        <i3dMapping id="tipOcclusionAreas" node="0>0|9"/>
        <i3dMapping id="tipOcclusionArea1Start" node="0>0|9|0"/>
        <i3dMapping id="tipOcclusionArea1Width" node="0>0|9|1"/>
        <i3dMapping id="tipOcclusionArea1Height" node="0>0|9|2"/>
        <i3dMapping id="hudFillLevel" node="0>0|10"/>
        <i3dMapping id="numbersFillLevel" node="0>0|10|0"/>
        <i3dMapping id="effects" node="0>0|11"/>
        <i3dMapping id="unloadEffectFrontLeft" node="0>0|11|0"/>
        <i3dMapping id="visuals" node="0>0|12"/>
        <i3dMapping id="ra142_vis" node="0>0|12|0"/>
        <i3dMapping id="decals1" node="0>0|12|1"/>
        <i3dMapping id="decals_noAlpha" node="0>0|12|2"/>
        <i3dMapping id="hoses" node="0>0|12|3"/>
        <i3dMapping id="joint1" node="0>0|12|3|0"/>
        <i3dMapping id="hoses1" node="0>0|12|4"/>
        <i3dMapping id="joint3" node="0>0|12|4|0"/>
        <i3dMapping id="hydraPart" node="0>0|12|5"/>
        <i3dMapping id="pipe" node="0>0|12|6"/>
        <i3dMapping id="Cable_02" node="0>0|12|6|0"/>
        <i3dMapping id="collisions" node="0>0|13"/>
        <i3dMapping id="colPartBack" node="0>0|13|0"/>
        <i3dMapping id="colPartRight" node="0>0|13|1"/>
        <i3dMapping id="colPartLeft" node="0>0|13|2"/>
        <i3dMapping id="colPartFront1" node="0>0|13|3"/>
    </i3dMappings>
</vehicle>
