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

    <storeData>
        <name>Frutteto</name>
        <specs>
            <power>75</power>
            <maxSpeed>40</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_tractor</function>
            <function>$l10n_function_tractorFrontloader</function>
        </functions>
        <image>store_sameFrutteto.png</image>
        <price>10000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>SAME</brand>
        <category>tractorsS</category>
        <shopTranslationOffset>0 -0.13 0</shopTranslationOffset>
        <shopRotationOffset>-1 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>2525800</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>410682</indexBufferMemoryUsage>
        <textureMemoryUsage>14068736</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_tractor</typeDesc>
        <filename>same.i3d</filename>
        <size width="2.5" length="5" lengthOffset="-0.5"/>
        <components>
            <component centerOfMass="0 0.8 -0.4" solverIterationCount="20" mass="2700" />
            <component centerOfMass="0 0.0 0"  solverIterationCount="20" mass="750" />
            <joint component1="1" component2="2" node="frontAxisComponentJoint"  rotLimit="0 0 10" rotLimitSpring="0 0 4000" rotLimitDamping="0 0 25" maxRotDriveForce="0 0 10" rotDriveRotation="0 0 0" rotDriveSpring="0 0 15" rotDriveDamping="0 0 10" breakable="false"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_VEHICLE"/>
            <turnedOn name="DEFAULT_VEHICLE_ON"/>
            <selected name="DEFAULT_VEHICLE_SELECTED"/>
            <turnedOnSelected name="DEFAULT_VEHICLE_SELECTED_ON"/>
        </schemaOverlay>
    </base>

    <wheels>
        <wheelConfigurations>
            <!--<wheelConfiguration name="$l10n_configuration_valueDefault2wd" price="0">
                <wheels autoRotateBackSpeed="2.2">
                    <wheel filename="wheels/2wd.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="1" restLoad="1.4" repr="wheelFrontLeftAxis2wd"  driveNode="wheelFrontLeft2wd"  forcePointRatio="0.5" initialCompression="25" suspTravel="0.13" spring="40" damper="20" />
                    </wheel>
                    <wheel filename="wheels/2wd.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="1.4" repr="wheelFrontRightAxis2wd" driveNode="wheelFrontRight2wd" forcePointRatio="0.5" initialCompression="25" suspTravel="0.13" spring="40" damper="20" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/Trelleborg/TM600/320_85R28.xml" isLeft="true" hasTireTracks="true" hasParticles="true" configId="rim4">
                        <physics rotSpeed="0" restLoad="0.8" repr="wheelBackLeft"  forcePointRatio="0.5" initialCompression="20" suspTravel="0.2" spring="18" damper="20" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/Trelleborg/TM600/320_85R28.xml" isLeft="false" hasTireTracks="true" hasParticles="true" configId="rim4">
                        <physics rotSpeed="0" restLoad="0.8" repr="wheelBackRight" forcePointRatio="0.5" initialCompression="20" suspTravel="0.2" spring="18" damper="20" />
                    </wheel>
                    <foliageBendingModifier index="1" minX="-1" maxX="1" />
                    <foliageBendingModifier index="2" minX="-1.07" maxX="1.07" />
                </wheels>
				<objectChange node="2wd" visibilityActive="true" visibilityInactive="false" />
				<objectChange node="AttacherAxisScalePart" scaleActive="1 1 0.45" scaleInactive="1 1 1" />
            </wheelConfiguration>-->
			<wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels autoRotateBackSpeed="2.2">
                    <wheel filename="wheels/280_85R20.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="1" restLoad="1.4" repr="wheelFrontLeftAxis"  driveNode="wheelFrontLeft"  forcePointRatio="0.5" initialCompression="25" suspTravel="0.13" spring="40" damper="20" />
                    </wheel>
                    <wheel filename="wheels/280_85R20.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="1.4" repr="wheelFrontRightAxis" driveNode="wheelFrontRight" forcePointRatio="0.5" initialCompression="25" suspTravel="0.13" spring="40" damper="20" />
                    </wheel>
                    <wheel filename="wheels/380_85R30.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="0.8" repr="wheelBackLeft"  forcePointRatio="0.5" initialCompression="20" suspTravel="0.2" spring="18" damper="20" />
                    </wheel>
                    <wheel filename="wheels/380_85R30.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="0.8" repr="wheelBackRight" forcePointRatio="0.5" initialCompression="20" suspTravel="0.2" spring="18" damper="20" />
                    </wheel>
                    <foliageBendingModifier index="1" minX="-1" maxX="1" />
                    <foliageBendingModifier index="2" minX="-1.07" maxX="1.07" />
                </wheels>
				<objectChange node="4wd" visibilityActive="true" visibilityInactive="false" />
				<objectChange node="2wd" visibilityActive="false" visibilityInactive="true" />
				<objectChange node="trasmissionBox" visibilityActive="true" visibilityInactive="false" />
				<objectChange node="hydraulicLeft" visibilityActive="false" visibilityInactive="false" />
				<objectChange node="hydraulicRight" visibilityActive="false" visibilityInactive="false" />
            </wheelConfiguration>
        </wheelConfigurations>

        <hubs>
            <color0>SAME_BLACK2</color0>
            <color1>SHARED_GREY1</color1>
            <hub linkNode="wheelFrontLeftHub"  filename="$data/shared/wheels/hubs/hub_n10_2.xml"  isLeft="true" scale="0.2 0.18 0.18" />
            <hub linkNode="wheelFrontRightHub" filename="$data/shared/wheels/hubs/hub_n10_2.xml"  isLeft="false" scale="0.2 0.18 0.18" />
            <hub linkNode="wheelBackLeft"   filename="$data/shared/wheels/hubs/hub_n10_14.xml" isLeft="true"  scale="0.25 0.25 0.25" />
            <hub linkNode="wheelBackRight"  filename="$data/shared/wheels/hubs/hub_n10_14.xml" isLeft="false" scale="0.25 0.25 0.25" />
        </hubs>

        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="40" rotMax="28" rotCenterWheel1="3" rotCenterWheel2="4" />
        </ackermannSteeringConfigurations>
    </wheels>

    <speedRotatingParts>
        <speedRotatingPart node="trasmissionRot" wheelIndex="1" wheelScale="3"/>
        <speedRotatingPart node="trasmissionRot2" wheelIndex="1" wheelScale="3"/>
    </speedRotatingParts>

    <lights>
        <sharedLight linkNode="backLeftLight"           node="0"                filename="$data/shared/assets/lights/lizard/rear3ChamberLight_01_left.xml" />
        <sharedLight linkNode="backRightLight"           node="0"                filename="$data/shared/assets/lights/lizard/rear3ChamberLight_01_right.xml" />

        <states>
            <state lightTypes="0" />
        </states>

        <realLights>
            <low>
                <light node="frontLightLow"       lightTypes="0" />
            </low>
            <high>
                <light node="frontLightHigh"        lightTypes="0"  />
                <light node="backLightsHigh"       lightTypes="0"/>
                <brakeLight node="brakeLightsHigh" />
                <turnLightLeft node="turnLightLeft" />
                <turnLightRight node="turnLightRight" />
            </high>
        </realLights>

        <defaultLights>
            <defaultLight shaderNode="frontStatic"     lightTypes="0" />
        </defaultLights>

        <beaconLights>
            <beaconLight node="beaconLight" filename="$data/shared/assets/beaconLights/lizard/beaconLight02.xml" />
        </beaconLights>

        <sounds>
            <switchLight template="SWITCH_01" linkNode="vigneronMainComponent1" />
            <turnLight template="SWITCH_TURNLIGHT" linkNode="vigneronMainComponent1" />
        </sounds>
    </lights>

    <attacherJoints comboDuration="0">
        <attacherJoint node="attacherJointBack" lowerRotationOffset="-1.5" upperRotationOffset="-1.5" moveTime="2.5" comboTime="1">
            <distanceToGround lower="0.36" upper="1.07" />
            <rotationNode node="attacherJointBackRot" lowerRotation="-11 0 0" upperRotation="25 0 0" />
            <rotationNode2 node="attacherJointBackRot2" />
            <bottomArm rotationNode="attacherJointBackArmBottom" translationNode="attacherJointBackArmBottomLink" referenceNode="referencePointBackBottom" zScale="-1" startRotation="-10 0 0" />
            <topArm baseNode="attacherJointBackArmTop" filename="$data/shared/assets/upperLinks/walterscheid03.i3d" zScale="-1" color="SHARED_GREY5" />
            <schema position="1 0" rotation="0" invertX="false" />
			<objectChange node="trailerAttacherJointBackLow" visibilityActive="false"  visibilityInactive="true" />
			<objectChange node="trailerAttacherNode" visibilityActive="false"  visibilityInactive="true" />
        </attacherJoint>
        <attacherJoint node="trailerAttacherJointBack" jointType="trailer" lowerRotLimit="10 50 50" upperRotRotationOffset="0" allowsJointLimitMovement="false" comboTime="1">
            <distanceToGround lower="0.44" upper="1.02" />
            <transNode node="trailerAttacherNode" minY="0.622" maxY="0.76" height="0.3"/>
            <schema position="1 0" rotation="0" invertX="false" />
			<objectChange node="trailerAttacherJointBackLow" visibilityActive="false"  visibilityInactive="true" />
        </attacherJoint>
		<attacherJoint node="trailerAttacherJointBackLow" jointType="trailerLow" lowerRotLimit="10 50 50" upperRotRotationOffset="0" allowsJointLimitMovement="false" comboTime="1">
            <distanceToGround lower="0.44" upper="1.02" />
            <transNode node="trailerAttacherNodeLow" minY="0.357" maxY="0.357" height="0.3"/>
            <schema position="1 0" rotation="0" invertX="false" />
			<objectChange node="trailerAttacherNode" visibilityActive="false"  visibilityInactive="true" />
			<objectChange node="attacherJointBackArmBottom" rotationActive="25 0 0"  rotationInactive="-10 0 0" />
        </attacherJoint>
        <attacherJoint node="trailerAttacherJointFront" jointType="trailer" lowerRotLimit="10 50 50" lowerTransLimit="0 0 0" upperRotRotationOffset="0" allowsJointLimitMovement="false" comboTime="0">
            <schema position="1 0" rotation="0" invertX="true" />
        </attacherJoint>
		<attacherJoint node="trailerAttacherJointFrontWeight" jointType="skidSteer" allowsJointLimitMovement="false" allowsLowering="false" rotLimitSpring="7500 7500 7500" rotLimitDamping="5 5 5" transLimitSpring="7500 7500 7500" transLimitDamping="5 5 5" >
            <schema position="1 0" rotation="0" invertX="true" />
			<objectChange node="trailerAttacherJointFrontVis" visibilityActive="false"  visibilityInactive="true" />
        </attacherJoint>

        <sounds>
            <attach template="ATTACH_01" linkNode="vigneronMainComponent1" />
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="vigneronMainComponent1" />
        </sounds>
    </attacherJoints>

    <powerTakeOffs>
        <output attacherJointIndices="1 2 3" outputNode="ptoOutputBack" />
    </powerTakeOffs>

    <connectionHoses>
        <target attacherJointIndices="1 2 3" type="hydraulicIn" node="hydraulicIn01" socket="hydraulic02"/>
        <target attacherJointIndices="1 2 3" type="hydraulicOut" node="hydraulicOut01" socket="hydraulic02"/>
        <target attacherJointIndices="1 2 3" type="hydraulicIn" node="hydraulicIn02" socket="hydraulic02"/>
        <target attacherJointIndices="1 2 3" type="hydraulicOut" node="hydraulicOut02" socket="hydraulic02"/>
        <target attacherJointIndices="1 2 3" type="hydraulicIn" node="hydraulicIn03" socket="hydraulic02"/>
        <target attacherJointIndices="1 2 3" type="hydraulicOut" node="hydraulicOut03" socket="hydraulic02"/>
        <target attacherJointIndices="1 2 3" type="airDoubleRed" node="airDoubleOrange" socket="air_red"/>
        <target attacherJointIndices="1 2 3" type="airDoubleYellow" node="airDoubleYellow" socket="air_yellow"/>
        <target attacherJointIndices="1 2 3" type="electric" node="electricBack" socket="electric"/>
    </connectionHoses>

    <enterable isTabbable="true" >
        <enterReferenceNode node="vigneronMainComponent1" />
        <exitPoint node="exitPoint" />

        <cameras>
            <camera node="outdoorCamera" rotatable="true" rotateNode="outdoorCameraTarget" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="40" translation="0 0 5" rotation="-20 180 0"  >
                <raycastNode node="cameraRaycastNode1"/>
                <raycastNode node="cameraRaycastNode2"/>
            </camera>
            <camera node="indoorCamera" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" shadowFocusBox="shadowFocusBox" />
        </cameras>

        <characterNode node="playerSkin" cameraMinDistance="1.5" spineRotation="-90 0 90" >
            <target ikChain="leftFoot"  targetNode="playerLeftFootTarget" />
            <target ikChain="rightFoot" targetNode="playerRightFootTarget" />
            <target ikChain="leftArm"   targetNode="playerLeftHandTarget" />
            <target ikChain="rightArm"  targetNode="playerRightHandTarget" />
        </characterNode>

        <characterTargetNodeModifier node="playerRightFootTarget" transitionTime="0.1" >
            <state node="playerRightFootTargetGas"   referenceNode="gasPedal" directionReferenceNode="playerRightFootTargetGasRef" />
            <state node="playerRightFootTargetBrake" referenceNode="brakePedal" />
        </characterTargetNodeModifier>
		<characterTargetNodeModifier node="playerLeftFootTarget" transitionTime="0.1" >
            <state node="playerRightFootTargetClutch"   referenceNode="clutchPedal" directionReferenceNode="playerRightFootTargetClutchRef" />
        </characterTargetNodeModifier>
    </enterable>

    <motorized>
        <consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="33"  fillType="diesel" />  <!-- usage is per hour at max load and max rpm -->
                <consumer fillUnitIndex="2" usage="200" fillType="air" permanentConsumption="false" refillLitersPerSecond="250" refillCapacityPercentage="0.5" /> <!-- usage per second at full brake power -->
            </consumerConfiguration>
        </consumerConfigurations>

        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.8" wheelIndex1="1" wheelIndex2="2" /> <!-- front left-right -->
                    <differential torqueRatio="0.5" maxSpeedRatio="1.8" wheelIndex1="3" wheelIndex2="4" /> <!-- back left-right -->
                    <differential torqueRatio="0.5" maxSpeedRatio="1.8" differentialIndex1="1" differentialIndex2="2" /> <!-- front-back -->
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>

        <motorConfigurations>
            <motorConfiguration name="60" hp="60" price="0">
                <motor torqueScale="0.253" minRpm="850" maxRpm="2200" maxForwardSpeed="27" maxBackwardSpeed="11" brakeForce="4" lowBrakeForceScale="0.22">
                    <torque rpm="850" torque="0.85"/>
                    <torque rpm="1100" torque="0.97"/>
                    <torque rpm="1298" torque="1"/>
                    <torque rpm="1584" torque="1"/>
                    <torque rpm="1892" torque="0.88"/>
                    <torque rpm="2200" torque="0.72"/>
                    <torque rpm="2700" torque="0.35"/>
                </motor>
                <transmission minForwardGearRatio="25" maxForwardGearRatio="300" minBackwardGearRatio="74" maxBackwardGearRatio="300" />												
				<objectChange node="config_62" visibilityActive="false" />
				<objectChange node="config_60" visibilityActive="true" />
				<objectChange node="config_75" visibilityActive="false" />
				<objectChange node="config_vigneron" visibilityActive="false" />
				<objectChange node="config_frutteto" visibilityActive="true" />
				<objectChange node="clocheFrutteto" visibilityActive="true" />
				<objectChange node="marceVigneron" visibilityActive="false" />
				<objectChange node="config_quadroFrutteto" visibilityActive="true" />
				<objectChange node="config_quadroVigneron" visibilityActive="false" />
            </motorConfiguration>
			<motorConfiguration name="75" hp="75" price="1200">
                <motor torqueScale="0.316"/>
				<objectChange node="config_62" visibilityActive="false" />
				<objectChange node="config_60" visibilityActive="false" />
				<objectChange node="config_75" visibilityActive="true" />
				<objectChange node="config_vigneron" visibilityActive="false" />
				<objectChange node="config_frutteto" visibilityActive="true" />
				<objectChange node="clocheFrutteto" visibilityActive="true" />
				<objectChange node="marceVigneron" visibilityActive="false" />
				<objectChange node="config_quadroFrutteto" visibilityActive="true" />
				<objectChange node="config_quadroVigneron" visibilityActive="false" />
            </motorConfiguration>
        </motorConfigurations>

        <exhaustEffects>
            <exhaustEffect node="exhaustParticle" filename="$data/particleSystems/shared/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" xzRotationsOffset="-180 0" xzRotationsForward="0 300" xzRotationsBackward="150 0" xzRotationsLeft="20 80" xzRotationsRight="40 -200" />
        </exhaustEffects>

        <motorStartDuration>3000</motorStartDuration>

        <dashboards>
            <dashboard displayType="ANIMATION" valueType="rpm" animName="rpmNeedle" minValueAnim="0" maxValueAnim="3000" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ANIMATION" valueType="motorTemperature" animName="temperatureNeedle" minValueAnim="40" maxValueAnim="120" doInterpolation="true" interpolationSpeed="0.3" groups="MOTOR_ACTIVE"/>
        </dashboards>

        <sounds externalSoundFile="$data/sounds/vehicles/engine/armatrac_1104/armatrac_1104.xml" />
    </motorized>

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

        <steeringWheel node="steeringWheel" indoorRotation="540" outdoorRotation="50" />

        <dashboards>
            <dashboard displayType="ROT" valueType="accelerationAxis" node="gasPedal"   minRot="0 0 0" maxRot="-10 0 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ROT" valueType="accelerationAxis" node="power"   minRot="0 0 0" maxRot="80 0 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ROT" valueType="accelerationAxis" node="clutchPedal"   minRot="-55.6 0 0" maxRot="-35.6 0 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ROT" valueType="decelerationAxis" node="brakePedal" minRot="-20 0 0" maxRot="-40 0 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </drivable>

    <animations>
       <animation name="rpmNeedle">
            <part node="lancetta1F" startTime="0.0" endTime="1.0" startRot="0 0 -140" endRot="0 0 145"/>
            <part node="lancetta1V" startTime="0.0" endTime="1.0" startRot="0 0 -140" endRot="0 0 145"/>
        </animation>
        <animation name="temperatureNeedle">
            <part node="lancetta2F" startTime="0.0" endTime="1.0" startRot="0 0 -45" endRot="0 0 45"/>
            <part node="lancetta2V" startTime="0.0" endTime="1.0" startRot="0 0 -45" endRot="0 0 45"/>
        </animation>
        <animation name="fuelNeedle">
            <part node="lancetta3F" startTime="0.0" endTime="1.0" startRot="0 0 -45" endRot="0 0 45"/>
            <part node="lancetta3V" startTime="0.0" endTime="1.0" startRot="0 0 -45" endRot="0 0 45"/>
        </animation>
		<animation name="protectionBarAnim">
            <part node="protectionBar" startTime="0.0" endTime="1.0" startRot="0 0 0" endRot="82 0 0"/>
        </animation>
    </animations>

    <cylindered>
       <movingTools>
            <movingTool node="attacherJointBackArmBottom">
                <dependentPart node="mainArm" />
            </movingTool>
			<movingTool node="protectionBar">
                <controls axis="AXIS_CRANE_TOOL3" invertAxis="true" mouseSpeedFactor="0.8" iconName="TOP_DOOR_ROTATE" />
                <animation animSpeed="0.5" animAcceleration="200" animName="protectionBarAnim" />
			</movingTool>
        </movingTools>

        <movingParts>
            <movingPart node="mainArm" referencePoint="mainArmRef" localReferencePoint="mainArmPart" referenceFrame="attacherJointBackRot" >
                <dependentPart node="mainArmPart" />
            </movingPart>
            <movingPart node="mainArmPart" referencePoint="mainArmRef" referenceFrame="mainArmRef" >
                <dependentPart node="bottomLinkLeft" />
                <dependentPart node="bottomLinkRight" />
            </movingPart>

            <movingPart node="bottomLinkLeft" referencePoint="bottomLinkLeftRef" referenceFrame="bottomLinkLeftRef" />
            <movingPart node="bottomLinkRight" referencePoint="bottomLinkRightRef" referenceFrame="bottomLinkRightRef" />
            <!--sterzo 2wd-->
			<movingPart node="steeringBar2wd" referencePoint="steeringBar2wdRef" referenceFrame="steeringBar2wdRef" />
			<movingPart node="leftHyd2wd" referencePoint="hydraulicLeftRef2wd" referenceFrame="hydraulicLeftRef2wd" >
                <dependentPart node="leftHydPunch2wd" />
            </movingPart>
			<movingPart node="rightHyd2wd" referencePoint="hydraulicRightRef2wd" referenceFrame="hydraulicRightRef2wd" >
                <dependentPart node="rightHydPunch2wd" />
            </movingPart>
			<!--sterzo 4wd-->
			<movingPart node="steeringBar" referencePoint="steeringBarRef" referenceFrame="steeringBarRef" isActiveDirty="true" />
			<movingPart node="hydraulicLeft" referencePoint="hydraulicLeftRef" referenceFrame="hydraulicLeftRef" isActiveDirty="true" >
                <dependentPart node="hydraulicLeftPunch" />
            </movingPart>
			<movingPart node="hydraulicRight" referencePoint="hydraulicRightRef" referenceFrame="hydraulicRightRef" isActiveDirty="true" >
                <dependentPart node="hydraulicRightPunch" />
            </movingPart>
			<movingPart node="trasmissionLeft" referencePoint="trasmissionLeftRef" localReferencePoint="trasmissionLeftPart" referenceFrame="trasmissionLeftRef" >
                <dependentPart node="trasmissionLeftPart" />
            </movingPart>
			<movingPart node="trasmissionLeftPart" referencePoint="trasmissionLeftPart" referenceFrame="trasmissionLeftPart" />
			<movingPart node="trasmissionRight" referencePoint="trasmissionRightRef" localReferencePoint="trasmissionRightPart" referenceFrame="trasmissionRightRef" >
                <dependentPart node="trasmissionRightPart" />
            </movingPart>
			<movingPart node="trasmissionRightPart" referencePoint="trasmissionRightRef" referenceFrame="trasmissionRightRef" />
			<movingPart node="trasmissionBar" referencePoint="trasmissionRotRef" referenceFrame="trasmissionRotRef" />
        </movingParts>

        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="vigneronMainComponent1"/>
        </sounds>
    </cylindered>

    <suspensions>
        <suspension node="seatSuspension"    weight="150" minTranslation="-0.05 -0.15 0.0" maxTranslation="0.05 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>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="100" >
                        <dashboard displayType="ANIMATION" valueType="fillLevel" animName="fuelNeedle"  doInterpolation="true" interpolationSpeed="0.3" groups="MOTOR_ACTIVE"/>
                    </fillUnit>
                    <fillUnit unit="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="air" capacity="2000"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <honk>
        <sound template="HONK_FENDT511C" linkNode="vigneronMainComponent1" />
    </honk>

    <dashboard>
        <groups>
            <group name="MOTOR_STARTING" isMotorStarting="true"/>
            <group name="MOTOR_ACTIVE"   isMotorStarting="true" isMotorRunning="true"/>
        </groups>
    </dashboard>

    <ai>
        <collisionTrigger node="aiCollisionTrigger" />
    </ai>

    <foliageBending>
        <bendingNode minX="-0.95" maxX="0.95" minZ="-0.65" maxZ="1.55" yOffset="0.6" />
        <bendingNode minX="-0.95" maxX="0.95" minZ="-2.25" maxZ="-0.65" yOffset="0.6" />
    </foliageBending>
	
	<rimColorConfigurations useDefaultColors="false" >
		<rimColorConfiguration name="White Old" color="FIAT_WHITEPAINT" material="6" price="0"/>
		<rimColorConfiguration name="Grey Old" color="SHARED_GREY3" material="6" price="200"/>
		<rimColorConfiguration name="Red Old" color="SAME_RED1" material="6" price="200"/>
		<rimColorConfiguration name="Black Old" color="SAME_BLACK2" material="6" price="200"/>
	</rimColorConfigurations>

    <baseMaterial>
        <material name="same_mat" baseNode="same_vis">
            <shaderParameter name="colorMat0" value="SAME_RED1" material="6"/>
            <shaderParameter name="colorMat1" value="SAME_BLACK2" material="6"/>
        </material>
    </baseMaterial>

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

    <i3dMappings>
        <i3dMapping id="vigneronMainComponent1" node="0>" />
        <i3dMapping id="same_vis" node="0>0" />
        <i3dMapping id="wheelBackLeft" node="0>0|0|0" />
        <i3dMapping id="wheelBackRight" node="0>0|0|1" />
        <i3dMapping id="outdoorCameraTarget" node="0>0|1|0" />
        <i3dMapping id="outdoorCamera" node="0>0|1|0|0" />
        <i3dMapping id="indoorCamera" node="0>0|1|1" />
        <i3dMapping id="cameraRaycastNode1" node="0>0|1|2" />
        <i3dMapping id="cameraRaycastNode2" node="0>0|1|3" />
        <i3dMapping id="shadowFocusBox" node="0>0|1|4" />
        <i3dMapping id="attacherJointBackRot" node="0>0|2|0|0" />
        <i3dMapping id="attacherJointBackRot2" node="0>0|2|0|0|0" />
        <i3dMapping id="attacherJointBack" node="0>0|2|0|0|0|0" />
        <i3dMapping id="attacherJointBackArmBottom" node="0>0|2|0|1" />
        <i3dMapping id="attacherJointBackArmBottomLink" node="0>0|2|0|1|0" />
        <i3dMapping id="referencePointBackBottom" node="0>0|2|0|1|0|0" />
        <i3dMapping id="mainArmRef" node="0>0|2|0|1|0|1" />
        <i3dMapping id="bottomLinkLeftRef" node="0>0|2|0|1|0|2" />
        <i3dMapping id="bottomLinkRightRef" node="0>0|2|0|1|0|3" />
        <i3dMapping id="trailerAttacherNode" node="0>0|2|1|2|0" />
        <i3dMapping id="trailerAttacherJointBack" node="0>0|2|1|2|0|3" />
        <i3dMapping id="trailerAttacherNodeLow" node="0>0|2|1|2|1" />
        <i3dMapping id="trailerAttacherJointBackLow" node="0>0|2|1|2|1|4" />
        <i3dMapping id="attacherJointBackArmTop" node="0>0|2|0|2" />
        <i3dMapping id="trailerAttacherJointFrontVis" node="0>0|2|1|0" />
        <i3dMapping id="trailerAttacherJointFront" node="0>0|2|1|0|0" />
        <i3dMapping id="trailerAttacherJointFrontWeight" node="0>0|2|1|1" />
        <i3dMapping id="ptoOutputBack" node="0>0|2|2" />
        <i3dMapping id="electricBack" node="0>0|2|3|0" />
        <i3dMapping id="hydraulicIn01" node="0>0|2|3|1" />
        <i3dMapping id="hydraulicOut01" node="0>0|2|3|2" />
        <i3dMapping id="hydraulicIn02" node="0>0|2|3|3" />
        <i3dMapping id="hydraulicOut02" node="0>0|2|3|4" />
        <i3dMapping id="hydraulicIn03" node="0>0|2|3|5" />
        <i3dMapping id="hydraulicOut03" node="0>0|2|3|6" />
        <i3dMapping id="airDoubleOrange" node="0>0|2|3|7" />
        <i3dMapping id="airDoubleYellow" node="0>0|2|3|8" />
        <i3dMapping id="exitPoint" node="0>0|3" />
        <i3dMapping id="frontStatic" node="0>0|4|0|0" />
        <i3dMapping id="backLeftLight" node="0>0|4|1|0" />
        <i3dMapping id="backRightLight" node="0>0|4|1|1" />
        <i3dMapping id="frontLightLow" node="0>0|4|2" />
        <i3dMapping id="frontLightHigh" node="0>0|4|3" />
        <i3dMapping id="backLightsHigh" node="0>0|4|4" />
        <i3dMapping id="brakeLightsHigh" node="0>0|4|5" />
        <i3dMapping id="turnLightLeft" node="0>0|4|6" />
        <i3dMapping id="turnLightRight" node="0>0|4|7" />
        <i3dMapping id="beaconLight" node="0>0|4|1|2" />
        <i3dMapping id="seatSuspension" node="0>0|5|0" />
        <i3dMapping id="playerSkin" node="0>0|5|0|0" />
        <i3dMapping id="playerLeftFootTarget" node="0>0|5|0|0|0" />
        <i3dMapping id="playerRightFootTarget" node="0>0|5|0|0|1" />
        <i3dMapping id="clocheFrutteto" node="0>0|5|1|0" />
        <i3dMapping id="steeringWheel" node="0>0|5|2|0" />
        <i3dMapping id="playerLeftHandTarget" node="0>0|5|2|0|0" />
        <i3dMapping id="playerRightHandTarget" node="0>0|5|2|0|1" />
        <i3dMapping id="brakePedal" node="0>0|5|3" />
        <i3dMapping id="playerRightFootTargetBrake" node="0>0|5|3|0" />
        <i3dMapping id="key" node="0>0|5|4" />
        <i3dMapping id="clutchPedal" node="0>0|5|5" />
        <i3dMapping id="playerRightFootTargetClutchRef" node="0>0|5|5|0" />
        <i3dMapping id="gasPedal" node="0>0|5|6" />
        <i3dMapping id="playerRightFootTargetGasRef" node="0>0|5|6|0" />
        <i3dMapping id="power" node="0>0|5|7" />
        <i3dMapping id="marceVigneron" node="0>0|5|8" />
        <i3dMapping id="playerRightFootTargetClutch" node="0>0|5|9" />
        <i3dMapping id="playerRightFootTargetGas" node="0>0|5|10" />
        <i3dMapping id="protectionBar" node="0>0|6|0" />
        <i3dMapping id="mainArm" node="0>0|6|1" />
        <i3dMapping id="mainArmPart" node="0>0|6|1|0" />
        <i3dMapping id="bottomLinkLeft" node="0>0|6|2" />
        <i3dMapping id="bottomLinkRight" node="0>0|6|3" />
        <i3dMapping id="frontAxisComponentJoint" node="0>0|6|4" />
        <i3dMapping id="aiCollisionTrigger" node="0>0|7|0" />
        <i3dMapping id="AttacherAxisScalePart" node="0>0|8|1" />
        <i3dMapping id="trasmissionBox" node="0>0|9|0" />
        <i3dMapping id="trasmissionRot" node="0>0|9|0|0|0" />
        <i3dMapping id="trasmissionRotRef" node="0>0|9|0|0|0|0|0" />
        <i3dMapping id="exhaustParticle" node="0>0|10" />
        <i3dMapping id="2wd" node="1>0" />
        <i3dMapping id="wheelFrontLeftAxis2wd" node="1>0|0" />
        <i3dMapping id="wheelFrontLeft2wd" node="1>0|0|0|0" />
        <i3dMapping id="steeringBar2wd" node="1>0|0|1" />
        <i3dMapping id="hydraulicLeftRef2wd" node="1>0|0|2" />
		<i3dMapping id="wheelFrontRightAxis2wd" node="1>0|1" />
        <i3dMapping id="wheelFrontRight2wd" node="1>0|1|0|0" />
        <i3dMapping id="steeringBar2wdRef" node="1>0|1|1" />
        <i3dMapping id="hydraulicRightRef2wd" node="1>0|1|2" />
        <i3dMapping id="leftHyd2wd" node="1>0|2" />
        <i3dMapping id="leftHydPunch2wd" node="1>0|2|0" />
		<i3dMapping id="rightHyd2wd" node="1>0|3" />
        <i3dMapping id="rightHydPunch2wd" node="1>0|3|0" />
        <i3dMapping id="4wd" node="1>1" />
        <i3dMapping id="wheelFrontLeftAxis" node="1>1|0" />
        <i3dMapping id="wheelFrontLeft" node="1>1|0|0" />
        <i3dMapping id="wheelFrontLeftHub" node="1>1|0|0|0" />
        <i3dMapping id="steeringBar" node="1>1|0|1" />
        <i3dMapping id="hydraulicLeftRef" node="1>1|0|2" />
        <i3dMapping id="trasmissionLeftRef" node="1>1|0|3" />
		<i3dMapping id="wheelFrontRightAxis" node="1>1|1" />
        <i3dMapping id="wheelFrontRight" node="1>1|1|0" />
        <i3dMapping id="wheelFrontRightHub" node="1>1|1|0|0" />
        <i3dMapping id="steeringBarRef" node="1>1|1|1" />
        <i3dMapping id="hydraulicRightRef" node="1>1|1|2" />
        <i3dMapping id="trasmissionRightRef" node="1>1|1|3" />
        <i3dMapping id="trasmissionLeft" node="1>1|2" />
        <i3dMapping id="trasmissionLeftPart" node="1>1|2|0" />
		<i3dMapping id="trasmissionRight" node="1>1|3" />
        <i3dMapping id="trasmissionRightPart" node="1>1|3|0" />
        <i3dMapping id="hydraulicLeft" node="1>1|4" />
        <i3dMapping id="hydraulicLeftPunch" node="1>1|4|0" />
		<i3dMapping id="hydraulicRight" node="1>1|5" />
        <i3dMapping id="hydraulicRightPunch" node="1>1|5|0" />
        <i3dMapping id="trasmissionRot2" node="1>1|6|0" />
        <i3dMapping id="trasmissionBar" node="1>1|6|1" />
        <i3dMapping id="config_62" node="0>0|9|1|1" />
        <i3dMapping id="config_75" node="0>0|9|1|2" />
        <i3dMapping id="config_60" node="0>0|9|1|0" />
        <i3dMapping id="config_frutteto" node="0>0|9|1|3" />
        <i3dMapping id="config_vigneron" node="0>0|9|1|4" />
        <i3dMapping id="config_quadroFrutteto" node="0>0|5|11" />
        <i3dMapping id="lancetta1F" node="0>0|5|11|1|0" />
        <i3dMapping id="lancetta2F" node="0>0|5|11|2|0" />
        <i3dMapping id="lancetta3F" node="0>0|5|11|3|0" />
		<i3dMapping id="config_quadroVigneron" node="0>0|5|12" />
        <i3dMapping id="lancetta1V" node="0>0|5|12|1|0" />
        <i3dMapping id="lancetta2V" node="0>0|5|12|2|0" />
        <i3dMapping id="lancetta3V" node="0>0|5|12|3|0" />
    </i3dMappings>
</vehicle>
