
<vehicle type="PTS4">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
	<name>ПТС-4</name>
        <functions><function>$l10n_function_tipper</function></functions>
        <image>store.dds</image>
        <price>7200</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>PTS</brand>
        <category>trailers</category>
        <vertexBufferMemoryUsage>1354800</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>214368</indexBufferMemoryUsage>
        <textureMemoryUsage>7078144</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    <dailyUpkeep>0</dailyUpkeep></storeData>
    <base>
	
        <typeDesc>$l10n_typeDesc_tipper</typeDesc>
        <filename>PTS.i3d</filename>
		
        <size width="3" length="7.5" lengthOffset="0.4" />
		
        <components>
            <component centerOfMass="0.00 0.00 -1.34316" solverIterationCount="40" mass="2130" />
            <component centerOfMass="0 0 0" solverIterationCount="40" mass="700" />
            <component centerOfMass="0 0 1.1" solverIterationCount="20" mass="400" />
            <component centerOfMass="0 -0.5 0" solverIterationCount="10" mass="100" />
            <component centerOfMass="0 -0.5 0" solverIterationCount="10" mass="100" />
            <joint component1="1" component2="2" node="0>2" rotLimit="0 120 0" transLimit="0 0 0" />
            <joint component1="2" component2="3" node="1>3" rotLimit="25 0 0" transLimit="0 0 0" />
            <joint component1="1" component2="4" node="3>0" rotLimit="20 0 0" transLimit="0 0 0" />
            <joint component1="1" component2="5" node="4>0" rotLimit="20 0 0" transLimit="0 0 0" />
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT" />
            <selected name="DEFAULT_IMPLEMENT_SELECTED" />
        </schemaOverlay>
    </base>
	
	<powerConsumer ptoRpm="350" neededMaxPtoPower="10" />
	
 	 <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels>
                    <wheel filename="wheels/wheels.xml" configId="basic" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" repr="1>2" restLoad="1.2" forcePointRatio="0.2" initialCompression="17" suspTravel="0.25" spring="16" damper="10" tireType="street" radius="0.47" />
                    </wheel>
					<wheel filename="wheels/wheels.xml" configId="basic" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" repr="1>1" restLoad="1.2" forcePointRatio="0.2" initialCompression="17" suspTravel="0.25" spring="16" damper="10" tireType="street" radius="0.47" />
                    </wheel>
					<wheel filename="wheels/wheels.xml" configId="basic" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" repr="0>3" restLoad="1.2" forcePointRatio="0.2" initialCompression="10" suspTravel="0.25" spring="16" damper="10" tireType="street" radius="0.47" />
                    </wheel>
					<wheel filename="wheels/wheels.xml" configId="basic" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" repr="0>4" restLoad="1.2" forcePointRatio="0.2" initialCompression="10" suspTravel="0.25" spring="16" damper="10" tireType="street" radius="0.47" />
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>
	
	<attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="2>1" rootNode="2>" jointType="trailerLow" attacherHeight="0.7826" />
        </inputAttacherJoints>
        <brakeForce>0.4</brakeForce>
        <airConsumer usage="0.3" />
    </attachable>
    <attacherJoints>
        <attacherJoint node="0>9" jointType="trailerLow" lowerRotLimit="10 80 80" upperRotationOffset="0" allowsJointLimitMovement="false" canTurnOnImplement="false">
            <schema position="0.9 0" rotation="0" invertX="false" />
        </attacherJoint>
		<attacherJoint node="0>9" jointType="trailer" lowerRotLimit="10 80 80" upperRotationOffset="0" allowsJointLimitMovement="false" canTurnOnImplement="false">
            <schema position="0.9 0" rotation="0" invertX="false" />
        </attacherJoint>
        <sounds>
            <attach template="ATTACH_01" linkNode="0>" />
        </sounds>
    </attacherJoints>
	
     <lights>
        <sharedLight linkNode="rear3ChamberLight01Left" filename="shared/rear3ChamberLight_01_left.xml" />
        <sharedLight linkNode="rear3ChamberLight01Right" filename="shared/rear3ChamberLight_01_right.xml" />
        <realLights>
            <high>
                <light node="backLightsHigh" lightTypes="0" />
                <turnLightLeft node="turnLightLeftBack" />
                <turnLightRight node="turnLightRightBack" />
                <brakeLight node="backLightsHigh" />
            </high>
        </realLights>
    </lights>
	
    <animations>
        <animation name="tipAnimationBack">
            <part node="0>1|0|0|7" startTime="0.5" endTime="1.5" startRot="0 0 0" endRot="-180 0 0" />
            <part node="0>1|0|0|7" startTime="1.5" endTime="11" startRot="-170 0 0" endRot="-135 0 0" />
            <part node="0>1|0|0" startTime="1.5" endTime="9" startRot="0 0 0" endRot="-45 0 0" />
            <part node="0>1|0|0|16|0" startTime="1.5" endTime="9" startRot="0 0 0" endRot="45 0 0" />
            <part node="0>1|0|0|7|0|1|1" startTime="0" endTime="0.5" startRot="0 0 0" endRot="0 0 180" />
            <part node="0>1|0|0|7|0|1|0" startTime="0" endTime="0.5" startRot="0 0 0" endRot="0 0 -180" />
        </animation>
        <animation name="tipAnimationLeft">
            <part node="0>1|0|0|2" startTime="0.5" endTime="1.5" startRot="0 -90 0" endRot="0 -90 -180" />
            <part node="0>1|0|0|2" startTime="1.5" endTime="9" startRot="0 -90 -170" endRot="0 -90 -135" />
            <part node="0>1" startTime="1.5" endTime="9" startRot="0 0 0" endRot="0 0 -45" />
            <part node="0>1|0|0|16|2" startTime="1.5" endTime="9" startRot="0 0 0" endRot="0 0 45" />
            <part node="0>1|0|0|7|0|1|0" startTime="0" endTime="0.5" startRot="0 0 0" endRot="0 0 -180" />
            <part node="0>1|0|0|17|0" startTime="0" endTime="0.5" startRot="0 0 0" endRot="0 0 180" />
			<part node="0>1|0|0|21" startTime="2.5" endTime="8" startRot="0 0 0" endRot="0 0 45" /> <!-- door -->
        </animation>
        <animation name="tipAnimationRight">
            <part node="0>1|0|0|1" startTime="0.5" endTime="1.5" startRot="0 90 0" endRot="0 90 180" />
            <part node="0>1|0|0|1" startTime="1.5" endTime="9" startRot="0 90 170" endRot="0 90 135" />
            <part node="0>1|0" startTime="1.5" endTime="9" startRot="0 0 0" endRot="0 0 45" />
            <part node="0>1|0|0|16|3" startTime="1.5" endTime="9" startRot="0 180 0" endRot="0 180 -45" />
            <part node="0>1|0|0|7|0|1|1" startTime="0" endTime="0.5" startRot="0 0 0" endRot="0 0 180" />
            <part node="0>1|0|0|17|1" startTime="0" endTime="0.5" startRot="0 0 0" endRot="0 0 -180" />
        </animation>
    </animations>
	
    <cylindered>
        <movingTools>
            <movingTool node="0>1" playSound="true">
                <dependentPart node="0>0|0" />
            </movingTool>
            <movingTool node="0>1|0" playSound="true">
                <dependentPart node="0>0|0" />
            </movingTool>
            <movingTool node="0>1|0|0" playSound="true">
                <dependentPart node="0>0|0" />
            </movingTool>
        </movingTools>
        <movingParts isActiveDirtyTimeOffset="1">
            <movingPart node="0>0|0" referencePoint="0>1|0|0|14" referenceFrame="0>1|0|0|14">
                <translatingPart node="0>0|0|0" />
                <translatingPart node="0>0|0|0|0" />
                <translatingPart node="0>0|0|0|0|0" />
                <translatingPart node="0>0|0|0|0|0|0" />
            </movingPart>
        </movingParts>
       <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="0>" />
        </sounds>
    </cylindered>
	
	<fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="bulk" capacity="10000">
                        <exactFillRootNode node="0>1|0|0|18" />
                        <autoAimTargetNode node="0>1|0|0|19" startZ="1.0" endZ="-2.5" invert="false" fillUnitIndex="1" startPercentage="25" />
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
	
     
	<fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="0>1|0|0|5|0" maxDelta="0.12" maxAllowedHeapAngle="15" fillUnitIndex="1" />
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>

        <unloadInfos>
            <unloadInfo>
                <node node="0>1|0|0|5|2|0" width="5.0" length="2.7" />
            </unloadInfo>
            <unloadInfo>
                <node node="0>1|0|0|5|2|1" width="1.0" length="1.9" />
            </unloadInfo>
            <unloadInfo>
                <node node="0>1|0|0|5|2|2" width="1.0" length="1.9" />
            </unloadInfo>
        </unloadInfos>

        <heightNodes>
            <heightNode>
                <refNode node="0>1|0|0|11|0" />
                <refNode node="0>1|0|0|11|1" />
                <node node="0>1|0|0|9|0" baseScale="1 1 1" transAxis="0 1 0" transMax="0 0.1 0" />
            </heightNode>
            <heightNode>
                <refNode node="0>1|0|0|12|0" />
                <refNode node="0>1|0|0|12|1" />
                <node node="0>1|0|0|10|0" baseScale="1 1 1" transAxis="0 1 0" transMax="0 0.1 0" />
            </heightNode>
            <heightNode>
                <refNode node="0>1|0|0|15|0" />
                <refNode node="0>1|0|0|15|1" />
                <node node="0>1|0|0|16|0" baseScale="1 1 1" transAxis="0 1 0" transMax="0 0.1 0" />
            </heightNode>
        </heightNodes>
    </fillVolume> 
	
	 <trailer>
        <trailerConfigurations>
            <trailerConfiguration>
                <trailer>
                    <tipSide name="$l10n_info_tipSideLeft" dischargeNodeIndex="2" unloadInfoIndex="3">
                        <animation name="tipAnimationLeft" speedScale="0.8" startTipTime="0.12" />
                    </tipSide>
                    <tipSide name="$l10n_info_tipSideRight" dischargeNodeIndex="3" unloadInfoIndex="2">
                        <animation name="tipAnimationRight" speedScale="0.8" startTipTime="0.12" />
                    </tipSide>
                </trailer>
            </trailerConfiguration>
        </trailerConfigurations>
    </trailer>
	
    <dischargeable>
        <dischargeNode node="0>8|2" emptySpeed="600" fillUnitIndex="1" unloadInfoIndex="1">
            <info width="2.4" length="0.5" zOffset="0.5" />
            <effects>
                <effectNode effectClass="TipEffect">
                    <effectNode effectNode="0>1|0|0|16|0|1|0" effectClass="ParticleEffect" />
                    <effectNode effectNode="0>1|0|0|16|0|0|0" materialType="unloading" materialTypeId="1" fadeTime="0.5" extraDistanceNode="0>8|2" extraDistance="0.2" />
                </effectNode>
                <effectNode effectNode="0>1|0|0|16|0|0|1" materialType="smoke" materialTypeId="1" fadeTime="0.5" />
            </effects>
        </dischargeNode>
        <dischargeNode node="0>8|1" emptySpeed="600" fillUnitIndex="1" unloadInfoIndex="2">
            <info width="5" length="0.5" />
            <effects>
                <effectNode effectClass="TipEffect">
                    <effectNode effectNode="0>1|0|0|16|2|1|0" effectClass="ParticleEffect" />
                    <effectNode effectNode="0>1|0|0|16|2|0|0" materialType="unloading" materialTypeId="1" fadeTime="0.5" extraDistanceNode="0>8|1" extraDistance="0.2" />
                </effectNode>
                <effectNode effectNode="0>1|0|0|16|2|0|1" materialType="smoke" materialTypeId="1" fadeTime="0.5" />
            </effects>
        </dischargeNode>
        <dischargeNode node="0>8|0" emptySpeed="400" fillUnitIndex="1" unloadInfoIndex="3">
            <info width="5" length="0.5" />
            <effects>
                <effectNode effectClass="TipEffect">
                    <effectNode effectNode="0>1|0|0|16|3|1|0" effectClass="ParticleEffect" />
                    <effectNode effectNode="0>1|0|0|16|3|0|0" materialType="unloading" materialTypeId="1" fadeTime="0.5" extraDistanceNode="0>8|0" extraDistance="0.2" />
                </effectNode>
                <effectNode effectNode="0>1|0|0|16|3|0|1" materialType="smoke" materialTypeId="1" fadeTime="0.5" />
            </effects>
        </dischargeNode>
    </dischargeable>
	<connectionHoses>
    <!--Back -->   
        <target attacherJointIndices="1 2 3" type="airDoubleYellow" node="airDoubleControl" socket="air_yellow" />
        <target attacherJointIndices="1 2 3" type="electric" node="backElectric" socket="electric" />  
        <target attacherJointIndices="1 2 3" type="hydraulicIn" node="hydraulic06_in" socket="hydraulic01" />
  	<!--Back -->	
	<!--Front -->
        <hose inputAttacherJointIndices="1 2 3" type="electric" node="electricFront" length="1.7" diameter="0.009" straighteningFactor="1.5" />
        <hose inputAttacherJointIndices="1 2 3" type="airDoubleYellow" node="hydraulicIn01" length="1.7" diameter="0.02" straighteningFactor="1.5" />
        <hose inputAttacherJointIndices="1 2 3" type="hydraulicIn" node="hydraulicIn02" length="1.7" diameter="0.02" straighteningFactor="1.5" />
   	<!--Front -->
    </connectionHoses>
	
	<fillTriggerVehicle triggerNode="0>11" fillUnitIndex="1" litersPerSecond="350" /> 
    <washable dirtDuration="90" washDuration="1" workMultiplier="4" />
	
   <i3dMappings>
	    <i3dMapping id="airDoubleControl" node="0>13|0" /> 
        <i3dMapping id="backElectric" node="0>13|1" />
        <i3dMapping id="hydraulic06_in" node="0>13|2" />
        <i3dMapping id="hydraulicIn01" node="0>12|0" />
        <i3dMapping id="hydraulicIn02" node="0>12|1" />
        <i3dMapping id="electricFront" node="0>12|2" />
        <i3dMapping id="backLightsHigh" node="0>14|2" />
        <i3dMapping id="turnLightLeftBack" node="0>14|3" />
        <i3dMapping id="turnLightRightBack" node="0>14|4" />
        <i3dMapping id="rear3ChamberLight01Left" node="0>14|0" />
        <i3dMapping id="rear3ChamberLight01Right" node="0>14|1" />
    </i3dMappings>
</vehicle>