<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="dawn">
     <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
	 <storeData>
        <name>            <en>Rolls Royce Dawn 2016</en>
        </name>
        <specs>
            <power>563</power>
            <maxSpeed>180</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_car</function>
        </functions>
        <image>Store.dds</image>
        <price>327000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>RR</brand>
        <category>cars</category>
        <shopTranslationOffset>0 0.04 0</shopTranslationOffset>
        <shopRotationOffset>0 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>1487412</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>360324</indexBufferMemoryUsage>
        <textureMemoryUsage>14330864</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <base>
	    <typeDesc>$l10n_typeDesc_car</typeDesc>
        <filename>rolls_royce_dawn.i3d</filename>
        <size width="2.5" length="7.5"/>
     <components>
         <component centerOfMass="0 0.5 0.95" solverIterationCount="10" mass="2500"/>
     </components>
     <schemaOverlay attacherJointPosition="0.5 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="0>0|0" driveNode="0>0|0|2" radius="0.40" width="0.27" forcePointRatio="0.5" initialCompression="25" suspTravel="0.12" spring="30" damper="20" frictionScale="2.5"/>
                        <tire tireTrackAtlasIndex="1" isCareWheel="false"/>
                    </wheel>
                    <wheel hasParticles="true" hasTireTracks="true">
                        <physics rotSpeed="1" restLoad="0.5" repr="0>1|0" driveNode="0>1|0|2" radius="0.40" width="0.27" forcePointRatio="0.5" initialCompression="25" suspTravel="0.12" spring="30" damper="20" frictionScale="2.5"/>
                        <tire tireTrackAtlasIndex="1" isCareWheel="false"/>
                    </wheel>
                    <wheel hasParticles="true" hasTireTracks="true">
                        <physics rotSpeed="0" restLoad="0.7" repr="0>2|0" driveNode="0>2|0|2" radius="0.40" width="0.27" forcePointRatio="0.5" initialCompression="25" suspTravel="0.09" spring="30" damper="20" frictionScale="2.4"/>
                        <tire tireTrackAtlasIndex="1" isCareWheel="false"/>
                    </wheel>
                    <wheel hasParticles="true" hasTireTracks="true">
                        <physics rotSpeed="0" restLoad="0.7" repr="0>3|0" driveNode="0>3|0|2" radius="0.40" width="0.27" forcePointRatio="0.5" initialCompression="25" suspTravel="0.09" spring="30" damper="20" frictionScale="2.4"/>
                        <tire tireTrackAtlasIndex="1" isCareWheel="false"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="45" rotMax="35" rotCenterWheel1="3" rotCenterWheel2="4"/>
        </ackermannSteeringConfigurations>
    </wheels>
	
	<lights>
        <states>
            <state lightTypes="0"/>
            <state lightTypes="0 1"/>
          
        </states>
        <realLights>
            <low>
                <light node="0>16" lightTypes="0"/>
                <light node="0>17" lightTypes="1"/>
                <light lightTypes="0"/>
                <light lightTypes="0"/>
            </low>
            <high>
                <light node="0>16" lightTypes="0"/>
                <light node="0>17" lightTypes="1"/>
                <light lightTypes="0"/>
                <light lightTypes="0"/>
            </high>
        </realLights>
	
      <defaultLights>
   
         <defaultLight shaderNode="0>4|37|5" lightTypes="1"/>
         <defaultLight shaderNode="0>4|37|7" lightTypes="0 1"/>
         <defaultLight shaderNode="0>4|37|8"  lightTypes="0 1"/>
		 
      </defaultLights>


       <turnLights>
    
      <turnLightLeft shaderNode="0>4|37|2|0"/>
      <turnLightLeft shaderNode="0>4|37|2|1"/>
      <turnLightLeft shaderNode="0>4|37|2|2"/>
      <turnLightRight shaderNode="0>4|37|3|0"/>
      <turnLightRight shaderNode="0>4|37|3|1"/>
      <turnLightRight shaderNode="0>4|37|3|2"/>
	  
      </turnLights>

    <brakeLights>

    <brakeLight shaderNode="0>4|37|0"/>
	<brakeLight shaderNode="0>4|37|1"/>  

    </brakeLights>
	
	<daytimeRunningLights>
		<daytimeRunningLight node="0>4|37|6" intensity="100"/>
	</daytimeRunningLights>
	
    <reverseLights>
    <reverseLight shaderNode="0>4|37|4"/>
   </reverseLights>  
   
       <sounds>
            <switchLight template="SWITCH_01" linkNode="0>" />
            <turnLight template="SWITCH_TURNLIGHT" linkNode="0>" />
        </sounds>
		
		<dashboards>
			<dashboard displayType="EMITTER" valueType="lightState" node="0>6|8"		baseColor="BLACK"	emitColor="GREEN"	intensity="0.5"	lightTypes="0 1 2 3"	groups="MOTOR_ACTIVE"/>
			<dashboard displayType="EMITTER" valueType="lightState" node="0>6|6"	    baseColor="BLACK"	emitColor="GREEN"	intensity="0.5"	lightTypes="1 2 3"		groups="MOTOR_ACTIVE"/>
			<dashboard displayType="EMITTER" valueType="lightState" node="0>6|7"		baseColor="BLACK"	emitColor="ORANGE"	intensity="1"	lightTypes="2 3"		groups="MOTOR_ACTIVE"/>
			<dashboard displayType="EMITTER" valueType="turnLightLeft"  node="0>15|11|1"   	baseColor="BLACK" emitColor="GREEN"                                     groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="turnLightRight" node="0>15|11|0"   	baseColor="BLACK" emitColor="GREEN"                                   groups="MOTOR_ACTIVE"/>
			
			<dashboard displayType="EMITTER" valueType="lightState" node="0>4|22|9" intensity="3.5" lightTypes="0" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="EMITTER" valueType="lightState" node="0>4|22|0" intensity="0.4" lightTypes="0" groups="MOTOR_ACTIVE"/>
        </dashboards>
	</lights>
	
    <enterable>
        <exitPoint node="0>9" />
        <enterReferenceNode node="0>" />
        <characterNode node="0>6|0" cameraMinDistance="2.0" spineRotation="-90 0 90">
            <target ikChain="rightFoot" targetNode="0>6|1" />
            <target ikChain="leftFoot" targetNode="0>6|2" />
            <target ikChain="rightArm" targetNode="0>5|0|0" poseId="wideFingers"/>
            <target ikChain="leftArm" targetNode="0>5|0|1" poseId="wideFingers"/>
        </characterNode>
	
        <characterTargetNodeModifier node="player_rightFoot" transitionTime="0.1">
            <state node="player_rightFootGas" referenceNode="gasPedal"/>
            <state node="player_rightFootBrake" referenceNode="brakePedal"/>
        </characterTargetNodeModifier>
		
        <cameras count="2">
 
           <camera node="0>8|0|0" rotatable="true" rotateNode="0>8|0" 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="0>8|2"/>
   
             <raycastNode node="0>8|3"/>
 
           </camera>
     
       <camera node="0>8|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" positionSmoothingParameter="0" shadowFocusBox="shadowFocusBox"/>
   
     </cameras>
 
		<dashboards>
            <dashboard displayType="NUMBER" valueType="time" numbers="0>15|0" numberColor="38.2 1 1 0" precision="2" groups="MOTOR_ACTIVE" />
        </dashboards>
    </enterable>
	
	<dashboard>
        <groups>
            <group name="MOTOR_STARTING" isMotorStarting="true" />
            <group name="MOTOR_ACTIVE" isMotorStarting="true" isMotorRunning="true" />
        </groups>
		
		<default>
			<dashboard displayType="EMITTER" node="0>6|9"	baseColor="BLACK"	emitColor="ORANGE"		intensity="0.5"		groups="MOTOR_STARTING"/>
			<dashboard displayType="EMITTER" node="0>6|10"	baseColor="BLACK"	emitColor="RED"		intensity="0.5"		groups="MOTOR_STARTING"/>
		    <dashboard displayType="EMITTER" node="0>4|37|6" idleValue="0" intensity="5" groups="MOTOR_ACTIVE" />
        </default>
		
	</dashboard>
	
    <motorized>
		<consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="90" fillType="diesel" />  <!-- usage is per hour at max load and max rpm -->
            </consumerConfiguration>
        </consumerConfigurations>
		
        <motorConfigurations>
		    <motorConfiguration name="Eco Engine" hp="350" price="1500"  dailyUpkeep="35" >
                <motor torqueScale="3.2" minRpm="1000" maxRpm="5200" maxForwardSpeed="130" maxBackwardSpeed="25" brakeForce="3.5" lowBrakeForceScale="0.22" rotInertia="0.0015">
                    <torque rpm="1000" torque="1" />
                    <torque rpm="2200" torque="1.2" />
                    <torque rpm="3880" torque="1.4" />
                    <torque rpm="4500" torque="0.75" />
                    <torque rpm="5200" torque="0.63" />
                </motor>
                <transmission minForwardGearRatio="25" maxForwardGearRatio="45" minBackwardGearRatio="45" maxBackwardGearRatio="200" />
            </motorConfiguration>
           <motorConfiguration name="6.6 LITRE V12 " hp="510" price="10000"  dailyUpkeep="50" >
                <motor torqueScale="3.9" minRpm="1000" maxRpm="7000" maxForwardSpeed="180" maxBackwardSpeed="35" brakeForce="3.5" lowBrakeForceScale="0.28" rotInertia="0.0015">
                    <torque rpm="1000" torque="0.9" />
                    <torque rpm="2200" torque="1.2" />
                    <torque rpm="3880" torque="1.9" />
                    <torque rpm="4500" torque="2.9" />
                    <torque rpm="5200" torque="3.5" />
					<torque rpm="6000" torque="3" />
					<torque rpm="7000" torque="0.85" />
                </motor>
                <transmission minForwardGearRatio="11" maxForwardGearRatio="38" minBackwardGearRatio="40" maxBackwardGearRatio="150" />
            </motorConfiguration>
        </motorConfigurations>
		
        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.8" wheelIndex1="1" wheelIndex2="2" />
                    <differential torqueRatio="0.5" maxSpeedRatio="1.8" wheelIndex1="3" wheelIndex2="4" />
                    <differential torqueRatio="0.5" maxSpeedRatio="1.8" differentialIndex1="1" differentialIndex2="2" />
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>
		
        <exhaustEffects>
            <exhaustEffect node="0>19" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.3" maxRpmColor="0.9 0.9 0.9 0.4" minRpmScale="0.2" maxRpmScale="0.10" xzRotationsForward="0 0" xzRotationsBackward="0 0" xzRotationsLeft="0 0" xzRotationsRight="0 0" />
            <exhaustEffect node="0>20" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.3" maxRpmColor="0.9 0.9 0.9 0.4" minRpmScale="0.2" maxRpmScale="0.10" xzRotationsForward="0 0" xzRotationsBackward="0 0" xzRotationsLeft="0 0" xzRotationsRight="0 0" />
			<exhaustEffect node="0>21" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.3" maxRpmColor="0.9 0.9 0.9 0.4" minRpmScale="0.2" maxRpmScale="0.10" xzRotationsForward="0 0" xzRotationsBackward="0 0" xzRotationsLeft="0 0" xzRotationsRight="0 0" />
            <exhaustEffect node="0>22" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.3" maxRpmColor="0.9 0.9 0.9 0.4" minRpmScale="0.2" maxRpmScale="0.10" xzRotationsForward="0 0" xzRotationsBackward="0 0" xzRotationsLeft="0 0" xzRotationsRight="0 0" />
        </exhaustEffects>
		
        <sounds externalSoundFile="sounds/sound.xml"/>
		
		<dashboards>
			<dashboard displayType="ANIMATION" valueType="rpm" animName="rpmDisplay" minValueAnim="0" maxValueAnim="7000" groups="MOTOR_ACTIVE" />
            <dashboard displayType="ANIMATION" valueType="speed" animName="speedDisplay" minValueAnim="0" maxValueAnim="180"  groups="MOTOR_ACTIVE"/>
			<dashboard displayType="ANIMATION" valueType="motorTemperature" animName="loadingBarTemperature" minValueAnim="0" maxValueAnim="120" groups="MOTOR_ACTIVE"/>
			<dashboard displayType="ANIMATION" valueType="fuelDisplay" animName="fuelDisplay" minValueAnim="0" maxValueAnim="90" groups="MOTOR_ACTIVE"/>
			<dashboard displayType="NUMBER" valueType="speed" numbers="numbersSpeed" precision="1" groups="MOTOR_ACTIVE"/>	
        </dashboards>
    </motorized>
	
    <drivable>
		<sounds>
            <waterSplash template="WATER_SPLASH_01" />
        </sounds>
        <steeringWheel node="0>5|0" indoorRotation="540" outdoorRotation="90" />
		<dashboards>
            <dashboard displayType="ROT" valueType="accelerationAxis" node="gasPedal" minRot="84.311 -29.586 0" maxRot="112.029 -29.586 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ROT" valueType="decelerationAxis" node="brakePedal" minRot="69.112 -30.723 0" maxRot="102.015 -30.723 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </drivable>
	
	 <foldable>
        <foldingParts>
            <foldingPart animationName="Trunk_Liner" speedScale="1"/>
        </foldingParts>
    </foldable>
	
    <animations>
        <animation name="rpmDisplay">
            <part node="0>15|1|1" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 160" />
        </animation>
		<animation name="speedDisplay">
            <part node="0>15|0|1" startTime="0" endTime="1" startRot="8.5 0 0" endRot="8.5 0 180"/>
        </animation>
        <animation name="fuelDisplay">
            <part node="0>15|3|0" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 80" />
        </animation>
		<animation name="Trunk_Liner">
            <part node="0>4|30" startTime="1" endTime="2" duration="2" startRot="0 0 0" endRot="75 0 0" />
		</animation>
		<animation name="loadingBarTemperature">
            <part node="0>15|2|0" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 -75"/>
        </animation>
		<animation name="hood">
            <part node="0>4|23" startTime="0" endTime="0.5" startRot="0 0 0" endRot="-56.474 0 0" />
        </animation>
		<animation name="frontleft">
            <part node="0>4|24" startTime="0" endTime="1" startRot="0 0 0" endRot="0 50 0" />
        </animation>
		<animation name="frontright">
            <part node="0>4|35" startTime="0" endTime="1" startRot="0 0 0" endRot="0 -50 0" />
        </animation>
		
		 <animation name="wiperFrontAnimation">
            <part node="0>4|18|0|0" startTime="0" endTime="0.6" startRot="0 0 0" endRot="-78 -0.3 0"/>
            <part node="0>4|18|0|0" startTime="0.6" endTime="1.2" startRot="-78 -0.3 0" endRot="0 0 0"/>
            <part node="0>4|18|1|0" startTime="0" endTime="0.6" startRot="0 0 0" endRot="-63 -0.3 0"/>
            <part node="0>4|18|1|0" startTime="0.6" endTime="1.2" startRot="-63 -0.3 0" endRot="0 0 0"/>
        </animation>
    </animations>
	
	<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>
    </wipers>
	
    <cylindered>
		<movingTools>
            <movingTool node="attacherJointBackArmBottom">
                <dependentPart node="mainArm"/>
            </movingTool>
			<movingTool node="Trunk_Liner" playSound="true"/>	
			<movingTool node="0>4|35">
                <controls axis="AXIS_CRANE_ARM2" invertAxis="true" mouseSpeedFactor="0.8"/>
                <animation animSpeed="0.8" animAcceleration="200" animName="frontright" />
				<dependentPart node="cylinderDoor"/>
            </movingTool>
			<movingTool node="0>4|24">
                <controls axis="AXIS_CRANE_ARM" invertAxis="true" mouseSpeedFactor="0.8"/>
                <animation animSpeed="0.8" animAcceleration="200" animName="frontleft" />
            </movingTool>
			<movingTool node="0>4|23">
                <controls axis="AXIS_FRONTLOADER_ARM2" invertAxis="true" mouseSpeedFactor="0.8"/>
                <animation animSpeed="0.8" animAcceleration="200" animName="hood" />
				<dependentPart node="cylinderLeft"/>
				<dependentPart node="cylinderRight"/>
            </movingTool>
        </movingTools>
        <sounds>
            <hydraulic template="PICKUP_TRUNK" linkNode="0>4"/>
        </sounds>
    </cylindered>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit capacity="90" unit="$l10n_unit_literShort" fillTypes="diesel" showOnHud="false" showInShop="false">
					    <dashboard displayType="ANIMATION" valueType="fillLevel" animName="fuelDisplay" groups="MOTOR_ACTIVE" />
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
	
	<vehicleTypeConfigurations title="Wing">
        <vehicleTypeConfiguration name="Stock Dawn" price="0" vehicleType="carFillable">
			<objectChange node="0>4|30|0" visibilityActive="false" visibilityInactive="false" />
		</vehicleTypeConfiguration>
		<vehicleTypeConfiguration name="Wing" price="3500" vehicleType="carFillable">
			<objectChange node="0>4|30|0" visibilityActive="true" visibilityInactive="false" />
		</vehicleTypeConfiguration>
	</vehicleTypeConfigurations>
	
	
	<displayConfigurations>
        <displayConfiguration name="No Screen" price="0">
        </displayConfiguration>
        <displayConfiguration name="Head Up Display" price="1500">
            <objectChange node="HDisplay" visibilityActive="true" />
		</displayConfiguration>
    </displayConfigurations>
	
	
	<baseColorConfigurations useDefaultColors="true" price="1000" defaultColorIndex="1" icon="$dataS2/menu/hud/configurations/config_color.png">
		<baseColorConfiguration color="0.25 0.8 0.01 1" />
		<baseColorConfiguration color="0 0.2 0.3 1" />
		<baseColorConfiguration color="0.1 0.2 0.5 1" />
		<baseColorConfiguration color="0 0.8 1 1" />
		<baseColorConfiguration color="0.9 0 0 1" />
		<baseColorConfiguration color="0.1 0 0.01 1" />
		<baseColorConfiguration color="0 1 0 1" />
		<baseColorConfiguration color="0 0 0.1 1" />
		<baseColorConfiguration color="0 0 0.3 1" />
	    <baseColorConfiguration color="0 0 0 1" />
		<baseColorConfiguration color="1 0 1 1" />
        <colorNode node="0>4|0"    recursive="true"/>
		<colorNode node="0>4|23"    recursive="true"/>
		<colorNode node="0>4|30"    recursive="true"/>
		<colorNode node="0>4|24"    recursive="true"/>
		<colorNode node="0>4|35"    recursive="true"/>
		<colorNode node="0>4|18|0|0"    recursive="true"/>
		<colorNode node="0>4|18|1|0"    recursive="true"/>
    </baseColorConfigurations>
	
	<foliageBending>
        <bendingNode minX="-1.15" maxX="1.15" minZ="-2.8" maxZ="2.8" yOffset="0.05" />
    </foliageBending>
	
	<wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>
	
	<honk>
        <sound template="HONK_JD8400R" file="sounds/horn.ogg"/>
    </honk>
	
    <ai>
        <collisionTrigger node="0>7" />
    </ai>
	
	
	
	<i3dMappings>
        <i3dMapping id="Body" node="0>4|0"/>
		<i3dMapping id="transform" node="0>4"/>
		<i3dMapping id="Hood" node="0>4|23"/>
		<i3dMapping id="Trunk_Liner" node="0>4|30"/>
		<i3dMapping id="steeringwheel" node="0>5|0"/>
		<i3dMapping id="int_gaugesemss" node="0>4|22|0"/>
		<i3dMapping id="dashscreen" node="0>4|22|9"/>
		<i3dMapping id="HDisplay" node="0>23"/>
		<i3dMapping id="numbersSpeed" node="0>23|0" />
	</i3dMappings>
</vehicle>