<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="manureBarrel" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://validation.gdn.giants-software.com/xml/fs25/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>CTR 10</name>
        <specs>
            <neededPower>90</neededPower>
            <workingWidth>10</workingWidth>
        </specs>
        <functions>
            <function>$l10n_function_slurrySpreader</function>
        </functions>
        <image>store_ctr10.png</image>
        <price>25000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>slurryTanks</category>
        <shopTranslationOffset>0 0 0</shopTranslationOffset>
        <shopRotationOffset>0 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>1562112</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>344320</indexBufferMemoryUsage>
        <textureMemoryUsage>2949120</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_manureBarrel</typeDesc>
        <filename>ctr10.i3d</filename>
        <size width="2.5" length="7.5" height="3" lengthOffset="0.5"/>
        <speedLimit value="10"/>
        <components maxMass="10500">
            <component centerOfMass="0 0.8 0.725" solverIterationCount="10" mass="3525"/>
            <component centerOfMass="0 0 0" solverIterationCount="35" mass="5000" />
            <joint component1="1" component2="2" node="axisJoint" rotLimit="10 0 0" transLimit="0 0 0"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT"/>
        <mapHotspot type="TRAILER"/>
    </base>
	
    <baseColorConfigurations useDefaultColors="false">
        <baseColorConfiguration color="0.005 0.155 0.13" name="$l10n_configuration_valueDefault"/>
		
        <material materialSlotName="ctr10_green_mat"/>
    </baseColorConfigurations>
    
    <wheels>
        <wheelConfigurations tireCategories="TRUCK TRAILER">
            <tireCombination brand="CONTINENTAL" names="contiHybridHT3"/>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" saveId="DEFAULT">
                <wheels>
                    <wheel filename="wheels/385_65R22_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.8" repr="wheelFrontLeft"   forcePointRatio="0.5" initialCompression="25" suspTravel="0.12" spring="67" damper="50" yOffset="0.01" frictionScale="2"/>
                    </wheel>
                    <wheel filename="wheels/385_65R22_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.8" repr="wheelFrontRight"   forcePointRatio="0.5" initialCompression="25" suspTravel="0.12" spring="67" damper="50" yOffset="0.01" frictionScale="2"/>
                    </wheel>
                    <wheel filename="wheels/385_65R22_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.8" repr="wheelBackLeft"   forcePointRatio="0.5" initialCompression="25" suspTravel="0.12" spring="67" damper="50" yOffset="0.01" frictionScale="2"/>
                    </wheel>
                    <wheel filename="wheels/385_65R22_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.8" repr="wheelBackRight"   forcePointRatio="0.5" initialCompression="25" suspTravel="0.12" spring="67" damper="50" yOffset="0.01" frictionScale="2"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>

        <hubMaterial useBaseColor="true"/>

        <hubs>
            <hub linkNode="wheelFrontLeft"  filename="$data/shared/wheels/hubs/hub_n8_6.xml" isLeft="true"  scale="0.28 0.335 0.335" offset="0.003"/>
            <hub linkNode="wheelFrontRight" filename="$data/shared/wheels/hubs/hub_n8_6.xml" isLeft="false" scale="0.28 0.335 0.335" offset="0.003"/>
            <hub linkNode="wheelBackLeft"  filename="$data/shared/wheels/hubs/hub_n8_6.xml" isLeft="true"  scale="0.28 0.335 0.335" offset="0.003"/>
            <hub linkNode="wheelBackRight" filename="$data/shared/wheels/hubs/hub_n8_6.xml" isLeft="false" scale="0.28 0.335 0.335" offset="0.003"/>
        </hubs>
    </wheels>

    <rimColorConfigurations>
        <rimColorConfiguration color="0.445 0.325 0.045" name="$l10n_configuration_valueDefault"/>
    </rimColorConfigurations>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="trailer" attacherHeight="0.49" />
        </inputAttacherJoints>
        <brakeForce force="0.45" maxForce="1.8" maxForceMass="12000"/>
        <support animationName="moveSupport" />

        <sounds>
            <active file="$data/sounds/tools/trailer/trailerRattle_02.wav" innerRadius="10" outerRadius="50" volumeScale="5" isLocalSound="true" pitchScale="0.9">
                <volume indoor="0.6" outdoor="0.9" >
                    <modifier type="WHEEL_SUSPENSION" value="-0.07" modifiedValue="0.4"/>
                    <modifier type="WHEEL_SUSPENSION" value="-0.00" modifiedValue="0.0"/>
                    <modifier type="WHEEL_SUSPENSION" value="0.07" modifiedValue="0.4"/>

                    <modifier type="SPEED" value="0.0" modifiedValue="0.0"/>
                    <modifier type="SPEED" value="2.0" modifiedValue="1.0"/>
                    <modifier type="SPEED" value="40.0" modifiedValue="1.0"/>
                </volume>
                <lowpassCutoffFrequency indoor="300" outdoor="20000" />
                <lowpassGain indoor="0.7" outdoor="1" />
            </active>
        </sounds>
    </attachable>

    <powerTakeOffs>
        <input inputAttacherJointIndices="1" inputNode="ptoInputNode" aboveAttacher="true" />
        <sounds>
            <turnedOn template="tractorPTO" volumeScale="0.7" linkNode="attacherJoint"/>
        </sounds>
    </powerTakeOffs>

    <powerConsumer ptoRpm="400" neededMinPtoPower="10" neededMaxPtoPower="10"/>

    <connectionHoses>
        <hose inputAttacherJointIndices="1" type="hydraulicIn" node="hydraulicIn01"  length="1" diameter="0.02" straighteningFactor="1">
           <objectChange node="hydraulicIn01_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="hydraulicOut01" length="1" diameter="0.02" straighteningFactor="1">
           <objectChange node="hydraulicOut01_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicIn" node="hydraulicIn02"  length="1" diameter="0.02" straighteningFactor="1">
           <objectChange node="hydraulicIn02_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="hydraulicOut02" length="1" diameter="0.02" straighteningFactor="1">
           <objectChange node="hydraulicOut02_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="electric" node="electricIn" length="0.5" diameter="0.008" straighteningFactor="0.5">
            <objectChange node="electricIn_detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="0|0" linkNode="hydraulicIn01_detached_connector"  	filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="0|0" linkNode="hydraulicOut01_detached_connector" 	filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicIn02_detached_connector"  	filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicOut02_detached_connector"  filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="0|1" linkNode="electricIn_detached_connector"  	filename="$data/shared/connectionHoses/connectors.i3d" />
    </dynamicallyLoadedParts>

    <lights>
        <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" />
        <sharedLight linkNode="sideMarker01_left" filename="$data/shared/assets/lights/lizard/sideMarker04_left.xml" />
        <sharedLight linkNode="sideMarker01_right" filename="$data/shared/assets/lights/lizard/sideMarker04_right.xml" />
        <sharedLight linkNode="frontLight06White_01" filename="$data/shared/assets/lights/lizard/frontLight06White.xml" />
        <sharedLight linkNode="frontLight06White_02" filename="$data/shared/assets/lights/lizard/frontLight06White.xml" />
        <sharedLight linkNode="reflectorYellowRound_01" filename="$data/shared/assets/reflectors/lizard/yellowRound_02.xml" />
        <sharedLight linkNode="reflectorYellowRound_02" filename="$data/shared/assets/reflectors/lizard/yellowRound_02.xml" />
        <sharedLight linkNode="reflectorYellowRound_03" filename="$data/shared/assets/reflectors/lizard/yellowRound_02.xml" />
        <sharedLight linkNode="reflectorYellowRound_04" filename="$data/shared/assets/reflectors/lizard/yellowRound_02.xml" />
        <sharedLight linkNode="reflectorYellowRound_05" filename="$data/shared/assets/reflectors/lizard/yellowRound_02.xml" />
        <sharedLight linkNode="reflectorYellowRound_06" filename="$data/shared/assets/reflectors/lizard/yellowRound_02.xml" />
        <sharedLight linkNode="plateNumberLight05_01" filename="$data/shared/assets/lights/lizard/plateNumberLight05.xml" />
        <sharedLight linkNode="plateNumberLight05_02" filename="$data/shared/assets/lights/lizard/plateNumberLight05.xml" />

        <realLights>
            <high>
                <light node="backLightsHigh1" lightTypes="0" />
                <light node="backLightsHigh3" lightTypes="0" />
                <light node="licensePlateLightHigh" lightTypes="0" />
                <turnLightLeft node="turnLightLeftBack1" />
                <turnLightLeft node="turnLightLeftBack3" />
                <turnLightRight node="turnLightRightBack1" />
                <turnLightRight node="turnLightRightBack3" />
                <brakeLight node="brakeLightsHigh1" />
                <brakeLight node="brakeLightsHigh3" />
                <reverseLight node="reverseLightHigh1" />
                <reverseLight node="reverseLightHigh3" />
            </high>
        </realLights>
    </lights>

    <licensePlates>
        <licensePlate node="licensePlateBack"  position="BACK" preferedType="ELONGATED" placementArea="0.15 0.25 0.15 0.25"/>
    </licensePlates>

    <animations>
        <animation name="moveSupport">
            <part node="support" 		startTime="0" 	endTime="0.1" startTrans="0.125 0.356 3.07" endTrans="0.095 0.356 3.07" 	startRot="93.5 0 0"  endRot="0 0 0" />
		    <part node="supportArm" 	startTime="0.1" endTime="1.1" startTrans="0.045 -0.216 0" 	endTrans="0.045 -0.356 0" />
            <part node="supportArmRot" 	startTime="0.1" endTime="1.1" 																startRot="1080 0 0" endRot="0 0 0" />

            <sound template="slideOpen" startTime="0.01" endTime="0.99" volumeScale="2" pitchScale="2" linkNode="supportArm"/>
            <sound template="hingeImp" startTime="0.1" direction="-1" volumeScale="0.6" linkNode="supportArm"/>
        </animation>
    </animations>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit shopDisplayUnit="CUBICMETER" fillTypeCategories="slurryTank" capacity="10000" allowAILoading="true">
                        <exactFillRootNode node="exactFillRootNode"/>       
                        <measurementNodes>
                            <measurementNode node="fillMeasurementNode"/>
                        </measurementNodes>
                    </fillUnit>
                    <fillTrigger consumePtoPower="true" litersPerSecond="400"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>

        <sounds>
            <fill template="slurry01"/>
        </sounds>
    </fillUnit>

    <fillTriggerVehicle triggerNode="fillTrigger" fillUnitIndex="1" litersPerSecond="400"/>
    
    <dischargeable requiresTipOcclusionArea="false">
        <dischargeNode node="dischargeNode" emptySpeed="775" fillUnitIndex="1" allowAIDischarge="true" canDischargeToGround="false">
            <info width="1.0" length="0.5" zOffset="0.4"/>
            <trigger node="dischargeTrigger"/>
            <dischargeSound template="slurry01"/>
        </dischargeNode>
    </dischargeable>

    <turnOnVehicle turnOffIfNotAllowed="true">
        <activatableFillUnits>
            <activatableFillUnit index="1"/>
        </activatableFillUnits>

        <sounds>
            <work template="slurry01">
                <pitch indoor="0.75" outdoor="0.75"/>
            </work>
        </sounds>
    </turnOnVehicle>
    
    <workAreas>
        <workAreaConfigurations>
            <workAreaConfiguration>
                <workArea type="sprayer" functionName="processSprayerArea" disableBackwards="false" requiresGroundContact="false">
                    <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight"/>
                    <onlyActiveWhenLowered value="false"/>
                </workArea>
            </workAreaConfiguration>
        </workAreaConfigurations>
    </workAreas>

    <sprayer activateOnLowering="true">
        <usageScales workingWidth="10.0" scale="1" />
		
		<effects>
            <effectNode effectNode="effectSlurry" delay="0.2" materialType="slurry" fadeInTime="1" fadeOutTime="1" />
        </effects>
		
        <sounds>
            <spray template="defaultRefuelSound" pitchScale="0.7" volumeScale="1.6" fadeIn="0.5" fadeOut="1"/>
        </sounds>
    </sprayer>
	
	<designConfigurations title="$l10n_configuration_light">
        <designConfiguration isDefault="true">
            <objectChange node="lights_configuration01" visibilityActive="true"/>
            <objectChange node="lights_configuration03" visibilityActive="false"/>
        </designConfiguration>
        <designConfiguration>
            <objectChange node="lights_configuration01" visibilityActive="false"/>
            <objectChange node="lights_configuration03" visibilityActive="true"/>
        </designConfiguration>
    </designConfigurations>
	
    <ai>
		<areaMarkers leftNode="aiMarkerLeft" rightNode="aiMarkerRight" backNode="aiMarkerBack" />
        <allowTurnBackward value="false" />
        <toolReverserDirectionNode node="aiMarkerBack"/>
        <turningRadiusLimitation radius="6"/>
        <collisionTrigger node="aiCollisionNode" width="3" height="2.9"/>
        <agentAttachment jointNode="attacherJoint" rotCenterWheelIndices="1 2 3 4" width="3.02" height="2.75" length="7.25" lengthOffset="1.1"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-1.125" maxX="1.125" minZ="-2.55" maxZ="2.55" yOffset="0.55"/>
        <bendingNode minX="-0.5" maxX="0.5" minZ="3.25" maxZ="3.25" yOffset="0.92"/>
    </foliageBending>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="ctr10_main_component1" node="0>" />
        <i3dMapping id="ctr10_vis" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>0|0|0" />
        <i3dMapping id="ptoInputNode" node="0>0|0|1" />
        <i3dMapping id="support" node="0>0|0|2" />
        <i3dMapping id="supportArm" node="0>0|0|2|0" />
        <i3dMapping id="supportArmRot" node="0>0|0|2|1" />
        <i3dMapping id="hydraulicIn01" node="0>0|0|3|0" />
        <i3dMapping id="hydraulicIn01_detached" node="0>0|0|3|0|0" />
        <i3dMapping id="hydraulicIn01_detached_connector" node="0>0|0|3|0|0|0" />
        <i3dMapping id="hydraulicOut01" node="0>0|0|3|1" />
        <i3dMapping id="hydraulicOut01_detached" node="0>0|0|3|1|0" />
        <i3dMapping id="hydraulicOut01_detached_connector" node="0>0|0|3|1|0|0" />
        <i3dMapping id="hydraulicIn02" node="0>0|0|3|2" />
        <i3dMapping id="hydraulicIn02_detached" node="0>0|0|3|2|0" />
        <i3dMapping id="hydraulicIn02_detached_connector" node="0>0|0|3|2|0|0" />
        <i3dMapping id="hydraulicOut02" node="0>0|0|3|3" />
        <i3dMapping id="hydraulicOut02_detached" node="0>0|0|3|3|0" />
        <i3dMapping id="hydraulicOut02_detached_connector" node="0>0|0|3|3|0|0" />
        <i3dMapping id="electricIn" node="0>0|0|3|4" />
        <i3dMapping id="electricIn_detached" node="0>0|0|3|4|0" />
        <i3dMapping id="electricIn_detached_connector" node="0>0|0|3|4|0|0" />
        <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="sideMarker01_left" node="0>0|1|2|0" />
        <i3dMapping id="sideMarker01_right" node="0>0|1|2|1" />
        <i3dMapping id="plateNumberLight05_01" node="0>0|1|2|2" />
        <i3dMapping id="plateNumberLight05_02" node="0>0|1|2|3" />
        <i3dMapping id="reflectorYellowRound_01" node="0>0|1|2|4" />
        <i3dMapping id="reflectorYellowRound_02" node="0>0|1|2|5" />
        <i3dMapping id="frontLight06White_01" node="0>0|1|2|6" />
        <i3dMapping id="frontLight06White_02" node="0>0|1|2|7" />
        <i3dMapping id="reflectorYellowRound_03" node="0>0|1|2|8" />
        <i3dMapping id="reflectorYellowRound_04" node="0>0|1|2|9" />
        <i3dMapping id="reflectorYellowRound_05" node="0>0|1|2|10" />
        <i3dMapping id="reflectorYellowRound_06" node="0>0|1|2|11" />
        <i3dMapping id="licensePlateLightHigh" node="0>0|1|3|0" />
        <i3dMapping id="exactFillRootNode" node="0>0|2|0" />
        <i3dMapping id="fillTrigger" node="0>0|2|1" />
        <i3dMapping id="dischargeTrigger" node="0>0|2|2" />
        <i3dMapping id="dischargeNode" node="0>0|2|3" />
        <i3dMapping id="fillMeasurementNode" node="0>0|2|4" />
        <i3dMapping id="workAreaStart" node="0>0|3|0" />
        <i3dMapping id="workAreaWidth" node="0>0|3|1" />
        <i3dMapping id="workAreaHeight" node="0>0|3|2" />
        <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="licensePlateBack" node="0>0|5" />
        <i3dMapping id="effectSlurry" node="0>0|6|0" />
        <i3dMapping id="ctr10_tandem_component2" node="1>" />
        <i3dMapping id="tandem_vis" node="1>0" />
        <i3dMapping id="wheelFrontLeft" node="1>0|0|0" />
        <i3dMapping id="wheelFrontRight" node="1>0|0|1" />
        <i3dMapping id="wheelBackLeft" node="1>0|0|2" />
        <i3dMapping id="wheelBackRight" node="1>0|0|3" />
        <i3dMapping id="axisJoint" node="1>0|1" />
    </i3dMappings>
</vehicle>
