<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="car">

    <storeData>
        <name>
            <en>Yamaha Vino</en>
            	
        </name>
        <specs>
            <power>125</power>
            <maxSpeed>89</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_car</function>
            
        </functions>
		<image>store_icon.dds</image>
        <price>2499</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>MGSYAMAHA</brand>
        <category>cars</category>
        <shopTranslationOffset>0 0.05 -0.3</shopTranslationOffset>
        <shopRotationOffset>0 -12 0</shopRotationOffset>
        <vertexBufferMemoryUsage>2695076</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>510702</indexBufferMemoryUsage>
        <textureMemoryUsage>15423120</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
	
	<base>
        <typeDesc>$l10n_typeDesc_car</typeDesc>
        <filename>Motorcycle.i3d</filename>
        <sounds filename="sounds/Bike.xml"/>
		<size width="1.5" length="2.5" lengthOffset="0" />
		<components>
            <component centerOfMass="0 -0.1 0.0" solverIterationCount="10" mass="200" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="CAR" />
        <mapHotspot type="CAR" />
	</base>
	
	<wheels>
      <wheelConfigurations>
        <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels autoRotateBackSpeed="4.0">
                <wheel hasTireTracks="true" hasParticles="true">
                <physics tipOcclusionAreaGroupId="1" radius="0.21" width="0.2" rotSpeed="18.5" rotMax="18.5" rotMin="-18.5" restLoad="0.036" repr="Front_Piston" driveNode="FrontWheel" forcePointRatio="0.5" initialCompression="40" suspTravel="0.18" spring="5" damper="10" transRatio="1" />
                <tire tireTrackAtlasIndex="1" />
                </wheel>
				<wheel hasTireTracks="true" hasParticles="true">
                <physics tipOcclusionAreaGroupId="1" radius="0.21" width="0.2" rotSpeed="0" restLoad="0.33" repr="Rear_Axel" driveNode="Rear_Wheel" forcePointRatio="0.5" initialCompression="40" suspTravel="0.18" spring="5" damper="10" transRatio="1" />
				<tire tireTrackAtlasIndex="1" />
                </wheel>
				<wheel>
                <physics radius="0.14" width="0.12" restLoad="0.33" repr="wheel1" forcePointRatio="0.5" initialCompression="40" suspTravel="0.18" spring="35" damper="1" frictionScale="1" />
				</wheel>
				<wheel>
                <physics radius="0.14" width="0.12" restLoad="0.33" repr="wheel3" forcePointRatio="0.5" initialCompression="40" suspTravel="0.18" spring="35" damper="1" frictionScale="1" />
				</wheel>
              </wheels>
        </wheelConfiguration>
      </wheelConfigurations>
		<ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="22" rotMax="18.5" rotCenterWheel1="3" rotCenterWheel2="4" />
        </ackermannSteeringConfigurations>
	</wheels>

	<dashboard>
        <groups>
            <group name="MOTOR_STARTING" isMotorStarting="true" />
            <group name="MOTOR_ACTIVE" isMotorStarting="true" isMotorRunning="true" />
        </groups>
        <default>
            <dashboard displayType="EMITTER" node="temp" idleValue="-2" intensity="0.5" groups="MOTOR_STARTING"/>
		</default>
    </dashboard>

    <lights>
        <states>
            <state lightTypes="0"/>
        </states>
        <realLights>
            <low>
                <light node="frontLightLow" lightTypes="0"/>
            </low>
            <high>
                <light node="frontLightHigh" lightTypes="0"/>
                <light node="backLightsHigh1" lightTypes="0 3"/>
                <brakeLight node="backLightsHigh1"/>
                <turnLightLeft node="turnLightLeftFront"/>
                <turnLightLeft node="turnLightLeftBack"/>
                <turnLightRight node="turnLightRightFront"/>
                <turnLightRight node="turnLightRightBack"/>
            </high>
        </realLights>
        <defaultLights>
            <defaultLight shaderNode="BrakesStatic" lightTypes="0 3" intensity="10"/>
            <defaultLight shaderNode="FrontLowStatic" lightTypes="0 3" intensity="10"/>
        </defaultLights>
        <brakeLights>
            <brakeLight shaderNode="BrakesStatic" intensity="20"/>
        </brakeLights>
        <turnLights>
            <turnLightLeft shaderNode="TurnLeftStatic" intensity="10"/>
            <turnLightRight shaderNode="TurnRightStatic" intensity="10"/>
        </turnLights>
        <sounds>
            <switchLight template="SWITCH_01"/>
            <turnLight template="SWITCH_TURNLIGHT"/>
        </sounds>
    
        <dashboards>
            <dashboard displayType="EMITTER" valueType="lightState" node="DashboardDecal" idleValue="0" intensity="0.5" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="Needle_Speed" idleValue="0" intensity="0.5" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="Needle_Fuel" idleValue="0" intensity="0.5" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="Light0Decal" idleValue="-2" intensity="0.5" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="turnLightLeft" node="TurnLeftDecal" idleValue="-2" intensity="0.5"/>
            <dashboard displayType="EMITTER" valueType="turnLightRight" node="TurnRightDecal" idleValue="-2" intensity="0.5"/>
		</dashboards>
	</lights>
	
	<enterable isTabbable="true">
        <enterReferenceNode node="Vino_Main" />
        <exitPoint node="exitpoint" />
		<enterAnimation name="enterAnimation" />
		<cameras>
            <camera node="outdoorCamera" rotatable="true" rotateNode="outdoorCameraTarget" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="3.5" transMax="40" translation="0 0 5.75" rotation="-10 180 0">
                <raycastNode node="cameraRaycastNode2" />
                <raycastNode node="cameraRaycastNode1" />
            </camera>
            <camera node="helmet_camera" rotatable="true" rotateNode="helmetNode_1" limit="true" rotMinX="-0.7" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="false" positionSmoothingParameter="0" />
        </cameras>
		<characterNode node="player_skin" cameraMinDistance="0.5" spineRotation="-90 0 90">
            <target ikChain="rightFoot" targetNode="playerRightFootTarget" />
            <target ikChain="leftFoot" targetNode="playerLeftFootTarget" />
            <target ikChain="rightArm" targetNode="RightHand" />
            <target ikChain="leftArm" targetNode="LeftHand" />
        </characterNode>
	</enterable>

	<speedRotatingParts>
		<speedRotatingPart node="FakeFrontWheel"    wheelIndex="1" wheelScale="1"/>
    </speedRotatingParts>

	<motorized>
        <consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="1.2" fillType="diesel" />
            </consumerConfiguration>
        </consumerConfigurations>

        <differentialConfigurations>
           <differentialConfiguration>
             <differentials>
               <differential torqueRatio="0.5" maxSpeedRatio="3.8" wheelIndex1="1" wheelIndex2="2" />
             </differentials>
           </differentialConfiguration>
        </differentialConfigurations>

        <motorConfigurations>
         
            <motorConfiguration name="124cc SOHC Air-Cooled" hp="124" price="0">
                <motor torqueScale="3.3" minRpm="850" maxRpm="8800" maxForwardSpeed="89" maxBackwardSpeed="15" brakeForce="3" lowBrakeForceScale="0.15" rotInertia="0.00594">
                    <torque rpm="850" torque="0.9"/>
                    <torque rpm="1000" torque="1"/>
                    <torque rpm="1450" torque="1"/>
                    <torque rpm="1900" torque="0.75"/>
                    <torque rpm="2200" torque="0.63"/>
                    <torque rpm="2500" torque="0.2"/>
                    <torque rpm="3500" torque="0.2"/>
                </motor>
                <transmission minForwardGearRatio="10" maxForwardGearRatio="200" minBackwardGearRatio="40" maxBackwardGearRatio="200" />
            </motorConfiguration>
		</motorConfigurations>
        
		<exhaustEffects>
            <exhaustEffect node="exhaustParticle_1" filename="$data/effects/exhaust/exhaust.i3d" minRpmColor="0.5 0.5 0.5 0.01" maxRpmColor="0.5 0.5 0.5 0.01" minRpmScale="0.05" maxRpmScale="0.1" />
        </exhaustEffects>

        <dashboards>
            <dashboard displayType="ANIMATION" valueType="speed" animName="Legs" minValueAnim="0" maxValueAnim="3" groups="MOTOR_ACTIVE" />  
            <dashboard displayType="ANIMATION" valueType="speed" animName="Speed" minValueAnim="0" maxValueAnim="80" groups="MOTOR_ACTIVE"/>
		</dashboards>

        
    </motorized>
	
	<drivable>
        <sounds>
            <waterSplash template="WATER_SPLASH_01" />
        </sounds>
        <steeringWheel node="Steering_Wheel" indoorRotation="20" outdoorRotation="20" />
        <dashboards>
            <dashboard displayType="ROT" valueType="accelerationAxis" node="RightHand" minRot="0 0 0" maxRot="0 0 -20" doInterpolation="true" groups="MOTOR_ACTIVE"/>
        </dashboards>
	</drivable>
	
	<ai>
        <agent width="2.05" length="5.5" height="1.85" lengthOffset="1.35" frontOffset="3.09" />
        <collisionTrigger node="trafficCollisionTrigger" width="2.4" height="1.8"/>
	</ai>
	
	<fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="12">
                        <dashboard displayType="ANIMATION" valueType="fillLevel" animName="loadingBarFuel" minValueAnim="0" maxValueAnim="12" groups="MOTOR_ACTIVE"/>
					</fillUnit>
				</fillUnits>
			</fillUnitConfiguration>
		</fillUnitConfigurations>
    </fillUnit>
	
	<wearable wearDuration="800" workMultiplier="0" fieldMultiplier="0" />
    <washable dirtDuration="60" washDuration="1" workMultiplier="3" fieldMultiplier="2" />
	
    <licensePlates defaultPlacement="BACK">
        <licensePlate node="licensePlateBack"  position="BACK"  preferedType="SQUARISH" placementArea="0.05 0.07 0.05 0.07"/>
    </licensePlates>

	
		
	<foliageBending>
        <bendingNode minX="-0.25" maxX="0.25" minZ="-1.1" maxZ="0.9" yOffset="0.05" />
    </foliageBending>

	

    <animations>
        <animation name="loadingBarFuel">
            <part node="Needle_Fuel" startTime="0.0" endTime="1" startRot="0 0 0" endRot="0 50 0"  />
        </animation>
        <animation name="Speed">
            <part node="Needle_Speed" startTime="0.0" endTime="1" startRot="0 0 0" endRot="0 175 0"  />
        </animation>
		<animation name="enterAnimation">
            <part node="Stand" startTime="0" endTime="0.8" startRot="-90 0 0" endRot="0 0 0" />  
        </animation>
        <animation name="Legs">
			<part node="playerLeftFootTarget" startTime="0" endTime="1" startTrans="0.184 -0.301 -0.147" endTrans="0 0 0" />  
			<part node="playerRightFootTarget" startTime="0" endTime="1" startTrans="-0.184 -0.301 -0.147" endTrans="0 0 0" />  
			<part node="playerLeftFootTarget" startTime="0" endTime="1" startRot="18 0 0" endRot="0 0 0" />  
			<part node="playerRightFootTarget" startTime="0" endTime="1" startRot="18 0 0" endRot="0 0 0" />  
		</animation>
    </animations>
	


	<tensionBeltObject>
        <meshNodes>
            <meshNode node="Body_Mesh1" />
            <meshNode node="Body_Mesh2" />
            <meshNode node="Body_Mesh3" />
        </meshNodes>
    </tensionBeltObject>
  
    <i3dMappings>
        <i3dMapping id="Vino_Main" node="0>" />
        <i3dMapping id="wheel1" node="0>0|0"/>
        <i3dMapping id="wheel3" node="0>0|1"/>
        <i3dMapping id="player_skin" node="0>1|0|0"/>
        <i3dMapping id="playerLeftFootTarget" node="0>1|0|1|0|0"/>
        <i3dMapping id="playerRightFootTarget" node="0>1|0|1|1|0"/>
        <i3dMapping id="outdoorCameraTarget" node="0>2|0"/>
        <i3dMapping id="outdoorCamera" node="0>2|0|0"/>
        <i3dMapping id="cameraRaycastNode2" node="0>2|2"/>
        <i3dMapping id="cameraRaycastNode1" node="0>2|3"/>
        <i3dMapping id="helmetNode_1" node="0>2|4|0"/>
        <i3dMapping id="helmet_camera" node="0>2|4|0|0"/>
        <i3dMapping id="exitpoint" node="0>3"/>
        <i3dMapping id="exhaustParticle_1" node="0>4|0"/>
        <i3dMapping id="trafficCollisionTrigger" node="0>5"/>
        <i3dMapping id="Steering_Wheel" node="0>6|0|0"/>
        <i3dMapping id="Front_Piston" node="0>6|0|1|0"/>
        <i3dMapping id="FrontWheel" node="0>6|0|1|0|0"/>
        <i3dMapping id="LeftHand" node="0>6|0|0|0|0"/>
        <i3dMapping id="RightHand" node="0>6|0|0|0|1|0"/>
        <i3dMapping id="Rear_Axel" node="0>7|4"/>
        <i3dMapping id="Rear_Wheel" node="0>7|4|0"/>
        <i3dMapping id="TurnRightStatic" node="0>7|1|1"/>
        <i3dMapping id="TurnLeftStatic" node="0>7|1|2"/>
        <i3dMapping id="Stand" node="0>7|2|0|0"/>

        <i3dMapping id="Body_Mesh1" node="0>7|0|8|0"/>
        <i3dMapping id="Body_Mesh2" node="0>7|0|8|1"/>
        <i3dMapping id="Body_Mesh3" node="0>7|0|8|2"/>
        <i3dMapping id="BrakesStatic" node="0>7|1|0"/>
        <i3dMapping id="FrontLowStatic" node="0>7|1|3"/>


        <i3dMapping id="frontLightLow" node="0>7|3|0"/>
        <i3dMapping id="frontLightHigh" node="0>7|3|1"/>
        <i3dMapping id="backLightsHigh1" node="0>7|3|2"/>
        <i3dMapping id="turnLightLeftFront" node="0>7|3|3"/>
        <i3dMapping id="turnLightLeftBack" node="0>7|3|4"/>
        <i3dMapping id="turnLightRightFront" node="0>7|3|5"/>
        <i3dMapping id="turnLightRightBack" node="0>7|3|6"/>

        <i3dMapping id="DashboardDecal" node="0>6|0|0|3|1"/>
        <i3dMapping id="TurnLeftDecal" node="0>6|0|0|3|1|0"/>
        <i3dMapping id="TurnRightDecal" node="0>6|0|0|3|1|1"/>
        <i3dMapping id="Light0Decal" node="0>6|0|0|3|1|2"/>
        <i3dMapping id="temp" node="0>6|0|0|3|1|3"/>
        <i3dMapping id="Needle_Fuel" node="0>6|0|0|3|1|5|0"/>
        <i3dMapping id="Needle_Speed" node="0>6|0|0|3|1|4|0"/>

        <i3dMapping id="FakeFrontWheel" node="0>6|0|0|5|0|0"/>
        <i3dMapping id="licensePlateBack" node="0>7|5"/>

        





    </i3dMappings>

</vehicle>