<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="cutterTrailerNivaSK5">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>
            <en>Cutter trailer</en> 
            <de>Cutter trailer</de> 			
            <ru>Транспортная тележка</ru>		
		</name>	
        <specs>
            <combination>SK-5 Niva, ZHZE-4, PSP-1.5</combination>
        </specs>		
        <functions>
            <function>$l10n_function_cutterTrailer</function>
        </functions>
        <image>store/store_cutterTrailer.png</image>
        <price>2800</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>ROSTSELMASH</brand>
        <category>cutterTrailers</category>
        <vertexBufferMemoryUsage>183104</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>30492</indexBufferMemoryUsage>
        <textureMemoryUsage>2971096</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_cutterTrailer</typeDesc>
        <filename>cutterTrailer.i3d</filename>
        <size width="2.7" length="6.3"/>
        <components>
            <component centerOfMass="0 0.25 0" solverIterationCount="10" mass="1570"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>

     <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels>
                    <wheel filename="wheels/wheels_rsmTrailer.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="1.1" repr="reprHubWheelLeft"  driveNode="wheelLeft" forcePointRatio="0.3" initialCompression="55" suspTravel="0.05" spring="21" damper="5"/>
                        <additionalWheel filename="wheels/wheels_rsmTrailer.xml" configId="dualConnector" isLeft="true" offset="0.01" />
                    </wheel>								
                    <wheel filename="wheels/wheels_rsmTrailer.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="1.1" repr="reprHubWheelRight"  driveNode="wheelRight" forcePointRatio="0.3" initialCompression="55" suspTravel="0.05" spring="21" damper="5" />
                        <additionalWheel filename="wheels/wheels_rsmTrailer.xml" configId="dualConnector" isLeft="false" offset="0.01" />
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>	
	
    <rimColorConfigurations useDefaultColors="false" price="0" >
        <rimColorConfiguration name="White" color="0.603 0.603 0.603 6"/>	
        <rimColorConfiguration name="Red01" color="0.28 0.031 0.025 6"/>
        <rimColorConfiguration name="Red02" color="0.5 0.085 0.05 6"/>	
        <rimColorConfiguration name="Red03" color="0.347 0.085 0.05 6"/>	
        <rimColorConfiguration name="Green01" color="0.23 0.3 0.08 6"/>
        <rimColorConfiguration name="Green02" color="0.01 0.32 0.12 6"/>			
        <rimColorConfiguration name="Black" color="0.035 0.035 0.035 6"/>
        <rimColorConfiguration name="Gray" color="0.126 0.126 0.126 6"/>	
        <rimColorConfiguration name="Beige" color="0.75 0.683 0.44 6"/>			
    </rimColorConfigurations>		

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="trailer" attacherHeight="0.501"/>
        </inputAttacherJoints>
        <support animationName="moveSupport" />
        <brakeForce>0.2</brakeForce>
    </attachable>

    <dynamicMountAttacher triggerNode="dynamicMountTrigger" rootNode="cutterTrailer_main_component1" jointNode="cutterTrailer_main_component1" forceAcceleration="500" mountType="TYPE_AUTO_ATTACH_XZ"/>

    <animations>
        <!-- support animation -->
        <animation name="moveSupport">
            <part node="supportArm" startTime="0" endTime="0.2" startRot="8.5 0 0" endRot="0 0 0" />
        </animation>		
    </animations>
	
    <cylindered>
        <movingParts>
            <movingPart node="hydraulicSupport" referencePoint="hydraulicSupportRef" referenceFrame="hydraulicSupportRef" isActiveDirty="true">
                <translatingPart node="hydraulicSupportPunch" />
            </movingPart>		
        </movingParts>

        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="cutterTrailer_main_component1"/>
        </sounds>
    </cylindered>	

    <foliageBending>
        <bendingNode minX="-0.45" maxX="0.45" minZ="-2.43" maxZ="2.2" yOffset="0.4" />
        <bendingNode minX="-0.75" maxX="0.75" minZ="-1.3" maxZ="-0.4" yOffset="0.4" />
    </foliageBending>
	
    <baseMaterial>
        <material name="cutterTrailer_mat" baseNode="cutterTrailer_vis">
            <shaderParameter name="colorMat0" value="0.35 0.031 0.025 6"/>
            <shaderParameter name="colorMat2" value="0.191 0.191 0.191 6"/>			
        </material>		
        <material name="decalNivaSK1" baseNode="decals01">
            <shaderParameter name="colorMat0" value="0.603 0.603 0.603 6"/>		
        </material>			
    </baseMaterial>		
	
    <bodyNivaSKMaterialConfigurations>
        <bodyNivaSKMaterialConfiguration name="Red01" color="0.28 0.031 0.025 6"/>
        <bodyNivaSKMaterialConfiguration name="Red02" color="0.5 0.085 0.05 6"/>	
        <bodyNivaSKMaterialConfiguration name="Red03" color="0.347 0.085 0.05 6"/>	
        <bodyNivaSKMaterialConfiguration name="Green01" color="0.23 0.3 0.08 6"/>
        <bodyNivaSKMaterialConfiguration name="Green02" color="0.01 0.32 0.12 6"/>		
        <material name="cutterTrailer_mat" shaderParameter="colorMat0" />
    </bodyNivaSKMaterialConfigurations>	
	
    <decalsNivaSKMaterialConfigurations>
        <decalsNivaSKMaterialConfiguration name="White" color="0.603 0.603 0.603 6"/> 	
        <decalsNivaSKMaterialConfiguration name="Yellow" color="0.98 0.43 0.01 6"/>   
        <decalsNivaSKMaterialConfiguration name="Beige" color="0.75 0.683 0.44 6"/>		
        <material name="decalNivaSK1" shaderParameter="colorMat0" />			
    </decalsNivaSKMaterialConfigurations>	

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

    <i3dMappings>
        <i3dMapping id="cutterTrailer_main_component1" node="0>" />
        <i3dMapping id="reprHubWheelLeft" node="0>0|0" />
        <i3dMapping id="wheelLeft" node="0>0|0|0" />		
        <i3dMapping id="reprHubWheelRight" node="0>0|1" />
        <i3dMapping id="wheelRight" node="0>0|1|0" />		
        <i3dMapping id="attacherJoint" node="0>1|0" />
        <i3dMapping id="supportArm" node="0>1|1" />
        <i3dMapping id="hydraulicSupportRef" node="0>1|1|1" />
        <i3dMapping id="hydraulicSupport" node="0>2|0" />
        <i3dMapping id="hydraulicSupportPunch" node="0>2|0|0" />
        <i3dMapping id="dynamicMountTrigger" node="0>3" />
        <i3dMapping id="cutterTrailer_vis" node="0>4" />	
        <i3dMapping id="decals01" node="0>5|0|0" />		
    </i3dMappings>
</vehicle>