[Common]
WheelRadiuses= 0.325000 ;0.325000 
WheelCenterShiftFromPhysicalCar = (front=-0.761985;-0.475861;-1.421122, back=-0.762013;-0.475861;1.298885)
RotateWheelsAroundZ = (left=false, right=true)
PlayerCar = false
HWDShift = 0; -0.28; -1.444
Probability = 0.3
Width = 1.746
Heigth = 4.542
DamagedCarParts = (FrontPart=0.28, BackPart=0.25, LeftPart=0.1, RightPart=0.1)
VelocityMax = 200
VelocityPrefer = 75
VelocitySlow = 25
VelocityMin = 3
AccelerationMax = 4
AccelerationPrefer = 3
AccelerationMin = 1
BrakingMax = 15
BrakingPrefer = 3
BrakingMin = 1
DistanceMax = 60
DistancePrefer = 4
DistanceMin = 1.0
FrontWheelRadius = 0.292
useDevicePanelOnFlags = true
SoundBankName = "Amarok"
BaseSoundBankName = "BaseCar"

[Humans]
DriverAnimated = (Shift = -0.007;0.573;0.181, Angle=0., Saloon = "left")
DriverAnimatedModel = (Driver="cars/AUD_RS4_by_Denis154rus/driver", Wheel="cars/AUD_RS4_by_Denis154rus/wheel")

[Cameras]


CameraProfile="cars/AUD_RS4_by_Denis154rus/cameras.xml"

LookAtLeftAngle = 55.0
LookAtRightAngle = 55.0
LookAtBackAngle = 165.0

[Mirrors]
MirrorCenterFOV = 30.0
MirrorLeftFOV = 30.0
MirrorRightFOV = 30.0

MirrorCenterPosition = 0; 0.508; -0.355
MirrorCenterLookAt = 0.0; 0.508; 2.30

MirrorLeftPosition = -0.908; 0.264; -0.615
MirrorLeftLookAt = -1.608; 0.264; 2.36

MirrorRightPosition	=	0.908; 0.264; -0.615
MirrorRightLookAt =	1.608; 0.264; 2.36

[SpeedometerAndTachometer]		
SmtrDivValue = 20.0
SmtrDivCount = 40
SmtrDivAngle = 0.41
SmtrZeroOffset = 0.0

SmtrDivValue_0 = 10.0
SmtrDivCount_0 = 1
SmtrDivAngle_0 = 0.35

SmtrDivValue_1 = 5.0
SmtrDivCount_1 = 1
SmtrDivAngle_1 = 0.30

TachometerSectionsNumber=2
TmtrZeroOffset = 0.0
TtmrDivValue = 4.0
TtmrDivCount = 10
TmtrDivAngle = 0.310

TtmrDivValue_1 = 2.0
TtmrDivCount_1 = 15
TmtrDivAngle_1 = 0.105


[Headlights]	
faraFrom_near_R = 0.542; 0.7; -1.8
faraXangle_near_R = -25
faraYangle_near_R = -5
faraRange_near_R = 80
faraColor_near_R = 0.6; 0.6; 0.5; 0

faraFrom_near_L = -0.542; 0.7; -1.8
faraXangle_near_L = -40
faraYangle_near_L = 5
faraRange_near_L = 20
faraColor_near_L= 0.6; 0.6; 0.5; 0

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

faraFrom_far_R = 0.542; 2.0; -1.0
faraXangle_far_R = -30
faraYangle_far_R = -0
faraRange_far_R = 300
faraColor_far_R = 0.6; 0.6; 0.5; 0

faraFrom_far_L = -0.542; 2.0; -1.0
faraXangle_far_L = -30
faraYangle_far_L = -10
faraRange_far_L = 100
faraColor_far_L= 0.6; 0.6; 0.5; 0


[BodyColors]
#from toyota.com
#Magnetic Gray Metallic
Color = (color = 42;43;43; 255 ,	Probability=0.3)
#Color = (color = 84;85;86; 255 ,	Probability=0.0)

#Classic Silver Metallic
Color = (color = 95;97;98; 255 ,	Probability=0.3)
#Color = (color = 189;193;195; 255 ,	Probability=0.0)

#Kinetic
Color = (color = 11;23;45; 255 ,	Probability=1.0)
#Color = (color = 22;47;90; 255 ,	Probability=1.0)

#Barselona Red Metallic
Color = (color = 68;10;11; 255 ,	Probability=0.025)
#Color = (color = 136;19;21; 255 ,	Probability=0.025)

#Black Sand Pearl
Color = (color = 9;9;12; 255 ,	Probability=0.1)
#Color = (color = 17;18;23; 255 ,	Probability=0.0)

#Capri Sea Metallic
Color = (color = 25;44;44; 255 ,	Probability=0.025)
#Color = (color = 50;88;87; 255 ,	Probability=0.0)


[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 = "head_farlight"
carHeadLightsColor = 250; 250; 250

carNearLightsName = "head_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 = 50; 50; 255

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 = "M"
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 = true
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

