<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="trailer" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>FT 300</name>
        <functions>
            <function>$l10n_function_baleTrailer</function>
        </functions>
        <image>store_flatBed.png</image>
        <price>8000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>trailersChangingSystem</category>
        <shopTranslationOffset>0 0.037 0</shopTranslationOffset>
        <shopRotationOffset>0.003 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>265472</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>80640</indexBufferMemoryUsage>
        <textureMemoryUsage>917504</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_trailer</typeDesc>
        <filename>flatBed.i3d</filename>
        <size width="5.51" length="8.72" height="3.67"/>
        <components>
            <component centerOfMass="0 0.4 0" solverIterationCount="30" mass="2500"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <sounds volumeFactor="1.6"/>
        <mapHotspot type="TRAILER" />
    </base>

	<attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attachmentJoint" jointType="CT550Joint" lowerRotLimitScale="0 0 0" upperRotLimitScale="0 0 0" upperRotationOffset="0" lowerTransLimitScale="0 0 0" upperTransLimitScale="0 0 0"/>
        </inputAttacherJoints>
        <support animationName="moveSupport" delayedOnAttach="false"/>
    </attachable>

    <animations>
        <animation name="moveSupport">
            <part node="0>0|0|2|0|0"      startTime="0"     endTime="1"    startTrans="-0.811 0 0" endTrans="0 0 0"/>
            <part node="0>0|0|2|0|0|0"    startTime="0"     endTime="1"    startRot="82.867 0 0" endRot="0 0 0"/>
			
            <part node="0>0|0|2|1|0"      startTime="0"     endTime="1"    startTrans="0.811 0 0" endTrans="0 0 0"/>
            <part node="0>0|0|2|1|0|0"    startTime="0"     endTime="1"    startRot="82.867 0 0" endRot="0 0 0"/>
			
            <part node="0>0|0|2|2|0"      startTime="0"     endTime="1"    startTrans="0.811 0 0" endTrans="0 0 0"/>
            <part node="0>0|0|2|2|0|0"    startTime="0"     endTime="1"    startRot="-82.867 0 0" endRot="0 0 0"/>
			
            <part node="0>0|0|2|3|0"      startTime="0"     endTime="1"    startTrans="-0.811 0 0" endTrans="0 0 0"/>
            <part node="0>0|0|2|3|0|0"    startTime="0"     endTime="1"    startRot="-82.867 0 0" endRot="0 0 0"/>
			
            <part node="bolts"            startTime="0"     endTime="0.01" visibility="false" />
            <part node="bolts"            startTime="0.01"  endTime="0.02" visibility="true" />
            <part node="bolts"            startTime="0"     endTime="0.01" visibility="true" />
            <part node="bolts"            startTime="0.01"  endTime="0.02" visibility="false" />
            <part node="supports"         startTime="0"     endTime="0.01" visibility="false" />
            <part node="supports"         startTime="0.01"  endTime="0.02" visibility="true" />
        </animation>
    </animations>

    <tensionBelts>
        <tensionBeltsConfigurations>
            <tensionBeltsConfiguration>
                <tensionBelts linkNode="tensionBelts" jointNode="FT300_main_component1" maxEdgeLength="0.1" geometryBias="0.01" ratchetPosition="0.2" defaultOffset="0.1" defaultOffsetSide="0.1" defaultHeight="8" activationTrigger="beltActivationTrigger">
                    <tensionBelt startNode="startPoint01" endNode="startPoint01End"/>
                    <tensionBelt startNode="startPoint02" endNode="startPoint02End"/>
                    <tensionBelt startNode="startPoint03" endNode="startPoint03End"/>
                    <tensionBelt startNode="startPoint04" endNode="startPoint04End"/>
                    <tensionBelt startNode="startPoint05" endNode="startPoint05End"/>
                    <tensionBelt startNode="startPoint06" endNode="startPoint06End"/>
                    <tensionBelt startNode="startPoint07" endNode="startPoint07End"/>
                    <tensionBelt startNode="startPoint08" endNode="startPoint08End"/>
                    <sounds>
                        <addBelt    template="beltOpen" />
                        <removeBelt template="beltClose" />
                    </sounds>
                </tensionBelts>
            </tensionBeltsConfiguration>
        </tensionBeltsConfigurations>
    </tensionBelts>

	<baseColorConfigurations useDefaultColors="true">
		<baseColorConfiguration materialTemplateName="CT_MAINCOLOR" price="100"/>
		<material materialSlotName="FT300_mainColor_slot"/>
    </baseColorConfigurations>
	
	<designColorConfigurations useDefaultColors="true" title="$l10n_frameColor_configMat">
		<designColorConfiguration materialTemplateName="CT_FRAMECOLOR" price="100"/>
		<material materialSlotName="FT300_frameColor_slot"/>
    </designColorConfigurations>
	
	<foliageBending>
        <bendingNode minX="-1.887" maxX="1.887" minZ="-4.224" maxZ="4.644" yOffset="0.6" />
    </foliageBending>

    <ai>
        <agentAttachment jointNode="attachmentJoint" width="5.51" length="8.72" height="3.67" lengthOffset="-0.5"/>
    </ai>

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

    <i3dMappings>
        <!-- other -->
		<i3dMapping id="FT300_main_component1" node="0>" />
        <i3dMapping id="attachmentJoint" node="0>0|0|0" />
        <i3dMapping id="supports" node="0>0|0|2" />
        <i3dMapping id="bolts" node="0>0|0|1" />
		<!-- tensionBelts -->
        <i3dMapping id="tensionBelts" node="0>0|2" />
        <i3dMapping id="beltActivationTrigger" node="0>0|2|0" />
        <i3dMapping id="startPoint01" node="0>0|2|1" />
        <i3dMapping id="startPoint01End" node="0>0|2|1|0" />
        <i3dMapping id="startPoint02" node="0>0|2|2" />
        <i3dMapping id="startPoint02End" node="0>0|2|2|0" />
        <i3dMapping id="startPoint03" node="0>0|2|3" />
        <i3dMapping id="startPoint03End" node="0>0|2|3|0" />
        <i3dMapping id="startPoint04" node="0>0|2|4" />
        <i3dMapping id="startPoint04End" node="0>0|2|4|0" />
        <i3dMapping id="startPoint05" node="0>0|2|5" />
        <i3dMapping id="startPoint05End" node="0>0|2|5|0" />
        <i3dMapping id="startPoint06" node="0>0|2|6" />
        <i3dMapping id="startPoint06End" node="0>0|2|6|0" />
        <i3dMapping id="startPoint07" node="0>0|2|7" />
        <i3dMapping id="startPoint07End" node="0>0|2|7|0" />
        <i3dMapping id="startPoint08" node="0>0|2|8" />
        <i3dMapping id="startPoint08End" node="0>0|2|8|0" />
    </i3dMappings>
</vehicle>
