<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="transportTrailer" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
	<storeData>
		<name>
			<en>Log Bunk</en>
			<ru>Роспуск</ru>
		</name>
		<functions>
			<function>$l10n_function_forestryTransport</function>
		</functions>
		<image>textures/store_Bunk.dds</image>
		<price>18000</price>
		<lifetime>600</lifetime>
		<rotation>0</rotation>
		<brand>LIZARD</brand>
		<category>wood</category>
	</storeData>
	<base>
		<typeDesc>$l10n_typeDesc_trailer</typeDesc>
		<filename>Rospusk.i3d</filename>
		<size width="2.5" length="3.85" height="2.9" lengthOffset="-2"/>
		<components>
			<component centerOfMass="0 0.2 -0.4" solverIterationCount="20" mass="1500"/>
		</components>
		<schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT"/>
		<mapHotspot type="TOOL_TRAILED"/>
	</base>

	<wheels>
		<wheelConfigurations>
			<wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
				<wheels>
					<wheel filename="wheels/Wheels_131.xml"  isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.2" repr="0>0|5|1" driveNode="0>0|5|1|0" forcePointRatio="0.2" initialCompression="25" suspTravel="0.15" spring="15" damper="20" mass="0.5" brakeFactor="0.5" transRatio="1"/>
                    </wheel>
                    <wheel filename="wheels/Wheels_GKB.xml"  isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.2" repr="0>0|5|0" driveNode="0>0|5|0|0" forcePointRatio="0.2" initialCompression="25" suspTravel="0.15" spring="15" damper="20" mass="0.5" brakeFactor="0.5" transRatio="1"/>
                    </wheel>
				</wheels>
			</wheelConfiguration>
		</wheelConfigurations>
	</wheels>

	<lights>
        <sharedLight linkNode="0>0|6|0"  filename="$data/shared/assets/lights/lizard/rearLight21Red.xml" />
        <sharedLight linkNode="0>0|6|1"  filename="$data/shared/assets/lights/lizard/rearLight21Red.xml" />

		<states>
            <state lightTypes="0" />
            <state lightTypes="0 1" />			
        </states>

        <realLights>
            <low>
                <light node="0>0|6|2" lightTypes="0"/>							
            </low>
            <high>
                <light node="0>0|6|2" ightTypes="0"/>				
            </high>
        </realLights>
    </lights>

	<attachable>
		<inputAttacherJoints>
			<inputAttacherJoint node="0>0|0" jointType="trailer" attacherHeight="0.60"/>
		</inputAttacherJoints>
		<brakeForce force="0.6"/>
		<support animationName="moveSupport"/>
	</attachable>

	<animations>
		<animation name="moveSupport">
		    <part node="0>0|2" startTime="0" endTime="1.5" startTrans="0 0.872 0.571" endTrans="-0.111 0.872 0.571"/>
			<part node="0>0|1" startTime="1.5" endTime="2.5" startRot="85.5 0 0" endRot="0 0 0"/>
			<part node="0>0|2" startTime="2.5" endTime="2.8" startTrans="-0.111 0.872 0.571"  endTrans="0 0.872 0.571"/>
			<sound template="clackVar5" startTime="0.25"  volumeScale="1.2" pitchScale="1.4" linkNode="0>0|0"/>
			<sound template="latchSmall" startTime="0.25" volumeScale="0.4" pitchScale="2" linkNode="0>0|0"/>
			<sound template="clackVar1" startTime="0.1"   volumeScale="2.4" pitchScale="1.1" linkNode="0>0|0"/>
		</animation>
	</animations>

	<cylindered>
        <movingParts>
			<movingPart node="0>0|5|0|1" referencePoint="0>0|5|1|1" referenceFrame="0>0|5|1|1" maxUpdateDistance="300" scaleZ="false" isActiveDirty="true"/>			
        </movingParts>
    </cylindered>

	<foliageBending>
		<bendingNode minX="-1.2" maxX="1.2" minZ="-3.7" maxZ="-1.5" yOffset="0.6"/>
	</foliageBending>

	<tensionBelts>
		<tensionBeltsConfigurations>
			<tensionBeltsConfiguration>
				<tensionBelts linkNode="0>0|4" rootNode="0>" jointNode="0>" maxEdgeLength="0.1" geometryBias="0.01" ratchetPosition="0.2" defaultOffset="-0.45" defaultOffsetSide="0.1" defaultHeight="1" interactionRadius="1.75" totalInteractionRadius="3.5" activationTrigger="0>0|4|1">
					<tensionBelt startNode="0>0|4|0" endNode="0>0|4|0|0" offsetLeft="0.85"/>
					<sounds>
						<addBelt template="beltOpen"/>
						<removeBelt template="beltClose"/>
					</sounds>
				</tensionBelts>
			</tensionBeltsConfiguration>
		</tensionBeltsConfigurations>
	</tensionBelts>

	<ai>
		<agentAttachment jointNode="0>0|0" rotCenterWheelIndices="1 2" width="2.2" height="3.0" length="5.5" lengthOffset="0.5"/>
	</ai>

	<baseMaterial>
		<material name="Rospusk_mat" baseNode="0>0|2">
            <shaderParameter name="colorMat0" value="0.098 0.102 0.045"/>
        </material>
    </baseMaterial>

    <baseMaterialConfigurations>
    	<material name="Rospusk_mat" shaderParameter="colorMat0" />
		<baseMaterialConfiguration name="$l10n_Orange" color="0.597 0.165 0.009 6" price="0"/>
		<baseMaterialConfiguration name="$l10n_Gray" color="0.270 0.238 0.238 6" price="0"/>
		<baseMaterialConfiguration name="$l10n_Red" color="0.283 0.036 0.036 6" price="0"/>
		<baseMaterialConfiguration name="$l10n_Green" color="0.098 0.102 0.045 6" price="0"/>
		<baseMaterialConfiguration name="$l10n_Green2" color="0.054 0.107 0.037 6" price="0"/>
	</baseMaterialConfigurations>

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