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

    <storeData>
        <name>
            <en>Flatbed ITR</en>
            <kr>평판 적재함 ITR</kr>
        </name>
        <specs>
            <combination>ITR 26.33 HD</combination>
        </specs>
        <functions>
            <function>$l10n_function_hookLiftContainer</function>
            <function>$l10n_function_baleTrailer</function>
        </functions>
        <image>store/flatbed.dds</image>
        <price>9000</price>
        <dailyUpkeep>7</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>baling</category>
        <vertexBufferMemoryUsage>123776</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>16320</indexBufferMemoryUsage>
        <textureMemoryUsage>5876640</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <typeDesc>$l10n_typeDesc_container</typeDesc>
    <filename>itRunner/FlatbedITR.i3d</filename>

    <size width="3.5" length="8.5" lengthOffset="0.3"/>

    <wheels autoRotateBackSpeed="2.0">
        <wheel restLoad="1.0" repr="0>0" radius="0.085" initialCompression="50" suspTravel="0.05" spring="300" damper="100" frictionScale="0.35" mass="0.02" maxLatStiffness="300" maxLatStiffnessLoad="3"/>
        <wheel restLoad="1.0" repr="0>1" radius="0.085" initialCompression="50" suspTravel="0.05" spring="300" damper="100" frictionScale="0.35" mass="0.02" maxLatStiffness="300" maxLatStiffnessLoad="3"/>
    </wheels>

    <brakeForce>0.5</brakeForce>

    <inputAttacherJoints>
        <inputAttacherJoint index="0>2" jointType="hookLift" allowsJointRotLimitMovement="false" upperRotationOffset="0" forceSelectionOnAttach="false"/>
    </inputAttacherJoints>

    <tensionBelts linkNode="0>3" jointNode="0>" width="0.075" maxEdgeLength="0.1" geometryBias="0.01" ratchetPosition="0.2" >
        <tensionBelt startNode="0>3|1" endNode="0>3|1|0" checkSizeOffsets="-0.2 5 3" />
        <tensionBelt startNode="0>3|2" endNode="0>3|2|0" checkSizeOffsets="-0.2 5 3" />
        <tensionBelt startNode="0>3|3" endNode="0>3|3|0" checkSizeOffsets="-0.2 5 3" />
        <tensionBelt startNode="0>3|4" endNode="0>3|4|0" checkSizeOffsets="-0.2 5 3" />
        <tensionBelt startNode="0>3|5" endNode="0>3|5|0" checkSizeOffsets="-0.2 5 3" />
        <tensionBelt startNode="0>3|6" endNode="0>3|6|0" checkSizeOffsets="-0.2 5 3" />
        <tensionBelt startNode="0>3|7" endNode="0>3|7|0" checkSizeOffsets="-0.2 5 3" />
        <tensionBelt startNode="0>3|8" endNode="0>3|8|0" checkSizeOffsets="-0.2 5 3" />
        <tensionBelt startNode="0>3|9" endNode="0>3|9|0" checkSizeOffsets="-0.2 5 3" />
        <tensionBelt startNode="0>3|10" endNode="0>3|10|0" checkSizeOffsets="-0.2 5 3" />
    </tensionBelts>

    <baseColorConfigurations useDefaultColors="true" price="700" icon="$dataS2/menu/hud/configurations/config_color.png">
        <baseColorConfiguration color="0.0616 0.0651 0.0698 1" />
        <colorNode node="0>4" />
        <colorNode node="0>4|0" />
        <colorNode node="0>4|0|0" />
        <colorNode node="0>4|1" />
        <colorNode node="0>4|2|0" />
        <colorNode node="0>4|2|1" />
        <colorNode node="0>4|2|2" />
        <colorNode node="0>4|2|3" />
        <colorNode node="0>4|3|0" />
        <colorNode node="0>4|3|1" />
        <colorNode node="0>4|3|2" />
        <colorNode node="0>4|3|3" />
    </baseColorConfigurations>

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

    <movingTools>
        <movingTool index="0>4|0" playSound="true">
            <controls axis="AXIS_DOOR" invertAxis="true" invertMouseAxis="false" iconFilename="$dataS2/menu/moveControls/topDoor.png" />
            <rotation rotSpeed="50" rotAcceleration="160" rotMax="0" rotMin="-105" speedFactor="0.3" rotationAxis="1" />
        </movingTool>
    </movingTools>

    <cylinderedHydraulicSound file="$data/sounds/hydraulicUp.wav" pitchOffset="0.8" volume="0.8" />

    <components count="1">
        <component1 centerOfMass="0 0.2 0" solverIterationCount="10" />
    </components>
	
    <allowFillFromAir value="false" />
    <allowTipDischarge value="false" />
	
    <foldingParts startMoveDirection="-1" foldInputButton="LOWER_IMPLEMENT" posDirectionText="setup_stakes" negDirectionText="retract_stakes" >
        <foldingPart animationName="stakes" speedScale="1.0" />
    </foldingParts>

	<dynamicMountAttacher triggerNode="0>5|0" rootNode="0>" jointNode="0>" forceAcceleration="30" />

	<animations>
		<animation name="stakes">				
			<part node="0>4|2|0" startTime="0" endTime="0.001" startTrans="1.012 2.79 4.21" endTrans="1.32 1.56 2.923" startRot="180 -90 0" endRot="0 0 0" />
				<part node="0>4|2|0|0" startTime="0" endTime="0.001" startTrans="0 0.2 0" endTrans="0 1.42 0" />
				<part node="0>4|2|0|1" startTime="0" endTime="0.001" startTrans="0 0.32 0.28" endTrans="0 0.01 0" startRot="-90 0 0" endRot="0 0 0" />				
			<part node="0>4|2|1" startTime="0" endTime="0.001" startTrans="0.889 2.79 4.21" endTrans="1.32 1.56 1.423" startRot="180 -90 0" endRot="0 0 0" />
				<part node="0>4|2|1|0" startTime="0" endTime="0.001" startTrans="0 0.2 0" endTrans="0 1.42 0" />
				<part node="0>4|2|1|1" startTime="0" endTime="0.001" startTrans="0 0.44 0.403" endTrans="0 0.01 0" startRot="-90 0 0" endRot="0 0 0" />				
			<part node="0>4|2|2" startTime="0" endTime="0.001" startTrans="0.781 2.79 4.21" endTrans="1.32 1.56 -1.58" startRot="180 90 0" endRot="0 180 0" />
				<part node="0>4|2|2|0" startTime="0" endTime="0.001" startTrans="0 0.2 0" endTrans="0 1.42 0" />
				<part node="0>4|2|2|1" startTime="0" endTime="0.001" startTrans="0 0.575 -0.51" endTrans="0 0.01 0" startRot="90 0 0" endRot="0 0 0" />				
			<part node="0>4|2|3" startTime="0" endTime="0.001" startTrans="0.658 2.79 4.21" endTrans="1.32 1.56 -3.08" startRot="180 90 0" endRot="0 180 0" />
				<part node="0>4|2|3|0" startTime="0" endTime="0.001" startTrans="0 0.2 0" endTrans="0 1.42 0" />
				<part node="0>4|2|3|1" startTime="0" endTime="0.001" startTrans="0 0.695 -0.633" endTrans="0 0.01 0" startRot="90 0 0" endRot="0 0 0" />


			<part node="0>4|3|0" startTime="0" endTime="0.001" startTrans="-1.012 2.79 4.21" endTrans="-1.32 1.56 2.923" startRot="180 90 0" endRot="0 0 0" />
				<part node="0>4|3|0|0" startTime="0" endTime="0.001" startTrans="0 0.2 0" endTrans="0 1.42 0" />
				<part node="0>4|3|0|1" startTime="0" endTime="0.001" startTrans="0 0.8 0.277" endTrans="0 0.01 0" startRot="-90 0 0" endRot="0 0 0" />				
			<part node="0>4|3|1" startTime="0" endTime="0.001" startTrans="-0.889 2.79 4.21" endTrans="-1.32 1.56 1.423" startRot="180 90 0" endRot="0 0 0" />
				<part node="0>4|3|1|0" startTime="0" endTime="0.001" startTrans="0 0.2 0" endTrans="0 1.42 0" />
				<part node="0>4|3|1|1" startTime="0" endTime="0.001" startTrans="0 0.92 0.4" endTrans="0 0.01 0" startRot="-90 0 0" endRot="0 0 0" />				
			<part node="0>4|3|2" startTime="0" endTime="0.001" startTrans="-0.781 2.79 4.21" endTrans="-1.32 1.56 -1.58" startRot="180 -90 0" endRot="0 180 0" />
				<part node="0>4|3|2|0" startTime="0" endTime="0.001" startTrans="0 0.2 0" endTrans="0 1.42 0" />
				<part node="0>4|3|2|1" startTime="0" endTime="0.001" startTrans="0 1.055 -0.508" endTrans="0 0.01 0" startRot="90 0 0" endRot="0 0 0" />				
			<part node="0>4|3|3" startTime="0" endTime="0.001" startTrans="-0.658 2.79 4.21" endTrans="-1.32 1.56 -3.08" startRot="180 -90 0" endRot="0 180 0" />
				<part node="0>4|3|3|0" startTime="0" endTime="0.001" startTrans="0 0.2 0" endTrans="0 1.42 0" />
				<part node="0>4|3|3|1" startTime="0" endTime="0.001" startTrans="0 1.173 -0.631" endTrans="0 0.01 0" startRot="90 0 0" endRot="0 0 0" />
		</animation>

	<!-- Autoloader -->
		<animation name="MoveTriggerUp">
			<part node="0>5|1" startTime="0" endTime="0.001" startTrans="0 -30 0" endTrans="0 0 0"/>
		</animation>
		<animation name="MoveTriggerDn">
			<part node="0>5|1" startTime="0" endTime="0.001" startTrans="0 0 0" endTrans="0 -30 0"/>
		</animation>
	</animations>

	<balesJoint index="0>5|2|0" rounds="0>5|2|1" wool="0>5|2|2" wood2="0>5|2|3" varBodyIndex="0" center="0>5|3|1" search="0>5|1|0" search2="0>5|1|1" /> <!-- Round Bales - Horizontally -->
	<!--balesJoint index="0>5|2|0" rounds="0>5|2|4" wool="0>5|2|2" wood2="0>5|2|3" varBodyIndex="0" center="0>5|3|1" search="0>5|1|0" search2="0>5|1|1" /--> <!-- Round Bales - Vertically -->
	
	<hayBales>
		<bale index="0>5|2|0|0"/>
		<bale index="0>5|2|0|1"/>
		<bale index="0>5|2|0|2"/>
		<bale index="0>5|2|0|3"/>
		<bale index="0>5|2|0|4"/>
		<bale index="0>5|2|0|5"/>
		
		<bale index="0>5|2|0|6"/>
		<bale index="0>5|2|0|7"/>
		<bale index="0>5|2|0|8"/>
		<bale index="0>5|2|0|9"/>
		<bale index="0>5|2|0|10"/>
		<bale index="0>5|2|0|11"/>
		
		<bale index="0>5|2|0|12"/>
		<bale index="0>5|2|0|13"/>
		<bale index="0>5|2|0|14"/>
		<bale index="0>5|2|0|15"/>
		<bale index="0>5|2|0|16"/>
		<bale index="0>5|2|0|17"/>
		
		<!--bale index="0>5|2|0|18"/>
		<bale index="0>5|2|0|19"/>
		<bale index="0>5|2|0|20"/>
		<bale index="0>5|2|0|21"/>
		<bale index="0>5|2|0|22"/>
		<bale index="0>5|2|0|23"/-->	
	</hayBales>
	
	<hayRounds>
		<!-- horizontally -->
		<bale index="0>5|2|1|0"/>
		<bale index="0>5|2|1|1"/>
		<bale index="0>5|2|1|2"/>
		<bale index="0>5|2|1|3"/>
		<bale index="0>5|2|1|4"/>
		<bale index="0>5|2|1|5"/>
		<bale index="0>5|2|1|6"/>
		<bale index="0>5|2|1|7"/>
		<bale index="0>5|2|1|8"/>
		<bale index="0>5|2|1|9"/>		
		<bale index="0>5|2|1|10"/>
		<bale index="0>5|2|1|11"/>
		
		<bale index="0>5|2|1|12"/>
		<bale index="0>5|2|1|13"/>
		<bale index="0>5|2|1|14"/>
		<bale index="0>5|2|1|15"/>
		<bale index="0>5|2|1|16"/>
		<bale index="0>5|2|1|17"/>
		<bale index="0>5|2|1|18"/>
		<bale index="0>5|2|1|19"/>
		<bale index="0>5|2|1|20"/>
		<bale index="0>5|2|1|21"/>
		
		<!-- vertically -->
		<!--bale index="0>5|2|4|0"/>
		<bale index="0>5|2|4|1"/>
		<bale index="0>5|2|4|2"/>
		<bale index="0>5|2|4|3"/>
		<bale index="0>5|2|4|4"/>
		<bale index="0>5|2|4|5"/>
		<bale index="0>5|2|4|6"/>
		<bale index="0>5|2|4|7"/>
		<bale index="0>5|2|4|8"/>
		<bale index="0>5|2|4|9"/>		
		<bale index="0>5|2|4|10"/>
		<bale index="0>5|2|4|11"/>
		
		<bale index="0>5|2|4|12"/>
		<bale index="0>5|2|4|13"/>
		<bale index="0>5|2|4|14"/>
		<bale index="0>5|2|4|15"/>
		<bale index="0>5|2|4|16"/>
		<bale index="0>5|2|4|17"/>
		<bale index="0>5|2|4|18"/>
		<bale index="0>5|2|4|19"/>
		<bale index="0>5|2|4|20"/>
		<bale index="0>5|2|4|21"/>
		<bale index="0>5|2|4|22"/>
		<bale index="0>5|2|4|23"/-->
	</hayRounds>
	
	<wool>
		<place index="0>5|2|2|0"/>
		<place index="0>5|2|2|1"/>
		<place index="0>5|2|2|2"/>
		<place index="0>5|2|2|3"/>
		<place index="0>5|2|2|4"/>
		<place index="0>5|2|2|5"/>
		<place index="0>5|2|2|6"/>
		<place index="0>5|2|2|7"/>
		<place index="0>5|2|2|8"/>
		<place index="0>5|2|2|9"/>
	</wool>
	
	<wood2>
		<place index="0>5|2|3|0"/>
		<place index="0>5|2|3|1"/>
		<place index="0>5|2|3|2"/>
		<place index="0>5|2|3|3"/>
	</wood2>
	
	<marker index="0>5|3|0" left="0>5|3|2" right="0>5|3|3" back="0>5|3|4" />
	
	<moveTriggerUp animationName="MoveTriggerUp" />
	<moveTriggerDn animationName="MoveTriggerDn" />

    <schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" fileTurnedOn="$dataS2/menu/schemas/implementSchemaTurnedOn.png" fileSelectedTurnedOn="$dataS2/menu/schemas/implementSchemaSelectedTurnedOn.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>
</vehicle>
