<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="teleHandler">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>
            <en>Kubota 95-2</en>
		</name>
        <specs>
            <power>74</power>
            <maxSpeed>15</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_skidsteer</function>
        </functions>
        <image>Kubota.dds</image>
        <price>59500</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>KUBOTA</brand>
        <category>skidSteerVehicles</category>
        <shopTranslationOffset>0 -0.05 0</shopTranslationOffset>
        <shopRotationOffset>0 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>2296208</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>467508</indexBufferMemoryUsage>
        <textureMemoryUsage>14156296</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_telehandler</typeDesc>
        <filename>Kubota.i3d</filename>
        <size width="2.5" length="3.5" lengthOffset="-0.2"/>
        <components>
            <component centerOfMass="0 0 -0.1" solverIterationCount="10" mass="7000"/>
        </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="Open Tracks" price="10000">
                <wheels autoRotateBackSpeed="10.0" speedDependentRotateBack="false">
                    <wheel>
                        <physics rotSpeed="1" restLoad="0.9" radius="0.39" width="0.45" repr="0>2|5|0|0"  forcePointRatio="0.5" initialCompression="14" suspTravel="0.10" spring="55" damper="50" frictionScale="2" />
                        <tire isCareWheel="false" />
                    </wheel>
                    <wheel>
                        <physics rotSpeed="1" restLoad="0.9" radius="0.39" width="0.45" repr="0>2|5|0|1" forcePointRatio="0.5" initialCompression="14" suspTravel="0.10" spring="55" damper="50" frictionScale="2" />
                        <tire isCareWheel="false" />
                    </wheel>
                    <wheel hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="1" restLoad="1.8" radius="0.38" width="0.45" repr="0>2|5|0|2"   forcePointRatio="0.5" initialCompression="40" suspTravel="0.10" spring="43" damper="50" frictionScale="2" />
                        <tire isCareWheel="false" tireTrackAtlasIndex="13" isInverted="true"/>
                    </wheel>
                    <wheel hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="1" restLoad="1.8" radius="0.38" width="0.45" repr="0>2|5|0|3"  forcePointRatio="0.5" initialCompression="40" suspTravel="0.10" spring="43" damper="50" frictionScale="2" />
                        <tire isCareWheel="false" tireTrackAtlasIndex="13" isInverted="false"/>
                    </wheel>
                    <foliageBendingModifier index="1.05" minX="-1.05" maxX="1" />
                </wheels>
                <crawlers>
                    <crawler filename="Tracks/590Tracks.xml" linkNode="0>2|4|2"  wheelIndex="3" isLeft="false"/>
                    <crawler filename="Tracks/590Tracks.xml" linkNode="0>2|4|3" wheelIndex="4" isLeft="true"/>
                </crawlers>
            </wheelConfiguration>
			
        </wheelConfigurations>
        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="70" rotMax="60" rotCenter="0 0"/>
        </ackermannSteeringConfigurations>
    </wheels>
	
	<designConfigurations>
    </designConfigurations>
	
	
	
    <lights>
        <states>
            <state lightTypes="0"/>
            <state lightTypes="0 1"/>
			<state lightTypes="0 1 2"/>
        </states>
        <realLights>
            <low>
                <light node="0>3|0" lightTypes="1"/>
            </low>
            <high>
				<light node="0>3|1" lightTypes="2"/>
            </high>
        </realLights>
        <defaultLights>
			<defaultLight shaderNode="0>2|0|6" lightTypes="1"/>
			<defaultLight shaderNode="0>2|0|7" lightTypes="2"/>
        </defaultLights>
		
        <turnLights>
        </turnLights>
		
        <brakeLights>
        </brakeLights>
		
        <reverseLights>
        </reverseLights>
		
        <sounds>
            <switchLight template="SWITCH_01" linkNode="0>"/>
            <turnLight template="SWITCH_TURNLIGHT" linkNode="0>"/>
        </sounds>
        <!--dashboards>
            <dashboard displayType="EMITTER" valueType="lightState" node="cabinDecalsLight2" intensity="0.2" lightTypes="0" groups="MOTOR_ACTIVE"/>
        </dashboards-->
    </lights>
	
    <enterable isTabbable="true">
        <enterReferenceNode node="0>0|4"/>
        <exitPoint node="0>0|4"/>
        <cameras>
            <camera node="0>0|1|0|0" rotatable="true" rotateNode="0>0|1|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="3" transMax="40" translation="0 0 3.5" rotation="-25 180 0">
                <raycastNode node="0>0|1|2"/>
                <raycastNode node="0>0|1|3"/>
                <raycastNode node="0>0|1|4"/>
            </camera>
            <camera node="0>0|1|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.8" transMin="0" transMax="0" useMirror="true" isInside="true" shadowFocusBox="0>0|1|5"/>
        </cameras>
        <!--characterNode node="playerSkin" cameraMinDistance="1.5" spineRotation="-90 0 90">
            <target ikChain="rightFoot" targetNode="player_rightFoot"/>
            <target ikChain="leftFoot" targetNode="player_leftFoot"/>
            <target ikChain="rightArm" targetNode="player_rightHand" poseId="wideFingers"/>
            <target ikChain="leftArm" targetNode="player_leftHand" poseId="wideFingers"/>
        </characterNode-->
        <enterAnimation name="enterAnimation"/>
        <!--mirrors>
            <mirror node="interiorMirror_static" prio="1"/>
        </mirrors-->
    </enterable>
	
    <motorized>
        <consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="22" fillType="diesel"/>
                <!-- usage is per hour at max load and max rpm -->
            </consumerConfiguration>
        </consumerConfigurations>
        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="3.0" wheelIndex1="1" wheelIndex2="2"/>
                    <!-- front left-right -->
                    <differential torqueRatio="0.5" maxSpeedRatio="2.4" wheelIndex1="3" wheelIndex2="4"/>
                    <!-- back left-right -->
                    <differential torqueRatio="0.5" maxSpeedRatio="1.3" differentialIndex1="1" differentialIndex2="2"/>
                    <!-- front-back -->
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>
        <motorConfigurations>
            <motorConfiguration hp="74" price="0">
                <motor torqueScale="0.4" minRpm="850" maxRpm="3000" maxForwardSpeed="18" maxBackwardSpeed="13" brakeForce="2" lowBrakeForceScale="0.22">
                    <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="63" maxForwardGearRatio="250" minBackwardGearRatio="63" maxBackwardGearRatio="250"/>
            </motorConfiguration>
        </motorConfigurations>
        <exhaustEffects>
            <exhaustEffect node="0>2|0|13" 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="50 0" xzRotationsForward="-50 0" xzRotationsBackward="50 0" xzRotationsLeft="20 -50" xzRotationsRight="20 50"/>
        </exhaustEffects>
        <motorStartDuration>3000</motorStartDuration>
        <!--dashboards>
            <dashboard displayType="ROT" valueType="speedDir" node="0>2|4|0|15|1" minRot="-20 0 0" maxRot="20 0 0" groups="MOTOR_ACTIVE"/>
        </dashboards-->
        <sounds externalSoundFile="$data/sounds/vehicles/engine/manitou_mlt737/manitou_mlt737.xml"/>
    </motorized>
	
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="96">
                        <dashboard displayType="ANIMATION" valueType="fillLevel" animName="loadingBarFuel" groups="MOTOR_ACTIVE"/>
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
	
    <drivable>
        <!--steeringWheel node="0>2|4|0|15|1" indoorRotation="20" outdoorRotation="20"/-->
        <sounds>
            <waterSplash template="WATER_SPLASH_01" linkNode="0>"/>
        </sounds>
    </drivable>
	
    <attacherJoints comboDuration="2">
        <attacherJoint node="0>2|1|0|0|0|1" 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.4" rotation="0" invertX="true"/>
        </attacherJoint>
        <sounds>
            <attach template="ATTACH_01" linkNode="0>"/>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="0>"/>
        </sounds>
    </attacherJoints>
	
    <wipers>
        <!--wiper animName="wiperFrontAnimation">
            <state animSpeed="0.75" animPause="2.0"/>
            <state animSpeed="0.75" animPause="0.0"/>
            <state animSpeed="1.10" animPause="0.0"/>
        </wiper>
        <wiper animName="wiperBackAnimation">
            <state animSpeed="1.0" animPause="2.0"/>
        </wiper-->
    </wipers>
	
    <connectionHoses>
        <target attacherJointIndices="1" type="hydraulicIn" node="0>2|1|0|7|0"/>
        <target attacherJointIndices="1" type="hydraulicOut" node="0>2|1|0|7|1"/>
        <target attacherJointIndices="1" type="hydraulicIn" node="0>2|1|0|7|2"/>
    </connectionHoses>
	
	<foldable>
    </foldable>
	
    <animations>
        <animation name="enterAnimation">
            <part node="0>2|0|8|5" startTime="0" endTime="2.0" endRot="0 0 0" startRot="0 0 -85"/>
			<part node="0>2|0|8|6" startTime="0" endTime="2.0" endRot="0 0 0" startRot="0 0 85"/>
        </animation>
        <!--animation name="loadingBarFuel">
            <part node="fuelDecal" startTime="0.0" endTime="1.0" startScale="1 1 0" endScale="1 1 1"/>
        </animation-->
    </animations>
	
    <cylindered>
        <movingTools>
			<movingTool node="0>2|3" playSound="true">
                <controls axis="AXIS_FRONTLOADER_ARM" invertAxis="false" mouseSpeedFactor="0.4" iconName="CRANE_ARM2_ROTATE_X"/>
                <attacherJoint jointIndices="1"/>
                <rotation rotationAxis="1" rotSpeed="15" rotAcceleration="130" rotMax="-95" rotMin="-162" startRot="-162"/>
				<dependentPart node="0>2|1"/>
            </movingTool>
			<movingTool node="0>2|1|0|0|0" playSound="true">
				<controls axis="AXIS_FRONTLOADER_TOOL" invertAxis="true" mouseSpeedFactor="0.6" iconName="CRANE_ARM2_ROTATE_TOOL"/>
				<attacherJoint jointIndices="1"/>
				<rotation rotSpeed="50" rotAcceleration="200" rotMax="75" rotMin="-27"/>
			</movingTool>
			<!-- High Lift -->
			<!--movingTool node="0>2|3">
				<dependentPart node="0>2|1"/>
				<attacherJoint jointIndices="1"/>
			</movingTool-->
        </movingTools>
		
        <movingParts>
			<!-- Arms/Booms -->
			<movingPart node="0>2|1" referencePoint="0>2|3|0" referenceFrame="0>2|3|0" localReferencePoint="0>2|1|0">
				<dependentPart node="0>2|1|0"/>
			</movingPart>
			<movingPart node="0>2|1|0" referencePoint="0>2|3|0" referenceFrame="0>2|1|1">
				<dependentPart node="0>2|1|0|0"/>
			</movingPart>
			<movingPart node="0>2|3|0" referencePoint="0>2|1|0|4" referenceFrame="0>2|1|0|4" localReferencePoint="0>2|1|0">
				<dependentPart node="0>2|1|0"/>
			</movingPart>
			<!-- Hydro's -->
			<movingPart node="0>2|2|0" referencePoint="0>2|1|0|3" referenceFrame="0>2|1|0|3" isActiveDirty="true">
				<translatingPart node="0>2|2|0|0" />
			</movingPart>
			<movingPart node="0>2|1|0|1" referencePoint="0>2|1|0|0|0|0" referenceFrame="0>2|1|0|0|0|0" isActiveDirty="true">
				<translatingPart node="0>2|1|0|1|0" />
			</movingPart>
			
			<movingPart node="0>2|1|0|0" referenceFrame="0>" isActiveDirty="true"/>
			
        </movingParts>
		
        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="0>"/>
        </sounds>
        <dashboards>
            <dashboard displayType="ROT" valueType="movingTool" node="0>2|0|8|8|0|0" rotAxis="3" minRot="-15" maxRot="15" axis="AXIS_FRONTLOADER_ARM" attacherJointIndex="1" doInterpolation="true" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ROT" valueType="movingTool" node="0>2|0|8|8|1|0" rotAxis="3" minRot="-15" maxRot="15" axis="AXIS_FRONTLOADER_TOOL" attacherJointIndex="1" doInterpolation="true" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </cylindered>
	
    <honk>
        <sound template="HONK_MANITOU" linkNode="0>"/>
    </honk>
	
    <dashboard>
        <groups>
            <group name="MOTOR_STARTING" isMotorStarting="true"/>
            <group name="MOTOR_ACTIVE" isMotorStarting="true" isMotorRunning="true"/>
        </groups>
        <!--default>
            <dashboard displayType="EMITTER" node="cabinLight" idleValue="-1" intensity="0.5" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="VISIBILITY" node="fuelDecal" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="VISIBILITY" node="exhaustDecal" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="VISIBILITY" node="tempDecal" groups="MOTOR_ACTIVE"/>
        </default-->
    </dashboard>
	
    <foliageBending>
        <bendingNode minX="-1.1" maxX="1.1" minZ="-1.75" maxZ="1.45" yOffset="0.3"/>
    </foliageBending>
	
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>
	
    <i3dMappings>
    </i3dMappings>
</vehicle>
