<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="silageRoller" 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>Silage Roller</en></name>
        <specs>
            <workingWidth>2.8</workingWidth>
            <combination filterCategory="weights" filterSpec="weight" filterSpecMin="900" filterSpecMax="1100"/>
        </specs>
        <functions>
            <function>$l10n_function_silageCompressor</function>
        </functions>
        <image>store_silowalze.dds</image>
        <price>7500</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>AAM Maschinenbau</brand>
        <category>silocompaction</category>
        <shopTranslationOffset>0 -0.124 0</shopTranslationOffset>
        <shopRotationOffset>0.185 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>251648</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>41216</indexBufferMemoryUsage>
        <textureMemoryUsage>2228224</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_silageRoller</typeDesc>
        <filename>silowalze.i3d</filename>
        <size width="3.8" length="2"/>
        <speedLimit value="5"/>
        <components>
            <component centerOfMass="0 0.3 0" solverIterationCount="10" mass="2120"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT"/>
        <mapHotspot type="TOOL"/>
    </base>
    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels>
                    <wheel isLeft="false" hasParticles="true">
                        <physics restLoad="1.3" repr="wheel01" radius="0.454" mass="0.2" width="0.5" forcePointRatio="0.5" initialCompression="25" suspTravel="0.05" spring="82" damper="30" rotationDamping="0.001"/>
                    </wheel>
                    <wheel isLeft="false" hasParticles="true">
                        <physics restLoad="1.3" repr="wheel02" radius="0.454" mass="0.2" width="0.5" forcePointRatio="0.5" initialCompression="25" suspTravel="0.05" spring="82" damper="30" rotationDamping="0.001"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>
    <speedRotatingParts>
        <speedRotatingPart node="roller" wheelIndex="1"/>
    </speedRotatingParts>
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="implement" topReferenceNode="topReferenceNode" lowerRotLimitScale="0 0 0" upperRotationOffset="5" lowerRotationOffset="-2" needsLowering="false">
                <distanceToGround lower="0.55" upper="1.5"/>
            </inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
        <brakeForce force="0.1"/>
    </attachable>
	
	<lights>
        <defaultLights>
            
			
			<defaultLight shaderNode="0>0|6|8|0" lightTypes="0" intensity="200"/>
			<defaultLight shaderNode="0>0|6|9|0" lightTypes="0" intensity="200"/>
			<defaultLight shaderNode="0>0|6|9|0" lightTypes="0" intensity="200"/>
			<defaultLight shaderNode="0>0|6|9|0" lightTypes="0" intensity="200"/>
        </defaultLights>
        
        <beaconLights>
            
			<beaconLight node="0>0|6|8|1" intensity="1300" multiBlink="true">
                <device mode="DOUBLE_BLINK" rpm="120" numLEDScale="3" brightnessScale="3"/>
            </beaconLight>
            <beaconLight node="0>0|6|9|1" intensity="1300" multiBlink="true">
                <device mode="DOUBLE_BLINK" rpm="120" numLEDScale="3" brightnessScale="3"/>
            </beaconLight>
			<beaconLight node="0>0|6|10|1" intensity="1300" multiBlink="true">
                <device mode="DOUBLE_BLINK" rpm="120" numLEDScale="3" brightnessScale="3"/>
            </beaconLight>
            <beaconLight node="0>0|6|11|1" intensity="1300" multiBlink="true">
                <device mode="DOUBLE_BLINK" rpm="120" numLEDScale="3" brightnessScale="3"/>
            </beaconLight>
			
			
        </beaconLights>
       
    </lights>
	
    <bunkerSiloCompacter compactingScale="5" useSpeedLimit="true">
        <sounds>
            <rolling template="MEADOW_ROLLER_WORK" linkNode="silowalze_main_component1"/>
        </sounds>
    </bunkerSiloCompacter>
    <animations>
        <animation name="moveSupport">
            <part node="supportArm" startTime="0" endTime="0.5" startTrans="0 0.5 0" endTrans="0 0 0"/>
            <sound template="clackVar6" startTime="0.49" direction="1" volumeScale="0.8" pitchScale="0.9" linkNode="attacherJoint"/>
            <sound template="clackVar6" startTime="0.01" direction="-1" volumeScale="0.9" pitchScale="1.2" linkNode="attacherJoint"/>
            <sound template="clackVar4" startTime="0.01" direction="-1" volumeScale="1.4" pitchScale="1.6" linkNode="attacherJoint"/>
            <sound template="slideOpen" startTime="0.01" direction="1" volumeScale="2" pitchScale="1.2" linkNode="attacherJoint"/>
            <sound template="slideOpen" startTime="0.49" direction="-1" volumeScale="2" pitchScale="1.2" linkNode="attacherJoint"/>
        </animation>
    </animations>
    <ai>
        <agentAttachment width="3" height="1.5" length="1.5" lengthOffset="0"/>
    </ai>
    <foliageBending>
        <bendingNode minX="-1.5" maxX="1.5" minZ="-0.8" maxZ="0.8" yOffset="0.3"/>
    </foliageBending>
    <!-- <baseMaterial> -->
        <!-- <material name="flieglSilowalze_mat" baseNode="silowalze_vis"> -->
            <!-- <shaderParameter name="colorMat0" value="FLIEGL_RED1"/> -->
        <!-- </material> -->
    <!-- </baseMaterial> -->
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="4" fieldMultiplier="2"/>
    <i3dMappings>
        <i3dMapping id="silowalze_main_component1" node="0>"/>
        <i3dMapping id="silowalze_vis" node="0>0"/>
        <i3dMapping id="attacherJoint" node="0>0|0"/>
        <i3dMapping id="topReferenceNode" node="0>0|1"/>
        <i3dMapping id="wheel01" node="0>0|2"/>
        <i3dMapping id="wheel02" node="0>0|3"/>
        <i3dMapping id="supportArm" node="0>0|4"/>
        <i3dMapping id="roller" node="0>0|5"/>
    </i3dMappings>
</vehicle>
