﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="dynamicMountAttacherTrailer">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>Zurn Trailer</name>
        <specs>
            <combination>Zurn 620</combination>
        </specs>
        <functions>
            <function>$l10n_function_cutterTrailer</function>
        </functions>
        <image>store_ZurnTrailer.png</image>
        <price>5200</price>
        <dailyUpkeep>5</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>ZUERN</brand>
        <category>cutterTrailers</category>
        <vertexBufferMemoryUsage>614448</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>91908</indexBufferMemoryUsage>
        <textureMemoryUsage>8738288</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <typeDesc>$l10n_typeDesc_cutterTrailer</typeDesc>
    <filename>JDTrailer.i3d</filename>

    <size width="3.0" length="11" lengthOffset="0.5" />

    <wheelConfigurations>
        <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
            <wheels>
                <wheel repr="0>10|1|0" driveNode="0>10|1|0|0" restLoad="0.4" filename="$data/vehicles/wheels/trelleborg/AW305_300_80R15_3.xml" color="0.95 0.7 0 1" isLeft="true"  initialCompression="20" suspTravel="0.10" spring="17" damper="10" hasTireTracks="true" />
                <wheel repr="0>10|1|1"                        restLoad="0.4" filename="$data/vehicles/wheels/trelleborg/AW305_300_80R15_3.xml" color="0.95 0.7 0 1" isLeft="false" initialCompression="20" suspTravel="0.10" spring="17" damper="10" hasTireTracks="true" />
                <wheel repr="1>0"                             restLoad="0.5" filename="$data/vehicles/wheels/trelleborg/AW305_300_80R15_3.xml" color="0.95 0.7 0 1" isLeft="true"  initialCompression="20" suspTravel="0.10" spring="20" damper="10" hasTireTracks="true" />
                <wheel repr="1>1"                             restLoad="0.5" filename="$data/vehicles/wheels/trelleborg/AW305_300_80R15_3.xml" color="0.95 0.7 0 1" isLeft="false" initialCompression="20" suspTravel="0.10" spring="20" damper="10" hasTireTracks="true" />
            </wheels>
        </wheelConfiguration>
    </wheelConfigurations>

	<axisColor>0.95 0.7 0 1</axisColor>
	<rimColor>0.95 0.7 0 1</rimColor>

    <brakeForce>0.3</brakeForce>

    <lights>
        <low>
            <light decoration="0>1|0|0" lightTypes="0 3" />
        </low>
        <high>
            <light realLight="0>1|0|1" decoration="0>1|0|0" lightTypes="0 3" />
        </high>
    </lights>

    <brakeLights>
        <brakeLight realLight="0>1|0|1" decoration="0>1|2|0" />
    </brakeLights>

    <turnLights>
        <turnLightLeft  realLight="0>1|1|0|1" decoration="0>1|1|0|0" />
        <turnLightRight realLight="0>1|1|1|1" decoration="0>1|1|1|0" />
    </turnLights>
	<setVisibilitys>		
		<setVisibility index="0>1|1|0|0|0|0" eveningTime="20" morningTime="6" showOnFog="true"/>
		<setVisibility index="0>1|1|1|0|0|0" eveningTime="20" morningTime="6" showOnFog="true"/>
		<setVisibility index="0>1|2|0|0|0" eveningTime="20" morningTime="6" showOnFog="true"/>
		<setVisibility index="0>1|2|0|1|0" eveningTime="20" morningTime="6" showOnFog="true"/>		
	</setVisibilitys>

    <inputAttacherJoints>
        <inputAttacherJoint index="2>0" jointType="trailer" rootNode="2>" attacherHeight="0.967"/>
    </inputAttacherJoints>
	<dynamicHose>
		<!--Hoses -->
		<set toolIndices="1">
			<hose type="electric" 	attached="0>12|0|0|0" detached="0>12|1|0" 	lastHoseIKNode="0>12|0|0|1|0"/>
			<hose type="hydraulic" 	attached="0>12|0|1|0" detached="0>12|1|1" 	lastHoseIKNode="0>12|0|1|1|0"/> 
			<hose type="hydraulic" 	attached="0>12|0|2|0" detached="0>12|1|2" 	lastHoseIKNode="0>12|0|2|1|0"/>			
		</set>
	</dynamicHose>
	<numberplates interfacePath="textures/">
		<plate index="0>11" />
	</numberplates>

    <allowFillFromAir value="false" />
    <allowTipDischarge value="false" />

    <dynamicMountAttacher triggerNode="0>3" rootNode="0>" jointNode="0>" mountType="TYPE_AUTO_ATTACH_XZ" forceAcceleration="30" />

    <movingTools>
        <movingTool index="1>3|0">
            <dependentPart index="2>1|0" />
        </movingTool>
    </movingTools>

    <movingParts>
        <movingPart index="2>1|0" referencePoint="1>3|0" referenceFrame="2>" playSound="false" isActiveDirty="true" >
            <translatingPart index="2>1|0|0" />
        </movingPart>
    </movingParts>

    <animations>
        <animation name="moveSupport">
            <part componentJointIndex="1" startTime="0" endTime="0.05" startRotLimit="80 0 0" endRotLimit="0 0 0"/>
            <part node="1>3|0" startTime="0" endTime="0.1" startRot="0 0 0" endRot="0 0 1" />
        </animation>
    </animations>

    <support animationName="moveSupport" />

    <washable dirtDuration="150" washDuration="1" workMultiplier="4" />

    <tipOcclusionAreas>
        <tipOcclusionArea start="0>6|0" width="0>6|1" height="0>6|2" />
    </tipOcclusionAreas>

    <components count="3">
        <component1 centerOfMass="0 0.45 -0.5" solverIterationCount="10" />
        <component2 centerOfMass="0 -0.34 0" solverIterationCount="10" />
        <component3 centerOfMass="0 0.0 -0.2" solverIterationCount="10" />
        <joint component1="0" component2="1" index="0>10|0" rotLimit="120 0 0" transLimit="0 0 0" />
        <joint component1="1" component2="2" index="1>2" rotLimit="0 0 0" transLimit="0 0 0" />
    </components>

    <schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0" />

</vehicle>
