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

    <storeData>
        <name>Adak Trailer</name>
		<specs>
            <combination>Truck, Dolly</combination>
        </specs> 
		<functions>
            <function>$l10n_function_lowLoader</function>
        </functions>
        <image>store.dds</image>
        <price>16000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>ADAK</brand>
        <category>misc</category>
        <vertexBufferMemoryUsage>384432</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>63456</indexBufferMemoryUsage>
        <textureMemoryUsage>7733440</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

	<base>
        <typeDesc>$l10n_typeDesc_trailer</typeDesc>
        <filename>Adak2.i3d</filename>
        <size width="3" length="13" lengthOffset="0.3"/>
        <components>
            <component centerOfMass="0 0.5 0" solverIterationCount="4" mass="1500" />
		</components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT"/>
        <mapHotspot type="TRAILER" />
    </base>
	
	<attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="trailer"/>
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
        <brakeForce force="0.5" maxForce="1.4" maxForceMass="8000"/>
    </attachable>

    <ai>
        <agentAttachment jointNode="attacherJoint" rotCenterWheelIndices="1 2" width="2.4" height="2.5" length="3.5" lengthOffset="0.2"/>
    </ai>

    <animations>
        <animation name="moveSupport">
            <part node="jackSupport" startTime="0" endTime="1" startTrans="0 0.543 0" endTrans="0 0 0"/>
        </animation>
    </animations>

    <foliageBending>
        <bendingNode minX="-1.3" maxX="1.3" minZ="-5.8" maxZ="6.3" yOffset="0.6" />
    </foliageBending>

    <wearable wearDuration="480" workMultiplier="50" fieldMultiplier="25"/>
    <washable dirtDuration="10" washDuration="2" workMultiplier="3" fieldMultiplier="7"/>
	
	
	<wheels>
        <wheelConfigurations>
             <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels autoRotateBackSpeed="2.5">
                    <wheel hasParticles="true" hasTireTracks="true">
                        <physics rotSpeed="1" restLoad="0.5"  repr="WheelfL" driveNode="NWheelfL"  radius="0.595" width="0.27" forcePointRatio="0.5" initialCompression="25" suspTravel="0.13" spring="14" damper="3" frictionScale="3" />
                        <tire tireTrackAtlasIndex="1" />
                    </wheel>
                    <wheel hasParticles="true" hasTireTracks="true">
                        <physics rotSpeed="1" restLoad="0.5"  repr="WheelfR" driveNode="NWheelfR" radius="0.595" width="0.27" forcePointRatio="0.5" initialCompression="25" suspTravel="0.13" spring="14" damper="3" frictionScale="3" />
                        <tire tireTrackAtlasIndex="1" />
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
	</wheels>
	
	<connectionHoses>
        <hose inputAttacherJointIndices="1" type="electric"  node="electricBack"  length="0.3" diameter="0.008" straighteningFactor="0.5">
            <objectChange node="electricBackAdapter" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="1|1" linkNode="electricBackAdapter"  filename="$data/shared/connectionHoses/connectors.i3d" />
    </dynamicallyLoadedParts>
    
    
    <lights>

        <defaultLights>
            <defaultLight shaderNode="rearred1" lightTypes="0" />
            <defaultLight shaderNode="rearred2" lightTypes="0" />	
        </defaultLights>
		
        <turnLights>
            <turnLightLeft shaderNode="turnleft" />	
            <turnLightRight shaderNode="turnright" />			
        </turnLights>
		
		<brakeLights>		
        <brakeLight shaderNode="rearred1" intensity="50"/>				
        </brakeLights>

		<reverseLights>
            <reverseLight shaderNode="reverseLightStatic"/>
        </reverseLights>		
    </lights>
	
	<baseMaterial>
        <material name="main_color" baseNode="main_color">
            <shaderParameter name="colorMat0" value="SHARED_BLACK2"/>
        </material>
		<material name="rims" baseNode="rim">
            <shaderParameter name="colorMat0" value="SHARED_BLACK2"/>
        </material>
    </baseMaterial>
	
	<baseMaterialConfigurations price="5000" useDefaultColors="true" defaultColorIndex="1">
		<baseMaterialConfiguration name="Claas" color="0.4 0.6 0.02 1.0" material="0" />
        <baseMaterialConfiguration name="Claas Cat" color="0.800 0.443 0.008 1.0" />
        <baseMaterialConfiguration name="Claas Monster" color="0.4 0.6 0.02 1.0"  />
        <baseMaterialConfiguration name="KRONE YELLOW" color="KRONE_YELLOW1" material="1"/>
        <baseMaterialConfiguration name="KRONE GREEN" color="KRONE_GREEN1" material="32"/>
		<baseMaterialConfiguration name="STARA ORANGE" color="STARA_ORANGE" material="32"/>
        <baseMaterialConfiguration name="STARA GREEN" color="STARA_GREEN" material="1"/>
        <baseMaterialConfiguration name="BERGMANN GREEN" color="BERGMANN_GREEN1"/>
        <baseMaterialConfiguration name="BERGMANN WHITE" color="ITRUNNER_WHITE1" material="32"/>
		<baseMaterialConfiguration name="JOSKIN GREEN" color="JOSKIN_GREEN1"/>
        <baseMaterialConfiguration name="JOSKIN YELLOW" color="JOSKIN_YELLOW1"/>
		<baseMaterialConfiguration name="STRAUTMANN GREEN" color="STRAUTMANN_GREEN1"/>
        <baseMaterialConfiguration name="STRAUTMANN RED" color="STRAUTMANN_RED1"/>
		<baseMaterialConfiguration name="HAWE GREEN" color="0.0697 0.1541 0.0545 1"/>
        <baseMaterialConfiguration name="HAWE GREY" color="0.0962 0.0962 0.0962 1"/>
		<baseMaterialConfiguration name="TEBBE GREEN" color="0.0008 0.3685 0.1449 1"/>
        <baseMaterialConfiguration name="TEBBE GREY" color="0.6940 0.6940 0.6940 1"/>
		<baseMaterialConfiguration name="MENGELE RED" color="0.7372 0.0151 0.0265 1"/>
        <baseMaterialConfiguration name="MENGELE BLUE" color="0.0759 0.3392 0.4205 1"/>
		<baseMaterialConfiguration name="ANNABURGER RED" color="ANNABURGER_RED1"/>
        <baseMaterialConfiguration name="ANNABURGER WHITE" color="ANNABURGER_WHITE1"/>
		<baseMaterialConfiguration name="KAWECO GREEN" color="0.4 0.6 0.05 1"/>
        <baseMaterialConfiguration name="KAWECO ORANGE" color="0.98 0.31 0.02 1"/>
        <baseMaterialConfiguration name="KAWECO GREY" color="0.8671 0.7893 0.6253 1"/>
		<baseMaterialConfiguration name="BRIRI GREEN" color="0.0461 0.0600 0.0414 1"/>
		<baseMaterialConfiguration name="BRIRI GREY" color="0.4423 0.4423 0.4534 1"/>
        <baseMaterialConfiguration name="VICON RED" color="VICON_RED1"/>		
        <baseMaterialConfiguration name="VICON DARKBLUE" color="VICON_DARKBLUE"/>		
        <baseMaterialConfiguration name="MAN BEIGE" color="MAN_BEIGECLASSIC"/>		
        <baseMaterialConfiguration name="MAN OLDGREEN" color="MAN_OLDGREEN"/>		
        <baseMaterialConfiguration name="MAN BLUE" color="MAN_BLUE6"/>
        <material name="main_color" shaderParameter="colorMat0" />
    </baseMaterialConfigurations>
	
	<designMaterialConfigurations price="200" useDefaultColors="true" defaultColorIndex="1">
		<designMaterialConfiguration name="Chrome" color="SHARED_WHITE2" material="2"/>
		<designMaterialConfiguration name="Blue Chrome" color="FLIEGL_BLUE1" material="2" />
        <designMaterialConfiguration name="Purple" color="LIZARD_PURPLE1" material="2" />
        <designMaterialConfiguration name="Orange Chrome" color="FIAT_ORANGEPAINT" material="2" />
        <designMaterialConfiguration name="Black Chrome" color="FIAT_BLACKPAINT"  material="2" />
        <designMaterialConfiguration name="White Chrome" color="FIAT_WHITEPAINT" material="2" />
        <designMaterialConfiguration name="Green Chrome" color="FIAT_GREENPAINT" material="2" />
        <designMaterialConfiguration name="Red Chrome" color="FLIEGL_RED1" material="2" />
        <designMaterialConfiguration name="Gold" color="BEDNAR_YELLOW1" material="2" />
        <designMaterialConfiguration name="Brown Chrome" color="FLIEGL_BROWN1" material="2" />
        <designMaterialConfiguration name="Galvanized" color="SHARED_WHITE2" material="8"/>
        <designMaterialConfiguration name="Black" color="SHARED_BLACK2" material="32" />
		<designMaterialConfiguration name="Claas" color="0.4 0.6 0.02 1.0" material="0" />
        <designMaterialConfiguration name="Claas Cat" color="0.800 0.443 0.008 1.0" />
        <designMaterialConfiguration name="Claas Monster" color="0.4 0.6 0.02 1.0"  />
        <designMaterialConfiguration name="KRONE YELLOW" color="KRONE_YELLOW1" material="1"/>
        <designMaterialConfiguration name="KRONE GREEN" color="KRONE_GREEN1" material="1"/>
		<designMaterialConfiguration name="STARA ORANGE" color="STARA_ORANGE" material="32"/>
        <designMaterialConfiguration name="STARA GREEN" color="STARA_GREEN" material="1"/>
        <designMaterialConfiguration name="BERGMANN GREEN" color="BERGMANN_GREEN1"/>
        <designMaterialConfiguration name="BERGMANN WHITE" color="ITRUNNER_WHITE1"/>
		<designMaterialConfiguration name="JOSKIN GREEN" color="JOSKIN_GREEN1"/>
        <designMaterialConfiguration name="JOSKIN YELLOW" color="JOSKIN_YELLOW1"/>
		<designMaterialConfiguration name="STRAUTMANN GREEN" color="STRAUTMANN_GREEN1"/>
        <designMaterialConfiguration name="STRAUTMANN RED" color="STRAUTMANN_RED1"/>
		<designMaterialConfiguration name="HAWE GREEN" color="0.0697 0.1541 0.0545 1"/>
        <designMaterialConfiguration name="HAWE GREY" color="0.0962 0.0962 0.0962 1"/>
		<designMaterialConfiguration name="TEBBE GREEN" color="0.0008 0.3685 0.1449 1"/>
        <designMaterialConfiguration name="TEBBE GREY" color="0.6940 0.6940 0.6940 1"/>
		<designMaterialConfiguration name="MENGELE RED" color="0.7372 0.0151 0.0265 1"/>
        <designMaterialConfiguration name="MENGELE BLUE" color="0.0759 0.3392 0.4205 1"/>
		<designMaterialConfiguration name="ANNABURGER RED" color="ANNABURGER_RED1"/>
        <designMaterialConfiguration name="ANNABURGER WHITE" color="ANNABURGER_WHITE1"/>
		<designMaterialConfiguration name="KAWECO GREEN" color="0.4 0.6 0.05 1"/>
        <designMaterialConfiguration name="KAWECO ORANGE" color="0.98 0.31 0.02 1"/>
        <designMaterialConfiguration name="KAWECO GREY" color="0.8671 0.7893 0.6253 1"/>
		<designMaterialConfiguration name="BRIRI GREEN" color="0.0461 0.0600 0.0414 1"/>
		<designMaterialConfiguration name="BRIRI GREY" color="0.4423 0.4423 0.4534 1"/>
        <designMaterialConfiguration name="VICON RED" color="VICON_RED1"/>		
        <designMaterialConfiguration name="VICON DARKBLUE" color="VICON_DARKBLUE"/>		
        <designMaterialConfiguration name="MAN BEIGE" color="MAN_BEIGECLASSIC"/>		
        <designMaterialConfiguration name="MAN OLDGREEN" color="MAN_OLDGREEN"/>		
        <designMaterialConfiguration name="MAN BLUE" color="MAN_BLUE6"/>
        <material name="rims" shaderParameter="colorMat0" />
    </designMaterialConfigurations>
	
	
	<i3dMappings>
        <i3dMapping id="Adak" node="0>" />
        <i3dMapping id="attacherJoint" node="0>1" />
        <i3dMapping id="jackSupport" node="0>3" />
		<i3dMapping id="wheels" node="0>0" />
        <i3dMapping id="NWheelfL" node="0>0|0" />
		<i3dMapping id="NWheelfR" node="0>0|1" />
        <i3dMapping id="WheelfL" node="0>0|0|0" />
		<i3dMapping id="WheelfR" node="0>0|1|0" />
        <i3dMapping id="rearred1" node="0>4|0" />	
        <i3dMapping id="rearred2" node="0>4|1" />	
        <i3dMapping id="turnleft" node="0>5|0" />
        <i3dMapping id="turnright" node="0>5|1" />
		<i3dMapping id="reverseLightStatic" node="0>6|0" />	
		<i3dMapping id="rim" node="0>0|0|0" />
		<i3dMapping id="main_color" node="0>2|17" />
		<i3dMapping id="electricBack" node="0>7|1" />
		<i3dMapping id="electricBackAdapter" node="0>7|2" />
    </i3dMappings>
</vehicle>
