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

    <storeData>
	<name>HolRun</name>
        <specs>
        	<combination>Terra Variant, ITRunner</combination>
        </specs>
        <functions>
            	<function>$l10n_function_holrun</function>
        </functions>
        <image>texturas/store_HolRun.png</image>
        <price>2800</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>ARTMECHANIC</brand>
        <category>trailers</category>
        <vertexBufferMemoryUsage>303688</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>35850</indexBufferMemoryUsage>
        <textureMemoryUsage>15041040</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_tipper</typeDesc>
        <filename>HolRun.i3d</filename>
        <size width="4.5" length="9"/>
        <components>
        	<component centerOfMass="0 1 0" solverIterationCount="10" mass="2000" />
        </components>
        <schemaOverlay attacherJointPosition="0 0">
        	<default name="DEFAULT_IMPLEMENT"/>
            	<selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>

    <attachable>
    	<inputAttacherJoints>
            	<inputAttacherJoint node="0>0" jointType="holmerTerraVariant" upperRotationOffset="0" lowerRotationOffset="0" >
			<distanceToGround upper="0.98" lower="0.6" />
		</inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport" />
    </attachable>

    <attacherJoints>
        <attacherJoint node="0>3|0|0|0|0|1|1|0|0" jointType="hookLift" lowerRotLimit="0 40 80" upperRotLimit="0 40 80" allowsLowering="false" enableCollision="true">
		<schema position="0.5 0" rotation="0" invertX="false"/>
	</attacherJoint>
        <sounds>
     		<attach file="$data\sounds\vehicles\shared\attach_01.ogg">
                	<volume indoor="0.35" outdoor="1.0"/>
                	<pitch outdoor="1.0"/>
                	<lowpassGain indoor="0.75"/>
            	</attach>
  	</sounds>
    </attacherJoints>

    <foldable>
	<foldingParts posDirectionText="unload_arm" negDirectionText="load_arm" startMoveDirection="-1" turnOnFoldDirection="0">
      		<foldingPart animationName="unfoldHand" speedScale="1"/>
        </foldingParts>
    </foldable>

    <animations>
   	<animation name="moveSupport">
            <part node="0>1|0" startTime="0.0" endTime="0.1" visibility="false"/>
            <part node="0>1|0" startTime="0.1" endTime="0.2" visibility="true"/>
            <part node="0>1|0|0" startTime="0.5" endTime="1.0" startTrans="0.627 -1.287 0.002" endTrans="0.627 -2.341 0.002"/>
            <part node="0>1|0|0|0" startTime="0.5" endTime="1.0" startScale="0 0 0" endScale="1 1 1"/>
            <part node="0>1|0|0|0" startTime="0.0" endTime="0.5" startTrans="-1.006 1.554 -0.01" endTrans="-0.008 0.324 -0.01"/>
            <part node="0>1|2|0" startTime="0.5" endTime="1.0" startTrans="0.627 -1.287 0.002" endTrans="0.627 -2.341 0.002"/>
            <part node="0>1|2|0|0" startTime="0.5" endTime="1.0" startScale="0 0 0" endScale="1 1 1"/>
            <part node="0>1|2|0|0" startTime="0.0" endTime="0.5" startTrans="-1.006 1.554 -0.01" endTrans="-0.008 0.324 -0.01"/>
            <part node="0>1|1|0" startTime="0.5" endTime="1.0" startTrans="-0.627 -1.287 0.002" endTrans="-0.627 -2.341 0.002"/>
            <part node="0>1|1|0|0" startTime="0.5" endTime="1.0" startScale="0 0 0" endScale="1 1 1"/>
            <part node="0>1|1|0|0" startTime="0.0" endTime="0.5" startTrans="1.006 1.554 -0.01" endTrans="0.008 0.324 -0.01"/>
            <part node="0>1|3|0" startTime="0.5" endTime="1.0" startTrans="-0.627 -1.287 0.002" endTrans="-0.627 -2.341 0.002"/>
            <part node="0>1|3|0|0" startTime="0.5" endTime="1.0" startScale="0 0 0" endScale="1 1 1"/>
            <part node="0>1|3|0|0" startTime="0.0" endTime="0.5" startTrans="1.006 1.554 -0.01" endTrans="0.008 0.324 -0.01"/>
        </animation>
        <animation name="unfoldHand">
            <part node="0>3|0|0|0|0" startTime="0" endTime="2" startTrans="0 0 0" endTrans="0 0 -1.19036"/>
            <part node="0>3|0|0|0" startTime="2" endTime="10" startRot="0 0 0" endRot="-155 0 0"/>
            <part node="0>3|0|0|0|0|1|1|0" startTime="2" endTime="4.51" startRot="0 0 0" endRot="20 0 0"/>
            <part node="0>3|0|0|0|0|1|1|0" startTime="4.51" endTime="10" startRot="20 0 0" endRot="143 0 0"/>
            <part node="0>3|0|0|0|0|1" startTime="7" endTime="10" startRot="0 0 0" endRot="-23 0 0"/>
        </animation>
        <animation name="unloading">
            <part node="0>3|0|0" startTime="0" endTime="14" startRot="0 0 0" endRot="-35 0 0"/>
        </animation>
    </animations>

    <cylindered>
        <movingTools>
            <movingTool node="0>3|0|0" playSound="true">
                <attacherJoint jointIndices="0"/>
                <dependentPart node="0>3|0|1"/>
            </movingTool>
            <movingTool node="0>3|0|0|0" playSound="true">
                <attacherJoint jointIndices="0"/>
                <dependentPart node="0>3|0|1"/>
            </movingTool>
            <movingTool node="0>3|0|0|0|0" playSound="true">
                <attacherJoint jointIndices="0"/>
                <dependentPart node="0>3|0|0|1"/>
            </movingTool>
            <movingTool node="0>3|0|0|0|0|1" playSound="true">
                <attacherJoint jointIndices="0"/>
            </movingTool>
        </movingTools>
        <movingParts>
            <movingPart node="0>3|0|1" referencePoint="0>3|0|0|0|1" referenceFrame="0>">
                <translatingPart node="0>3|0|1|0"/>
            </movingPart>
            <movingPart node="0>3|0|0|1" referencePoint="0>3|0|0|0|0" referenceFrame="0>"/>
        </movingParts>
        <sounds>
            <hydraulic file="$data\sounds\vehicles\hydraulic\hydraulic_loop_01.ogg">
                <volume indoor="0.35" outdoor="0.4"/>
                <pitch outdoor="0.8"/>
                <lowpassGain indoor="0.75"/>
            </hydraulic>
        </sounds>
    </cylindered>

    <washable dirtDuration="90" washDuration="1" workMultiplier="4"/>

</vehicle>