<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="selfPropelledSprayer">
    <annotation>LR MODDING.</annotation>
    <storeData>
        <name>John Deere 4730</name>
        <specs>
            <workingWidth>38</workingWidth>
            <power>230</power>
            <maxSpeed>45</maxSpeed>
        </specs>
        <image>Store_john_deere_4730.dds</image>
        <price>125000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>JOHNDEERE</brand>
        <category>sprayerVehicles</category>
        <shopTranslationOffset>0 0.18 0</shopTranslationOffset>
        <shopRotationOffset>0 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>6710544</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>1637364</indexBufferMemoryUsage>
        <textureMemoryUsage>69862056</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_sprayer</typeDesc>
        <filename>John_Deere_4730.i3d</filename>
		<sounds filename="$data/vehicles/johnDeere/series7R/sounds/series7R.xml"/>
        <size width="3.5" length="7"/>
        <speedLimit value="30"/>
        <components>
            <component centerOfMass="0 0.5 0" solverIterationCount="10" mass="4000"/>
        </components>
        <schemaOverlay attacherJointPosition="0.5 0" name="VEHICLE"/>
    </base>
    <configurationSets>
        <configurationSet name="$l10n_configuration_valueDefault" isDefault="true">
            <configuration name="design" index="1"/>
        </configurationSet>
        <configurationSet name="$l10n_configuration_frontWeightX" params="300">
            <configuration name="design" index="2"/>
        </configurationSet>
        <configurationSet name="$l10n_configuration_frontWeightX" params="500">
            <configuration name="design" index="3"/>
        </configurationSet>
        <configurationSet name="$l10n_configuration_frontWeightX" params="700">
            <configuration name="design" index="4"/>
        </configurationSet>
        <configurationSet name="$l10n_configuration_frontWeightX" params="1100">
            <configuration name="design" index="5"/>
        </configurationSet>
    </configurationSets>
    <designConfigurations>
        <designConfiguration name="170">
            <objectChange node="0>0|11|0|0" visibilityActive="false"/>
        </designConfiguration>
        <designConfiguration name="470" price="600">
            <objectChange node="0>" massActive="4100"/>
            <objectChange node="0>" centerOfMassActive="0 0.8 -0.28"/>
            <objectChange node="0>0|11|0|0" visibilityActive="true"/>
            <objectChange node="0>0|11|0|0|0" visibilityActive="false"/>
        </designConfiguration>
        <designConfiguration name="670" price="1000">
            <objectChange node="0>" massActive="4100"/>
            <objectChange node="0>" centerOfMassActive="0 0.8 -0.26"/>
            <objectChange node="0>0|11|0|0" visibilityActive="true"/>
            <objectChange node="0>0|11|0|0|0" visibilityActive="true"/>
            <objectChange node="0>0|11|0|0|0|0" visibilityActive="false"/>
        </designConfiguration>
        <designConfiguration name="870" price="1300">
            <objectChange node="0>" massActive="4100"/>
            <objectChange node="0>" centerOfMassActive="0 0.8 -0.23"/>
            <objectChange node="0>0|11|0|0" visibilityActive="true"/>
            <objectChange node="0>0|11|0|0|0" visibilityActive="true"/>
            <objectChange node="0>0|11|0|0|0|0" visibilityActive="true"/>
            <objectChange node="0>0|11|0|0|0|0|0" visibilityActive="false"/>
        </designConfiguration>
        <designConfiguration name="1270" price="1750">
            <objectChange node="0>" massActive="4100"/>
            <objectChange node="0>" centerOfMassActive="0 0.8 -0.2"/>
            <objectChange node="0>0|11|0|0" visibilityActive="true"/>
            <objectChange node="0>0|11|0|0|0" visibilityActive="true"/>
            <objectChange node="0>0|11|0|0|0|0" visibilityActive="true"/>
            <objectChange node="0>0|11|0|0|0|0|0" visibilityActive="true"/>
        </designConfiguration>
    </designConfigurations> 
	
	<design2Configurations title="Tank + Boom Color">
        <design2Configuration name="Yellow-Green" price="0" vehicleType="John_Deere_4730">
			<material name="barra_mat" shaderParameter="colorMat0" color="0.04 0.201 0.024"/> 
			<material name="barra_mat2" shaderParameter="colorMat0" color="0.04 0.201 0.024"/>
			<material name="bochka_riley_mat" shaderParameter="colorMat0" color="1 0.723 0"/>
        </design2Configuration> 
		
		<design2Configuration name="Yellow-Grey" price="0" vehicleType="John_Deere_4730">
			<material name="barra_mat" shaderParameter="colorMat0" color="0.04 0.04 0.04"/> 
			<material name="barra_mat2" shaderParameter="colorMat0" color="0.04 0.04 0.04"/>
			<material name="bochka_riley_mat" shaderParameter="colorMat0" color="1 0.723 0"/>
        </design2Configuration>

        <design2Configuration name="Grey" price="0" vehicleType="John_Deere_4730">
			<material name="barra_mat" shaderParameter="colorMat0" color="0.04 0.04 0.04"/> 
			<material name="barra_mat2" shaderParameter="colorMat0" color="0.04 0.04 0.04"/>
			<material name="bochka_riley_mat" shaderParameter="colorMat0" color="0.04 0.04 0.04"/>
        </design2Configuration> 
        
        <design2Configuration name="Grey-Green" price="0" vehicleType="John_Deere_4730">
			<material name="barra_mat" shaderParameter="colorMat0" color="0.04 0.201 0.024"/> 
			<material name="barra_mat2" shaderParameter="colorMat0" color="0.04 0.201 0.024"/>
			<material name="bochka_riley_mat" shaderParameter="colorMat0" color="0.04 0.04 0.04"/>
        </design2Configuration>		
    </design2Configurations>  
	
	<design3Configurations title="Boom Sprayer Green Lights">
        <design3Configuration name="Yes" price="0" vehicleType="John_Deere_4730">
			<objectChange node="0>0|0|0|0|0|0|5|1"            visibilityActive="true"/> 
			<objectChange node="0>0|0|0|0|1|0|5|1"            visibilityActive="true"/>
        </design3Configuration> 
		
		<design3Configuration name="No" price="0" vehicleType="John_Deere_4730">
			<objectChange node="0>0|0|0|0|0|0|5|1"            visibilityActive="false"/> 
			<objectChange node="0>0|0|0|0|1|0|5|1"            visibilityActive="false"/>
        </design3Configuration>	
    </design3Configurations>


    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueWheelNarrow" price="0" brand="MICHELIN" saveId="MICHELIN_NARROW">
                <wheels autoRotateBackSpeed="1.6">
                    <wheel filename="wheels/480_80R50.xml" configId="hub" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="3.5" repr="0>0|1|0|0" driveNode="0>0|1|0|0|0" forcePointRatio="0.5" initialCompression="30" suspTravel="0.3" spring="38" damper="40" frictionScale="2"/>
                        <tire isCareWheel="true"/>
                    </wheel>
                    <wheel filename="wheels/480_80R50.xml" configId="hub" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="3.5" repr="0>0|1|1|0" driveNode="0>0|1|1|0|0" forcePointRatio="0.5" initialCompression="30" suspTravel="0.3" spring="38" damper="40" frictionScale="2"/>
                        <tire isCareWheel="true"/>
                    </wheel>
                    <wheel filename="wheels/480_80R50.xml" configId="hub" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="3.83" repr="0>0|2|0|0|0" forcePointRatio="0.5" initialCompression="30" suspTravel="0.3" spring="40" damper="40" frictionScale="2"/>
                        <tire isCareWheel="true"/>
                    </wheel>
                    <wheel filename="wheels/480_80R50.xml" configId="hub" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="3.83" repr="0>0|2|1|0|0" forcePointRatio="0.5" initialCompression="30" suspTravel="0.3" spring="40" damper="40" frictionScale="2"/>
                        <tire isCareWheel="true"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
			<wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="3000" brand="MICHELIN" saveId="MICHELIN_BROAD">                
				<wheels baseConfig="MICHELIN_NARROW">
                    <wheel filename="wheels/620_70R42.xml">
                        <!-- <physics yOffset="0.053"/> -->
                    </wheel>
                    <wheel filename="wheels/620_70R42.xml">
                        <!-- <physics yOffset="0.053"/> -->
                    </wheel>
                    <wheel filename="wheels/620_70R42.xml">
                        <!-- <physics yOffset="0.044"/> -->
                    </wheel>
                    <wheel filename="wheels/620_70R42.xml">
                        <!-- <physics yOffset="0.044"/> -->
                    </wheel>
                </wheels>
						<objectChange node="0>0|1|0|0|0" translationActive="0.5 -0.49 -0.002" />
						<objectChange node="0>0|1|1|0|0" translationActive="-0.5 -0.49 -0.002" />
						<objectChange node="0>0|2|0|0|0" translationActive="0.5 -0.49 -0.002" />
						<objectChange node="0>0|2|1|0|0" translationActive="-0.5 -0.49 -0.002" />
            </wheelConfiguration>

            <wheelConfiguration name="Rear_Duals" price="0" brand="MICHELIN" saveId="MICHELIN_NARROW1">
                <wheels autoRotateBackSpeed="1.6">
                    <wheel filename="wheels/480_80R50.xml" configId="hub" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="3.5" repr="0>0|1|0|0" driveNode="0>0|1|0|0|0" forcePointRatio="0.5" initialCompression="30" suspTravel="0.3" spring="38" damper="40" frictionScale="2"/>
                        <tire isCareWheel="true"/>
                    </wheel>
                    <wheel filename="wheels/480_80R50.xml" configId="hub" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="3.5" repr="0>0|1|1|0" driveNode="0>0|1|1|0|0" forcePointRatio="0.5" initialCompression="30" suspTravel="0.3" spring="38" damper="40" frictionScale="2"/>
                        <tire isCareWheel="true"/>
                    </wheel>
                    <wheel filename="wheels/480_80R50.xml" configId="hub" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="3.83" repr="0>0|2|0|0|0" forcePointRatio="0.5" initialCompression="30" suspTravel="0.3" spring="40" damper="40" frictionScale="2"/>
                        <tire isCareWheel="true"/>
                    </wheel>
                    <wheel filename="wheels/480_80R50.xml" configId="hub" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="3.83" repr="0>0|2|1|0|0" forcePointRatio="0.5" initialCompression="30" suspTravel="0.3" spring="40" damper="40" frictionScale="2"/>
                        <tire isCareWheel="true"/>
                    </wheel>
                </wheels>

						<objectChange node="0>0|2|0|0|0|0" visibilityActive="true" />
						<objectChange node="0>0|2|1|0|0|0" visibilityActive="true" />

            </wheelConfiguration>

        </wheelConfigurations>
        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="55" rotMax="45" rotCenterWheel1="3" rotCenterWheel2="4"/>
        </ackermannSteeringConfigurations> 			
		<rimColor>JOHNDEERE_YELLOW1</rimColor>
        <hubs>
            <color0>JOHNDEERE_YELLOW1</color0>
            <color1>JOHNDEERE_YELLOW1</color1>
            <hub linkNode="0>0|1|0|0|0" filename="$data/shared/wheels/hubs/hub_n12_9.xml" isLeft="true" scale="0.5 0.385 0.385"/>
            <hub linkNode="0>0|1|1|0|0" filename="$data/shared/wheels/hubs/hub_n12_9.xml" isLeft="false" scale="0.5 0.385 0.385"/>
            <hub linkNode="0>0|2|0|0|0" filename="$data/shared/wheels/hubs/hub_n12_9.xml" isLeft="true" scale="0.5 0.385 0.385"/>
            <hub linkNode="0>0|2|1|0|0" filename="$data/shared/wheels/hubs/hub_n12_9.xml" isLeft="false" scale="0.5 0.385 0.385"/>
        </hubs>
    </wheels>
	
	<vehicleTypeConfigurations title="Abre Linhas">
        <vehicleTypeConfiguration name="Nao" price="0" vehicleType="selfPropelledSprayer">
			<objectChange node="0>0|1|1|0|1" visibilityActive="false" />
			<objectChange node="0>0|1|0|0|1" visibilityActive="false" />
			<objectChange node="0>0|2|1|1" visibilityActive="false" />
			<objectChange node="0>0|2|0|1" visibilityActive="false" />
        </vehicleTypeConfiguration>
        <vehicleTypeConfiguration name="Sim" price="1300" vehicleType="selfPropelledSprayer">
			<objectChange node="0>0|1|1|0|1" visibilityActive="true" />
			<objectChange node="0>0|1|0|0|1" visibilityActive="true" />
			<objectChange node="0>0|2|1|1" visibilityActive="true" />
			<objectChange node="0>0|2|0|1" visibilityActive="true" />
        </vehicleTypeConfiguration>
	</vehicleTypeConfigurations>

     <lights>
        <sharedLight linkNode="0>0|10|9|4|0" filename="$data/shared/assets/lights/lizard/rearLight19Orange_right.xml"/>
        <sharedLight linkNode="0>0|10|9|4|1" filename="$data/shared/assets/lights/lizard/rearLight19Orange_left.xml"/>
        <sharedLight linkNode="0>0|0|0|0|0|0|5|0|0" filename="$data/shared/assets/lights/lizard/rearLight19Orange_left.xml"/>
        <sharedLight linkNode="0>0|0|0|0|1|0|5|0|0" filename="$data/shared/assets/lights/lizard/rearLight19Orange_right.xml"/>
        <sharedLight linkNode="0>0|10|9|4|2" filename="$data/shared/assets/lights/lizard/rearLight19Red.xml"/>
        <sharedLight linkNode="0>0|10|9|4|3" filename="$data/shared/assets/lights/lizard/rearLight19Red.xml"/>
        <sharedLight linkNode="0>0|0|0|0|0|0|5|1" filename="$data/shared/assets/lights/lizard/workingLight07.xml"/>
        <sharedLight linkNode="0>0|0|0|0|1|0|5|1" filename="$data/shared/assets/lights/lizard/workingLight07.xml"/>
        <states>
            <state lightTypes="0"/>
            <state lightTypes="0 1"/>
            <state lightTypes="0 1 2"/>
        </states>
        <realLights>
            <low>
                <light node="0>0|10|9|1|0" lightTypes="0" excludedLightTypes="2"/>
                <light node="0>0|1|1|0|4|1|0" lightTypes="1"/>
                <light node="0>0|1|0|0|4|1|0" lightTypes="1"/>
                <light node="0>0|10|9|3|0" lightTypes="2"/>
                <light node="0>0|10|9|3|1" lightTypes="2"/>
                <light node="0>0|0|0|0|0|0|5|1|1|0" lightTypes="2"/>
                <light node="0>0|0|0|0|1|0|5|1|1|0" lightTypes="2"/>
            </low>
            <high>
                <light node="0>0|10|9|1|0" lightTypes="0" excludedLightTypes="2"/>
                <light node="0>0|1|1|0|4|1|0" lightTypes="1"/>
                <light node="0>0|1|0|0|4|1|0" lightTypes="1"/>
                <light node="0>0|10|9|3|0" lightTypes="1"/>
                <light node="0>0|10|9|3|1" lightTypes="1"/>
                <light node="0>0|10|9|1|0" lightTypes="0"/>
                <light node="0>0|10|9|2"        lightTypes="1"/>
                <light node="0>0|0|0|0|0|0|5|1|1|0" lightTypes="2"/>
                <light node="0>0|0|0|0|1|0|5|1|1|0" lightTypes="2"/>
				<brakeLight node="0>0|10|9|2"/>
                <turnLightLeft node="0>0|10|9|3|2" />
                <turnLightRight node="0>0|10|9|3|3" />
            </high>
        </realLights>
		
        <defaultLights>
			<defaultLight shaderNode="0>0|10|9|0|0" lightTypes="0" intensity="50"/>
			<defaultLight shaderNode="0>0|10|9|0|1" lightTypes="0" intensity="50"/>
			<defaultLight shaderNode="0>0|10|9|0|2" lightTypes="0" intensity="50"/>
			<defaultLight shaderNode="0>0|10|9|0|3" lightTypes="0" intensity="50"/>
			<defaultLight shaderNode="0>0|10|9|0|4" lightTypes="1" intensity="50"/>
			<defaultLight shaderNode="0>0|10|9|0|5" lightTypes="1" intensity="50"/>
			<defaultLight shaderNode="0>0|3|6|0|0" lightTypes="1" intensity="50"/>
			<defaultLight shaderNode="0>0|3|6|0|1" lightTypes="1" intensity="50"/>
			<defaultLight shaderNode="0>0|3|6|0|2" lightTypes="1" intensity="50"/>
			<defaultLight shaderNode="0>0|3|6|0|3" lightTypes="1" intensity="50"/>
			<defaultLight shaderNode="0>0|1|1|0|4|0|0" lightTypes="1" intensity="50"/>
			<defaultLight shaderNode="0>0|1|0|0|4|0|0" lightTypes="1" intensity="50"/>
        </defaultLights>
		
		 <turnLights>
            <turnLightLeft shaderNode="0>0|10|9|4|1|0|0" />
            <turnLightRight shaderNode="0>0|10|9|4|0|0|0" />
        </turnLights>
		
        <sounds>
            <switchLight template="SWITCH_01"/>
            <turnLight template="SWITCH_TURNLIGHT_JD"/>
        </sounds>
		
		<dashboards>
		    <default>
			<dashboard displayType="EMITTER" node="cabinLightDecal" intensity="0.3" idleValue="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" node="0>0|3|1|0" intensity="0.3" idleValue="0" groups="MOTOR_ACTIVE"/>
		</default>
			<dashboard displayType="EMITTER" valueType="lightState" node="0>0|3|1|0" intensity="0.3" lightTypes="0"/>
			<dashboard displayType="EMITTER" valueType="lightState" node="0>0|3|3|0|1" intensity="0.3" lightTypes="0"/>
			<dashboard displayType="EMITTER" valueType="lightState" node="0>0|3|4|3|0" intensity="0.3" lightTypes="0"/>
			<dashboard displayType="EMITTER" valueType="lightState" node="0>0|3|4|4" intensity="0.3" lightTypes="0"/>
			<dashboard displayType="EMITTER" valueType="lightState" node="0>0|3|1|0" intensity="0.3" lightTypes="0" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </lights>
    
	<dashboard>
        <groups>
            <group name="MOTOR_STARTING" isMotorStarting="true"/>
            <group name="MOTOR_ACTIVE"   isMotorStarting="true" isMotorRunning="true"/>
        </groups>
        <default>
            
			<dashboard displayType="VISIBILITY" node="0>0|3|1|0" groups="MOTOR_ACTIVE" />
			
        </default>
    </dashboard>
	
    <workAreas>
        <workArea type="sprayer" functionName="processSprayerArea" disableBackwards="false" requiresGroundContact="false" >
            <area startNode="0>0|5|0" widthNode="0>0|5|1" heightNode="0>0|5|2" />
        </workArea>
    </workAreas>

    <sprayer fillUnitIndex="1" unloadInfoIndex="1">
        <usageScales workAreaIndex="1" scale="1"/>
        <effects>
            <effectNode effectNode="0>0|0|0|0|0|0|0|0|1"  delay="0.4" materialType="sprayer" />
            <effectNode effectNode="0>0|0|0|0|0|0|0|0|0"  delay="0.3" materialType="sprayer" />
            <effectNode effectNode="0>0|0|0|0|0|0|2|1"       delay="0.2" materialType="sprayer" />
            <effectNode effectNode="0>0|0|0|0|0|0|2|0"       delay="0.1" materialType="sprayer" />
            <effectNode effectNode="0>0|0|0|0|7|0"     delay="0"   materialType="sprayer" />
            <effectNode effectNode="0>0|0|0|0|1|0|2|0"      delay="0.1" materialType="sprayer" />
            <effectNode effectNode="0>0|0|0|0|1|0|2|1"      delay="0.2" materialType="sprayer" />
            <effectNode effectNode="0>0|0|0|0|1|0|0|0|0" delay="0.3" materialType="sprayer" />
            <effectNode effectNode="0>0|0|0|0|1|0|0|0|1" delay="0.4" materialType="sprayer" />
        </effects>

        <sounds>
            <work template="DEFAULT_SPRAYER" pitchScale="1.0" volumeScale="2.2" fadeOut="1.5"/>
        </sounds>
    </sprayer>

      <variableWorkWidth>
        <sections>
            <section isLeft="true" maxWidthNode="0>0|5|3|0">
                <effect node="0>0|0|0|0|0|0|0|0|1" />
            </section>
            <section isLeft="true" maxWidthNode="0>0|5|3|1">
                <effect node="0>0|0|0|0|0|0|0|0|0" />
            </section>
            <section isLeft="true" maxWidthNode="0>0|5|3|2">
                <effect node="0>0|0|0|0|0|0|2|1" />
            </section>
            <section isLeft="true" maxWidthNode="0>0|5|3|3">
                <effect node="0>0|0|0|0|0|0|2|0" />
            </section>
            <section isCenter="true" />
            <section isLeft="false" maxWidthNode="0>0|5|3|4">
                <effect node="0>0|0|0|0|1|0|2|0" />
            </section>
            <section isLeft="false" maxWidthNode="0>0|5|3|5">
                <effect node="0>0|0|0|0|1|0|2|1" />
            </section>
            <section isLeft="false" maxWidthNode="0>0|5|3|6">
                <effect node="0>0|0|0|0|1|0|0|0|0" />
            </section>
            <section isLeft="false" maxWidthNode="0>0|5|3|7">
                <effect node="0>0|0|0|0|1|0|0|0|1" />
            </section>
        </sections>
		
        <sectionNodes>
            <sectionNode node="0>0|5|0"  isLeft="true"  minTransX="2"  maxTransX="18" />
            <sectionNode node="0>0|5|1"  isLeft="false" minTransX="-2" maxTransX="-18" />
            <sectionNode node="0>0|5|2" isLeft="true"  minTransX="2"  maxTransX="18" />

            <sectionNode node="0>0|8|0|0"   isLeft="true"  minTransX="2"  maxTransX="18" />
            <sectionNode node="0>0|8|0|1"  isLeft="false" minTransX="-2" maxTransX="-18" />
        </sectionNodes>
    </variableWorkWidth>

    <turnOnVehicle turnOffIfNotAllowed="true" >
        <sounds>
            <work template="DEFAULT_SPRAYER" pitchOffset="0.75" linkNode="0>" />
        </sounds>
    </turnOnVehicle>

    <enterable>
        <exitPoint node="0>0|6"/>
        <enterReferenceNode node="0>"/>
        <enterAnimation name="Escada"/>
        <characterNode node="0>0|3|4|0|0" cameraMinDistance="1.5" spineRotation="-90 0 90">
            <target ikChain="rightFoot" targetNode="0>0|3|2|1" />
            <target ikChain="leftFoot" targetNode="0>0|3|2|0" />
            <target ikChain="rightArm" targetNode="0>0|3|4|2" poseId="wideFingers"/>
            <target ikChain="leftArm" targetNode="0>0|3|3|0|0" />
        </characterNode>
        <cameras>
            <camera node="0>0|7|0|0" rotatable="true" rotateNode="0>0|7|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="6" transMax="40" translation="0 0 9.75" rotation="-10 180 0">
                <raycastNode node="0>0|7|2"/>
                <raycastNode node="0>0|7|3"/>
            </camera>
            <camera node="0>0|3|4|1|0" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" positionSmoothingParameter="0.17" shadowFocusBox="0>0|3|4|1|1"/>
        </cameras>
	</enterable>

    <motorized>
        <consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="2" usage="50" fillType="diesel" />  <!-- usage is per hour at max load and max rpm -->
            </consumerConfiguration>
        </consumerConfigurations>
		
		<motorConfigurations>
            <motorConfiguration name="John Deere 4730" hp="165" price="0">
                <motor torqueScale="1.562" minRpm="850" maxRpm="2200" maxForwardSpeed="50" maxBackwardSpeed="20" brakeForce="16" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1">
                    <torque normRpm="0.45" torque="0.9"/>
                    <torque normRpm="0.5" torque="0.97"/>
                    <torque normRpm="0.59" torque="1"/>
                    <torque normRpm="0.72" torque="1"/>
                    <torque normRpm="0.86" torque="0.88"/>
                    <torque normRpm="1" torque="0.72"/>
                </motor>
                <transmission minForwardGearRatio="12.3" maxForwardGearRatio="250" minBackwardGearRatio="32" maxBackwardGearRatio="250" />
            </motorConfiguration>
        </motorConfigurations>

        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.6" wheelIndex1="1" wheelIndex2="2"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.8" wheelIndex1="3" wheelIndex2="4"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.4" differentialIndex1="1" differentialIndex2="2"/>
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>

        <exhaustEffects>
            <exhaustEffect node="0>0|10|1" filename="$data/effects/exhaust/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.1" maxRpmColor="0.9 0.9 0.9 0.4" minRpmScale="0.05" maxRpmScale="0.5" />
        </exhaustEffects>

        <motorStartDuration>3000</motorStartDuration>

        <dashboards>
            <dashboard displayType="ROT"    valueType="speedDir" node="0>0|3|4|3" minRot="-20 0 0" maxRot="20 0 0" groups="MOTOR_ACTIVE"/>
        </dashboards>


    </motorized>

    <drivable>
        <sounds>
            <waterSplash template="WATER_SPLASH_01" />
        </sounds>

        <steeringWheel node="0>0|3|3|0" indoorRotation="540" outdoorRotation="60" />

    </drivable>

    <foldable>
       <foldingConfigurations>
           <foldingConfiguration>
        <foldingParts startMoveDirection="-1" posDirectionText="action_foldOBJECT" negDirectionText="action_unfoldOBJECT" allowUnfoldingByAI="false" loadMovingToolStatesMaxLimit="-1" loadMovingToolStatesMinLimit="-1" toggleCoverMaxLimit="0.99">
            <foldingPart animationName="folding" speedScale="0.7" />
        </foldingParts>
             </foldingConfiguration>
         </foldingConfigurations>
    </foldable>
	
    <animations>
	 <animation name="axisMovement">
            <part endTime="4" endTrans="0.85 1.774 3.25" node="0>0|1|0" startTime="0.2" startTrans="0.596 1.774 3.25"/>
            <part endTime="4" endTrans="-0.85 1.774 3.25" node="0>0|1|1" startTime="0.2" startTrans="-0.596 1.774 3.25"/>
            <part endTime="4" endTrans="0.85 1.774 -1.334" node="0>0|2|0" startTime="0.2" startTrans="0.596 1.774 -1.334"/>
            <part endTime="4" endTrans="-0.85 1.774 -1.334" node="0>0|2|1" startTime="0.2" startTrans="-0.596 1.774 -1.334"/>
        </animation>
        <animation name="folding">
            <part node="0>0|0|0" startTime="5" endTime="7" direction="-1" startRot="63 0 0" endRot="63 0 0"/>
            <part node="0>0|0|0|0" startTime="5" endTime="7" direction="-1" startRot="-63 0 0" endRot="-63 0 0"/>
            <part node="0>0|0|0|0|0|0" startTime="1" endTime="7" startRot="0 0 0" endRot="0 90 0"/>
            <part node="0>0|0|0|0|0|0|0" startTime="7" endTime="15" startRot="0 180 30" endRot="0 0 30"/>
            <part node="0>0|0|0|0|1|0" startTime="1" endTime="7" startRot="0 0 0" endRot="0 -90 0"/>
            <part node="0>0|0|0|0|1|0|0" startTime="7" endTime="15" startRot="0 -180 -30" endRot="0 0 -30"/>
        </animation>
		<animation name="mainArmMovement">
            <part node="0>0|0|0|0|1"   startTime="0.0" endTime="4.0" startRot="0 0 -10" endRot="0 0 0"/>
			<part node="0>0|0|0|0|0"   startTime="0.0" endTime="4.0" startRot="0 0 10" endRot="0 0 0"/>
        </animation>
        <animation name="wiperFrontAnimation">
            <part node="0>0|3|9|0"  startTime="0.0" endTime="0.5" startRot="-2.719 0 0" endRot="-9.187 -2.072 -49.623" />
            <part node="0>0|3|9|0"  startTime="0.5" endTime="1.0" startRot="-9.187 -2.072 -49.623" endRot="0.4 -2.689 -98.472" />
            <part node="0>0|3|9|0"  startTime="1.0" endTime="1.5" startRot="0.4 -2.689 -98.472" endRot="-9.187 -2.072 -49.623" />
            <part node="0>0|3|9|0"  startTime="1.5" endTime="2.0" startRot="-9.187 -2.072 -49.623" endRot="-2.719 0 0" />
        </animation>
		<animation name="Escada">
            <part node="0>0|1|2" startTime="0.00" endTime="2.00" startRot="0 0 0" endRot="-150 0 0"/>
            <part node="0>0|10|4" startTime="0.00" endTime="2.00" startRot="0 0 0" endRot="0 0 80"/>
		</animation>
    </animations>
	
	<cylindered>
        <movingTools>
            <movingTool node="0>0|0|0" playSound="true" foldMinLimit="0.5" foldMaxLimit="1">
                <controls axis="AXIS_SPRAYER_ARM" invertAxis="true" mouseSpeedFactor="0.4" iconName="SPRAYER_ARM_TRANSLATE_Y" />
                <rotation rotSpeed="30" rotAcceleration="120" rotMax="65" rotMin="-45" rotationAxis="1" startRot="45"/>
                <dependentPart node="0>0|0|1"/>                
				<dependentPart node="0>0|0|0|0"/>                
				<dependentPart node="0>0|10|5"/>
            </movingTool>
			<movingTool node="0>0|0|0|0|0" playSound="true" >
                <controls axis="AXIS_FRONTLOADER_TOOL4" invertAxis="true" mouseSpeedFactor="0.7" iconName="SPRAYER_ARM_TRANSLATE_Y" />
				<animation animSpeed="0.3" animAcceleration="5" animName="mainArmMovement" />
				<dependentPart node="0>0|0|0|0|1"/>
            </movingTool>
            <!-- axis extension -->
            <movingTool node="0>0|1|0" wheelIndices="1 2 3 4" playSound="true" isActiveDirty="true">
				<controls axis="AXIS_WHEEL_BASE" invertAxis="false" mouseSpeedFactor="0.7" iconName="WHEEL_BASE_TRANSLATE_X"/>
				<animation animSpeed="0.3" animAcceleration="5" animName="axisMovement" />
			</movingTool>
        </movingTools>

        <movingParts>
            <movingPart node="0>0|0|0|0|2" referencePoint="0>0|0|0|0|0|0|1" referenceFrame="0>0|0|0|0|0|0|1" isActiveDirty="true" maxUpdateDistance="100">
                <translatingPart node="0>0|0|0|0|2|0"/>
            </movingPart>
            <movingPart node="0>0|0|0|0|3" referencePoint="0>0|0|0|0|1|0|1" referenceFrame="0>0|0|0|0|1|0|1" isActiveDirty="true" maxUpdateDistance="100">
                <translatingPart node="0>0|0|0|0|3|0"/>
            </movingPart>
            <movingPart node="0>0|0|0|0|5" referencePoint="0>0|0|2" referenceFrame="0>0|0|2" isActiveDirty="true" maxUpdateDistance="100">
                <translatingPart node="0>0|0|0|0|5|0"/>
            </movingPart>
            <movingPart node="0>0|0|0|0|6" referencePoint="0>0|0|3" referenceFrame="0>0|0|3" isActiveDirty="true" maxUpdateDistance="100">
                <translatingPart node="0>0|0|0|0|6|0"/>
            </movingPart>
            <movingPart node="0>0|1|0|1" referencePoint="0>0|1|0|0|2" referenceFrame="0>0|1|0|0|2" isActiveDirty="true" maxUpdateDistance="100">
                <translatingPart node="0>0|1|0|1|0"/>
            </movingPart>
            <movingPart node="0>0|1|1|1" referencePoint="0>0|1|1|0|2" referenceFrame="0>0|1|1|0|2" isActiveDirty="true" maxUpdateDistance="100">
                <translatingPart node="0>0|1|1|1|0"/>
            </movingPart>
            <movingPart node="0>0|0|0|0|8" referencePoint="0>0|0|0|0|0|1" referenceFrame="0>0|0|0|0|0|1" isActiveDirty="true" maxUpdateDistance="100">
                <translatingPart node="0>0|0|0|0|8|0"/>
            </movingPart>
            <movingPart node="0>0|0|0|0|9" referencePoint="0>0|0|0|0|1|1" referenceFrame="0>0|0|0|0|1|1" isActiveDirty="true" maxUpdateDistance="100">
                <translatingPart node="0>0|0|0|0|9|0"/>
            </movingPart>
            <movingPart node="0>0|0|0|0|1|0|4" referencePoint="0>0|0|0|0|1|0|0|2" referenceFrame="0>0|0|0|0|1|0|0|2" isActiveDirty="true" maxUpdateDistance="100">
                <translatingPart node="0>0|0|0|0|1|0|4|0"/>
            </movingPart>
            <movingPart node="0>0|0|0|0|0|0|4" referencePoint="0>0|0|0|0|0|0|0|2" referenceFrame="0>0|0|0|0|0|0|0|2" isActiveDirty="true" maxUpdateDistance="100">
                <translatingPart node="0>0|0|0|0|0|0|4|0"/>
            </movingPart>
			<movingPart node="0>0|0|0|0" referenceFrame="0>" isActiveDirty="true" maxUpdateDistance="100" />
			
	    <movingPart node="0>0|0|1" referencePoint="0>0|0|0|0|4" referenceFrame="0>0|0|0|0|4" isActiveDirty="true" maxUpdateDistance="100" scaleZ="true"/>
        </movingParts>

    </cylindered>

    <suspensions>
	    <suspension node="0>0|3" weight="400" minRotation="-0.7 0 -1" maxRotation="0.7 0 1" minTranslation="0.0 -0.15 0.0" maxTranslation="0.0 0.15 0.0" suspensionParametersX="200 17" suspensionParametersZ="200 17"/>
        <suspension node="0>0|3|4" weight="50" minTranslation="0.0 -0.15 0.0" maxTranslation="0.0 0.15 0.0" suspensionParametersX="20 4" suspensionParametersY="5 1" suspensionParametersZ="20 4" />
        <suspension useCharacterTorso="true" weight="90" minRotation="0 -5 -5" maxRotation="0 5 5" suspensionParametersY="7 1" suspensionParametersZ="7 1" />
    </suspensions>

     <wipers>
	    <wiper animName="wiperFrontAnimation" >
            <state animSpeed="1.0" animPause="2.0" />
        </wiper>
    </wipers>

    
	   <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <unloading width="8" offset="0 0 0" />
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypeCategories="sprayer" capacity="5000">
                        <exactFillRootNode node="0>0|12|0"/>
                    </fillUnit>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="269" canBeUnloaded="false" >
                    </fillUnit>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" showOnHud="false" showInShop="false" showOnInfoHud="false" fillTypes="def" capacity="36" canBeUnloaded="false" >
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit> 
	
	<baseMaterial>
        <material name="bochka_riley_mat" baseNode="0>0|4">
            <shaderParameter name="colorMat0" value="0.1 0.1 0.1"/>			
		</material>
		
        <material name="barra_mat" baseNode="0>0|0|0|0"> 
             <shaderParameter name="colorMat0" value="0.1 0.1 0.1"/> 
		</material>			 
        <material name="barra_mat2" baseNode="0>0|0|0|0|1|0|0"> 
             <shaderParameter name="colorMat0" value="0.1 0.1 0.1"/> 
		</material>
	</baseMaterial>

	<dischargeable requiresTipOcclusionArea="false">
        <dischargeNode node="0>0|12|1" emptySpeed="250" fillUnitIndex="1" allowAIDischarge="true" canDischargeToGround="false">
            <info width="1.0" length="0.5" zOffset="0.4" />
            <trigger node="0>0|12|1" />
            <dischargeSound template="SLURRY_01"/>
        </dischargeNode>
    </dischargeable>

	<ai>			
		<agent width="3.95" length="10.1" height="4.3" lengthOffset="2" frontOffset="0" />
        <areaMarkers leftNode="0>0|8|0|0" rightNode="0>0|8|0|1" backNode="0>0|8|0|2"/>
        <sizeMarkers leftNode="0>0|8|1|0" rightNode="0>0|8|1|2" backNode="0>0|8|1|2"/>
        <collisionTrigger node="0>0|8|2" width="31" height="4.2" length="15"/>
        <needsLowering value="false"/>
        <toolReverserDirectionNode node="0>0|8|1|2"/>		
    </ai>

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

</vehicle>
