[Common]
WheelRadiuses= 0.400000 ;0.400000 
WheelCenterShiftFromPhysicalCar = (front=-0.859475;-0.255806;-1.555678, back=-0.850467;-0.255806;1.375332)
RotateWheelsAroundZ = (left=false, right=true)
PlayerCar = false
HWDShift = 0; 1.20; -1.18
Probability = 0.8
Width = 1.597
Heigth = 4.481
DamagedCarParts = (FrontPart=0.28, BackPart=0.25, LeftPart=0.1, RightPart=0.1)
VelocityMax = 250
VelocityPrefer = 100
VelocitySlow = 100
VelocityMin = 1
AccelerationMax = 2.5
AccelerationPrefer = 1.5
AccelerationMin = 0.2
BrakingMax = 10.0
BrakingPrefer = 4.0
BrakingMin = 1
DistanceMax = 100
DistancePrefer = 6
DistanceMin = 1
FrontWheelRadius = 0.292
TuningConfigPath = "cars/Car01/tuning.xml"
BaseSoundBankName = "BaseCar"
SoundBankName = "BMWM2"
useDevicePanelOnFlags = true"

[Humans]
DriverAnimated = (Shift = 0.07;-0.051;0.102, Angle=0., Saloon = "left")
DriverAnimated = (Shift = 0.07;-0.051;0.102, Angle=0., Saloon = "right")
DriverAnimatedModel = (Driver="cars/Bmw_m3_by_Heisenberg/driver", Wheel="cars/Bmw_m3_by_Heisenberg/wheel")



[Cameras]

CameraProfile="cars/Bmw_m3_by_Heisenberg/cameras.xml"

LookAtLeftAngle = 55.0
LookAtRightAngle = 55.0
LookAtBackAngle = 165.0


[SpeedometerAndTachometer]		
SmtrDivValue = 20.0
SmtrDivCount = 15.0
SmtrDivAngle = 0.3
SmtrZeroOffset = -0.2

TtmrDivValue = 10.0
TtmrDivCount = 9
TmtrDivAngle = 0.46
TmtrZeroOffset = 0.0

[Headlights]	
faraFrom_near_R = 0.542; 0.5; -1.9
faraXangle_near_R = -25
faraYangle_near_R = -7
faraRange_near_R = 80
faraColor_near_R = 0.6; 0.6; 0.9; 0

faraFrom_near_L = -0.542; 0.3; -2.4
faraXangle_near_L = -30
faraYangle_near_L = -1
faraRange_near_L = 20
faraColor_near_R = 0.6; 0.6; 0.9; 0

#-------------------------------------

faraFrom_far_R = 0.542; 2.0; -1.9
faraXangle_far_R = -30
faraYangle_far_R = -0
faraRange_far_R = 400
faraColor_near_R = 0.6; 0.6; 0.9; 0

faraFrom_far_L = -0.542; 2.0; -2.4
faraXangle_far_L = -30
faraYangle_far_L = -10
faraRange_far_L = 100
faraColor_near_R = 0.6; 0.6; 0.9; 0



[BodyColors]

#Чёрный
Color = (color = 9;9;12; 255 ,	Probability=0.1)

#Снежный
Color = (color = 160;160;160; 255 ,	Probability=0.2)

#Голубой
Color = (color = 21;60;196; 255 ,	Probability=0.3)





[bodyDetail]
bodyName = "body"
lodName0 = "carLod0"
lodName1 = "carLod1"
lodName2 = "carLod2"
lodName3 = "carLod3"

saloonName = "saloon"
driverName = "driver"
fairingName = "tuning/obtekatel/obtekatel"
pipeName  = "tuning/glushitel/glushitel"
spoylerName = "tuning/spoyler/spoyler"

uName = "tuning/U/U"
shadowPlaneName = "shadow_plane"


[wheelDetail]
carFrontRightWheelName = "tuning/wheel_front/wheel_front"
carFrontLeftWheelName = "tuning/wheel_front/wheel_front"

carBackRightWheelName = "tuning/wheel_back/wheel_back"
carBackLeftWheelName = "tuning/wheel_back/wheel_back"

carMiddleRightWheelName = "tuning/wheel_middle/wheel_middle"
carMiddleLeftWheelName = "tuning/wheel_middle/wheel_middle"

wheelsCount = 4

[licensePlateDetail]
carLicensePlate = "license_plate"


[lightDetail]
#---Передние фары---
carHeadLightVisibleName = "head_light_visible"
carHeadLightVisibleColor = 255; 255; 255

carHeadLightsName = "hwd_near_light"
carHeadLightsColor = 250; 250; 250

carNearLightsName = "hwd_near_light"
carNearLightsColor = 180; 180; 180

#---Поворотники---
carLeftStrafeLightName = "left_strafe_light"
carLeftStrafeLightColor = 255; 120; 30

carLeftStrafeLightVisibleName = "left_strafe_light_visible"
carLeftStrafeLightVisibleColor = 255; 255; 255

carRightStrafeLightName = "right_strafe_light"
carRightStrafeLightColor = 255; 120; 30

carRightStrafeLightVisibleName = "right_strafe_light_visible"
carRightStrafeLightVisibleColor = 255; 255; 255

#---Стопари и габаритки---
carStopLightName = "stop_light"
carStopLightColor = 250; 10; 0

carStopLightVisibleName = "stop_light_visible"
carStopLightVisibleColor = 255; 255; 255

carHwdsFrontName = "hwd_front_light"
carHwdsFrontColor = 180; 180; 180

carHwdsBackName = "hwd_back_light"
carHwdsBackColor = 100; 25; 0

carHwdsBackLightVisibleName = "hwd_back_light_visible"
carHwdsBackLightVisibleColor = 255; 255; 255

#---Задний ход и плюшки на земле---
carBackLightName = "back_light"
carBackLightColor = 140; 150; 160

carBackLightVisibleName = "back_light_visible"
carBackLightVisibleColor = 255; 255; 255

carFrontFallingLightName = "head_front_light_visible"
carFrontFallingLightColor = 255; 255; 255 

carBackFallingLightName = "head_back_light_visible"
carBackFallingLightColor = 255; 255; 255

#---Сигналы в салоне---
carLeftSaloonLightName = "signal_left"
carLeftSaloonLightColor = 0; 255; 0

carRightSaloonLightName = "signal_right"
carRightSaloonLightColor = 0; 255; 0

carBrakeLightName = "signal_brake"
carBrakeLightColor = 255; 0; 0

carFarLightName = "signal_farlight"
carFarLightColor = 17; 120; 236

carAccumLightName = "signal_discharge"
carAccumLightColor = 255; 0; 0

carReverseLightName = "R"
carReverseLightColor = 255; 0; 0

carNeutralLightName = "N"
carNeutralLightColor = 255; 0; 0

carParkLightName = "P"
carParkLightColor = 255; 0; 0

carDriveLightName = "D"
carDriveLightColor = 255; 0; 0

carDrive1LightName = "D1"
carDrive1LightColor = 255; 0; 0

carDrive2LightName = "D2"
carDrive2LightColor = 255; 0; 0

carDrive3LightName = "D3"
carDrive3LightColor = 255; 0; 0

carManualLightName = "mechanic"
carManualLightColor = 255; 0; 0 


[mirrorDetail]
carMirrorLeftName = "mirror_left"
carMirrorCenterName = "mirror_center"
carMirrorRightName = "mirror_right"

[saloonDetail]
carSaloonName = "body"
carSpeedometerArrowName = "speedometer_arrow"
carTahometerArrowName = "tachometer_arrow"
carOilArrowName = "oil_arrow"
carFuelArrowName = "fuel_arrow"

carWindShieldName = "glass_windshield"
carWindShieldCleaner1Name = "cleaner_windshield_left"
carWindShieldCleaner2Name = "cleaner_windshield_right"
carWindShieldTopLeft = -0.7;  0.6; -0.3
carWindShieldTopRight = 0.7;  0.6; -0.3
carWindShieldBottomLeft = -0.7; 0.2; -1.2
carWindShieldBottomRight = 0.7; 0.2; -1.2

carLeftWindowName = "glass_left"
carLeftWindowTopLeft = -0.6;  0.6; 1.1
carLeftWindowTopRight = -0.6;  0.6; -0.8
carLeftWindowBottomLeft = -0.8; 0.2; 1.1
carLeftWindowBottomRight = -0.8; 0.2; -0.8

carRightWindowName = "glass_right"
carRightWindowTopLeft = 0.6;  0.6; -0.8
carRightWindowTopRight = 0.6;  0.6; 1.1
carRightWindowBottomLeft = 0.8; 0.2; -0.8
carRightWindowBottomRight = 0.8; 0.2; 1.1

carBackWindowName = "glass_back"
carBackWindowTopLeft = 0.6;  0.6; 1.1
carBackWindowTopRight = -0.6;  0.6; 1.1
carBackWindowBottomLeft = 0.6; 0.3; 1.8
carBackWindowBottomRight = -0.6; 0.3; 1.8

newbieSignName = "learner"
beginnerSignName = "beginner"

DriverNodeName = "driver"
PassengerNodeNames = "passanger1"; "passanger2"; "passanger3"
carSteeringWheelName = "driving_wheel"

[modelLodInfo]
modelLodDistance1 = 30
modelLodDistance2 = 120
modelLodDistance3 = 200

[Force Feedback.SteeringResistance]
ff_SteeringResistance_enabled = true
ff_SteeringResistanceAdd = 0.2
ff_SteeringResistanceMax = 8000

[Force Feedback.SideForce]
ff_SideForce_enabled = true
ff_SideForce_Transformation= (DeadZone=0.01, Curvature=1, ReflectCurve=true)
ff_SideForce_AngleFactor = 0.5
ff_SideForce_SpeedFactor = 0.5
ff_SideForce_MaxSpeed = 60
ff_SideForce_SteeringFactorDeadZone = 0.0
ff_SideForce_SteeringFactorLimit = 0.1

SteeringResistancePoint=(Speed=5, Resistance=0.3)
ff_SideForce_GasFactor = 0.2

[Force Feedback.Crash]
ff_Crash_enabled = true
#type values: Square=0, Sine=1, Triangle=2, SawtoothUp=3, SawtoothDown
ff_Crash_periodic = (type=1, Magnitude=1000, Period=10000, Phase=0, Offset=0)
ff_Crash_duration = -1
ff_Crash_envelope = (AttackLevel=2000, AttackTime=10000, FadeLevel=0, FadeTime=50000)

[Force Feedback.GroundTrembling]
ff_GroundTrembling_enabled = false
ff_GroundTrembling_periodic = (Magnitude=1000, Period=1000, Phase=0, Offset=1000)
ff_GroundTrembling_duration = 10000

[Force Feedback.SuspensionTrembling]
ff_SuspensionTrembling_enabled = true
ff_SuspensionTrembling_duration = 100000
ff_SuspensionTrembling_magnitude_factor = 50000
ff_SuspensionTrembling_delta = 0.01

[Force Feedback.StartEngine]
ff_StartEngine_enabled = false
ff_StartEngine_periodic = (Magnitude=2000, Period=50000, Phase=0, Offset=0)
ff_StartEngine_duration = -1
ff_StartEngine_envelope = (AttackLevel= 0, AttackTime=200000, FadeLevel=1000, FadeTime=2000000)

[Force Feedback.LowSpeedTrembling]
ff_LowSpeedTrembling_enabled = false
ff_LowSpeedTrembling_periodic = (Magnitude=1000, Period=1000, Phase=0, Offset=0)
ff_LowSpeedTrembling_EndOfLowSpeed = 50
ff_LowSpeedTrembling_StartDelay = 5500000

[Passangers]
seat_1 = (Shift = 0.351; -0.127; 0.053, AngleX=0.0, AngleZ=0.0, SeatType = "MuchSpace")
seat_2 = (Shift = 0.351; -0.127; 0.053, AngleX=0.0, AngleZ=0.0, SeatType = "MuchSpace")