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

    <storeData>
		<name>
			<en>22' Bale Trailer 1993</en>
			<de>22' Ballenanhänger 1993</de>
			<fr>22' Remorque À Balles 1993</fr>
		</name>
        <functions>
            <function>$l10n_function_baleTrailer</function>
        </functions>
        <image>store_trailer_1993.png</image>
        <price>4500</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>MARSTON</brand>
        <category>baleLoaders</category>
        <shopTranslationOffset>0 0 0</shopTranslationOffset>
        <shopRotationOffset>0 0 0</shopRotationOffset>
    </storeData>

    <base>
        <typeDesc>$l10n_function_baleTrailer</typeDesc>
        <filename>trailer_1993.i3d</filename>
        <size width="3" length="7" lengthOffset="0" />		
		<components>
			<component centerOfMass="0 0 0" solverIterationCount="10" mass="900"/>
			<component centerOfMass="0 0 0" solverIterationCount="10" mass="1300"/>
			<component centerOfMass="0 -0.05 0" solverIterationCount="10" mass="100"/>
			<joint component1="1" component2="2" node="componentJoint01" rotLimit="8 0 0" />
			<joint component1="1" component2="3" node="componentJoint02" rotLimit="8 0 0" />
        </components>
		<schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TRAILER" />
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="BKT" saveId="BKT_DEFAULT">
                <wheels>
                    <wheel filename="wheels/310_80R15_3.xml" isLeft="true">
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.55" repr="wheelFrontLeft" forcePointRatio="0.5" initialCompression="15" suspTravel="0.13" spring="50" damper="50" />
						<innerRim filename="wheels/ace10Wheels.i3d" nodeLeft="0|0" nodeRight="0|1" widthAndDiam="11 14" />
                    </wheel>
                    <wheel filename="wheels/310_80R15_3.xml" isLeft="false" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.55" repr="wheelFrontRight" forcePointRatio="0.5" initialCompression="15" suspTravel="0.13" spring="50" damper="50" />
						<innerRim filename="wheels/ace10Wheels.i3d" nodeLeft="0|0" nodeRight="0|1" widthAndDiam="11 14" />
                    </wheel>
					  <wheel filename="wheels/310_80R15_3.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.55" repr="wheelBackLeft" forcePointRatio="0.5" initialCompression="15" suspTravel="0.13" spring="50" damper="50" />
						<innerRim filename="wheels/ace10Wheels.i3d" nodeLeft="0|0" nodeRight="0|1" widthAndDiam="11 14" />
                    </wheel>
					<wheel filename="wheels/310_80R15_3.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.55" repr="wheelBackRight" forcePointRatio="0.5" initialCompression="15" suspTravel="0.13" spring="50" damper="50" />
						<innerRim filename="wheels/ace10Wheels.i3d" nodeLeft="0|0" nodeRight="0|1" widthAndDiam="11 14" />
                    </wheel>
                </wheels>
            </wheelConfiguration>
			<wheelConfiguration name="$l10n_configuration_valueDefault" price="0"  brand="TRELLEBORG" saveId="TRELLEBORG_DEFAULT">
                <wheels baseConfig="BKT_DEFAULT">
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW305/360_70R16.xml" >
						<innerRim widthAndDiam="11 15" />
					</wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW305/360_70R16.xml" >
						<innerRim widthAndDiam="11 15" />
					</wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW305/360_70R16.xml" >
						<innerRim widthAndDiam="11 15" />
					</wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW305/360_70R16.xml" >
						<innerRim widthAndDiam="11 15" />
					</wheel>
                </wheels>
				<objectChange node="hubBackLeft"    scaleActive="1.14 1.14 1.14" />
				<objectChange node="hubBackRight"   scaleActive="1.14 1.14 1.14" />
				<objectChange node="hubFrontLeft"   scaleActive="1.14 1.14 1.14" />
				<objectChange node="hubFrontRight"  scaleActive="1.14 1.14 1.14" />
			</wheelConfiguration>
			<wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="500"  brand="TRELLEBORG" saveId="TRELLEBORG_BROAD">
                <wheels baseConfig="BKT_DEFAULT">
                    <wheel filename="$data/shared/wheels/tires/trelleborg/T404/400_60R15_5.xml" >
						<innerRim widthAndDiam="11 14.4" />
					</wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/T404/400_60R15_5.xml" >
						<innerRim widthAndDiam="11 14.4" />
					</wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/T404/400_60R15_5.xml" >
						<innerRim widthAndDiam="11 14.4" />
					</wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/T404/400_60R15_5.xml" >
						<innerRim widthAndDiam="11 14.4" />
					</wheel>
                </wheels>
				<objectChange node="hubBackLeft"    scaleActive="1.1 1.1 1.1" />
				<objectChange node="hubBackRight"   scaleActive="1.1 1.1 1.1" />
				<objectChange node="hubFrontLeft"   scaleActive="1.1 1.1 1.1" />
				<objectChange node="hubFrontRight"  scaleActive="1.1 1.1 1.1" />
			</wheelConfiguration>
        </wheelConfigurations>
		<rimColor material="0">0.7 0.7 0.7</rimColor>
    </wheels>
	
	<designConfigurations>
		<designConfiguration name="$l10n_marstonUsed" price="0">
			<objectChange node="old" visibilityActive="true" />
			<objectChange node="new" visibilityActive="flase" />
        </designConfiguration>
		<designConfiguration name="$l10n_marstonNew" price="1500">
			<objectChange node="old" visibilityActive="flase" />
			<objectChange node="new" visibilityActive="true" />
        </designConfiguration>
    </designConfigurations>
	
	<design2Configurations title="$l10n_guard">
        <design2Configuration name="$l10n_frontGuard" price="0" >
            <objectChange node="backGuardMeshNew" visibilityActive="false" />
			<objectChange node="backGuardMeshOld" visibilityActive="false" />
			<objectChange node="backGuardCol" compoundChildActive="flase" />
        </design2Configuration>
        <design2Configuration name="$l10n_frontRearGuard" price="1000" >
            <objectChange node="backGuardMeshNew" visibilityActive="true" />
			<objectChange node="backGuardMeshOld" visibilityActive="true" />
			<objectChange node="backGuardCol" compoundChildActive="true" />
        </design2Configuration>
    </design2Configurations>
		
	<design3Configurations title="$l10n_beacon">
        <design3Configuration name="$l10n_no" price="0" >
            <objectChange node="beaconLightLeft" visibilityActive="false" />
			<objectChange node="beaconLightRight" visibilityActive="false" />
			<objectChange node="beaconLightBottom" visibilityActive="false" />
        </design3Configuration>
        <design3Configuration name="$l10n_left" price="100" >
            <objectChange node="beaconLightLeft" visibilityActive="true" />
			<objectChange node="beaconLightRight" visibilityActive="false" />
			<objectChange node="beaconLightBottom" visibilityActive="false" />
        </design3Configuration>
		<design3Configuration name="$l10n_right" price="150" >
            <objectChange node="beaconLightLeft" visibilityActive="false" />
			<objectChange node="beaconLightRight" visibilityActive="true" />
			<objectChange node="beaconLightBottom" visibilityActive="false" />
        </design3Configuration>
		<design3Configuration name="$l10n_bottom" price="100" >
            <objectChange node="beaconLightLeft" visibilityActive="false" />
			<objectChange node="beaconLightRight" visibilityActive="false" />
			<objectChange node="beaconLightBottom" visibilityActive="true" />
        </design3Configuration>
    </design3Configurations>
	
	<configurationSets title="$l10n_version" >
        <configurationSet name="$l10n_used" params="used">
			<configuration name="design" index="1" />
            <configuration name="baseMaterial" index="2" />
			<configuration name="designMaterial" index="2" />
			<configuration name="rimColor" index="2" />
        </configurationSet>
        <configurationSet name="$l10n_new" params="new">
			<configuration name="design" index="2" />
			<configuration name="baseMaterial" index="1" />
			<configuration name="designMaterial" index="1" />
			<configuration name="rimColor" index="1" />
		</configurationSet>
		<configurationSet name="$l10n_modern" params="modern">
			<configuration name="design" index="2" />
			<configuration name="baseMaterial" index="1" />
			<configuration name="designMaterial" index="4" />
			<configuration name="rimColor" index="3" />
		</configurationSet>
		<configurationSet name="$l10n_custom" params="custom"/>
    </configurationSets>
	
	<licensePlates>
        <licensePlate node="licensePlateNodeBack"  position="BACK" preferedType="ELONGATED" placementArea="- 0.23 0.3 0.23"/>
    </licensePlates>
    
    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicIn01Adapter"  filename="$data/shared/connectionHoses/connectors.i3d" />
		<dynamicallyLoadedPart node="1|1" linkNode="electric01Adapter"  filename="$data/shared/connectionHoses/connectors.i3d" />
    </dynamicallyLoadedParts>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="trailer" attacherHeight="0.49" />
        </inputAttacherJoints>
        <brakeForce force="0.35" maxForce="1.2"/>
    </attachable>


    <connectionHoses>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="hydraulicIn01"  length="1.7" diameter="0.02">
            <objectChange node="hydraulicIn01Detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
		<hose inputAttacherJointIndices="1" type="electric"  node="electricIn01"  length="1.7" diameter="0.007">
            <objectChange node="electricIn01Detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>

    <lights>
        <realLights>
            <high>
				<light node="frontLightsHigh" lightTypes="0" />
                <light node="backLightsHigh" lightTypes="0" />
				<light node="backLightsHigh2" lightTypes="0" />
				<light node="licensePlateLightHigh" lightTypes="0" />
                <turnLightLeft node="turnLightLeftBack" />
                <turnLightRight node="turnLightRightBack" />
                <brakeLight node="backLightsHigh" />
            </high>
        </realLights>
		
		<defaultLights>
            <defaultLight shaderNode="defaultStaticGlass_left" lightTypes="0"/>
            <defaultLight shaderNode="defaultStaticGlass_right" lightTypes="0"/>
            <defaultLight shaderNode="marstonFrontLightLeftGlass_red" lightTypes="0"/>
            <defaultLight shaderNode="marstonFrontLightRightGlass_red" lightTypes="0"/>
			<defaultLight shaderNode="marstonFrontLightLeftGlass_white" lightTypes="0"/>
            <defaultLight shaderNode="marstonFrontLightRightGlass_white" lightTypes="0"/>
        </defaultLights>

        <brakeLights>
            <brakeLight shaderNode="defaultStaticGlass_left" />
			<brakeLight shaderNode="defaultStaticGlass_right" />
        </brakeLights>

        <turnLights>
            <turnLightLeft shaderNode="turnlightStaticGlass_left" />
            <turnLightRight shaderNode="turnlightStaticGlass_right" />
        </turnLights>

		 <beaconLights>
            <beaconLight node="beaconLightLeft" filename="$data/shared/assets/beaconLights/lizard/beaconLight06.xml"/>
			<beaconLight node="beaconLightRight" filename="$data/shared/assets/beaconLights/lizard/beaconLight06.xml"/>
			<beaconLight node="beaconLightBottom" filename="$data/shared/assets/beaconLights/lizard/beaconLight06.xml"/>
        </beaconLights>
		
		<sharedLight linkNode="reflector01"     filename="$data/shared/assets/reflectors/lizard/redTriangle_02.xml" />
        <sharedLight linkNode="reflector02"     filename="$data/shared/assets/reflectors/lizard/redTriangle_02.xml" />
    </lights>
	
	<tensionBelts>
        <tensionBeltsConfigurations>
            <tensionBeltsConfiguration>
                <tensionBelts linkNode="tensionBelts" jointNode="marston22ftBaleTrailer_amain_component1" width="0.075" maxEdgeLength="0.1" geometryBias="0.01" ratchetPosition="0.3" defaultOffset="0.5" defaultOffsetSide="0.1" defaultHeight="4" activationTrigger="beltActivationTrigger">
                    <tensionBelt startNode="tensionBeltStart1" endNode="tensionBeltEnd1" offsetLeft="0.2" />
                    <tensionBelt startNode="tensionBeltStart2" endNode="tensionBeltEnd2" />
                    <tensionBelt startNode="tensionBeltStart3" endNode="tensionBeltEnd3" />
                    <tensionBelt startNode="tensionBeltStart4" endNode="tensionBeltEnd4" />
                    <tensionBelt startNode="tensionBeltStart5" endNode="tensionBeltEnd5" />
					<tensionBelt startNode="tensionBeltStart6" endNode="tensionBeltEnd6" />
					<tensionBelt startNode="tensionBeltStart7" endNode="tensionBeltEnd7" offsetRight="0.2" />
					
					<sounds>
                        <addBelt template="beltOpen" />
                        <removeBelt template="beltClose" />
                    </sounds>
                </tensionBelts>
            </tensionBeltsConfiguration>
        </tensionBeltsConfigurations>
    </tensionBelts>
	
    <ai>
        <allowTurnBackward value="false"/>
        <turningRadiusLimitation radius="8"/>
		<agentAttachment jointNode="attacherJoint" rotCenterWheelIndices="1 2" width="2.6" height="2.7" length="6.8" lengthOffset="0.3" hasCollision="false"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-1.3" maxX="1.3" minZ="-4.1" maxZ="2.7" yOffset="0.6" />
    </foliageBending>

	<baseMaterial>
		<material name="marston22ftBaleTrailer_mat" baseNode="marston22ftBaleTrailer_vis">
            <shaderParameter name="colorMat0" material="0" value="0.01 0.111 0.325"/>
        </material>
		<material name="marstonRims_mat" baseNode="hubBackRight">
            <shaderParameter name="colorMat1" material="0" value="0.01 0.111 0.325"/>
        </material>
    </baseMaterial>
	
	<baseMaterialConfigurations price="500" useDefaultColors="true">
		<baseMaterialConfiguration name="$l10n_marstonNew" color="0.01 0.111 0.325"  material="0"/>
		<baseMaterialConfiguration name="$l10n_marstonUsed" color="0.035 0.124 0.263" material="6"/>
		<material name="marston22ftBaleTrailer_mat" shaderParameter="colorMat0" />
    </baseMaterialConfigurations>
	
	<designMaterialConfigurations price="0" useDefaultColors="true" defaultColorIndex="0" title="$l10n_hubs">
        <designMaterialConfiguration name="$l10n_marstonNew"  	 color="0.7 0.7 0.7" 		material="0"/>
		<designMaterialConfiguration name="$l10n_marstonUsed"  	 color="0.7 0.7 0.7" 		material="6"/>
		<designMaterialConfiguration name="$l10n_ui_colorSilver" color="0.7 0.7 0.7" 		material="27"/>
		<designMaterialConfiguration name="$l10n_marstonNew"  	 color="0.01 0.111 0.325"   material="0"/>
		<designMaterialConfiguration name="$l10n_marstonUsed" 	 color="0.035 0.124 0.263"  material="6"/>
		<material name="marstonRims_mat" shaderParameter="colorMat1" />
    </designMaterialConfigurations>
	
	<rimColorConfigurations useDefaultColors="true" >
		<rimColorConfiguration name="$l10n_marstonNew"  	color="0.7 0.7 0.7" material="0"  price="0"/>
		<rimColorConfiguration name="$l10n_marstonUsed"  	color="0.7 0.7 0.7" material="6"  price="0"/>
		<rimColorConfiguration name="$l10n_ui_colorSilver" 	color="0.7 0.7 0.7" material="27" price="250"/>
    </rimColorConfigurations>
	
    <wearable wearDuration="480" workMultiplier="3" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>

    <i3dMappings>
		<i3dMapping id="marston22ftBaleTrailer_amain_component1" node="0>" />
		<i3dMapping id="backGuardCol" node="0>0|0" />
		<i3dMapping id="componentJoint01" node="0>1" />
		<i3dMapping id="componentJoint02" node="0>2" />
		<i3dMapping id="marston22ftBaleTrailer_vis" node="0>3" />
		<i3dMapping id="attacherJoint" node="0>3|0|0" />
		<i3dMapping id="electricIn01" node="0>3|0|2" />
		<i3dMapping id="electricIn01Detached" node="0>3|0|2|0" />
		<i3dMapping id="electric01Adapter" node="0>3|0|2|0|0" />
		<i3dMapping id="hydraulicIn01" node="0>3|0|3" />
		<i3dMapping id="hydraulicIn01Detached" node="0>3|0|3|0" />
		<i3dMapping id="hydraulicIn01Adapter" node="0>3|0|3|0|0" />
		<i3dMapping id="new" node="0>3|1|0" />
		<i3dMapping id="backGuardMeshNew" node="0>3|1|0|0" />
		<i3dMapping id="frontGuardMeshNew" node="0>3|1|0|1" />
		<i3dMapping id="old" node="0>3|1|1" />
		<i3dMapping id="backGuardMeshOld" node="0>3|1|1|0" />
		<i3dMapping id="frontGuardMeshOld" node="0>3|1|1|1" />
		<i3dMapping id="marstonFrontLightLeftGlass_red" node="0>3|2|0|0|0" />
		<i3dMapping id="marstonFrontLightLeftGlass_white" node="0>3|2|0|1|0" />
		<i3dMapping id="marstonFrontLightRightGlass_red" node="0>3|2|0|2|0" />
		<i3dMapping id="marstonFrontLightRightGlass_white" node="0>3|2|0|3|0" />
		<i3dMapping id="defaultStaticGlass_left" node="0>3|2|0|4|1" />
		<i3dMapping id="turnlightStaticGlass_left" node="0>3|2|0|4|2" />
		<i3dMapping id="defaultStaticGlass_right" node="0>3|2|0|5|1" />
		<i3dMapping id="turnlightStaticGlass_right" node="0>3|2|0|5|2" />
		<i3dMapping id="reflector01" node="0>3|2|0|6" />
		<i3dMapping id="reflector02" node="0>3|2|0|7" />
		<i3dMapping id="frontLightsHigh" node="0>3|2|1|0" />
		<i3dMapping id="backLightsHigh" node="0>3|2|2|0" />
		<i3dMapping id="backLightsHigh2" node="0>3|2|2|1" />
		<i3dMapping id="licensePlateLightHigh" node="0>3|2|2|2" />
		<i3dMapping id="turnLightLeftBack" node="0>3|2|3|0" />
		<i3dMapping id="turnLightRightBack" node="0>3|2|3|1" />
		<i3dMapping id="beaconLightBottom" node="0>3|2|4|0" />
		<i3dMapping id="beaconLightLeft" node="0>3|2|4|1" />
		<i3dMapping id="beaconLightRight" node="0>3|2|4|2" />
		<i3dMapping id="tensionBelts" node="0>3|3" />
		<i3dMapping id="beltActivationTrigger" node="0>3|3|0" />
		<i3dMapping id="tensionBeltStart1" node="0>3|3|1" />
		<i3dMapping id="tensionBeltEnd1" node="0>3|3|1|0" />
		<i3dMapping id="tensionBeltStart2" node="0>3|3|2" />
		<i3dMapping id="tensionBeltEnd2" node="0>3|3|2|0" />
		<i3dMapping id="tensionBeltStart3" node="0>3|3|3" />
		<i3dMapping id="tensionBeltEnd3" node="0>3|3|3|0" />
		<i3dMapping id="tensionBeltStart4" node="0>3|3|4" />
		<i3dMapping id="tensionBeltEnd4" node="0>3|3|4|0" />
		<i3dMapping id="tensionBeltStart5" node="0>3|3|5" />
		<i3dMapping id="tensionBeltEnd5" node="0>3|3|5|0" />
		<i3dMapping id="tensionBeltStart6" node="0>3|3|6" />
		<i3dMapping id="tensionBeltEnd6" node="0>3|3|6|0" />
		<i3dMapping id="tensionBeltStart7" node="0>3|3|7" />
		<i3dMapping id="tensionBeltEnd7" node="0>3|3|7|0" />
		<i3dMapping id="licensePlateNodeBack" node="0>3|4|2" />
		<i3dMapping id="marston22ftBaleTrailer_axle_component2" node="1>" />
		<i3dMapping id="axleFrontRef" node="1>1|0" />
		<i3dMapping id="axleRearRef" node="1>1|1" />
		<i3dMapping id="wheelBackLeft" node="1>3" />
		<i3dMapping id="hubBackLeft" node="1>3|0" />
		<i3dMapping id="wheelBackRight" node="1>4" />
		<i3dMapping id="hubBackRight" node="1>4|0" />
		<i3dMapping id="wheelFrontLeft" node="1>5" />
		<i3dMapping id="hubFrontLeft" node="1>5|0" />
		<i3dMapping id="wheelFrontRight" node="1>6" />
		<i3dMapping id="hubFrontRight" node="1>6|0" />
		<i3dMapping id="marston22ftBaleTrailer_support_component3" node="2>" />
    </i3dMappings>
</vehicle>
