<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="BMWMGS">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>            <en>BMW M4 GTS</en>
        </name>
        <specs>
            <power>493</power>
            <maxSpeed>305</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_car</function>
        </functions>
        <image>icon.dds</image>
        <price>135195</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>MGSBMW</brand>
        <category>cars</category>
        <shopTranslationOffset>0 0.04 0</shopTranslationOffset>
        <shopRotationOffset>0 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>1804740</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>433242</indexBufferMemoryUsage>
        <textureMemoryUsage>15379440</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_car</typeDesc>
        <filename>gts.i3d</filename>
        <size width="3" length="6.5"/>
        <components count="1">
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="1800"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_VEHICLE"/>
            <selected name="DEFAULT_VEHICLE_SELECTED"/>
        </schemaOverlay>
    </base>
    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels autoRotateBackSpeed="2.5">
                    <wheel hasParticles="true" hasTireTracks="true">
                        <physics rotSpeed="1" restLoad="0.5" repr="axisFrontLeft" driveNode="wheelFrontLeft" radius="0.38" width="0.27" forcePointRatio="0.5" initialCompression="25" suspTravel="0.13" spring="14" damper="3" frictionScale="2.5"/>
                        <tire tireTrackAtlasIndex="1" isCareWheel="false"/>
                    </wheel>
                    <wheel hasParticles="true" hasTireTracks="true">
                        <physics rotSpeed="1" restLoad="0.5" repr="axisFrontRight" driveNode="wheelFrontRight" radius="0.38" width="0.27" forcePointRatio="0.5" initialCompression="25" suspTravel="0.13" spring="14" damper="3" frictionScale="2.5"/>
                        <tire tireTrackAtlasIndex="1" isCareWheel="false"/>
                    </wheel>
                    <wheel hasParticles="true" hasTireTracks="true">
                        <physics rotSpeed="0" restLoad="0.7" repr="axisRearLeft" driveNode="wheelBackLeft" radius="0.38" width="0.27" forcePointRatio="0.5" initialCompression="25" suspTravel="0.14" spring="19" damper="3" frictionScale="3"/>
                        <tire tireTrackAtlasIndex="1" isCareWheel="false"/>
                    </wheel>
                    <wheel hasParticles="true" hasTireTracks="true">
                        <physics rotSpeed="0" restLoad="0.7" repr="axisRearRight" driveNode="wheelBackRight" radius="0.38" width="0.27" forcePointRatio="0.5" initialCompression="25" suspTravel="0.14" spring="19" damper="3" frictionScale="3"/>
                        <tire tireTrackAtlasIndex="1" isCareWheel="false"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="45" rotMax="45" rotCenterWheel1="3" rotCenterWheel2="4"/>
        </ackermannSteeringConfigurations>
    </wheels>
	
	 <speedRotatingParts>
        <speedRotatingPart node="0>0|0|0|0|0|2" wheelIndex="1" wheelScale="-1"/>
        <speedRotatingPart node="0>0|0|1|0|0|2" wheelIndex="2" wheelScale="-1"/>
        <speedRotatingPart node="0>0|0|2|0|2" wheelIndex="3" wheelScale="-1"/>
        <speedRotatingPart node="0>0|0|3|0|2" wheelIndex="4" wheelScale="-1"/>
    </speedRotatingParts>
	
    <lights>
        <states>
            <state lightTypes="0"/>
            <state lightTypes="0 1"/>
        </states>
        <realLights>
            <low>
                <light node="frontLightLow" lightTypes="0"/>
                <light node="highBeamLow" lightTypes="1"/>
                <light node="0>0|15|0|4|4|1" lightTypes="0 3"/>
                <reverseLight node="reverseLight"/>
            </low>
            <high>
                <light node="frontLightHigh" lightTypes="0"/>
                <light node="highBeamHigh" lightTypes="1"/>
                <light node="backLightsHigh1" lightTypes="0 3"/>
                <light node="0>0|15|0|4|4|1" lightTypes="0 3"/>
                <brakeLight node="backLightsHigh1"/>
                <turnLightLeft node="turnLightLeftFront"/>
                <turnLightLeft node="0>0|15|0|1|5|2"/>
                <turnLightLeft node="turnLightLeftBack"/>
                <turnLightRight node="turnLightRightFront"/>
                <turnLightRight node="0>0|15|0|2|5|2"/>
                <turnLightRight node="turnLightRightBack"/>
                <reverseLight node="reverseLight"/>
            </high>
        </realLights>
        <defaultLights>
            <defaultLight shaderNode="backlightsStatic" lightTypes="0 3"/>
            <defaultLight shaderNode="backlightsStaticTrunk" lightTypes="0 3"/>
            <defaultLight shaderNode="PlatelightStaticTrunk" lightTypes="0 3"/>
            <defaultLight shaderNode="frontLightStatic" lightTypes="0 3"/>
            <defaultLight shaderNode="highBeamStatic" lightTypes="1"/>
        </defaultLights>
        <brakeLights>
            <brakeLight shaderNode="backlightsStatic"/>
            <brakeLight shaderNode="backlightsStaticTrunk"/>
            <brakeLight shaderNode="0>0|15|8|7"/>
        </brakeLights>
        <reverseLights>
            <reverseLight shaderNode="reverseLightsStatic"/>
        </reverseLights>
        <turnLights>
            <turnLightLeft shaderNode="turnlightLeftStatic"/>
            <turnLightRight shaderNode="turnlightRightStatic"/>
            <turnLightLeft shaderNode="turnlightLeftStaticTrunk"/>
            <turnLightRight shaderNode="turnlightRightStaticTrunk"/>
            <turnLightLeft shaderNode="0>0|15|0|1|5|1"/>
            <turnLightRight shaderNode="0>0|15|0|2|5|1"/>
        </turnLights>
        <sounds>
            <switchLight template="SWITCH_01"/>
            <turnLight template="SWITCH_TURNLIGHT"/>
        </sounds>
        <dashboards>
            <dashboard displayType="EMITTER" valueType="lightState" node="needleFuel" intensity="1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="needleRpm" intensity="1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="needleSpeed" intensity="1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="needleTemp01" intensity="1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="0>0|15|6|1" intensity="1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="0>0|7|0|0|0" intensity="1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="0>0|15|5|1" intensity="1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="0>0|15|5|2" intensity="1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="0>0|15|5|3" intensity="1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="0>0|15|5|4" intensity="1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="0>0|15|5|5" intensity="1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="0>0|15|5|6" intensity="1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="0>0|15|0|1|5|0" intensity="1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="0>0|15|0|2|5|0" intensity="1" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="turnLightHazard" node="0>0|15|5|0" intensity="1"/>
            <dashboard displayType="EMITTER" valueType="turnLightLeft" node="0>0|15|5|7|0" baseColor="BLACK" emitColor="GREEN"/>
            <dashboard displayType="EMITTER" valueType="turnLightRight" node="0>0|15|5|7|1" baseColor="BLACK" emitColor="GREEN"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="0>0|15|5|7|5" baseColor="BLACK" emitColor="0 0 1 1" intensity="2" lightTypes="1"/>
        </dashboards>
    </lights>
    <enterable isTabbable="true">
        <enterReferenceNode node="bmw_main_component1"/>
        <exitPoint node="exitPoint"/>
        <cameras count="2">
            <camera node="outdoorCamera1" rotatable="true" rotateNode="outdoorCameraTarget" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="40" translation="0 0 5.5" rotation="-17.5 180 0">
                <raycastNode node="cameraRaycastNode1"/>
                <raycastNode node="cameraRaycastNode2"/>
            </camera>
            <camera node="indoorCamera1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" positionSmoothingParameter="0" shadowFocusBox="shadowFocusBox"/>
        </cameras>
        <characterNode node="player_skin" 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>
        <characterTargetNodeModifier node="player_rightFoot" transitionTime="0.1">
            <state node="player_rightFootGas" referenceNode="gasPedal"/>
            <state node="player_rightFootBrake" referenceNode="brakePedal"/>
        </characterTargetNodeModifier>
    </enterable>
    <drivable>
        <sounds>
            <waterSplash template="WATER_SPLASH_01"/>
        </sounds>
        <steeringWheel node="steeringWheel" indoorRotation="540" outdoorRotation="60"/>
        <dashboards>
            <dashboard displayType="ROT" valueType="accelerationAxis" node="gasPedal" minRot="0 0 0" maxRot="30 0 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ROT" valueType="decelerationAxis" node="brakePedal" minRot="0 0 0" maxRot="20 0 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ROT" valueType="accelerationAxis" node="gasPedal" minRot="0 0 0" maxRot="20 0 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ROT" valueType="decelerationAxis" node="brakePedal" minRot="0 0 0" maxRot="-30 0 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="cruiseControlActive" node="0>0|15|5|7|3" baseColor="BLACK" emitColor="0.479 0.084 0 1" intensity="2" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ROT" valueType="movingDirection" node="0>0|15|4|0" minRot="17 0 0" maxRot="-17 0 0" doInterpolation="true" interpolationSpeed="0.01" groups="MOTOR_ACTIVE"/>
		</dashboards>
    </drivable>
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="120">
                        <dashboard displayType="ANIMATION" valueType="fillLevel" animName="loadingBarFuel" minValueAnim="0" maxValueAnim="35" groups="MOTOR_ACTIVE"/>
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
    <motorized>
        <consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="30" fillType="diesel"/>
                <!-- usage is per hour at max load and max rpm -->
            </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="BMW M, 3.0-liter, TwinPower Turbo" hp="493" price="0">
                <motor torqueScale="2.97" minRpm="1000" maxRpm="8000" maxForwardSpeed="305" maxBackwardSpeed="45" brakeForce="1.8" lowBrakeForceScale="0.35" rotInertia="0.0015">
                    <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="0.95" torque="0.72"/>
                    <torque normRpm="1" torque="0.88"/>
                </motor>
                <transmission minForwardGearRatio="7.65" maxForwardGearRatio="90" minBackwardGearRatio="40" maxBackwardGearRatio="200" />
            </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.02" maxRpmScale="0.25"/>
            <exhaustEffect node="exhaustParticle1" 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.02" maxRpmScale="0.25"/>
            <exhaustEffect node="exhaustParticle2" 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.02" maxRpmScale="0.25"/>
            <exhaustEffect node="exhaustParticle3" 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.02" maxRpmScale="0.25"/>
        </exhaustEffects>
        <dashboards>
            <dashboard displayType="ANIMATION" valueType="rpm" animName="rpmDisplay" minValueAnim="0" maxValueAnim="8500" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ANIMATION" valueType="speed" animName="speedDisplay" minValueAnim="0" maxValueAnim="200" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ANIMATION" valueType="motorTemperature" animName="loadingBarTemperature" minValueAnim="0" maxValueAnim="120" groups="MOTOR_ACTIVE"/>
        </dashboards>
        <sounds externalSoundFile="sounds/sound.xml"/>
		
		
		
		
    </motorized>
    <animations>
		<!--IC Animations-->
        <animation name="backDoor">
            <openSound  file="sounds/trunk_open.ogg" />
            <closeSound file="sounds/trunk_close.ogg" />
            <part node="backDoor" startTime="0" endTime="0.25" startRot="0 0 0" endRot="2 0 0"/>
            <part node="backDoor" startTime="0.25" endTime="0.51" startRot="2 0 0" endRot="1 0 0"/>
            <part node="backDoor" startTime="0.51" endTime="2" startRot="1 0 0" endRot="75 0 0"/>
        </animation>
	
        <animation name="leftDoor">
            <openSound  file="sounds/door_open.ogg" />
            <closeSound file="sounds/door_close.ogg" />
            <part node="0>0|15|0|1|0|0" startTime="0" endTime="0.3" startRot="0 0 0" endRot="0 -10 0"/>
            <part node="0>0|15|0|1|0|0" startTime="0.3" endTime="0.6" startRot="0 -10 0" endRot="0 0 0"/>
            <part node="0>0|15|0|1|0|1" startTime="0" endTime="0.3" startRot="0 0 0" endRot="0 -25 0"/>
            <part node="0>0|15|0|1|0|1" startTime="0.3" endTime="0.6" startRot="0 -25 0" endRot="0 0 0"/>
            <part node="leftDoor" startTime="0.6" endTime="1.5" startRot="0 0 0" endRot="0 -65 0"/>
        </animation>
	
        <animation name="rightDoor">
            <openSound  file="sounds/door_open.ogg" />
            <closeSound file="sounds/door_close.ogg" />
            <part node="0>0|15|0|2|0|0" startTime="0" endTime="0.3" startRot="0 0 0" endRot="0 10 0"/>
            <part node="0>0|15|0|2|0|0" startTime="0.3" endTime="0.6" startRot="0 10 0" endRot="0 0 0"/>
            <part node="0>0|15|0|2|0|1" startTime="0" endTime="0.3" startRot="0 0 0" endRot="0 25 0"/>
            <part node="0>0|15|0|2|0|1" startTime="0.3" endTime="0.6" startRot="0 25 0" endRot="0 0 0"/>
            <part node="rightDoor" startTime="0.6" endTime="1.5" startRot="0 0 0" endRot="0 65 0"/>
        </animation>
	
        <animation name="frontDoor">
            <openSound  file="sounds/trunk_open.ogg" />
            <closeSound file="sounds/trunk_close.ogg" />
            <part node="frontDoor" startTime="0" endTime="0.25" startRot="0 0 0" endRot="-2 0 0"/>
            <part node="frontDoor" startTime="0.25" endTime="0.51" startRot="-2 0 0" endRot="-1 0 0"/>
            <part node="frontDoor" startTime="0.51" endTime="2" startRot="-1 0 0" endRot="-56.8 0 0"/>
        </animation>
	
        <animation name="lightControl">
            <part node="0>0|15|4|1|0" startTime="0" endTime="0.2" startRot="0 0 0" endRot="0 25 0"/>
            <part node="0>0|15|4|1|0" startTime="0.2" endTime="0.5" startRot="0 0 0" endRot="0 53 0"/>
        </animation>
	
        <animation name="TurnLightLeftAnimation">
            <part node="0>0|15|4|3|0" startTime="0" endTime="0.1" startRot="0 0 0" endRot="0 0 -15"/>
        </animation>
	
        <animation name="TurnLightRightAnimation">
            <part node="0>0|15|4|3|0" startTime="0" endTime="0.1" startRot="0 0 0" endRot="0 0 15"/>
        </animation>
	
        <animation name="leftwindow">
            <openSound  file="sounds/rolldown.ogg" />
            <closeSound file="sounds/rollup.ogg" />
            <part node="0>0|15|0|1|2" startTime="0" endTime="3" startTrans="0 0 0" endTrans="0.092 -0.389 0.104"/>
            <part node="0>0|15|0|1|2" startTime="0" endTime="3" startRot="0 0 0" endRot="0 0 -7.336"/>
        </animation>
	
        <animation name="rightwindow">
            <openSound  file="sounds/rolldown.ogg" />
            <closeSound file="sounds/rollup.ogg" />
            <part node="0>0|15|0|2|2" startTime="0" endTime="3" startTrans="0 0 0" endTrans="-0.092 -0.389 0.126"/>
            <part node="0>0|15|0|2|2" startTime="0" endTime="3" startRot="0 0 0" endRot="0 0 6.8"/>
        </animation>
		
        <animation name="indoorLight">
            <part node="0>0|15|4|4|0" startTime="0" endTime="0.01" visibility="false"/>
            <part node="0>0|15|4|4|0" startTime="0.01" endTime="0.02" visibility="true"/>
        </animation>
	
	
        <animation name="rpmDisplay">
            <part node="needleRpm" startTime="0" endTime="1" startRot="0 0 0" endRot="0 -243 0"/>
        </animation>
        <animation name="speedDisplay">
            <part node="needleSpeed" startTime="0" endTime="1" startRot="0 0 0" endRot="0 -243 0"/>
        </animation>
        <animation name="loadingBarTemperature">
            <part node="needleTemp01" startTime="0" endTime="1" startRot="0 0 0" endRot="0 -90 0"/>
        </animation>
        <animation name="loadingBarFuel">
            <part node="needleFuel" startTime="0" endTime="1" startRot="0 0 0" endRot="0 -90 0"/>
        </animation>
    </animations>
    <foldable>
        <foldingParts>
            <foldingPart animationName="backDoor" speedScale="1"/>
        </foldingParts>
    </foldable>
    <cylindered>
        <movingTools>
            <movingTool node="backDoor" playSound="false"/>
            <movingTool node="leftDoor" playSound="false"/>
            <movingTool node="rightDoor" playSound="false"/>
            <movingTool node="frontDoor" playSound="false">
                <dependentPart node="0>0|15|10|0|0"/>
                <dependentPart node="0>0|15|10|1|0"/>
            </movingTool>
        </movingTools>
        <movingParts>
            <movingPart node="0>0|15|10|0|0" referencePoint="0>0|15|0|3|3" referenceFrame="0>0|15|0|3|3" invertZ="true">
                <translatingPart node="0>0|15|10|0|0|0"/>
            </movingPart>
            <movingPart node="0>0|15|10|1|0" referencePoint="0>0|15|0|3|4" referenceFrame="0>0|15|0|3|4" invertZ="true">
                <translatingPart node="0>0|15|10|1|0|0"/>
            </movingPart>
        </movingParts>
        <sounds>
            <hydraulic template="PICKUP_TRUNK" linkNode="bmw_main_component1"/>
        </sounds>
    </cylindered>
	
	<simpleIC outsideInteractionTrigger="0>0|16|0" reachDistance="2.8">		
		<animation animationName="backDoor" animationSpeed="1" sharedAnimation="false" soundVolumeIncreasePercentage="0" >
			<insideTrigger 	triggerPoint="0>0|17|0|0" triggerPointSize="0.01" />
			<outsideTrigger triggerPoint="0>0|17|0|1" triggerPointSize="0.04" />
		</animation>
		<animation animationName="leftDoor" animationSpeed="1" sharedAnimation="false" soundVolumeIncreasePercentage="0.7" >
			<insideTrigger 	triggerPoint="0>0|15|0|1|7|0" triggerPointSize="0.01" />
			<outsideTrigger triggerPoint="0>0|15|0|1|7|1" triggerPointSize="0.04" />
		</animation>
		<animation animationName="leftwindow" animationSpeed="1" sharedAnimation="false" soundVolumeIncreasePercentage="0.5" >
			<insideTrigger 	triggerPoint="0>0|15|0|1|7|2" triggerPointSize="0.01" />
		</animation>
		<animation animationName="rightwindow" animationSpeed="1" sharedAnimation="false" soundVolumeIncreasePercentage="0.7" >
			<insideTrigger 	triggerPoint="0>0|15|0|1|7|3" triggerPointSize="0.01" />
		</animation>
		<animation animationName="indoorLight" animationSpeed="1" sharedAnimation="false" soundVolumeIncreasePercentage="0.7" >
			<insideTrigger 	triggerPoint="0>0|17|5|0" triggerPointSize="0.01" />
		</animation>
		<animation animationName="rightDoor" animationSpeed="1" sharedAnimation="false" soundVolumeIncreasePercentage="0.5" >
			<insideTrigger 	triggerPoint="0>0|15|0|2|7|0" triggerPointSize="0.01" />
			<outsideTrigger triggerPoint="0>0|15|0|2|7|1" triggerPointSize="0.04" />
		</animation>
		<animation animationName="frontDoor" animationSpeed="1" sharedAnimation="false" soundVolumeIncreasePercentage="0" >
			<insideTrigger 	triggerPoint="0>0|17|1|0" triggerPointSize="0.01" />
			<outsideTrigger triggerPoint="0>0|17|1|1" triggerPointSize="0.04" />
		</animation>
	<motorStartControl>
		<insidetrigger triggerPoint="0>0|17|3|0" triggerPointSize="0.02" />			
	</motorStartControl>

	<lightControl type="turnLightLeft" >
		<leverAnimation animationName="TurnLightLeftAnimation" />
	</lightControl>

	<lightControl type="turnLightRight" >
		<leverAnimation animationName="TurnLightRightAnimation" />
	</lightControl>

	<lightControl type="toggle" >
		<leverAnimation animationName="lightControl" animStopLightTypes0="0.2" animStopLightTypes1="0.5" />
		<insideTrigger triggerPoint="0>0|17|2|0" triggerPointSize="0.01" />	
	</lightControl>

	<lightControl type="turnLightHazard" >
		<insidetrigger triggerPoint="0>0|17|4|0" triggerPointSize="0.01" />	
	</lightControl>	
	</simpleIC>
	
    <suspensions>
        <suspension useCharacterTorso="true" weight="90" minRotation="0 -5 -5" maxRotation="0 5 5" suspensionParametersY="7 1" suspensionParametersZ="7 1"/>
    </suspensions>
    <dashboard>
        <groups>
            <group name="MOTOR_STARTING" isMotorStarting="true"/>
            <group name="MOTOR_ACTIVE" isMotorStarting="true" isMotorRunning="true"/>
        </groups>
        <default>
            <dashboard displayType="VISIBILITY" node="0>0|15|6|0|0" groups="MOTOR_STARTING"/>
            <dashboard displayType="VISIBILITY" node="0>0|15|6|0|1" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" node="0>0|15|8|0" intensity="5" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" node="0>0|15|5|7|2"  baseColor="BLACK" emitColor="0.479 0.084 0 1" intensity="2" groups="MOTOR_STARTING"/>
            <dashboard displayType="EMITTER" node="0>0|15|5|7|4"  baseColor="BLACK" emitColor="1 0 0 1" intensity="2" groups="MOTOR_STARTING"/>
        </default>
    </dashboard>
    <ai>
        <collisionTrigger node="aiCollisionTrigger"/>
    </ai>
    <honk>
        <sound file="sounds/horn.ogg"/>
    </honk>


    <foliageBending>
        <bendingNode minX="-1" maxX="1" minZ="-2.5" maxZ="2.2" yOffset="0.3"/>
    </foliageBending>

    <baseMaterial>
        <material name="body" baseNode="0>0|15|0|0">
            <shaderParameter name="colorMat0" value="SHARED_GREY2"/>
        </material>
        <material name="glass" baseNode="0>0|15|2|6">
            <shaderParameter name="colorMat0" value="SHARED_GREY2"/>
        </material>
    </baseMaterial>



    <baseMaterialConfigurations price="1000" useDefaultColors="false" defaultColorIndex="2">
			<baseMaterialConfiguration name="Sapphire Black Metallic" color="0.002 0.002 0.004" material="33"/>
			<baseMaterialConfiguration name="Sapphire Black Matt" color="0.002 0.002 0.004" material="27"/>
			<baseMaterialConfiguration name="Mineral Grey Metallic" color="0.034 0.036 0.036" material="33"/>
			<baseMaterialConfiguration name="Mineral Grey Matt" color="0.034 0.036 0.036" material="27"/>
			<baseMaterialConfiguration name="Alpine White Metallic" color="1 0.991 0.815" material="33"/>
			<baseMaterialConfiguration name="Alpine White Matt" color="1 0.991 0.815" material="27"/>
			<baseMaterialConfiguration name="Frozen Dark Grey Metallic" color="0.11 0.114 0.123" material="33"/>
			<baseMaterialConfiguration name="Frozen Dark Grey Matt" color="0.11 0.114 0.123" material="27"/>
        <material name="body" shaderParameter="colorMat0"/>
    </baseMaterialConfigurations>

    <tintConfigurations price="1000" useDefaultColors="false" defaultColorIndex="2">
			<tintConfiguration name="Sapphire Black Metallic" color="0.002 0.002 0.004" material="2"/>
			<tintConfiguration name="Sapphire Black Matt" color="0.002 0.002 0.004" material="27"/>
			<tintConfiguration name="Mineral Grey Metallic" color="0.034 0.036 0.036" material="2"/>
			<tintConfiguration name="Mineral Grey Matt" color="0.034 0.036 0.036" material="27"/>
			<tintConfiguration name="Alpine White Metallic" color="1 0.991 0.815" material="2"/>
			<tintConfiguration name="Alpine White Matt" color="1 0.991 0.815" material="27"/>
			<tintConfiguration name="Frozen Dark Grey Metallic" color="0.11 0.114 0.123" material="2"/>
			<tintConfiguration name="Frozen Dark Grey Matt" color="0.11 0.114 0.123" material="27"/>
        <material name="glass" shaderParameter="colorMat0"/>
    </tintConfigurations>



    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>
	
	
    <i3dMappings>
        <i3dMapping id="bmw_main_component1" node="0>"/>
        <i3dMapping id="bmw_vis" node="0>0"/>
        <i3dMapping id="wheels" node="0>0|0"/>
        <i3dMapping id="axisFrontLeft" node="0>0|0|0|0"/>
        <i3dMapping id="axisRearLeft" node="0>0|0|2"/>
        <i3dMapping id="wheelFrontLeft" node="0>0|0|0|0|0"/>
        <i3dMapping id="rim" node="0>0|0|0|0|0|0|0"/>
        <i3dMapping id="axisFrontRight" node="0>0|0|1|0"/>
        <i3dMapping id="axisRearRight" node="0>0|0|3"/>
        <i3dMapping id="wheelFrontRight" node="0>0|0|1|0|0"/>
        <i3dMapping id="wheelBackLeft" node="0>0|0|2|0"/>
        <i3dMapping id="wheelBackRight" node="0>0|0|3|0"/>
        <i3dMapping id="frontLightLow" node="0>0|1|0"/>
        <i3dMapping id="highBeamLow" node="0>0|1|1"/>
        <i3dMapping id="frontLightHigh" node="0>0|1|2"/>
        <i3dMapping id="highBeamHigh" node="0>0|1|3"/>
        <i3dMapping id="backLightsHigh1" node="0>0|1|4"/>
        <i3dMapping id="turnLightLeftFront" node="0>0|1|5"/>
        <i3dMapping id="turnLightLeftBack" node="0>0|1|6"/>
        <i3dMapping id="turnLightRightFront" node="0>0|1|7"/>
        <i3dMapping id="turnLightRightBack" node="0>0|1|8"/>
        <i3dMapping id="reverseLight" node="0>0|15|0|4|4|0"/>
		
        <i3dMapping id="frontLightStatic" node="0>0|15|8|1"/>
        <i3dMapping id="backlightsStatic" node="0>0|15|8|5"/>
        <i3dMapping id="backlightsStaticTrunk" node="0>0|15|0|4|0|0|9|0"/>
        <i3dMapping id="reverseLightsStatic" node="0>0|15|0|4|0|0|9|3"/>
        <i3dMapping id="highBeamStatic" node="0>0|15|8|2"/>
        <i3dMapping id="turnlightLeftStatic" node="0>0|15|8|3"/>
        <i3dMapping id="turnlightRightStatic" node="0>0|15|8|4"/>
        <i3dMapping id="turnlightLeftStaticTrunk" node="0>0|15|0|4|0|0|9|1"/>
        <i3dMapping id="turnlightRightStaticTrunk" node="0>0|15|0|4|0|0|9|2"/>
        <i3dMapping id="PlatelightStaticTrunk" node="0>0|15|0|4|0|0|9|4"/>
        <i3dMapping id="outdoorCameraTarget" node="0>0|2|0"/>
        <i3dMapping id="outdoorCamera1" node="0>0|2|0|0"/>
        <i3dMapping id="indoorCamera1" node="0>0|2|1"/>
        <i3dMapping id="cameraRaycastNode1" node="0>0|2|2"/>
        <i3dMapping id="cameraRaycastNode2" node="0>0|2|3"/>
        <i3dMapping id="cameraRaycastNode3" node="0>0|2|4"/>
        <i3dMapping id="shadowFocusBox" node="0>0|2|5"/>
        <i3dMapping id="player_skin" node="0>0|3|0"/>
        <i3dMapping id="player_rightFoot" node="0>0|3|1"/>
        <i3dMapping id="player_leftFoot" node="0>0|3|2"/>
        <i3dMapping id="exitPoint" node="0>0|4"/>
        <i3dMapping id="trailerAttacherJointBack" node="0>0|5"/>
        <i3dMapping id="electricBack" node="0>0|6"/>
        <i3dMapping id="steeringWheel" node="0>0|7|0"/>
        <i3dMapping id="player_leftHand" node="0>0|7|0|1"/>
        <i3dMapping id="player_rightHand" node="0>0|7|0|2"/>
        <i3dMapping id="exhaustParticle" node="0>0|8|0"/>
        <i3dMapping id="exhaustParticle1" node="0>0|8|1"/>
        <i3dMapping id="exhaustParticle2" node="0>0|8|2"/>
        <i3dMapping id="exhaustParticle3" node="0>0|8|3"/>
        <i3dMapping id="gasPedal" node="0>0|9|0"/>
        <i3dMapping id="player_rightFootGas" node="0>0|9|0|0"/>
        <i3dMapping id="brakePedal" node="0>0|9|1"/>
        <i3dMapping id="player_rightFootBrake" node="0>0|9|1|0"/>
        <i3dMapping id="backDoor" node="0>0|15|0|4"/>
        <i3dMapping id="leftDoor" node="0>0|15|0|1"/>
        <i3dMapping id="rightDoor" node="0>0|15|0|2"/>
        <i3dMapping id="frontDoor" node="0>0|15|0|3"/>

        <i3dMapping id="needleSpeed" node="0>0|11|0|0|0"/>
        <i3dMapping id="needleRpm" node="0>0|11|0|1|0"/>
        <i3dMapping id="needleTemp01" node="0>0|11|0|2|0"/>
        <i3dMapping id="needleFuel" node="0>0|11|0|4|0"/>
        <i3dMapping id="wiper01" node="0>0|12|0|0"/>
        <i3dMapping id="wiper02" node="0>0|12|1|0"/>
        <i3dMapping id="aiCollisionTrigger" node="0>0|13|0"/>
    </i3dMappings>
</vehicle>
