<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="forageWagon">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
	
    <storeData>
        <name>
			<en>KOLOS - 6PP</en>
			<ru>КОЛОС - 6ПП</ru>
		</name>
        <functions>
            <function>$l10n_typeDesc_forageWagon</function>
        </functions>
        <image>store_Kolos_6PP.dds</image>
        <price>5000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
		<brand>Apoxer</brand>
        <category>loaderWagons</category>
        <vertexBufferMemoryUsage>652744</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>151434</indexBufferMemoryUsage>
        <textureMemoryUsage>5767776</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
	
    <base>
        <typeDesc>$l10n_typeDesc_forageWagon</typeDesc>
        <filename>Kolos_6PP.i3d</filename>
        <size width="2.5" length="4"/>
        <components>
		    <component centerOfMass="0 0.7 1.0"  solverIterationCount="10" mass="350"/>
			<component centerOfMass="0 0 0" solverIterationCount="10" mass="1" />
			<joint component1="1" component2="2" node="pickupJoint" rotLimit="0 0 0" transLimit="0 0 0" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TRAILER" />
    </base>
	
    <wheels>
        <wheelConfigurations>
			 
			
			
			
			  <wheelConfiguration name="Вариант 1" price="500">
                <wheels autoRotateBackSpeed="1.2">
                    <wheel filename="$data/shared/wheels/tires/mitas/FL02/7_R12.xml" isLeft="true"  hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="0" restLoad="0.8" repr="0>6|0" forcePointRatio="0.5" initialCompression="20" suspTravel="0.25" spring="35" damper="15" frictionScale="4" transRatio="1"/>
						<!-- <additionalWheel filename="$data/shared/wheels/tires/mitas/FL02/7_R12.xml"  isLeft="false" offset="-0.711" /> -->
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/mitas/FL02/7_R12.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="0" restLoad="0.8" repr="0>6|1" forcePointRatio="0.5" initialCompression="20" suspTravel="0.25" spring="35" damper="15" frictionScale="4" transRatio="1"/>
						<!-- <additionalWheel filename="$data/shared/wheels/tires/mitas/FL02/7_R12.xml"  isLeft="true" offset="-0.711" /> -->
                    </wheel>
                </wheels>
            </wheelConfiguration>
			
			
   
			
        </wheelConfigurations>
		
		<hubs>
            <color1>SHARED_GREY3</color1>
            <hub linkNode="0>6|0"  filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="true"  scale="0.075 0.1 0.1" offset="0.03"/>
            <hub linkNode="0>6|1" filename="$data/shared/wheels/hubs/hub_n10_5.xml" isLeft="false" scale="0.075 0.1 0.1" offset="0.03"/>
        </hubs>
    </wheels>
	
    <rimColorConfigurations useDefaultColors="true" defaultColorIndex="8" price="200" >
		<rimColorConfiguration color="SHARED_GREY3" />
      
    </rimColorConfigurations>
	
	 <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>8" jointType="trailer" attacherHeight="0.65" />
			
        </inputAttacherJoints>
		
		
        <brakeForce force="0.18" maxForce="1.2" maxForceMass="8500"/>
        <support animationName="moveSupport" />
    </attachable>


	 <powerConsumer ptoRpm="470" neededMaxPtoPower="10" forceNode="0>" maxForce="5" />


	
	<dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="1|0" linkNode="0>0|2|0|0|0"    filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="1|1" linkNode="0>0|2|1|0|0" filename="$data/shared/connectionHoses/connectors.i3d" />
    </dynamicallyLoadedParts>

	
	<connectionHoses>
		 <hose inputAttacherJointIndices="1" type="hydraulicIn" node="0>0|2|0" length="2.7" diameter="0.016" straighteningFactor="5.5" isTwoPointHose="true">
            <objectChange node="0>0|2|0|0" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="electric"  node="0>0|2|1"  length="2.7" diameter="0.016" straighteningFactor="5.5" isTwoPointHose="true">
            <objectChange node="0>0|2|1|0" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>
	
	  <lights>
		<states>
            <state lightTypes="0"/>
		</states>
		
	
        <sharedLight linkNode="0>0|3|0"  filename="$data/shared/assets/lights/lizard/rearLight05_right.xml"/>
        <sharedLight linkNode="0>0|3|1" filename="$data/shared/assets/lights/lizard/rearLight05_left.xml"/>
		
    </lights>
	
	<groundReferenceNodes>
        <groundReferenceNode node="groundRefNode" threshold="0.2" />
	</groundReferenceNodes>
	
    <workAreas>
        <workArea type="forageWagon" functionName="processForageWagonArea" disableBackwards="true" >
            <area startNode="workArea01Start" widthNode="workArea01Width" heightNode="workArea01Height" />
            <groundReferenceNode index="1" />
		</workArea>
	</workAreas>
	
	
	
	<animations>
		  <animation name="tipAnimationBack">
            <part node="0>0|0|0" startTime="0" endTime="5" startRot="0 0 0" endRot="-18 0 0" />
        </animation>
        <animation name="tipAnimationBackDoor">
			<part node="0>0|0|0|3" startTime="0" endTime="0.1" startRot="0 0 0" endRot="80 0 0" />
            <part node="0>0|0|0|2" startTime="0.1" endTime="0.4" startRot="0 0 0" endRot="-136 0 0" />
			<part node="0>0|0|0|5|0|0"  direction="1" startTime="0.1" endTime="5" startRot="0 0 0" endRot="18 0 0" /> 
           
		</animation>
		<animation name="moveSupport">
			<part node="0>0|0|3" startTime="0" endTime="0.50" startRot="0 900 0" endRot="0 0 0" />
			<part node="0>0|0|1" startTime="0" endTime="0.50" startTrans="-0.06 -0.067 15.51" endTrans="-0.06 -0.36 15.51" />
        </animation>
    </animations>
	
	<animation name="rotatePickup">
            <part node="pickupJoint"  startTime="0" endTime="0.5" startRot="-5 0 0" endRot="0 0 0" />
          
            <sound template="defaultHydraulicSound" startTime="0.01" endTime="0.3"  direction="-1" volumeScale="1.2" pitchScale="1"   linkNode="0>3|1"/>
            <sound template="defaultHydraulicSound" startTime="0.01" endTime="0.3"  direction="1"  volumeScale="0.3" pitchScale="1"   linkNode="0>3|1"/>
            <sound template="clackVar6"             startTime="0.4"                 direction="1"  volumeScale="0.6" pitchScale="0.5" linkNode="0>3|1"/>
            <sound template="clackVar6"             startTime="0.01"                direction="-1" volumeScale="1.2" pitchScale="0.8" linkNode="0>3|1"/>
            <sound template="sheetImp02"            startTime="0.01"                direction="-1" volumeScale="1.5" pitchScale="1.4" linkNode="0>3|1"/>
		</animation>
	
   <cylindered>
        <movingTools>
           
			<movingTool node="0>0|0|0" playSound="true">
                <dependentPart node="0>0|4|0" />
				<controls axis="AXIS_FRONTLOADER_ARM" invertAxis="false" mouseSpeedFactor="0.6" iconName="CRANE_ARM2_TRANSLATE" />
                <animation animSpeed="0.5" animAcceleration="50" animName="folding" />
				<dependentPart node="0>0|4|0" />
            </movingTool>
			
        </movingTools>

        <movingParts>
          
			<movingPart node="0>0|4|0" referencePoint="0>0|0|0|6" referenceFrame="0>0|0|0|6">
                <translatingPart node="0>0|4|0|0" />
                <translatingPart node="0>0|4|0|0|0" />
                <translatingPart node="0>0|4|0|0|0|0" />
                <translatingPart node="0>0|4|0|0|0|0|0" />
             
            </movingPart>
        </movingParts>

        <sounds>
            <hydraulic template="defaultHydraulicSound" linkNode="0>"/>
        </sounds>
    </cylindered>
	
	<pickup>
        <animation name="rotatePickup" isDefaultLowered="false"/>
	</pickup>
	
	 <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit shopDisplayUnit="CUBICMETER" fillTypeCategories="silageTrailer" capacity="6000" allowAILoading="true">
                        <exactFillRootNode node="0>0|0|0|4|0" />
                        <autoAimTargetNode node="0>0|0|0|4|1" startZ="2.12" endZ="-1.46" invert="false" startPercentage="25"/>
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
	
   <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="0>0|0|0|4|2" maxDelta="0.05" maxAllowedHeapAngle="10" fillUnitIndex="1" />
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>

        <unloadInfos>
            <unloadInfo>
                <node node="0>0|0|0|4|3" width="1.0" length="4.5" />
            </unloadInfo>
           
        </unloadInfos>
    </fillVolume>
	
	<trailer>
        <trailerConfigurations>
            <trailerConfiguration>
                <trailer>
                    <tipSide name="$l10n_info_tipSideBack" dischargeNodeIndex="1">
                        <animation name="tipAnimationBack" speedScale="1.0" />
                        <doorAnimation name="tipAnimationBackDoor" speedScale="1.0" startTipTime="0.25"/>
                    </tipSide>
                </trailer>
            </trailerConfiguration>
        </trailerConfigurations>
    </trailer> 

    <dischargeable>
        <dischargeNode node="0>5|0" emptySpeed="150"  fillUnitIndex="1" unloadInfoIndex="1"  allowAIDischarge="true">
            <info width="2" length="0.5" />
            <effects>
                <effectNode effectClass="TipEffect">
                    <effectNode effectNode="0>0|0|0|5|0|1|0" effectClass="ParticleEffect" materialType="unloadingParticle" emitCountScale="3"/>
                    <effectNode effectNode="0>0|0|0|5|0|0|0" materialType="unloading" fadeTime="0.5" extraDistanceNode="0>5|0" extraDistance="0.45"/>
                </effectNode>
                <effectNode effectNode="0>0|0|0|5|0|0|1" materialType="unloadingSmoke" fadeTime="0.5" />
            </effects>
        </dischargeNode>
      
    </dischargeable>

	 <ai>
        <agentAttachment jointNode="0>8" rotCenterWheelIndices="1 2" width="2.03" height="1.8" length="3.2" lengthOffset="0.7"/>
		
    </ai>
	
	 <baseMaterial>
        <material name="rama" baseNode="0>0|0|2">
            <shaderParameter name="colorMat0" value="0.8 0.2 6"/>
        </material>
		 <material name="kuzov" baseNode="0>0|0|0">
            <shaderParameter name="colorMat0" value="0.8 0.2 6"/>
        </material>
		 <material name="bort" baseNode="0>0|0|0|2">
            <shaderParameter name="colorMat0" value="0.8 0.2 6"/>
        </material>
		 <material name="nashivka" baseNode="0>0|0|0|7">
            <shaderParameter name="colorMat0" value="0.8 0.2 6"/>
        </material>
		 <material name="grid" baseNode="0>0|0|0|8">
            <shaderParameter name="colorMat0" value="0.8 0.2 6"/>
        </material>
    </baseMaterial>

	<baseMaterialConfigurations useDefaultColors="true" defaultColorIndex="20" price="200">
		<material name="kuzov" shaderParameter="colorMat0" />
		<material name="bort" shaderParameter="colorMat0" />
		<material name="nashivka" shaderParameter="colorMat0" />
	</baseMaterialConfigurations>
	
	<designMaterialConfigurations title="1" defaultColorIndex="14" useDefaultColors="true" price="200" >
		<material name="rama" shaderParameter="colorMat0" />		
    </designMaterialConfigurations>
	
	<designMaterial2Configurations title="1" defaultColorIndex="14" useDefaultColors="true" price="200" >
		<material name="grid" shaderParameter="colorMat0" />		
    </designMaterial2Configurations>


    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="2" fieldMultiplier="2"/>
	
	<i3dMappings>
	
		<i3dMapping id="workArea01Start" node="0>16|0" />
		<i3dMapping id="workArea01Width" node="0>16|1" />
		<i3dMapping id="workArea01Height" node="0>16|2" />
		<i3dMapping id="pickupJoint" node="0>15" />
		<i3dMapping id="groundRefNode" node="1>1" />
	</i3dMappings>
</vehicle>
