<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="A8">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>A8</name>
        <specs>
            <neededPower>150</neededPower>
			<workingWidth>3</workingWidth>
        </specs>
        <functions>
            <function>$l10n_function_silageCompressor</function>
        </functions>
        <image>store_lizardA8.dds</image>
        <price>12500</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>silocompaction</category>
        <shopTranslationOffset>-1 0 -1</shopTranslationOffset>
        <shopRotationOffset>0 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>1220608</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>209408</indexBufferMemoryUsage>
        <textureMemoryUsage>2818048</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_lizardA8</typeDesc>
        <filename>lizardA8.i3d</filename>
        <size width="3" length="3.1"/>
        <speedLimit value="10"/>
        <components>
            <component centerOfMass="0 0.4 0" solverIterationCount="20" mass="3000"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TOOL" />
    </base>
    
	<wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_spiked_roller" price="100">
                <wheels>
                    <wheel  isLeft="false" >
                        <physics radius="0.95" width="0.45"  tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="0.5" repr="backWheel01"  forcePointRatio="0.3" initialCompression="10" suspTravel="0.15" spring="30" damper="50" />
                    </wheel>
                    <wheel  isLeft="true" >
                        <physics radius="0.95" width="2"  tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="0.5" repr="walze" forcePointRatio="0.3" initialCompression="10" suspTravel="0.15" spring="30" damper="50" />
                    </wheel>
					<wheel  isLeft="false" >
                        <physics radius="0.95" width="0.45"  tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="0.5" repr="backWheel03" forcePointRatio="0.3" initialCompression="10" suspTravel="0.15" spring="30" damper="50" />
                    </wheel>
                </wheels>
				<objectChange node="walze" visibilityActive="true" visibilityInactive="false"/>
			    <objectChange node="Walze_glatt" visibilityActive="false" visibilityInactive="true"/>
            </wheelConfiguration>
			<wheelConfiguration name="$l10n_configuration_smooth_roller" price="0">
                <wheels>
                    <wheel  isLeft="false" >
                        <physics radius="0.8" width="0.45"  tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="0.5" repr="backWheel01"  forcePointRatio="0.3" initialCompression="10" suspTravel="0.15" spring="30" damper="50" />
                    </wheel>
                    <wheel  isLeft="true" >
                        <physics radius="0.8" width="2"  tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="0.5" repr="Walze_glatt" forcePointRatio="0.3" initialCompression="10" suspTravel="0.15" spring="30" damper="50" />
                    </wheel>
					<wheel  isLeft="false" >
                        <physics radius="0.8" width="0.45"  tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="0.5" repr="backWheel03" forcePointRatio="0.3" initialCompression="10" suspTravel="0.15" spring="30" damper="50" />
                    </wheel>
                </wheels>
				<objectChange node="walze" visibilityActive="false" visibilityInactive="true"/>
			    <objectChange node="Walze_glatt" visibilityActive="true" visibilityInactive="false"/>
            </wheelConfiguration>
        </wheelConfigurations>  
	</wheels>

	<attachable>
		<inputAttacherJointConfigurations>
            <inputAttacherJointConfiguration name="$l10n_configuration_inputAttacherTrailer" price="0">
				<inputAttacherJoint node="Anhaengung" jointType="trailerLow" attacherHeight="0.47"/>
			</inputAttacherJointConfiguration>
			<inputAttacherJointConfiguration name="$l10n_configuration_inputAttacher3Point" price="500">
				<inputAttacherJoint node="Anhaengung" jointType="implement" lowerRotLimitScale="1 2.5 1" upperRotLimitScale="1 2.5 1" allowsLowering="false" needsToolbar="true">
					<distanceToGround lower="0.15" upper="0.15"/>
				</inputAttacherJoint>
			</inputAttacherJointConfiguration>
		</inputAttacherJointConfigurations>					 
        <support animationName="moveSupport"/>
        <brakeForce force="0.3" maxForce="1.2" maxForceMass="3000"/>
        <airConsumer usage="0.2"/>
    </attachable>

    <lights>
        <sharedLight linkNode="Reflektor_links"      filename="$data/shared/assets/reflectors/lizard/redTriangle_01.xml" />
        <sharedLight linkNode="Reflektor_rechts"     filename="$data/shared/assets/reflectors/lizard/redTriangle_01.xml" />
	</lights>	
		
	<animations>
        <animation name="moveSupport">
            <part node="supportArm" startTime="0" endTime="0.01" startTrans="0 0 -0.602" endTrans="0 -0.194 -0.602"/>
        </animation>
    </animations>
	
	<bunkerSiloCompacter compactingScale="15" useSpeedLimit="true">
        <sounds>
            <rolling template="MEADOW_ROLLER_WORK" linkNode="A8"/>
        </sounds>
    </bunkerSiloCompacter>

    <turnOnVehicle>
        <activatableFillUnits>
            <activatableFillUnit index="1" />
        </activatableFillUnits>
	
        <sounds>
			<start file="sounds/A8_start.wav" fadeOut="2"/>
			<stop file="sounds/A8_stop.wav" fadeOut="2"/>
			<work file="sounds/A8_run.wav" fadeOut="2"/>
		</sounds>
		<animationNodes>
            <animationNode class="ShakeAnimation" node="Walze_glatt" shaking="0.002 0.002 0 100" turnOnFadeTime="1" turnOffFadeTime="2" />
			<animationNode class="ShakeAnimation" node="walze" shaking="0.001 0.001 0 100" turnOnFadeTime="1" turnOffFadeTime="2" />
        </animationNodes>	  
    </turnOnVehicle>
	
	<baseMaterial>
        <material name="A8_mat" baseNode="lizardA8">
            <shaderParameter name="colorMat0" value="0.8 0.55 0.05 0"/>
            <shaderParameter name="colorMat1" value="0.254 0.254 0.254 0"/>
        </material>
		<material name="Walze_mat" baseNode="walze">
            <shaderParameter name="colorMat0" value="0.8 0.55 0.05 0"/>
        </material>
		<material name="Walzeglatt_mat" baseNode="Walze_glatt">
            <shaderParameter name="colorMat0" value="0.8 0.55 0.05 0"/>
        </material>
		<material name="lueftung_mat" baseNode="Lueftung">
            <shaderParameter name="colorMat1" value="0.8 0.55 0.05 0"/>
        </material>
		<material name="Kupplung_mat" baseNode="kupplung">
            <shaderParameter name="colorMat0" value="0.8 0.55 0.05 0"/>
        </material>
    </baseMaterial>
	
	<baseMaterialConfigurations title="$l10n_configuration_bodyColor" price="0" useDefaultColors="false" defaultColorIndex="4">
		<!-- FORTSCHRITT colors -->
		<baseMaterialConfiguration name="$l10n_Fortschritt_Yellow"     color="0.60 0.40 0.00" material="6" price="0"/> 
		<baseMaterialConfiguration name="$l10n_Fortschritt_Red"        color="0.60 0.00 0.00" material="6" price="0"/>
		<baseMaterialConfiguration name="$l10n_Fortschritt_Blue"       color="0.02 0.25 0.60" material="6" price="0"/>
		<baseMaterialConfiguration name="$l10n_Fortschritt_DarkGreen"  color="0.04 0.05 0.02" material="6" price="0"/>
		<baseMaterialConfiguration name="$l10n_Fortschritt_DarkBrown"  color="0.06 0.04 0.02" material="6" price="0"/>
        <baseMaterialConfiguration name="$l10n_Fortschritt_Brown"      color="0.20 0.20 0.10" material="6" price="0"/>
        <baseMaterialConfiguration name="$l10n_Fortschritt_LightBrown" color="0.30 0.30 0.20" material="6" price="0"/>
        <baseMaterialConfiguration name="$l10n_Fortschritt_Green"      color="0.25 0.35 0.08" material="6" price="0"/>
		<baseMaterialConfiguration name="$l10n_Fortschritt_White"      color="0.80 0.80 0.80" material="6" price="0"/>
        <baseMaterialConfiguration name="$l10n_Fortschritt_LightGreen" color="0.80 1.00 0.70" material="6" price="0"/>
        <!-- LIZARD colors -->
		<baseMaterialConfiguration name="$l10n_LIZARD_Neongreen" color="0.4179 0.5647 0.0252" material="6" price="0"/>
		<baseMaterialConfiguration name="$l10n_LIZARD_Blue" color="0.0000 0.0780 0.2010" material="6" price="0"/>
		<baseMaterialConfiguration name="$l10n_LIZARD_Darkgreen" color="0.0310 0.0990 0.0212" material="6" price="0"/>
		<baseMaterialConfiguration name="$l10n_LIZARD_Lightgreen" color="0.1500 0.2020 0.1000" material="6" price="0"/>
		<baseMaterialConfiguration name="$l10n_LIZARD_Red" color="0.3270 0.0168 0.0152" material="6" price="0"/>
		<baseMaterialConfiguration name="$l10n_LIZARD_Darkbrown" color="0.0664 0.0131 0.0097" material="6" price="0"/>
		<material name="Walze_mat" shaderParameter="colorMat0"/>
		<material name="Walzeglatt_mat" shaderParameter="colorMat0"/>
		<material name="A8_mat" shaderParameter="colorMat0"/>
		<material name="lueftung_mat" shaderParameter="colorMat1"/>
    </baseMaterialConfigurations>
	
	<designMaterialConfigurations title="$l10n_configuration_hookColor" price="0" useDefaultColors="false" defaultColorIndex="0">
	    <!-- FORTSCHRITT colors -->
		<designMaterialConfiguration name="$l10n_Fortschritt_Yellow"     color="0.60 0.40 0.00" material="6" price="0"/> 
		<designMaterialConfiguration name="$l10n_Fortschritt_Red"        color="0.60 0.00 0.00" material="6" price="0"/>
		<designMaterialConfiguration name="$l10n_Fortschritt_Blue"       color="0.02 0.25 0.60" material="6" price="0"/>
		<designMaterialConfiguration name="$l10n_Fortschritt_DarkGreen"  color="0.04 0.05 0.02" material="6" price="0"/>
		<designMaterialConfiguration name="$l10n_Fortschritt_DarkBrown"  color="0.06 0.04 0.02" material="6" price="0"/>
        <designMaterialConfiguration name="$l10n_Fortschritt_Brown"      color="0.20 0.20 0.10" material="6" price="0"/>
        <designMaterialConfiguration name="$l10n_Fortschritt_LightBrown" color="0.30 0.30 0.20" material="6" price="0"/>
        <designMaterialConfiguration name="$l10n_Fortschritt_Green"      color="0.25 0.35 0.08" material="6" price="0"/>
		<designMaterialConfiguration name="$l10n_Fortschritt_White"      color="0.80 0.80 0.80" material="6" price="0"/>
        <designMaterialConfiguration name="$l10n_Fortschritt_LightGreen" color="0.80 1.00 0.70" material="6" price="0"/>
        
		<!-- LIZARD colors -->
		<designMaterialConfiguration name="$l10n_LIZARD_Neongreen" color="0.4179 0.5647 0.0252" material="6" price="0"/>
		<designMaterialConfiguration name="$l10n_LIZARD_Blue" color="0.0000 0.0780 0.2010" material="6" price="0"/>
		<designMaterialConfiguration name="$l10n_LIZARD_Darkgreen" color="0.0310 0.0990 0.0212" material="6" price="0"/>
		<designMaterialConfiguration name="$l10n_LIZARD_Lightgreen" color="0.1500 0.2020 0.1000" material="6" price="0"/>
		<designMaterialConfiguration name="$l10n_LIZARD_Red" color="0.3270 0.0168 0.0152" material="6" price="0"/>
		<designMaterialConfiguration name="$l10n_LIZARD_Darkbrown" color="0.0664 0.0131 0.0097" material="6" price="0"/>
		<material name="A8_mat" shaderParameter="colorMat1"/>
		<material name="Kupplung_mat" shaderParameter="colorMat0"/>
	</designMaterialConfigurations>	
		
	<ai>
        <agentAttachment jointNode="Anhaengung" rotCenterWheelIndices="1 2 3" width="3" height="1" length="3.1" lengthOffset="0.65"/>
    </ai>
	
    <foliageBending>
        <bendingNode minX="-1.2" maxX="1.2" minZ="-2.8" maxZ="2.8 " yOffset="0.6" />
        <bendingNode minX="-0.50" maxX="0.50" minZ="-1.1" maxZ="1.6 " yOffset="0.6" />
        <bendingNode minX="-0.90" maxX="0.90" minZ="-1.1" maxZ="1.6 " yOffset="1.6" />
    </foliageBending>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="6" fieldMultiplier="2"/>
   
   <i3dMappings>
   <i3dMapping id="A8"              node="0>" />
   <i3dMapping id="lizardA8"            node="0>0" />
   <i3dMapping id="kupplung"             node="0>0|0" />
   <i3dMapping id="Anhaengung"           node="0>0|0|0" />
   <i3dMapping id="walze"                node="0>0|1" />
   <i3dMapping id="depthNode"            node="0>0|2" />
   <i3dMapping id="pickUp"               node="0>0|3" />
   <i3dMapping id="movingParts"          node="0>0|4" />
   <i3dMapping id="roller"               node="0>0|4|0" />
   <i3dMapping id="trailerAttacherJoint" node="0>0|5" />
   <i3dMapping id="exhaustParticles"     node="0>0|6" />
   <i3dMapping id="exhaustParticle"      node="0>0|6|0" />
   <i3dMapping id="exhaustParticle1"     node="0>0|6|0|0" />
   <i3dMapping id="exhaustParticle2"     node="0>0|6|0|1" />
   <i3dMapping id="wheels"               node="0>0|7" />
   <i3dMapping id="backWheel01"          node="0>0|7|0" />
   <i3dMapping id="backWheel02"          node="0>0|7|1" />
   <i3dMapping id="backWheel03"          node="0>0|7|2" />
   <i3dMapping id="Schalter"             node="0>0|8" />
   <i3dMapping id="Lueftung"             node="0>0|9" />
   <i3dMapping id="Markierung"           node="0>0|10" />
   <i3dMapping id="licht"                node="0>0|11" />
   <i3dMapping id="Reflektor_links"      node="0>0|11|0" />
   <i3dMapping id="Reflektor_rechts"     node="0>0|11|1" />
   <i3dMapping id="Walze_glatt"          node="0>0|12" />
   <i3dMapping id="Decal1"               node="0>0|13" />
   <i3dMapping id="support"              node="0>1" />
   <i3dMapping id="supportArm"           node="0>1|0" />
   <i3dMapping id="workAreas"            node="0>2" />
   <i3dMapping id="workAreaStart"        node="0>2|0" />
   <i3dMapping id="workAreaWidth"        node="0>2|1" />
   <i3dMapping id="workAreaHeight"       node="0>2|2" />
   <i3dMapping id="groundRefNode"        node="0>2|3" />
   <i3dMapping id="ai"                   node="0>3" />
   <i3dMapping id="aiMarker"             node="0>3|0" />
   <i3dMapping id="aiMarkerLeft"         node="0>3|0|0" />
   <i3dMapping id="aiMarkerRight"        node="0>3|0|1" />
   <i3dMapping id="aiMarkerBack"         node="0>3|0|2" />
   <i3dMapping id="sizeMarker"           node="0>3|1" />
   <i3dMapping id="sizeMarkerLeft"       node="0>3|1|0" />
   <i3dMapping id="sizeMarkerRight"      node="0>3|1|1" />
   <i3dMapping id="sizeMarkerBack"       node="0>3|1|2" />
   </i3dMappings>
</vehicle>

