<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="car" 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 By TonySolis.</annotation>

    <storeData>
        <name>CRF 450R</name>
        <specs>
			<power>64</power>
			<weight ignore="true" />
        </specs>
        <functions>
			<en>$l10n_function_bike</en>
			<de>$l10n_function_bike</de>
			<ru>$l10n_function_bike</ru>
        </functions>
        <image>store_HONDACRF_450R.dds</image>
        <price>17500</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>HONDA</brand>
        <category>cars</category>
        <vertexBufferMemoryUsage>1586432</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>194816</indexBufferMemoryUsage>
        <textureMemoryUsage>6029312</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_function_bike</typeDesc>
        <filename>CRF.i3d</filename>
        <size width="2.5" length="2.5" height="2"/>
		<supportsRadio>false</supportsRadio>
		<sounds filename="sounds/HONDACRF_450R.xml" volumeFactor="1.12"/>
        <components >
            <component centerOfMass="0 0.15 -0.2" solverIterationCount="10" mass="106"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="CAR"/>
		<mapHotspot type="MOTORBIKE"/>
    </base>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="MICHELIN" saveId="MICHELIN">
                <wheels autoRotateBackSpeed="2.3">
					<wheel filename="Rodas/Rodas.xml" isLeft="true" hasTireTracks="true" hasParticles="true" configId="Dianteira" >
                        <physics rotSpeed="1" restLoad="0.5" repr="0>0|0|0|0|0"  driveNode="0>0|0|0|0|0|2|0" useReprDirection="true" forcePointRatio="0.5" initialCompression="20" suspTravel="0.15" spring="1" damper="1" frictionScale="4"  transRatio="1" />
					</wheel>   
					<wheel filename="Rodas/Rodas.xml" isLeft="false" hasTireTracks="true" hasParticles="true" configId="Traseira">
                        <physics rotSpeed="1" restLoad="0.5" repr="0>0|0|1|0"  driveNode="0>0|0|1|0|0" forcePointRatio="1" initialCompression="20" suspTravel="0.15" spring="0.8" damper="0.8" frictionScale="5" transRatio="1"/>
					</wheel> 
					<wheel >
                        <physics rotSpeed="1" restLoad="0.4" repr="0>0|0|1|1" radius="0.34" width="0.13" mass="0.1" forcePointRatio="0.5" initialCompression="20" suspTravel="0.15" spring="0.8" damper="0.8" frictionScale="5" />
                    </wheel>
					<wheel >
                        <physics rotSpeed="1" restLoad="0.4" repr="0>0|0|1|2" radius="0.335" width="0.01" mass="0.1" forcePointRatio="0.5" initialCompression="20" suspTravel="0.15" spring="0.8" damper="0.8" frictionScale="0.1" />
                    </wheel>
					<wheel >
                        <physics rotSpeed="1" restLoad="0.4" repr="0>0|0|1|3" radius="0.335" width="0.01" mass="0.1" forcePointRatio="0.5" initialCompression="20" suspTravel="0.15" spring="0.8" damper="0.8" frictionScale="0.1" />
                    </wheel>
					<wheel >
                        <physics rotSpeed="1" restLoad="0.4" repr="0>0|0|7|0" radius="0.03" width="0.01" mass="0.1" forcePointRatio="0.5" initialCompression="20" suspTravel="0.15" spring="0.8" damper="0.8" frictionScale="0.1" />
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
		
		<hubs>
            <color0 useBaseColor="true"/>
            <hub linkNode="0>0|0|0|0|0|2|0" filename="Rodas/Cubos.xml" isLeft="true" scale="1 1 1" />
			<hub linkNode="0>0|0|1|0|0"   filename="Rodas/Cubos.xml" isLeft="false" scale="1 1 1" />
        </hubs>
		
        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="65" rotMax="40" rotCenterWheel1="2" rotCenterWheel2="0" />
        </ackermannSteeringConfigurations>
    </wheels>
	
	<rimColorConfigurations useDefaultColors="true" defaultColorIndex="7" price="50">
		<rimColorConfiguration materialTemplateName="RIM_CONFIGURATION_CHROME"/>
		<rimColorConfiguration materialTemplateName="RIM_DEFAULT"/>
		<rimColorConfiguration materialTemplateName="SKODA_ENERGY_BLUE"/>
		<rimColorConfiguration materialTemplateName="SKODA_BRILLIANT_SILVER_METALLIC"/>
		<rimColorConfiguration materialTemplateName="SKODA_GOLD_BRONZE"/>
		<rimColorConfiguration materialTemplateName="SKODA_GRAPHITE_GREY_METALLIC"/>
		<rimColorConfiguration materialTemplateName="SKODA_MAMBA_GREEN"/>
		<rimColorConfiguration materialTemplateName="SKODA_MOON_WHITE"/>
		<rimColorConfiguration materialTemplateName="SKODA_PHOENIX_ORANGE_METALLIC"/>
		<rimColorConfiguration materialTemplateName="SKODA_RACE_BLUE_METALLIC"/>
		<rimColorConfiguration materialTemplateName="SKODA_STEEL_GREY"/>
		<rimColorConfiguration materialTemplateName="SKODA_VELVET_RED_METALLIC"/>
		<rimColorConfiguration materialTemplateName="MAN_BLUE1"/>
	    <rimColorConfiguration materialTemplateName="CLAAS_DARKGREY1"/>
	    <rimColorConfiguration materialTemplateName="ANNABURGER_WHITE1"/>
	    <rimColorConfiguration materialTemplateName="VICON_RED1"/>
	    <rimColorConfiguration materialTemplateName="STRAUTMANN_RED1"/>
	    <rimColorConfiguration materialTemplateName="KAWECO_GREY"/>
	    <rimColorConfiguration materialTemplateName="BRIRI_GREY"/>
	    <rimColorConfiguration materialTemplateName="HAWE_GREY1"/>
    </rimColorConfigurations>
	
	
	<cylindered>
	
        <movingParts>
			<movingPart node="0>0|0|1|4" referencePoint="0>0|0|1|0|1" referenceFrame="0>0|0|1|0|1" scaleZ="true" isActiveDirty="true" maxUpdateDistance="500"/>
			<movingPart node="0>0|0|1|4|0" referencePoint="0>0|0|1|5" referenceFrame="0>0|0|1|5" scaleZ="true" isActiveDirty="true" maxUpdateDistance="500"/>
			<movingPart node="0>0|0|1|6" referencePoint="0>0|0|1|4|0|0" referenceFrame="0>0|0|1|4|0|0" scaleZ="true" isActiveDirty="true" maxUpdateDistance="500"/>
			<movingPart node="0>0|0|1|7|1" referencePoint="0>0|0|1|7|0|0" referenceFrame="0>0|0|1|7|0|0" scaleZ="true" isActiveDirty="true" maxUpdateDistance="500"/>			
			<movingPart node="0>0|0|1|7" referencePoint="0>0|0|1|4|0|1" referenceFrame="0>0|0|1|4|0|1" lockAxis="3" isActiveDirty="true" maxUpdateDistance="500" >
                <translatingPart node="0>0|0|1|7|0" />
			</movingPart>
			<movingPart node="0>0|0|7|1" referencePoint="0>0|0|1|0|2" referenceFrame="0>0|0|1|0|2" scaleZ="true" isActiveDirty="true" maxUpdateDistance="500"/>			
        </movingParts>
    </cylindered>
	
	<speedRotatingParts>
        <speedRotatingPart shaderNode="0>0|0|7|1" wheelIndex="1" wheelScale="-2" useRotation="false" scrollScale="-8.1 0.0" />
    </speedRotatingParts>
	
	<drivable>	
	<steeringWheel node="0>0|0|0|0|1" indoorRotation="60" outdoorRotation="60" />
	
		<dashboards>
            <dashboard displayType="ROT"     valueType="accelerationAxis" node="0>0|0|0|0|1|1|0"   minRot="0 0 0" maxRot="-30 0 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
			<dashboard displayType="ROT"     valueType="decelerationAxis" node="0>0|0|2|2" minRot="0 0 0" maxRot="10 0 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
        </dashboards>
	</drivable>
	
	<dashboard>
        <groups>
            <group name="MOTOR_STARTING" isMotorStarting="true"/>
            <group name="MOTOR_ACTIVE"   isMotorStarting="true" isMotorRunning="true"/>
			<group name="MOTOR_RUNING"   isMotorRunning="true"/>
        </groups>
    </dashboard>

    <enterable isTabbable="true" >
        <enterReferenceNode node="0>"/>
        <exitPoint node="0>0|0|5"/>
		<enterAnimation name="Descanso"/>

        <cameras>
            <camera node="0>0|0|4|0|0" rotatable="true" rotateNode="0>0|0|4|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="3.5" transMax="40" translation="0 0 5.35" rotation="-17.5 180 0">
                <raycastNode node="0>0|0|4|2"/>
                <raycastNode node="0>0|0|4|3"/>
                <raycastNode node="0>0|0|4|4"/>
            </camera>
            <camera node="0>0|0|4|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="false" positionSmoothingParameter="0"  shadowFocusBox="0>0|0|4|5"/>
        </cameras>

        <characterNode node="0>0|0|2|0|0" cameraMinDistance="0.5" spineRotation="-90 0 90" >
            <target ikChain="leftArm"   targetNode="0>0|0|0|0|1|0" poseId="narrowFingers" />
            <target ikChain="rightArm"  targetNode="0>0|0|0|0|1|1|0|0" />
            <target ikChain="leftFoot"  targetNode="0>0|0|2|0|1" />
            <target ikChain="rightFoot" targetNode="0>0|0|2|0|2" />
        </characterNode>
		
		<characterTargetNodeModifier node="0>0|0|0|0|1|0" transitionTime="0.01" >
            <state node="0>0|0|0|0|1|8"   referenceNode="0>0|0|0|0|1|2|0" directionReferenceNode="0>0|0|0|0|1|2|0|0" poseId="wideFingers"/>
        </characterTargetNodeModifier>
		
		<characterTargetNodeModifier node="0>0|0|2|0|2" transitionTime="0.1" >
            <state node="0>0|0|2|0|4"   referenceNode="0>0|0|2|2" directionReferenceNode="0>0|0|2|2|0"/>
        </characterTargetNodeModifier>
		
		<characterTargetNodeModifier node="0>0|0|2|0|1" transitionTime="0.1" >
            <state node="0>0|0|2|0|5"   referenceNode="0>0|0|2|1" directionReferenceNode="0>0|0|2|1|0"/>
        </characterTargetNodeModifier>
		
    </enterable>

	<animations>
	    <animation name="Pe">
		    <part componentIndex="1" startTime="0" endTime="0.2" startCenterOfMass="0.2 0.15 -0.1" endCenterOfMass="-0.1 0.15 -0.1" />
			<part componentIndex="1" startTime="0.2" endTime="0.202" startCenterOfMass="-0.1 0.15 -0.1" endCenterOfMass="0 0.15 -0.1" />
			<part node="0>0|0|2|0|1" startTime="0.1" endTime="0.15" startTrans="0.5 -0.75 0" endTrans="0.212 -0.55722201 0.04" startRot="0 0 20" endRot="0 5 0" />
			<part node="0>0|0|2|0|3" startTime="0.1" endTime="0.15" startTrans="0.5 -0.75 0" endTrans="0.212 -0.55722201 0.04" startRot="0 0 20" endRot="0 5 0"/>
		</animation>
		<animation name="Descanso">
		    <part node="0>0|0|2|5" startTime="0" endTime="0.5" startRot="0 0 0" endRot="90 0 0"/>
		</animation>
    </animations>	

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="155">
						<exactFillRootNode node="0>0|0|9|0"/>
                    </fillUnit>
				</fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <motorized statsType="car">
        <consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="12" fillType="diesel" /> 
            </consumerConfiguration>
        </consumerConfigurations>

        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.3" maxSpeedRatio="3.5" wheelIndex1="2" wheelIndex2="3" />	
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>

        <motorConfigurations>
            <motorConfiguration name="CRF 450R Unicam de 449cc" hp="64" price="0" maxSpeed="186" consumerConfigurationIndex="1" >
                <motor torqueScale="0.750" minRpm="750" maxRpm="2200" maxForwardSpeed="186" maxBackwardSpeed="6" brakeForce="0.1" lowBrakeForceScale="0.05">
                    <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.71"/>
                </motor>
                <transmission autoGearChangeTime="1" gearChangeTime="0.03" name="$l10n_info_transmission_manual" axleRatio="7" startGearThreshold="0.2">
                    <directionChange useGear="true"/>
                    <backwardGear gearRatio="1.066" name="R"/>
                    <forwardGear gearRatio="3.3"/>
                    <forwardGear gearRatio="2.2"/>
                    <forwardGear gearRatio="1.6"/>
                    <forwardGear gearRatio="1.2"/>
                    <forwardGear gearRatio="0.8"/>
                </transmission>
            </motorConfiguration>
        </motorConfigurations>
		
		<gearLevers>
            <gearLever node="0>0|0|2|1" centerAxis="3" changeTime="0.03" handsOnDelay="0.25">
                <state gear="0" xRot="0" zRot="0" />
                <state gear="1" xRot="3" zRot="0" />
                <state gear="2" xRot="-3" zRot="0" />
                <state gear="3" xRot="-6" zRot="0" />
				<state gear="4" xRot="-9" zRot="0" />
				<state gear="5" xRot="-12" zRot="0" />
				<state gear="-1" xRot="0" zRot="0" />
            </gearLever>
        </gearLevers>
		
		<exhaustEffects>
            <exhaustEffect node="0>0|0|3|0|0" 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" />
			<exhaustEffect node="0>0|0|3|0|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" />
			<exhaustEffect node="0>0|0|3|1|0" 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" />
			<exhaustEffect node="0>0|0|3|1|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" />	
			<exhaustEffect node="0>0|0|3|2|0" 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" />
			<exhaustEffect node="0>0|0|3|2|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>
		
		<dashboards>
			<dashboard displayType="ANIMATION" valueType="speed" animName="Pe" minValueAnim="0" maxValueAnim="7"  groups="MOTOR_ACTIVE"/>
			<dashboard displayType="ROT" valueType="clutchPedal" node="0>0|0|0|0|1|2|0"   minRot="0 0 0" maxRot="0 0 20" doInterpolation="true" groups="MOTOR_ACTIVE"/>
        </dashboards>

    </motorized>
	
	<ai>
		<agent width="0.7" length="2.2" height="1.85" lengthOffset="0.8" frontOffset="2" />
        <collisionTrigger node="0>0|0|6" width="1" height="2.2"/>
    </ai>
	
	<tensionBeltObject>
        <meshNodes>
			<meshNode node="0>0|0|0|0|1|5"/>
			<meshNode node="0>0|0|0|0|1|5|0"/>
			<meshNode node="0>0|0|0|0|1|5|2"/>
			<meshNode node="0>0|0|0|0|1"/>
			<meshNode node="0>0|0|2"/>			
			<meshNode node="0>0|0|2|3"/>
			<meshNode node="0>0|0|2|4"/>
			<meshNode node="0>0|0|3|0"/>
			<meshNode node="0>0|0|3|1"/>
			<meshNode node="0>0|0|3|2"/>
			<meshNode node="0>0|0|1|4"/>			
        </meshNodes>
    </tensionBeltObject>
	
	<foliageBending>
        <bendingNode minX="-0.25" maxX="0.25" minZ="-1.1" maxZ="1" yOffset="0.2" node="0>0|0|8" />
    </foliageBending>
	
	<designConfigurations title="$l10n_configuration_Espuma">
        <designConfiguration name="$l10n_configuration_valueNo" price="0" />
		<designConfiguration name="$l10n_configuration_valueDesign01" price="200" >
			<objectChange node="0>0|0|0|0|1|7|0" visibilityActive="true" />
        </designConfiguration>
		<designConfiguration name="$l10n_configuration_valueDesign02" price="200" >
			<objectChange node="0>0|0|0|0|1|7|1" visibilityActive="true" />
        </designConfiguration>
		<designConfiguration name="$l10n_configuration_valueDesign03" price="200" >
			<objectChange node="0>0|0|0|0|1|7|2" visibilityActive="true" />
        </designConfiguration>
		<designConfiguration name="$l10n_configuration_valueDesign04" price="200" >
			<objectChange node="0>0|0|0|0|1|7|3" visibilityActive="true" />
        </designConfiguration>
		<designConfiguration name="$l10n_configuration_valueDesign05" price="200" >
			<objectChange node="0>0|0|0|0|1|7|4" visibilityActive="true" />
        </designConfiguration>
		<designConfiguration name="$l10n_configuration_valueDesign06" price="200" >
			<objectChange node="0>0|0|0|0|1|7|5" visibilityActive="true" />
        </designConfiguration>
    </designConfigurations>
	
	<design2Configurations title="$l10n_configuration_Escape">
		<design2Configuration name="$l10n_configuration_valueDesign01" price="300">			
			<objectChange node="0>0|0|3|0" visibilityActive="true" />
        </design2Configuration>
		<design2Configuration name="$l10n_configuration_valueDesign02" price="300">			
			<objectChange node="0>0|0|3|1" visibilityActive="true" />
        </design2Configuration>
		<design2Configuration name="$l10n_configuration_valueDesign03" price="300">			
			<objectChange node="0>0|0|3|2" visibilityActive="true" />
        </design2Configuration>
    </design2Configurations>

	<design3Configurations title="$l10n_configuration_Protetor">
        <design3Configuration name="$l10n_configuration_valueNo" price="0" />
		<design3Configuration name="$l10n_configuration_valueDesign01" price="100" >
			<objectChange node="0>0|0|0|0|1|6|0" visibilityActive="true" />
		</design3Configuration>
		<design3Configuration name="$l10n_configuration_valueDesign02" price="100" >
			<objectChange node="0>0|0|0|0|1|6|1" visibilityActive="true" />
		</design3Configuration>
    </design3Configurations>	
	
	<!-- 
	<baseMaterial>
        <material name="Lataria" baseNode="0>0|0|2">
            <shaderParameter name="colorMat0" value="SHARED_GREY2"/>
			<shaderParameter name="colorMat1" value="SHARED_GREY2"/>
        </material>
		<material name="Paralama" baseNode="0>0|0|0|0|1|5">
            <shaderParameter name="colorMat0" value="SHARED_GREY2"/>
        </material>
		<material name="Mesa" baseNode="0>0|0|0|0|1|5|2">
            <shaderParameter name="colorMat0" value="SHARED_GREY2"/>
        </material>
		<material name="Bengala" baseNode="0>0|0|0|0|1|5|0">
			<shaderParameter name="colorMat0" value="SHARED_GREY2"/>
            <shaderParameter name="colorMat3" value="SHARED_GREY2"/>
        </material>
		<material name="Protetor1" baseNode="0>0|0|0|0|1|6|0">
            <shaderParameter name="colorMat0" value="SHARED_GREY2"/>
        </material>
		<material name="Protetor2" baseNode="0>0|0|0|0|1|6|1">
            <shaderParameter name="colorMat0" value="SHARED_GREY2"/>
        </material>
		<material name="Espuma1" baseNode="0>0|0|0|0|1|7|0">
            <shaderParameter name="colorMat2" value="SHARED_GREY2"/>
        </material>
		<material name="Espuma2" baseNode="0>0|0|0|0|1|7|1">
            <shaderParameter name="colorMat0" value="SHARED_GREY2"/>
        </material>
		<material name="Espuma3" baseNode="0>0|0|0|0|1|7|2">
            <shaderParameter name="colorMat1" value="SHARED_GREY2"/>
        </material>
		<material name="Espuma4" baseNode="0>0|0|0|0|1|7|3">
            <shaderParameter name="colorMat1" value="SHARED_GREY2"/>
        </material>
		<material name="Manopla" baseNode="0>0|0|0|0|1">
            <shaderParameter name="colorMat1" value="SHARED_GREY2"/>
        </material>
    </baseMaterial>-->
	
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>

</vehicle>
