<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="manureSpreader">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>TRIDEM</name>
        <specs>
            <workingWidth>15</workingWidth>
            <power>220</power>
        </specs>
        <functions>
            <function>$l10n_function_manureSpreader</function>
        </functions>
        <image>store_TRIDEM.png</image>
        <price>27000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>DEZEURE</brand>
        <category>manureSpreaders</category>
		<vertexBufferMemoryUsage>924932</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>145128</indexBufferMemoryUsage>
        <textureMemoryUsage>8738320</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>		
    <base>
        <typeDesc>$l10n_typeDesc_manureSpreader</typeDesc>
        <filename>TRIDEM.i3d</filename>
        <size width="3.5" length="8"/>
        <speedLimit value="20"/>
        <components>
            <component centerOfMass="0 0.75 -0.5" solverIterationCount="10" mass="13565" />
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <turnedOn name="DEFAULT_IMPLEMENT_ON"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
            <turnedOnSelected name="DEFAULT_IMPLEMENT_SELECTED_ON"/>
        </schemaOverlay>
    </base>
    <rimColorConfigurations useDefaultColors="true" price="500">
        <rimColorConfiguration color="1 1 1 1" />
        <colorNode node="0>0" />
    </rimColorConfigurations>	
    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="TRELLEBORG">
                <wheels autoRotateBackSpeed="2.0">
                    <wheel filename="$data/shared/wheels/trelleborg/T404/600_55R26_5.xml" isLeft="true" hasParticles="true">
                        <physics restLoad="2.4" repr="0>0" driveNode="0>0|0" radius="0.68" width="0.6" mass="0.178" initialCompression="40" suspTravel="0.15" spring="40" damper="120"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/T404/600_55R26_5.xml" isLeft="false" hasParticles="true">
                        <physics restLoad="2.4" repr="0>1" driveNode="0>1|0" radius="0.68" width="0.6" mass="0.178" initialCompression="40" suspTravel="0.15" spring="40" damper="120"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/T404/600_55R26_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics restLoad="2.4" repr="0>2" radius="0.68" width="0.6" mass="0.178" initialCompression="40" suspTravel="0.15" spring="40" damper="120" tireTrackAtlasIndex="2"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/T404/600_55R26_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics restLoad="2.4" repr="0>3" radius="0.68" width="0.6" mass="0.178" initialCompression="40" suspTravel="0.15" spring="40" damper="120" tireTrackAtlasIndex="2"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/T404/600_55R26_5.xml" isLeft="true" hasParticles="true">
                        <physics restLoad="2.4" repr="0>4" driveNode="0>4|0" radius="0.68" width="0.6" mass="0.178" initialCompression="40" suspTravel="0.15" spring="40" damper="120"/>
                        <steeringAxle scale="-0.7" rotMax="25" rotMin="-25"/>						
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/T404/600_55R26_5.xml" isLeft="false" hasParticles="true">
                        <physics restLoad="2.4" repr="0>5" driveNode="0>5|0" radius="0.68" width="0.6" mass="0.178" initialCompression="40" suspTravel="0.15" spring="40" damper="120"/>
                        <steeringAxle scale="-0.7" rotMax="25" rotMin="-25"/>						
                    </wheel>
                </wheels>
            </wheelConfiguration>		
            <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="2000" brand="TRELLEBORG">
                <wheels autoRotateBackSpeed="2.0">
                    <wheel filename="$data/shared/wheels/trelleborg/TwinRadial/710_50R26_5.xml" isLeft="true" hasParticles="true">
                        <physics restLoad="2.4" repr="0>0" driveNode="0>0|0" radius="0.678" width="0.71" mass="0.202" initialCompression="40" suspTravel="0.15" spring="40" damper="120"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TwinRadial/710_50R26_5.xml" isLeft="false" hasParticles="true">
                        <physics restLoad="2.4" repr="0>1" driveNode="0>1|0" radius="0.678" width="0.71" mass="0.202" initialCompression="40" suspTravel="0.15" spring="40" damper="120"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TwinRadial/710_50R26_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics restLoad="2.4" repr="0>2" radius="0.678" width="0.71" mass="0.202" initialCompression="40" suspTravel="0.15" spring="40" damper="120" tireTrackAtlasIndex="2"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TwinRadial/710_50R26_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics restLoad="2.4" repr="0>3" radius="0.678" width="0.71" mass="0.202" initialCompression="40" suspTravel="0.15" spring="40" damper="120" tireTrackAtlasIndex="2"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TwinRadial/710_50R26_5.xml" isLeft="true" hasParticles="true">
                        <physics restLoad="2.4" repr="0>4" driveNode="0>4|0" radius="0.678" width="0.71" mass="0.202" initialCompression="40" suspTravel="0.15" spring="40" damper="120"/>
                        <steeringAxle scale="-0.7" rotMax="25" rotMin="-25"/>						
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TwinRadial/710_50R26_5.xml" isLeft="false" hasParticles="true">
                        <physics restLoad="2.4" repr="0>5" driveNode="0>5|0" radius="0.678" width="0.71" mass="0.202" initialCompression="40" suspTravel="0.15" spring="40" damper="120"/>
                        <steeringAxle scale="-0.7" rotMax="25" rotMin="-25"/>						
                    </wheel>
                </wheels>
            </wheelConfiguration>
            <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="3200" brand="MICHELIN">
                <wheels autoRotateBackSpeed="2.0">
                    <wheel filename="$data/shared/wheels/michelin/cargoXBib/710_50R26_5.xml" isLeft="true" hasParticles="true">
                        <physics restLoad="2.4" repr="0>0" driveNode="0>0|0" radius="0.702" width="0.71" mass="0.208" initialCompression="40" suspTravel="0.15" spring="40" damper="120"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/michelin/cargoXBib/710_50R26_5.xml" isLeft="false" hasParticles="true">
                        <physics restLoad="2.4" repr="0>1" driveNode="0>1|0" radius="0.702" width="0.71" mass="0.208" initialCompression="40" suspTravel="0.15" spring="40" damper="120"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/michelin/cargoXBib/710_50R26_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics restLoad="2.4" repr="0>2" radius="0.702" width="0.71" mass="0.208" initialCompression="40" suspTravel="0.15" spring="40" damper="120" tireTrackAtlasIndex="2"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/michelin/cargoXBib/710_50R26_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics restLoad="2.4" repr="0>3" radius="0.702" width="0.71" mass="0.208" initialCompression="40" suspTravel="0.15" spring="40" damper="120" tireTrackAtlasIndex="2"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/michelin/cargoXBib/710_50R26_5.xml" isLeft="true" hasParticles="true">
                        <physics restLoad="2.4" repr="0>4" driveNode="0>4|0" radius="0.702" width="0.71" mass="0.208" initialCompression="40" suspTravel="0.15" spring="40" damper="120"/>
                        <steeringAxle scale="-0.7" rotMax="25" rotMin="-25"/>						
                    </wheel>
                    <wheel filename="$data/shared/wheels/michelin/cargoXBib/710_50R26_5.xml" isLeft="false" hasParticles="true">
                        <physics restLoad="2.4" repr="0>5" driveNode="0>5|0" radius="0.702" width="0.71" mass="0.208" initialCompression="40" suspTravel="0.15" spring="40" damper="120"/>
                        <steeringAxle scale="-0.7" rotMax="25" rotMin="-25"/>						
                    </wheel>
                </wheels>
            </wheelConfiguration>			
        </wheelConfigurations>
		<hubs>	
            <color0>STARA_ORANGE</color0>	
            <color1>STARA_ORANGE</color1>			
			<hub linkNode="0>0|0"  filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="true" scale="0.315 0.315 0.315"/>
            <hub linkNode="0>1|0" filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="false" scale="0.315 0.315 0.315"/>
			<hub linkNode="0>2"  filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="true" scale="0.315 0.315 0.315"/>
            <hub linkNode="0>3" filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="false" scale="0.315 0.315 0.315"/>
			<hub linkNode="0>4|0"  filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="true" scale="0.315 0.315 0.315"/>
            <hub linkNode="0>5|0" filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="false" scale="0.315 0.315 0.315"/>			
        </hubs>		
    </wheels>
    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="0" linkNode="0>5|1|0" filename="$data/shared/assets/wheelChocks/wheelChock01.i3d"/>
        <dynamicallyLoadedPart node="0" linkNode="0>5|1|1" filename="$data/shared/assets/wheelChocks/wheelChock01.i3d"/>
        <dynamicallyLoadedPart node="0" linkNode="0>13|1|0" filename="$data/shared/assets/wheelChocks/wheelChock01.i3d"/>
        <dynamicallyLoadedPart node="0" linkNode="0>13|1|1" filename="$data/shared/assets/wheelChocks/wheelChock01.i3d"/>
    </dynamicallyLoadedParts>
	 <connectionHoses>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="0>13|14|1"  length="1" diameter="0.02">
		    <objectChange node="0>13|14|1|0" visibilityActive="false" visibilityInactive="true"/>
        </hose>
		<hose inputAttacherJointIndices="1" type="hydraulicOut"  node="0>13|14|2"  length="1" diameter="0.02">
			<objectChange node="0>13|14|2|0" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <target attacherJointIndices="1" type="hydraulicIn" node="0>13|14|1|0|0" socket="hydraulic01"/>
        <target attacherJointIndices="1" type="hydraulicOut" node="0>13|14|2|0|0" socket="hydraulic01"/>		
    </connectionHoses>	
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>6" jointType="trailerLow"/>
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
        <brakeForce>1.5</brakeForce>
        <steeringAxleAngleScale startSpeed="5" endSpeed="70"/>
    </attachable>
    <powerTakeOffs>
        <input inputNode="0>7" inputAttacherJointIndices="1" aboveAttacher="true"/>
    </powerTakeOffs>
    <powerConsumer ptoRpm="450" neededMaxPtoPower="60"/>
    <lights>
        <realLights>
            <high>
                <light node="0>13|6|3|0"       lightTypes="0"/>
                <light node="0>13|2|0|0|1"       lightTypes="1"/>				
                <reverseLight node="0>13|9|0" />				
                <brakeLight node="0>13|6|3|0" />
                <turnLightLeft node="0>13|6|4|0|0" />
                <turnLightRight node="0>13|6|4|1|0" />
            </high>
        </realLights>
        <defaultLights>
            <defaultLight shaderNode="0>13|6|0|5"        lightTypes="0" />
            <defaultLight shaderNode="0>13|6|1|5"        lightTypes="0" />
            <defaultLight shaderNode="0>13|2|0|0|0"        lightTypes="1" />
            <defaultLight shaderNode="0>13|6|6|0"        lightTypes="1" />
            <defaultLight shaderNode="0>13|6|7|0"        lightTypes="1" />			
        </defaultLights>	
        <reverseLights>
            <reverseLight shaderNode="0>13|6|2|0|1" />		
        </reverseLights>		
        <brakeLights>
            <brakeLight shaderNode="0>13|6|0|4" />
            <brakeLight shaderNode="0>13|6|1|4" />			
        </brakeLights>
        <turnLights>
            <turnLightLeft shaderNode="0>13|6|0|3" />
            <turnLightRight shaderNode="0>13|6|1|3" />
        </turnLights>
        <beaconLights>
            <beaconLight node="0>24" filename="$data/shared/assets/beaconLights/lizard/beaconLight06.xml"/>
        </beaconLights>
    </lights>		
    <workAreas>
        <workArea type="sprayer" functionName="processSprayerArea" disableBackwards="false" requiresGroundContact="false" >
            <area startNode="0>8" widthNode="0>9" heightNode="0>10"/>
        </workArea>
    </workAreas>
    <sprayer fillUnitIndex="1" unloadInfoIndex="1" loadInfoIndex="1">
        <usageScales workingWidth="15.0" scale="1"/>	
        <effects>
            <effectNode effectNode="0>11|0|0" materialType="spreader" materialTypeId="1" delay="0"/>
            <effectNode effectNode="0>11|0|1" effectClass="ParticleEffect" particleType="SPREADER" worldSpace="false"/>
            <effectNode effectNode="0>11|0|2" effectClass="ParticleEffect" particleType="SPREADER_SMOKE" worldSpace="true"/>
        </effects>	
        <animationNodes>
            <animationNode node="0>13|4|0|0" rotSpeed="-1200" rotAxis="2" turnOnFadeTime="1" turnOffFadeTime="2"/>
            <animationNode node="0>13|4|0|1" rotSpeed="1200" rotAxis="2" turnOnFadeTime="1" turnOffFadeTime="2"/>
            <animationNode node="0>13|4|1" rotSpeed="-800" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="2"/>
            <animationNode node="0>13|4|2" rotSpeed="800" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="2"/>
            <animationNode node="0>13|5|0" shaderParameterName="scrollPosition" scrollSpeed="0.3" scrollLength="7.933" shaderParameterComponent="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
            <animationNode node="0>13|5|1" shaderParameterName="offsetUV" scrollSpeed="0.3" shaderParameterComponent="1" turnOnFadeTime="1" turnOffFadeTime="1"/>			
        </animationNodes>
        <sounds>
            <work file="$data/sounds/tools/manure/manure_spreader_loop_02.ogg">
                <volume indoor="0.70" outdoor="0.90"/>
                <pitch outdoor="0.90"/>
            </work>
        </sounds>
    </sprayer>
    <foldable>
        <foldingParts startAnimTime="1" turnOnFoldDirection="0">
            <foldingPart animationName="foldTopWall" speedScale="1"/>
        </foldingParts>
    </foldable>
    <animations>
        <animation name="openDoor">
            <part node="0>13|2" startTime="0" endTime="3" startTrans="0.002 2.627 -3.658" endTrans="0.002 4.037 -3.409"/>
            <part node="0>13|13" startTime="0" endTime="4" startRot="0 0 0" endRot="182 0 0"/>
        </animation>
        <animation name="foldTopWall">
            <part node="0>13|3" startTime="0" endTime="2" startRot="0 0 -180" endRot="0 0 0"/>
            <part node="0>13|12" startTime="0" endTime="2" startRot="0 0 180" endRot="0 0 0"/>
        </animation>
        <animation name="moveSupport">
            <part node="0>5|1" startTime="0" endTime="0.05" visibility="false"/>
            <part node="0>13|1" startTime="0" endTime="0.05" visibility="true"/>
            <part node="0>5|1" startTime="0.05" endTime="0.1" visibility="true"/>
            <part node="0>13|1" startTime="0.05" endTime="0.1" visibility="false"/>
            <part node="0>13|0" startTime="0" duration="0.25" startTrans="0.438 0.86 4.027" endTrans="0.438 0.26 4.027"/>
        </animation>
    </animations>
    <cylindered>
        <movingParts>
            <movingPart node="0>1|1" referencePoint="0>0|1" referenceFrame="0>" isActiveDirty="true" scaleZ="true" playSound="false"/>
            <movingPart node="0>5|2" referencePoint="0>4|1" referenceFrame="0>" isActiveDirty="true" scaleZ="true" playSound="false"/>
        </movingParts>
    </cylindered>
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration name="$l10n_configuration_valueDefault" price="0" >		
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="manureSpreader" capacity="32000"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
	<fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration name="$l10n_configuration_valueDefault" price="0" >
                <volumes>
                    <volume node="0>12|0" fillUnitIndex="1"/>
                </volumes>
            </fillVolumeConfiguration>
    </fillVolumeConfigurations>			
        <unloadInfos>
            <unloadInfo>
                <node node="0>17" width="1.0" length="1.7"/>
            </unloadInfo>
        </unloadInfos>
        <dischargeInfos>
            <dischargeInfo>
                <node node="0>18" width="1.4" length="1.0" alsoUseLoadInfoForDischarge="true" loadInfoFillFactor="0.98" loadInfoSizeScale="3 3.5"/>
            </dischargeInfo>
        </dischargeInfos>
    </fillVolume>	
    <turnOnVehicle>
        <turnedAnimation name="openDoor" turnOnSpeedScale="1.5" turnOffSpeedScale="-1"/>
    </turnOnVehicle>	
    <washable dirtDuration="60" washDuration="1" workMultiplier="20"/>
    <ai>
        <areaMarkers leftNode="0>16" rightNode="0>15" backNode="0>14"/>
    </ai>
</vehicle>
