<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="dynamicMountAttacherTrailer" 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>
			<en>Homemade Trailer</en>
			<de>Eigenbau-Anhänger</de>
			<pl>Przyczepa Samoróbka</pl>
		</name>
		<functions>
            <function>$l10n_function_baleTrailer</function>
        </functions>
        <image>store_przyczepka.png</image>
        <price>5500</price>
        <lifetime>600</lifetime>
        <brand>LIZARD</brand>
        <category>baleLoaders</category>
        <vertexBufferMemoryUsage>1117184</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>417792</indexBufferMemoryUsage>
        <textureMemoryUsage>3473408</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_tipper</typeDesc>
        <filename>przyczepa.i3d</filename>
        <size width="3.7" length="7.75" height="1.75"/>
        <sounds volumeFactor="1.3"/>
        <components>
            <component centerOfMass="0 0.6 -0.4" solverIterationCount="35" mass="600"/>
            <component centerOfMass="0 -0.4 0" solverIterationCount="25" mass="700"/>
            <component centerOfMass="0 0.457 2.913" solverIterationCount="10" mass="300"/>
            <joint component1="1" component2="2" node="1>" rotLimit="0 90 0" />
            <joint component1="2" component2="3" node="2>" rotLimit="0 0 0" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TRAILER" />
    </base>

    <wheels>
        <wheelConfigurations>
			<wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="0" brand="BKT" saveId="BKT_DEFAULT">
                <wheels>
                    <wheel filename="wheels/bkt_9_5L__15.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.3" repr="1>0|0" forcePointRatio="0.5" initialCompression="20" suspTravel="0.09" spring="85" damper="50" frictionScale="2.5"/>
                    </wheel>
                    <wheel filename="wheels/bkt_9_5L__15.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.3" repr="1>0|1" forcePointRatio="0.5" initialCompression="20" suspTravel="0.09" spring="85" damper="50" frictionScale="2.5"/>
                    </wheel>
                    <wheel filename="wheels/bkt_9_5L__15.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.0" repr="0>0|4|0" forcePointRatio="0.5" initialCompression="10" suspTravel="0.09" spring="85" damper="50" frictionScale="2.5"/>
                    </wheel>
                    <wheel filename="wheels/bkt_9_5L__15.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.0" repr="0>0|4|1" forcePointRatio="0.5" initialCompression="10" suspTravel="0.09" spring="85" damper="50" frictionScale="2.5"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>

    <attachable>
        <inputAttacherJointConfigurations>
            <inputAttacherJointConfiguration name="$l10n_krotki" price="0">
                <inputAttacherJoint node="2>0|0" jointType="trailer" rootNode="2>" attacherHeight="0.75" />

                <objectChange node="2>0|2"  visibilityActive="true" visibilityInactive="false"/>
                <objectChange node="2>0|1"  visibilityActive="false" visibilityInactive="true"/>

                <objectChange node="2>1" translationActive="0 0 -0.8" />
            </inputAttacherJointConfiguration>

            <inputAttacherJointConfiguration name="$l10n_dlugi" price="20">
                <inputAttacherJoint node="2>0|1|0" jointType="trailer" rootNode="2>" attacherHeight="0.75" />

                <objectChange node="2>0|2"  visibilityActive="false" visibilityInactive="true"/>
                <objectChange node="2>0|1"  visibilityActive="true" visibilityInactive="false"/>

                <objectChange node="2>1" translationActive="0 0 0" />
            </inputAttacherJointConfiguration>
        </inputAttacherJointConfigurations>

        <brakeForce force="0.1" maxForce="0.9" maxForceMass="8000"/>
		<support animationName="moveSupport" />

		<sounds>
            <active file="$data/sounds/tools/trailer/trailerRattle_02.wav" innerRadius="10" outerRadius="50" volumeScale="3" isLocalSound="true" pitchScale="1.0">
                <volume indoor="0.6" outdoor="0.9" >
                    <modifier type="WHEEL_SUSPENSION" value="-0.04" modifiedValue="0.6"/>
                    <modifier type="WHEEL_SUSPENSION" value="0.00" modifiedValue="0.0"/>
                    <modifier type="WHEEL_SUSPENSION" value="0.04" modifiedValue="0.6"/>

                    <modifier type="SPEED" value="0.0" modifiedValue="0.0"/>
                    <modifier type="SPEED" value="2.0" modifiedValue="1.0"/>
                    <modifier type="SPEED" value="40.0" modifiedValue="1.0"/>
                </volume>
                <lowpassCutoffFrequency indoor="300" outdoor="20000" />
                <lowpassGain indoor="0.7" outdoor="1" />
            </active>
        </sounds>
    </attachable>
	
	<animations>
		<animation name="moveSupport">
            <part componentJointIndex="2" startTime="0.0" endTime="0.15" startRotLimit="60 0 0" endRotLimit="-60 0 0" />

            <sound template="metalClose" startTime="0.01" direction="0" volumeScale="0.3" pitchScale="2.8" linkNode="2>0|0"/>
            <sound template="clackVar2"  startTime="0.1"  direction="0" volumeScale="1"   pitchScale="1.7" linkNode="2>0|0"/>
            <sound template="latchSmall" startTime="0.1"  direction="0" volumeScale="0.7" pitchScale="2.0" linkNode="2>0|0"/>
        </animation>
	</animations>
	
	<tensionBelts>
        <tensionBeltsConfigurations>
            <tensionBeltsConfiguration>
                <tensionBelts linkNode="0>0|6" jointNode="0>" maxEdgeLength="0.1" geometryBias="0.01" ratchetPosition="0.2" defaultOffset="0.1" defaultOffsetSide="0.1" defaultHeight="4" activationTrigger="0>0|7">
                    <tensionBelt startNode="0>0|6|0" endNode="0>0|6|0|0" />
                    <tensionBelt startNode="0>0|6|1" endNode="0>0|6|1|0" />
                    <tensionBelt startNode="0>0|6|2" endNode="0>0|6|2|0" />
                    <tensionBelt startNode="0>0|6|3" endNode="0>0|6|3|0" />
                    <tensionBelt startNode="0>0|6|4" endNode="0>0|6|4|0" />
                    <tensionBelt startNode="0>0|6|5" endNode="0>0|6|5|0" />
                    <tensionBelt startNode="0>0|6|6" endNode="0>0|6|6|0" />
                    <tensionBelt startNode="0>0|6|7" endNode="0>0|6|7|0" />
                    <tensionBelt startNode="0>0|6|8" endNode="0>0|6|8|0" />
                    <tensionBelt startNode="0>0|6|9" endNode="0>0|6|9|0" />
                    <tensionBelt startNode="0>0|6|10" endNode="0>0|6|10|0" />
                    <tensionBelt startNode="0>0|6|11" endNode="0>0|6|11|0" />

                    <sounds>
                        <addBelt template="beltOpen" />
                        <removeBelt template="beltClose" />
                    </sounds>
                </tensionBelts>
            </tensionBeltsConfiguration>
        </tensionBeltsConfigurations>
    </tensionBelts>
	
	<designConfigurations title="$l10n_deski">
        <designConfiguration name="$l10n_stare" price="0">
            <objectChange node="0>0|11" visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="0>0|10" visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>0|12" visibilityActive="false" visibilityInactive="true"/>
        </designConfiguration>
        <designConfiguration name="$l10n_nowe" price="500">
            <objectChange node="0>0|11" visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>0|10" visibilityActive="true" visibilityInactive="false"/>	
			<objectChange node="0>0|12" visibilityActive="false" visibilityInactive="true"/>
        </designConfiguration>
    </designConfigurations>

	<design2Configurations title="$l10n_trojkat">
        <design2Configuration name="$l10n_ui_no" price="0">
            <objectChange node="0>0|14" visibilityActive="false" visibilityInactive="true"/>
        </design2Configuration>
        <design2Configuration name="$l10n_ui_yes" price="20">
            <objectChange node="0>0|14" visibilityActive="true" visibilityInactive="false"/>
        </design2Configuration>
    </design2Configurations>

    <baseColorConfigurations price="0" useDefaultColors="false">
		<baseColorConfiguration name="$l10n_Green" color="0.1 0.184 0.126"/>
		<baseColorConfiguration name="$l10n_Green" color="0.07 0.25 0.04"/>
		<baseColorConfiguration name="$l10n_Green" color="0 0.21 0.1"/>
		<baseColorConfiguration name="$l10n_Green" color="0 0.2 0.05"/>
		<baseColorConfiguration name="$l10n_Green" color="0.02 0.24 0.05"/>
		<baseColorConfiguration name="$l10n_Green" color="0.08 0.3 0.05"/>
		<baseColorConfiguration name="$l10n_Green" color="0.26 0.2 0.15"/>
		<baseColorConfiguration name="$l10n_Green" color="0.26 0.2 0.1"/>
		<baseColorConfiguration name="$l10n_Green" color="0.26 0.25 0.13"/>
		<baseColorConfiguration name="$l10n_Green" color="0.01 0.13 0.04"/>
		<baseColorConfiguration name="$l10n_Green" color="0.15 0.35 0.06"/>
		<baseColorConfiguration name="$l10n_Green" color="0 0.28 0.08"/>
		<baseColorConfiguration name="$l10n_Green" color="0.1 0.21 0.06"/>
		<baseColorConfiguration name="$l10n_Green" color="0.1 0.13 0.06"/>
		<baseColorConfiguration name="$l10n_Green" color="0.19 0.13 0.08"/>
		<baseColorConfiguration name="$l10n_Green" color="0.04 0.15 0.03"/>
		<baseColorConfiguration name="$l10n_Green" color="0.05448 0.116971 0.078187" />
		<baseColorConfiguration name="$l10n_Green" color="0.074213 0.130136 0.102242" />
		<baseColorConfiguration name="$l10n_Red" color="0.3 0.05 0.05"/>
		<baseColorConfiguration name="$l10n_Red" color="0.7 0.05 0.02"/>
		<baseColorConfiguration name="$l10n_Red" color="0.7 0.05 0"/>
		<baseColorConfiguration name="$l10n_Red" color="0.7 0.02 0.02"/>
		<baseColorConfiguration name="$l10n_Red" color="0.329 0.176 0.11"/>
		<baseColorConfiguration name="$l10n_Red" color="0.6 0.02 0"/>
		<baseColorConfiguration name="$l10n_Red" color="0.6 0.05 0"/>
		<baseColorConfiguration name="$l10n_Red" color="0.5 0.05 0.05"/>
		<baseColorConfiguration name="$l10n_Red" color="0.5 0.02 0.02"/>
		<baseColorConfiguration name="$l10n_Red" color="0.3 0.05 0.05"/>
		<baseColorConfiguration name="$l10n_Red" color="0.141263 0.059511 0.05448" />
		<baseColorConfiguration name="$l10n_Red" color="0.181164 0.078187 0.059511" />
		<baseColorConfiguration name="$l10n_Gray" color="0.18 0.18 0.18" isDefault="true"/>
		<baseColorConfiguration name="$l10n_Gray" color="0.22 0.22 0.22"/>
		<baseColorConfiguration name="$l10n_Gray" color="0.264 0.264 0.264"/>
		<baseColorConfiguration name="$l10n_Gray" color="0.06 0.06 0.06"/>
		<baseColorConfiguration name="$l10n_Gray" color="0.11 0.11 0.11"/>
		<baseColorConfiguration name="$l10n_Gray" color="0.2 0.22 0.2"/>
		<baseColorConfiguration name="$l10n_Gray" color="0.2 0.24 0.2"/>
		<baseColorConfiguration name="$l10n_Gray" color="0.24 0.24 0.2"/>
		<baseColorConfiguration name="$l10n_Gray" color="0.24 0.2 0.2"/>
		<baseColorConfiguration name="$l10n_Gray" color="0.24 0.25 0.2"/>
		<baseColorConfiguration name="$l10n_Gray" color="0.03 0.03 0.03"  />
		
        <material materialSlotName="przyczepa_slot" materialTemplateUseColorOnly="true"/>
    </baseColorConfigurations>

    <designColorConfigurations price="0" useDefaultColors="false">
        <designColorConfiguration name="$l10n_Green" color="0.1 0.184 0.126"  />
		<designColorConfiguration name="$l10n_Green" color="0.07 0.25 0.04"  />
		<designColorConfiguration name="$l10n_Green" color="0 0.21 0.1"  />
		<designColorConfiguration name="$l10n_Green" color="0 0.2 0.05"  />
		<designColorConfiguration name="$l10n_Green" color="0.02 0.24 0.05"  />
		<designColorConfiguration name="$l10n_Green" color="0.08 0.3 0.05"  />
		<designColorConfiguration name="$l10n_Green" color="0.26 0.2 0.15"  />
		<designColorConfiguration name="$l10n_Green" color="0.26 0.2 0.1"  />
		<designColorConfiguration name="$l10n_Green" color="0.26 0.25 0.13"  />
		<designColorConfiguration name="$l10n_Green" color="0.01 0.13 0.04"  />
		<designColorConfiguration name="$l10n_Green" color="0.15 0.35 0.06"  />
		<designColorConfiguration name="$l10n_Green" color="0 0.28 0.08"  />
		<designColorConfiguration name="$l10n_Green" color="0.1 0.21 0.06"  />
		<designColorConfiguration name="$l10n_Green" color="0.1 0.13 0.06"  />
		<designColorConfiguration name="$l10n_Green" color="0.19 0.13 0.08"  />
		<designColorConfiguration name="$l10n_Green" color="0.04 0.15 0.03"  />
        <designColorConfiguration name="$l10n_Green" color="0.05448 0.116971 0.078187" />
		<designColorConfiguration name="$l10n_Green" color="0.074213 0.130136 0.102242" />
		<designColorConfiguration name="$l10n_Red" color="0.3 0.05 0.05"  />
		<designColorConfiguration name="$l10n_Red" color="0.7 0.05 0.02"  />
		<designColorConfiguration name="$l10n_Red" color="0.7 0.05 0"  />
		<designColorConfiguration name="$l10n_Red" color="0.7 0.02 0.02"  />
		<designColorConfiguration name="$l10n_Red" color="0.329 0.176 0.11"  />
		<designColorConfiguration name="$l10n_Red" color="0.6 0.02 0"  />
		<designColorConfiguration name="$l10n_Red" color="0.6 0.05 0"  />
		<designColorConfiguration name="$l10n_Red" color="0.5 0.05 0.05"  />
		<designColorConfiguration name="$l10n_Red" color="0.5 0.02 0.02"  />
		<designColorConfiguration name="$l10n_Red" color="0.3 0.05 0.05"  />
		<designColorConfiguration name="$l10n_Red" color="0.141263 0.059511 0.05448" />
		<designColorConfiguration name="$l10n_Red" color="0.181164 0.078187 0.059511" />
		<designColorConfiguration name="$l10n_Gray" color="0.18 0.18 0.18"  isDefault="true"/>
		<designColorConfiguration name="$l10n_Gray" color="0.22 0.22 0.22"  />
		<designColorConfiguration name="$l10n_Gray" color="0.264 0.264 0.264"  />
		<designColorConfiguration name="$l10n_Gray" color="0.06 0.06 0.06"  />
		<designColorConfiguration name="$l10n_Gray" color="0.11 0.11 0.11"  />
		<designColorConfiguration name="$l10n_Gray" color="0.2 0.22 0.2"  />
		<designColorConfiguration name="$l10n_Gray" color="0.2 0.24 0.2"  />
		<designColorConfiguration name="$l10n_Gray" color="0.24 0.24 0.2"  />
		<designColorConfiguration name="$l10n_Gray" color="0.24 0.2 0.2"  />
		<designColorConfiguration name="$l10n_Gray" color="0.24 0.25 0.2"  />
		<designColorConfiguration name="$l10n_Gray" color="0.03 0.03 0.03"  />

        <material materialSlotName="piasta_slot" materialTemplateUseColorOnly="true"/>
    </designColorConfigurations>

    <rimColorConfigurations useDefaultColors="false" price="0">
        <rimColorConfiguration name="$l10n_Green" color="0.1 0.184 0.126"  />
		<rimColorConfiguration name="$l10n_Green" color="0.07 0.25 0.04"  />
		<rimColorConfiguration name="$l10n_Green" color="0 0.21 0.1"  />
		<rimColorConfiguration name="$l10n_Green" color="0 0.2 0.05"  />
		<rimColorConfiguration name="$l10n_Green" color="0.02 0.24 0.05"  />
		<rimColorConfiguration name="$l10n_Green" color="0.08 0.3 0.05"  />
		<rimColorConfiguration name="$l10n_Green" color="0.26 0.2 0.15"  />
		<rimColorConfiguration name="$l10n_Green" color="0.26 0.2 0.1"  />
		<rimColorConfiguration name="$l10n_Green" color="0.26 0.25 0.13"  />
		<rimColorConfiguration name="$l10n_Green" color="0.01 0.13 0.04"  />
		<rimColorConfiguration name="$l10n_Green" color="0.15 0.35 0.06"  />
		<rimColorConfiguration name="$l10n_Green" color="0 0.28 0.08"  />
		<rimColorConfiguration name="$l10n_Green" color="0.1 0.21 0.06"  />
		<rimColorConfiguration name="$l10n_Green" color="0.1 0.13 0.06"  />
		<rimColorConfiguration name="$l10n_Green" color="0.19 0.13 0.08"  />
		<rimColorConfiguration name="$l10n_Green" color="0.04 0.15 0.03"  />
        <rimColorConfiguration name="$l10n_Green" color="0.05448 0.116971 0.078187" />
		<rimColorConfiguration name="$l10n_Green" color="0.074213 0.130136 0.102242" />
		<rimColorConfiguration name="$l10n_Red" color="0.3 0.05 0.05"  />
		<rimColorConfiguration name="$l10n_Red" color="0.7 0.05 0.02"  />
		<rimColorConfiguration name="$l10n_Red" color="0.7 0.05 0"  />
		<rimColorConfiguration name="$l10n_Red" color="0.7 0.02 0.02"  />
		<rimColorConfiguration name="$l10n_Red" color="0.329 0.176 0.11"  />
		<rimColorConfiguration name="$l10n_Red" color="0.6 0.02 0"  />
		<rimColorConfiguration name="$l10n_Red" color="0.6 0.05 0"  />
		<rimColorConfiguration name="$l10n_Red" color="0.5 0.05 0.05"  />
		<rimColorConfiguration name="$l10n_Red" color="0.5 0.02 0.02"  />
		<rimColorConfiguration name="$l10n_Red" color="0.3 0.05 0.05"  />
        <rimColorConfiguration name="$l10n_Red" color="0.141263 0.059511 0.05448" />
		<rimColorConfiguration name="$l10n_Red" color="0.181164 0.078187 0.059511" />
		<rimColorConfiguration name="$l10n_Gray" color="0.18 0.18 0.18"  isDefault="true"/>
		<rimColorConfiguration name="$l10n_Gray" color="0.22 0.22 0.22"  />
		<rimColorConfiguration name="$l10n_Gray" color="0.264 0.264 0.264"  />
		<rimColorConfiguration name="$l10n_Gray" color="0.06 0.06 0.06"  />
		<rimColorConfiguration name="$l10n_Gray" color="0.11 0.11 0.11"  />
		<rimColorConfiguration name="$l10n_Gray" color="0.2 0.22 0.2"  />
		<rimColorConfiguration name="$l10n_Gray" color="0.2 0.24 0.2"  />
		<rimColorConfiguration name="$l10n_Gray" color="0.24 0.24 0.2"  />
		<rimColorConfiguration name="$l10n_Gray" color="0.24 0.2 0.2"  />
		<rimColorConfiguration name="$l10n_Gray" color="0.24 0.25 0.2"  />
		<rimColorConfiguration name="$l10n_Gray" color="0.03 0.03 0.03"  />
    </rimColorConfigurations>

    <attacherJoints>
        <attacherJoint node="0>0|0" jointType="trailer" lowerRotLimit="25 70 80" upperRotationOffset="0" allowsJointLimitMovement="false" canTurnOnImplement="false" >
            <schema position="1 0" rotation="0" invertX="false" />
        </attacherJoint>
        <sounds>
            <attach template="attach01" linkNode="0>" />
        </sounds>
    </attacherJoints>
	
	<ai>
        <allowTurnBackward value="false"/>
        <agentAttachment jointNode="0>0|0" rotCenterWheelIndices="1 2" width="3.1" height="4.2" length="5.5" lengthOffset="0.5"/>
    </ai>
	
	<foliageBending>
        <bendingNode minX="-1.15" maxX="1.15" minZ="-3.15" maxZ="3.15" yOffset="0.225" />
        <bendingNode minX="-0.2" maxX="0.2" minZ="0.25" maxZ="2" yOffset="-0.1" node="2>"/>
    </foliageBending>

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