<?xml version="1" encoding="utf-8" standalone="no" ?>
<vehicle type="tractor" 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>B 7001</name>
        <specs>
            <power>16</power>
            <maxSpeed>20</maxSpeed>
            <combination xmlFilename="$data/vehicles/boeckmann/bigMasterWesternWCF/bigMasterWesternWCF.xml"/>
            <combination xmlFilename="$data/vehicles/boeckmann/mhal4320/mhal4320.xml"/>
            <combination xmlFilename="$data/vehicles/boeckmann/kk301827H/kk301827H.xml"/>
        </specs>
        <functions>
            <function>$l10n_function_tractor</function>
        </functions>
        <image>store.png</image>
        <price>6000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>KUBOTA</brand>
        <category>tractorsS</category>
        <shopTranslationOffset>0 0.042 0</shopTranslationOffset>
        <shopRotationOffset>0.421 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>2489600</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>876288</indexBufferMemoryUsage>
        <textureMemoryUsage>1638400</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
        <audioMemoryUsage>695921</audioMemoryUsage>
    </storeData>

      <base>
        <typeDesc>$l10n_typeDesc_tractor</typeDesc>
        <filename>kubotaB.i3d</filename>
        <sounds filename="sounds/d750.xml"/>
        
        <size width="3" length="1.25" height="3" />
        <components>
            <component centerOfMass="0 0.5 0.2" solverIterationCount="30" mass="170" />
            <component centerOfMass="0 0 0"  solverIterationCount="1" mass="170" />
            <joint component1="1" component2="2" node="0>0|6" rotLimit="0 0 10" breakable="false"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="VEHICLE" />
        <mapHotspot type="TRACTOR" />
    </base>


      <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="TRELLEBORG" saveId="TRELLEBORG_DEFAULT">
                <wheels autoRotateBackSpeed="2.5">
                    <wheel filename="$data/shared/wheels/tires/trelleborg/IM110/5_0__14.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="0.6" repr="1>1|0"  driveNode="1>1|0|0"  forcePointRatio="0.2" initialCompression="50" suspTravel="0.07" spring="15" damper="25" yOffset="0.017" brakeFactor="0"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/IM110/5_0__14.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="0.6" repr="1>2|0" driveNode="1>2|0|0" forcePointRatio="0.2" initialCompression="50" suspTravel="0.07" spring="15" damper="25" yOffset="0.017" brakeFactor="0"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TM700/280_70R18_VO.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="0.5" repr="0>0|0|0"  forcePointRatio="0.2" initialCompression="20" suspTravel="0.07" spring="15" damper="25" yOffset="0.032"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/TM700/280_70R18_VO.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="0.5" repr="0>0|0|1" forcePointRatio="0.2" initialCompression="20" suspTravel="0.07" spring="15" damper="25" yOffset="0.032"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>

           <rimColor>SHARED_WHITE2</rimColor>

        <hubs>
            <color0>AGCO_GREY3</color0>
            <color1>SHARED_GREY3</color1>
            <hub linkNode="1>1|0|0"  filename="$data/shared/wheels/hubs/hub_n8_4.xml" isLeft="true"  scale="0.08 0.15 0.15" />
            <hub linkNode="1>2|0|0" filename="$data/shared/wheels/hubs/hub_n8_4.xml" isLeft="false" scale="0.08 0.15 0.15" />
            <hub linkNode="0>0|0|0"   filename="$data/shared/wheels/hubs/hub_n8_2.xml" isLeft="true"  scale="0.20 0.22 0.22" offset="0.01"/>
            <hub linkNode="0>0|0|1"  filename="$data/shared/wheels/hubs/hub_n8_2.xml" isLeft="false" scale="0.20 0.22 0.22" offset="0.01"/>
        </hubs>

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


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

        <realLights>
            <low>
                <light node="0>0|1|1|0"       lightTypes="0" excludedLightTypes="3" />
                <light node="0>0|1|1|1"         lightTypes="3" />
            </low>
            <high>
                <light node="0>0|1|1|2"      lightTypes="0" excludedLightTypes="3" />
                <light node="0>0|1|2|0"      lightTypes="0"/>
                <light node="0>0|1|1|3"        lightTypes="3"/>
                <brakeLight node="0>0|1|2|0" />
                 <turnLightLeft node="0>0|1|3|0" />
                <turnLightRight node="0>0|1|3|1" />
            </high>
        </realLights>

        <sharedLight linkNode="0>0|1|0|0" filename="lights/workingLight01.xml"/>
        <sharedLight linkNode="0>0|1|0|1" filename="lights/workingLight01.xml"/>
        <sharedLight linkNode="0>0|1|0|2" filename="$data/shared/assets/lights/lizard/frontLight07_left.xml"/>
        <sharedLight linkNode="0>0|1|0|3" filename="$data/shared/assets/lights/lizard/frontLight07_right.xml"/>
        <sharedLight linkNode="0>0|1|0|4" filename="$data/shared/assets/lights/lizard/rearLight10_left.xml"/>
        <sharedLight linkNode="0>0|1|0|5" filename="$data/shared/assets/lights/lizard/rearLight10_right.xml"/>
       
    </lights>

      <licensePlates>
        <licensePlate node="0>0|10|1" position="BACK" preferedType="SQUARISH" placementArea="0.07 0.2 0.04 0.2"/>
        <licensePlate node="0>0|10|2" position="FRONT" preferedType="SQUARISH" placementArea="0.07 0.2 0.04 0.2"/>  
    </licensePlates>


    <attacherJoints comboDuration="2">

         <attacherJoint node="0>0|3|0|0|0|0" upperRotationOffset="0.42" lowerRotationOffset="0.42" moveTime="2.5" comboTime="1">
            <distanceToGround lower="0.28" upper="0.85" />
            <rotationNode node="0>0|3|0|0" lowerRotation="-20 0 0" upperRotation="25 0 0" />
            <rotationNode2 node="0>0|3|0|0|0" />
            <bottomArm rotationNode="0>0|3|0|1" translationNode="0>0|3|0|1|0" referenceNode="0>0|3|0|1|0|0" zScale="-1" startRotation="-20 0 0" />

            <topArm baseNode="0>0|3|0|2" filename="$data/shared/assets/upperLinks/walterscheid01.i3d" zScale="-1" color="SHARED_GREY1"/>
            <schema position="1 0" rotation="0" invertX="false" />
        </attacherJoint>
        <attacherJoint node="0>0|3|1|0" jointType="trailer" lowerRotLimit="25 60 50" allowsJointLimitMovement="false" comboTime="1">
            <schema position="1 0" rotation="0" invertX="false" />
        </attacherJoint>
        <attacherJoint node="0>0|3|1|1" jointType="trailerLow" lowerRotLimit="25 60 50" lowerTransLimit="0 0 0" allowsJointLimitMovement="false" comboTime="1">
            <schema position="1 0" rotation="0" invertX="false" />
        </attacherJoint>
    </attacherJoints>

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

    <cylindered>
        <movingTools>
            <movingTool node="0>0|3|0|1">
                <dependentPart node="0>0|7|0|0" />
            </movingTool>
        </movingTools>

        <movingParts>
           
            <movingPart node="0>0|7|0|0" localReferencePoint="0>0|7|0|0|0" referencePoint="0>0|3|0|1|0|1" referenceFrame="0>0|7|0" >
                <dependentPart node="0>0|7|0|0|0" />
            </movingPart>
            <movingPart node="0>0|7|0|0|0" referencePoint="0>0|3|0|1|0|1" referenceFrame="0>0|3|0|1|0|1" />


        </movingParts>
    </cylindered>

        <connectionHoses>
        <target attacherJointIndices="1 2 3" node="0>0|3|3|0" socket="hydraulic03" type="hydraulicIn">
        </target>
        <target attacherJointIndices="1 2 3" node="0>0|3|3|1" socket="hydraulic03" type="hydraulicOut">
           </target>
        <target attacherJointIndices="1 2 3" node="0>0|3|3|2" socket="electric" type="electric">
        </target>
    </connectionHoses>

 <enterable isTabbable="true" >
        <enterReferenceNode node="0>" />
        <exitPoint node="0>0|4" />

        <cameras>
            <camera node="0>0|2|0|0" rotatable="true" rotateNode="0>0|2|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="3" transMax="40" >
                <raycastNode node="0>0|2|2"/>
                <raycastNode node="0>0|2|3"/>
                <raycastNode node="0>0|2|4"/>
            </camera>
            <camera node="0>0|2|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" useOutdoorSounds="true"  />
        </cameras>

        <characterNode node="0>0|8|3|0" cameraMinDistance="0.5" spineRotation="-90 0 90" >
            <target ikChain="rightFoot" targetNode="0>0|8|3|2" />
            <target ikChain="leftFoot"  targetNode="0>0|8|3|1" />
            <target ikChain="rightArm"  targetNode="0>0|8|0|0|1" />
            <target ikChain="leftArm"   targetNode="0>0|8|0|0|0" />
        </characterNode>
    </enterable>


     <motorized>
      <consumerConfigurations>
          <consumerConfiguration>
              <consumer fillUnitIndex="1" usage="7.2" fillType="diesel" /> <!-- usage is per hour at max load and max rpm -->
          </consumerConfiguration>
      </consumerConfigurations>

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

        <motorConfigurations>
            <motorConfiguration name="D750" hp="16" price="0">
                <motor torqueScale="0.0704" minRpm="950" maxRpm="2200" maxForwardSpeed="20" maxBackwardSpeed="10" brakeForce="0.2" lowBrakeForceScale="0.1" dampingRateScale="0.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 autoGearChangeTime="0.5" gearChangeTime="0.4" name="$l10n_info_transmission_manual">
                    <directionChange useGear="true" reverseGearIndex="1" changeTime="0.5"/>
                    <groups type="DEFAULT" changeTime="0.5">
                        <group ratio="0.3658"  name="L" />
                        <group ratio="1"       name="S" />
                    </groups>

                    <forwardGear maxSpeed="6.6" />
                    <forwardGear maxSpeed="12.5" />
                    <forwardGear maxSpeed="20.0" />

                    <backwardGear maxSpeed="10" />
                </transmission>
            </motorConfiguration>
        </motorConfigurations>

        <exhaustEffects>
            <exhaustEffect node="0>0|5" filename="$data/effects/exhaust/exhaust.i3d" minRpmColor="0 0 0 1" maxRpmColor="0.01 0.01 0.01 5" minRpmScale="0.1" maxRpmScale="0.55" />
        </exhaustEffects>

        <motorStartDuration>2500</motorStartDuration>
    
    </motorized>


      <drivable>
        <steeringWheel node="0>0|8|0|0" indoorRotation="540" outdoorRotation="30" />
    </drivable>


      <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="10" />
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <ai>
        <agent width="1.0" length="1.25" height="1.7" lengthOffset="0.75" frontOffset="1.9" />
        <collisionTrigger node="0>0|9|0" width="1.0" height="1.7"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-0.8" maxX="0.8" minZ="-0.3" maxZ="1.25" yOffset="0.4" />
        <bendingNode minX="-0.92" maxX="0.92" minZ="-1.9" maxZ="-0.3" yOffset="0.4" />
    </foliageBending>

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