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

    <storeData>
        <name>
            <en>ZJV-F-3.2</en>  			
            <ru>ЗЖВ-Ф-3.2</ru>				
		</name>	
        <specs>
            <workingWidth>5.0</workingWidth>
        </specs>
        <functions>
            <function>$l10n_function_slurrySpreader</function>
        </functions>
        <image>store_zjv.png</image>
        <price>2950</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>slurryTanks</category>
        <vertexBufferMemoryUsage>780944</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>150240</indexBufferMemoryUsage>
        <textureMemoryUsage>7689688</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_manureBarrel</typeDesc>
        <filename>zjv.i3d</filename>
        <size width="2.4" length="4.7"/>
        <speedLimit value="15" />		
        <components>
            <component centerOfMass="0 0.3 1.95" solverIterationCount="10" mass="1600" />
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels>
                    <wheel filename="wheels/wheels_default.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.82" repr="wheelLeft"  forcePointRatio="0.5" initialCompression="18" suspTravel="0.04" spring="80" damper="50" frictionScale="1.5" />
                    </wheel>
                    <wheel filename="wheels/wheels_default.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.82" repr="wheelRight" forcePointRatio="0.5" initialCompression="18" suspTravel="0.04" spring="80" damper="50" frictionScale="1.5" />
                    </wheel>
                </wheels>
            </wheelConfiguration>

            <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="150">
                <wheels>
                    <wheel filename="wheels/wheels_broad.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.82" repr="wheelLeft"  forcePointRatio="0.5" initialCompression="18" suspTravel="0.04" spring="80" damper="50" frictionScale="1.5" />
                    </wheel>
                    <wheel filename="wheels/wheels_broad.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" restLoad="0.82" repr="wheelRight" forcePointRatio="0.5" initialCompression="18" suspTravel="0.04" spring="80" damper="50" frictionScale="1.5" />
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>
	
    <rimColorConfigurations useDefaultColors="false">
        <rimColorConfiguration name="Yellow" color="0.714 0.335 0.022 6"/>
        <rimColorConfiguration name="Green" color="0.03 0.085 0.05 6"/>	
        <rimColorConfiguration name="Red1" color="0.5 0.085 0.05 6"/>	
        <rimColorConfiguration name="Red2" color="0.347 0.085 0.05 6"/>		
        <rimColorConfiguration name="Burgundy" color="0.35 0.05 0.04 6"/>
        <rimColorConfiguration name="Gray" color="0.126 0.126 0.126 6"/>
        <rimColorConfiguration name="Blue1" color="0.35 0.52 0.595 6"/>	
        <rimColorConfiguration name="Blue2" color="0.03 0.16 0.28 6"/>	
        <rimColorConfiguration name="Black" color="0.05 0.05 0.05 6"/>		
    </rimColorConfigurations>	

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="trailer" attacherHeight="0.45" />
        </inputAttacherJoints>
        <brakeForce>0.4</brakeForce>
        <support animationName="moveSupport" />
    </attachable>
	
	<connectionHoses>
        <hose inputAttacherJointIndices="1" type="electric" node="electricReferencePoint" length="5.0" diameter="0.01" straighteningFactor="1.5" isTwoPointHose="true">
		    <objectChange node="electricOnOff" visibilityActive="true" visibilityInactive="false"/>		
        </hose>
    </connectionHoses>		

    <lights>
        <sharedLight linkNode="backlightLeft"                filename="$data/shared/assets/lights/lizard/rear3ChamberLight_03_left.xml" />
        <sharedLight linkNode="backlightRight"               filename="$data/shared/assets/lights/lizard/rear3ChamberLight_03_right.xml" />

        <realLights>
            <high>
                <light node="backLightsHigh"   lightTypes="0"/>
                <brakeLight node="backLightsHigh" />
                <turnLightLeft node="turnLightLeftBack" />
                <turnLightRight node="turnLightRightBack" />
            </high>
        </realLights>
    </lights>
	
    <workAreas>
        <workArea type="sprayer" functionName="processSprayerArea" disableBackwards="false" requiresGroundContact="false" >
            <area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight" />
        </workArea>
    </workAreas>

    <sprayer>
        <usageScales workingWidth="5.0" scale="0.6" />
        <effects>
            <effectNode effectNode="effectSlurry" delay="0.1" materialType="sprayer" materialTypeId="1" />
        </effects>
    </sprayer>	

    <animations>
        <animation name="moveSupport">
            <part node="supportTrans" startTime="0.3" endTime="0.6" startTrans="0 0.561 2.295" endTrans="0 0.561 2.391" />		
            <part node="supportTrans" startTime="1.2" endTime="2.4" startTrans="0 0.561 2.391" endTrans="0 0.561 2.295" />		
            <part node="supportArm" startTime="0.6" endTime="1.2" startTrans="0 0.448 2.294" endTrans="0 0.383 2.294" />
        </animation>
        <animation name="filllevelMarker">
            <part node="arrowMarker" startTime="0" endTime="1" startRot="0 0 45" endRot="0 0 -45" />
        </animation>		
    </animations>
	
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="slurryTank" capacity="3200" >
                        <exactFillRootNode node="exactFillRootNode" />
                        <dashboard displayType="ANIMATION" valueType="fillLevel" animName="filllevelMarker"/>						
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>

        <sounds>
            <fill template="SLURRY_02" />
        </sounds>
    </fillUnit>	
	
    <fillTriggerVehicle triggerNode="fillTrigger" fillUnitIndex="1" litersPerSecond="350"/>	

    <dischargeable>
        <dischargeNode node="dischargeNode" emptySpeed="450" fillUnitIndex="1" unloadInfoIndex="3" >
            <info width="1.0" length="0.5" zOffset="0.4" />
            <trigger node="dischargeTrigger" />
            <dischargeSound template="SLURRY_02"/>
        </dischargeNode>
    </dischargeable>	
	
    <turnOnVehicle>
        <activatableFillUnits>
            <activatableFillUnit index="1" />
        </activatableFillUnits>

        <sounds>
            <work template="SLURRY_02">
                <pitch indoor="0.75" outdoor="0.75" />
            </work>
        </sounds>
    </turnOnVehicle>
	
    <ai>
        <areaMarkers leftNode="aiMarkerLeft" rightNode="aiMarkerRight" backNode="aiMarkerBack"/>
        <sizeMarkers leftNode="sizeMarkerLeft" rightNode="sizeMarkerRight" backNode="sizeMarkerBack" />
        <allowTurnBackward value="false" />
        <toolReverserDirectionNode node="sizeMarkerBack" />
        <turningRadiusLimitation rotationJointNode="attacherJoint" wheelIndices="1 2" />
    </ai>	

    <foliageBending>
        <bendingNode minX="-1.2" maxX="1.2" minZ="-1.6" maxZ="1.4" yOffset="0.35" />
    </foliageBending>

    <baseMaterial>
        <material name="zjv_mat" baseNode="zjv_vis">
            <shaderParameter name="colorMat0" value="0.03 0.085 0.05 6"/>		
        </material>			
    </baseMaterial>	
	
    <baseMaterialConfigurations>
        <baseMaterialConfiguration name="Green" color="0.03 0.085 0.05 6"/>	
        <baseMaterialConfiguration name="Red1" color="0.5 0.085 0.05 6"/>	
        <baseMaterialConfiguration name="Red2" color="0.347 0.085 0.05 6"/>		
        <baseMaterialConfiguration name="Burgundy" color="0.35 0.05 0.04 6"/>
        <baseMaterialConfiguration name="Gray" color="0.126 0.126 0.126 6"/>
        <baseMaterialConfiguration name="Blue1" color="0.35 0.52 0.595 6"/>	
        <baseMaterialConfiguration name="Blue2" color="0.03 0.16 0.28 6"/>		
        <baseMaterialConfiguration name="Yellow" color="0.714 0.335 0.022 6"/>
        <material name="zjv_mat" shaderParameter="colorMat0" />
    </baseMaterialConfigurations> 	
	
    <designConfigurations title="$l10n_configuration_fenderOnOff">
        <designConfiguration name="$l10n_configuration_functionOnZjv">
            <objectChange node="fenderDefault" visibilityActive="true" />
            <objectChange node="fenderModification" visibilityActive="false" />
            <objectChange node="spreader" visibilityActive="true" />			
        </designConfiguration>	
        <designConfiguration name="$l10n_configuration_functionOffZjv">
            <objectChange node="fenderDefault" visibilityActive="false" />
            <objectChange node="fenderModification" visibilityActive="true" />	
            <objectChange node="spreader" visibilityActive="true" />			
        </designConfiguration>
    </designConfigurations>		

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

    <i3dMappings>
        <i3dMapping id="zjv_main_component1" node="0>" />
        <i3dMapping id="zjv_vis" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>0|0|0" />	
        <i3dMapping id="supportArm" node="0>0|0|1|0" />
        <i3dMapping id="supportTrans" node="0>0|0|1|1" />
        <i3dMapping id="wheelLeft" node="0>0|1|0" />
        <i3dMapping id="wheelRight" node="0>0|1|1" />
        <i3dMapping id="arrowMarker" node="0>0|2|0|0" />
        <i3dMapping id="exactFillRootNode" node="0>0|2|1" />
        <i3dMapping id="waterTrigger" node="0>0|2|2" />
        <i3dMapping id="dischargeNode" node="0>0|2|3" />
        <i3dMapping id="dischargeTrigger" node="0>0|2|4" />
        <i3dMapping id="fillTrigger" node="0>0|2|5" />
        <i3dMapping id="workAreaStart" node="0>0|3|0" />
        <i3dMapping id="workAreaWidth" node="0>0|3|1" />
        <i3dMapping id="workAreaHeight" node="0>0|3|2" />
        <i3dMapping id="aiMarkerLeft" node="0>0|4|0|0" />
        <i3dMapping id="aiMarkerRight" node="0>0|4|0|1" />
        <i3dMapping id="aiMarkerBack" node="0>0|4|0|2" />
        <i3dMapping id="sizeMarkerLeft" node="0>0|4|1|0" />
        <i3dMapping id="sizeMarkerRight" node="0>0|4|1|1" />
        <i3dMapping id="sizeMarkerBack" node="0>0|4|1|2" />
        <i3dMapping id="effectSlurry" node="0>0|5|0|0" />
        <i3dMapping id="fenderDefault" node="0>0|6|0|0" />
        <i3dMapping id="electricReferencePoint" node="0>0|6|0|0|0|0|0" />
        <i3dMapping id="electricOnOff" node="0>0|6|0|0|0|0|1" />		
        <i3dMapping id="backlightLeft" node="0>0|6|0|0|1|0|0" />
        <i3dMapping id="backlightRight" node="0>0|6|0|0|1|0|1" />
        <i3dMapping id="backLightsHigh" node="0>0|6|0|0|1|1|0" />
        <i3dMapping id="turnLightLeftBack" node="0>0|6|0|0|1|2|0|0" />
        <i3dMapping id="turnLightRightBack" node="0>0|6|0|0|1|2|1|0" />		
        <i3dMapping id="fenderModification" node="0>0|6|0|1" />		
        <i3dMapping id="spreader" node="0>0|7|4" />		
    </i3dMappings>
</vehicle>
