<?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>
            <en>Two-wheeled trailer</en>
		    <de>Zweiradanhänger</de>
		    <pl>Dwukółka</pl>
        </name>
        <functions>
            <function>$l10n_function_tipper</function>
        </functions>
        <image>store_dwukolka.png</image>
         <price>2050</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>trailers</category>
        <shopTranslationOffset>0 0 -0.45</shopTranslationOffset>
        <shopRotationOffset>0 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>1507584</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>541952</indexBufferMemoryUsage>
        <textureMemoryUsage>3473408</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_tipper</typeDesc>
        <filename>dwukolka.i3d</filename>
        <size width="2.05" height="2.05" length="4.05" />
        <components maxMass="1900">
            <component centerOfMass="-0.00 0.4 0.27" solverIterationCount="10" mass="350"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT"/>
        <mapHotspot type="TRAILER"/>
    </base>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>0|0" jointType="trailerLow" attacherHeight="0.0"/>
            <inputAttacherJoint node="0>0|0" jointType="trailerCar" attacherHeight="0.0"/>
        </inputAttacherJoints>
        <support animationName="moveSupport" />
        <brakeForce force="0.15"/>

        <sounds>
            <active file="$data/sounds/tools/trailer/trailerRattle_02.wav" innerRadius="10" outerRadius="50" volumeScale="9" isLocalSound="true" pitchScale="1.15">
                <volume indoor="0.6" outdoor="0.9" >
                    <modifier type="WHEEL_SUSPENSION" value="-0.05" modifiedValue="0.3"/>
                    <modifier type="WHEEL_SUSPENSION" value="-0.02" modifiedValue="0.2"/>
                    <modifier type="WHEEL_SUSPENSION" value="-0.01" modifiedValue="0.1"/>
                    <modifier type="WHEEL_SUSPENSION" value="0.00" modifiedValue="0.0"/>
                    <modifier type="WHEEL_SUSPENSION" value="0.01" modifiedValue="0.1"/>
                    <modifier type="WHEEL_SUSPENSION" value="0.02" modifiedValue="0.2"/>
                    <modifier type="WHEEL_SUSPENSION" value="0.05" modifiedValue="0.3"/>

                    <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>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="I" price="0" brand="BKT" saveId="BKT_DEFAULT1">
                <wheels>
                    <wheel filename="kola/bkt_7_50__16.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.3" repr="0>0|1|0" forcePointRatio="0.5" initialCompression="20" suspTravel="0.09" spring="85" damper="50" frictionScale="2.5"/>
                    </wheel>
                    <wheel filename="kola/bkt_7_50__16.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.3" repr="0>0|1|1" forcePointRatio="0.5" initialCompression="20" suspTravel="0.09" spring="85" damper="50" frictionScale="2.5"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>

    <lights>
        <sharedLight linkNode="0>0|2|0"  filename="$data/shared/assets/lights/lizard/rearLight08_left.xml" />
        <sharedLight linkNode="0>0|2|1" filename="$data/shared/assets/lights/lizard/rearLight08_right.xml" />

        <realLights>
            <high>
                <light          node="0>0|2|2|0" lightTypes="0" />
                <turnLightLeft  node="0>0|2|3|0" />
                <turnLightRight node="0>0|2|3|1" />
                <brakeLight     node="0>0|2|2|0" />
            </high>
        </realLights>
    </lights>

    <connectionHoses>
		<hose inputAttacherJointIndices="1" type="electric" node="0>0|5|1" length="0.8" diameter="0.010" straighteningFactor="1">
           <objectChange node="0>0|5|2" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>

    <animations>
        <animation name="moveSupport">
            <part node="0>0|7" startTime="0" endTime="0.5" startTrans="0 0.5 0" endTrans="0 0 0" />
			<part node="0>0|6" startTime="0" endTime="0.001" visibility="false" />
			<part node="0>0|6" startTime="0.001" endTime="0.002" visibility="true" />
        </animation>

        <animation name="burta_tyl">
            <part node="0>0|3|0|2|1|0" startTime="0.0" endTime="0.25" startTrans="0 0 0" endTrans="0 0.08 0"/>
            <part node="0>0|3|0|2|3|0" startTime="0.25" endTime="0.50" startTrans="0 0 0" endTrans="0 0.08 0"/>

            <part node="0>0|3|0|2|0" startTime="0.5" endTime="1.0" startRot="0 0 0" endRot="0 -30 0"/>
            <part node="0>0|3|0|2|0|0" startTime="0.5" endTime="1.0" startRot="0 0 0" endRot="0 60 0"/>
            <part node="0>0|3|0|2|2" startTime="1.0" endTime="1.50" startRot="0 0 0" endRot="0 30 0"/>
            <part node="0>0|3|0|2|2|0" startTime="1.0" endTime="1.50" startRot="0 0 0" endRot="0 -60 0"/>

            <part node="0>0|3|0|2|1|0" startTime="1.50" endTime="1.75" startTrans="0 0.08 0" endTrans="0 0 0"/>
            <part node="0>0|3|0|2|3|0" startTime="1.75" endTime="2.0" startTrans="0 0.08 0" endTrans="0 0 0"/>

            <part node="0>0|3|0" startTime="2.50" endTime="4" startRot="0 0 0" endRot="-180 0 0"/>

            <sound template="clackVar1" startTime="0.50" direction="1" volumeScale="1.5" pitchScale="1.8"/>
            <sound template="clackVar2" startTime="0.50" direction="-1" volumeScale="1.5" pitchScale="1.5"/>
            <sound template="hingeMedium" startTime="2.50" direction="1" volumeScale="2.5" pitchScale="0.5"/>
            <sound template="hingeMedium" startTime="3.9" direction="-1" volumeScale="2.5" pitchScale="0.6"/>
            <sound template="vibratingImp" startTime="2.50" direction="-1" volumeScale="1.8" pitchScale="0.7"/>
            <sound template="vibratingImp" startTime="3.9" direction="1" volumeScale="1.2" pitchScale="0.5"/>
			<sound template="clackVar1" startTime="1.50" direction="1" volumeScale="1.5" pitchScale="1.8"/>
            <sound template="clackVar2" startTime="1.50" direction="-1" volumeScale="1.5" pitchScale="1.5"/>
        </animation>
    </animations>

    <foldable>
        <foldingConfigurations>
            <foldingConfiguration>
                <foldingParts>
                    <foldingPart animationName="burta_tyl"/>
                </foldingParts>
            </foldingConfiguration>
        </foldingConfigurations>
    </foldable>

    <configurationSets>
        <configurationSet  name="$l10n_configuration_valueLoadingWagon">
            <configuration name="tensionBelts" index="1" />
            <configuration name="fillVolume"   index="1" />
            <configuration name="fillUnit"     index="1" />
            <configuration name="trailer"      index="1" />
        </configurationSet>
        <configurationSet  name="$l10n_configuration_capacityX" params="2000" isDefault="true">
            <configuration name="tensionBelts" index="1" />
            <configuration name="fillVolume"   index="2" />
            <configuration name="fillUnit"     index="2" />
            <configuration name="trailer"      index="2" />
        </configurationSet>
    </configurationSets>

    <livestockTrailer>
        <animal type="sheep" node="0>0|10|1" numSlots="2" />
        <animal type="pig"   node="0>0|10|2"   numSlots="4" />
        <animal type="cow"   node="0>0|10|0"   numSlots="1" />
    </livestockTrailer>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration name="$l10n_configuration_valueTrailer0L" price="0" >
                <fillUnits>
                    <fillUnit shopDisplayUnit="CUBICMETER" fillTypeCategories="BULK" capacity="0" />
                </fillUnits>
            </fillUnitConfiguration>

            <fillUnitConfiguration name="$l10n_configuration_capacityX" price="0" params="2000">
                <fillUnits>
                    <fillUnit shopDisplayUnit="CUBICMETER" fillTypeCategories="BULK" capacity="2000" allowAILoading="true">
                        <exactFillRootNode node="0>0|4|1" />
                        <autoAimTargetNode node="0>0|4|2" startZ="-0.02" endZ="-0.99" invert="false" startPercentage="25"/>
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration />

            <fillVolumeConfiguration>
                <volumes>
                    <volume node="0>0|4|0" maxDelta="0.23" maxAllowedHeapAngle="18" fillUnitIndex="1" />
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>

        <unloadInfos>
            <unloadInfo>
                <node node="0>0|4|3" width="2.0" length="1.0" />
            </unloadInfo>
        </unloadInfos>
    </fillVolume>

    <trailer>
        <trailerConfigurations>
            <trailerConfiguration/>
            <trailerConfiguration>
                <trailer>
                    <tipSide name="$l10n_info_tipSideBack" dischargeNodeIndex="1">
                        <animation name="burta_tyl" speedScale="1" startTipTime="0.55"/>
                    </tipSide>
                </trailer>
            </trailerConfiguration>
        </trailerConfigurations>
    </trailer>

    <dischargeable>
        <dischargeNode node="0>0|4|4" emptySpeed="55" fillUnitIndex="1" unloadInfoIndex="1" allowAIDischarge="true">
            <info width="1.5" length="1.0" />
            <effects>
                <effectNode effectClass="TipEffect">
                    <effectNode effectNode="0>0|4|5|0|2" effectClass="ParticleEffect" materialType="unloadingParticle" />
                    <effectNode effectNode="0>0|4|5|0|0" materialType="unloading" materialTypeId="1" fadeTime="2.5" extraDistanceNode="0>0|4|4" extraDistance="0"/>
                </effectNode>
                <effectNode effectNode="0>0|4|5|0|1" materialType="unloadingSmoke"  materialTypeId="1" fadeTime="2.5"/>
            </effects>
        </dischargeNode>
    </dischargeable>

    <tensionBelts>
        <tensionBeltsConfigurations>
            <tensionBeltsConfiguration>
                <tensionBelts linkNode="0>0|12" jointNode="0>" maxEdgeLength="0.1" geometryBias="0.01" ratchetPosition="0.2" defaultOffset="0.1" defaultOffsetSide="0.1" defaultHeight="4" activationTrigger="0>0|11">
                    <tensionBelt startNode="0>0|12|0" endNode="0>0|12|0|0" />
                    <tensionBelt startNode="0>0|12|1" endNode="0>0|12|1|0" />
                    <tensionBelt startNode="0>0|12|2" endNode="0>0|12|2|0" />
                    <tensionBelt startNode="0>0|12|3" endNode="0>0|12|3|0" />
                    <sounds>
                        <addBelt template="beltOpen" />
                        <removeBelt template="beltClose" />
                    </sounds>
                </tensionBelts>
            </tensionBeltsConfiguration>
        </tensionBeltsConfigurations>
    </tensionBelts>

    <designConfigurations title="$l10n_kratki">
        <designConfiguration name="$l10n_ui_no" price="0">
            <objectChange node="0>0|9|2" visibilityActive="false" visibilityInactive="true"/>
        </designConfiguration>
        <designConfiguration name="$l10n_ui_yes" price="50" isDefault="true">
            <objectChange node="0>0|9|2" visibilityActive="true" visibilityInactive="false"/>
        </designConfiguration>
    </designConfigurations>

    <design2Configurations title="$l10n_burty">
        <design2Configuration name="$l10n_plaskie" price="0" isDefault="true">
            <objectChange node="0>0|9|0|0" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="0>0|9|0|1" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="0>0|9|0|2" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="0>0|3|0|1|0" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="0>0|3|0|1|1" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="0>0|3|0|1|2" visibilityActive="false" visibilityInactive="true"/>
        </design2Configuration>
        <design2Configuration name="$l10n_falowane" price="0">
            <objectChange node="0>0|9|0|0" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="0>0|9|0|1" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="0>0|9|0|2" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="0>0|3|0|1|0" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="0>0|3|0|1|1" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="0>0|3|0|1|2" visibilityActive="false" visibilityInactive="true"/>
        </design2Configuration>
        <design2Configuration name="$l10n_drewniane" price="0">
            <objectChange node="0>0|9|0|0" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="0>0|9|0|1" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="0>0|9|0|2" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="0>0|3|0|1|0" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="0>0|3|0|1|1" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="0>0|3|0|1|2" visibilityActive="true" visibilityInactive="false"/>
        </design2Configuration>
    </design2Configurations>

    <design3Configurations title="$l10n_odblaski">
        <design3Configuration name="$l10n_ui_no" price="0">
            <objectChange node="0>0|9|0|1|0" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="0>0|9|0|0|0" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="0>0|9|0|2|0" visibilityActive="false" visibilityInactive="true"/>
        </design3Configuration>
        <design3Configuration name="$l10n_ui_yes" price="50" isDefault="true">
            <objectChange node="0>0|9|0|1|0" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="0>0|9|0|0|0" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="0>0|9|0|2|0" visibilityActive="true" visibilityInactive="false"/>
        </design3Configuration>
    </design3Configurations>

    <design4Configurations title="$l10n_podloga">
        <design4Configuration name="$l10n_blacha" price="0">
            <objectChange node="0>0|9|1|1" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="0>0|9|1|0" visibilityActive="true" visibilityInactive="false"/>
        </design4Configuration>
        <design4Configuration name="$l10n_deski" price="0" isDefault="true">
            <objectChange node="0>0|9|1|1" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="0>0|9|1|0" visibilityActive="false" visibilityInactive="true"/>
        </design4Configuration>
    </design4Configurations>

    <baseColorConfigurations price="0" title="$l10n_kolor_ramy" useDefaultColors="false">
		<baseColorConfiguration name="$l10n_Gray" color="0.12 0.12 0.12" />
		<baseColorConfiguration name="$l10n_Gray" color="0.17 0.17 0.17" />
        <baseColorConfiguration name="$l10n_Gray" color="0.2 0.2 0.2" isDefault="true"/>
		<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_Blue" color="0.06301 0.093059 0.082283" />
		<baseColorConfiguration name="$l10n_Blue" color="0.05 0.1 0.14" />
		<baseColorConfiguration name="$l10n_Blue" color="0.059511 0.097587 0.090842" />
		<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_Black" color="0.04 0.0405 0.0405" />
		
        <material materialSlotName="rama_slot" materialTemplateUseColorOnly="true"/>
    </baseColorConfigurations>

    <designColorConfigurations price="0" title="$l10n_kolor_burt" useDefaultColors="false">
		<designColorConfiguration name="$l10n_Gray" color="0.12 0.12 0.12" />
		<designColorConfiguration name="$l10n_Gray" color="0.17 0.17 0.17" />
        <designColorConfiguration name="$l10n_Gray" color="0.2 0.2 0.2" isDefault="true"/>
		<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_Blue" color="0.06301 0.093059 0.082283" />
        <designColorConfiguration name="$l10n_Blue" color="0.05 0.1 0.14" />
		<designColorConfiguration name="$l10n_Blue" color="0.059511 0.097587 0.090842" />
		<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_Black" color="0.04 0.0405 0.0405" />

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

    <designColor2Configurations price="0" title="$l10n_kolor_piast" useDefaultColors="false">
		<designColor2Configuration name="$l10n_Gray" color="0.12 0.12 0.12" />
		<designColor2Configuration name="$l10n_Gray" color="0.17 0.17 0.17" />
        <designColor2Configuration name="$l10n_Gray" color="0.2 0.2 0.2" />
		<designColor2Configuration name="$l10n_Green" color="0.05448 0.116971 0.078187" />
		<designColor2Configuration name="$l10n_Green" color="0.074213 0.130136 0.102242" />
		<designColor2Configuration name="$l10n_Blue" color="0.06301 0.093059 0.082283" />
        <designColor2Configuration name="$l10n_Blue" color="0.05 0.1 0.14" />
		<designColor2Configuration name="$l10n_Blue" color="0.059511 0.097587 0.090842" />
		<designColor2Configuration name="$l10n_Red" color="0.141263 0.059511 0.05448" />
		<designColor2Configuration name="$l10n_Red" color="0.181164 0.078187 0.059511" />
        <designColor2Configuration name="$l10n_Black" color="0.04 0.0405 0.0405" isDefault="true"/>

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

    <rimColorConfigurations useDefaultColors="false" price="0">
        <rimColorConfiguration name="$l10n_Gray" color="0.12 0.12 0.12" />
		<rimColorConfiguration name="$l10n_Gray" color="0.17 0.17 0.17" />
        <rimColorConfiguration name="$l10n_Gray" color="0.2 0.2 0.2" />
		<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_Blue" color="0.06301 0.093059 0.082283" />
		<rimColorConfiguration name="$l10n_Blue" color="0.05 0.1 0.14" />
		<rimColorConfiguration name="$l10n_Blue" color="0.059511 0.097587 0.090842" />
		<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_Black" color="0.04 0.0405 0.0405" isDefault="true"/>
    </rimColorConfigurations>

    <foliageBending>
        <bendingNode minX="-0.605" maxX="0.605" minZ="-1.255" maxZ="1.255" yOffset="0.3205" />
    </foliageBending>

    <ai>
        <allowTurnBackward value="false"/>
        <turningRadiusLimitation radius="8"/>
        <agentAttachment jointNode="0>0|0" rotCenterWheelIndices="1 2" useSize="true"/>
    </ai>

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