[Common]
WheelRadiuses= 0.288000 ;0.288000 
WheelCenterShiftFromPhysicalCar = (front=-0.664632;-0.473385;-1.327675, back=-0.663939;-0.473629;1.102643)
RotateWheelsAroundZ = (left=true, right=false)
PlayerCar = true
#HWDShift = 0; 0; -1.4
Probability = 0.8
HWDShift = 0; -0.69; -1.31
Probability = 0.8
Width = 1.988
Heigth = 4.278
DamagedCarParts = (FrontPart=0.275, BackPart=0.25, LeftPart=0.1, RightPart=0.1)
VelocityMax = 160
VelocityPrefer = 75
VelocitySlow = 25
VelocityMin = 1
AccelerationMaxTableVel=0; 10;	20;	30;	40;	50;	60;	70;	80;	90;	100; 110; 120; 130;	140; 150; 160; 170;	180; 190; 200; 210; 220; 230; 240; 250
AccelerationMaxTableAcc=2;	3;	3.2;	3.6;	4;	3.6;	2.2;	2.3;	2.2;	2;	1.95;	1.35;	1.3;	1.1;	1;	0.7;	0.3;	0.1;	0.001;	0;	0;	0;	0;	0;	0;	0
AccelerationMax = 4
AccelerationPrefer = 3
AccelerationMin = 1
BrakingMax = 9.086
BrakingPrefer = 3
BrakingMin = 1
DistanceMax = 60
DistancePrefer = 3
DistanceMin = 1
FrontWheelRadius = 0.292
useDevicePanelOnFlags = true
SoundBankName = "Lexus_LS500"
BaseSoundBankName = "BaseCar"
MaxCargo = 400

[Fuel]
RefuelSide = "right"

[Cameras]

CameraProfile="cars/Lexus_Ls500_Sasha161rus/cameras.xml"

LookAtLeftAngle = 55.0
LookAtRightAngle = 55.0
LookAtBackAngle = 165.0

HeadMoveRadius = 0.4

[Mirrors]
Mirror2ViewportName = "mirror_center"
Mirror2PointRightTop = 0.087; 0.494; -0.476
Mirror2PointRightBottom = 0.093; 0.448; -0.497
Mirror2PointLeftTop = -0.091; 0.503; -0.474
Mirror2PointLeftBottom = -0.101; 0.458; -0.494

Mirror1ViewportName = "mirror_right"
Mirror1PointRightTop = 0.866; 0.241; -0.535
Mirror1PointRightBottom = 0.866; 0.172; -0.545
Mirror1PointLeftTop = 0.730; 0.253; -0.596
Mirror1PointLeftBottom = 0.729; 0.184; -0.607

Mirror0ViewportName = "mirror_left"
Mirror0PointRightTop = -0.730; 0.249; -0.597
Mirror0PointRightBottom = -0.733; 0.179; -0.606
Mirror0PointLeftTop = -0.867; 0.246; -0.534
Mirror0PointLeftBottom = -0.87; 0.177; -0.544

MirrorCenterFOV = 50.0
MirrorLeftFOV = 100.0
MirrorRightFOV = 100.0

MirrorCenterPosition = 0;  0.532; -0.206
MirrorCenterLookAt = 0; -0.3; 8.0

MirrorLeftPosition = -0.8; 0.235; -0.445
MirrorLeftLookAt = -1.5; -0.5; 12.0

MirrorRightPosition = 0.8; 0.235; -0.445
MirrorRightLookAt = 1.5; -0.5; 12.0

[SpeedometerAndTachometer]
SmtrDivValue = 20.0
SmtrDivCount = 11
SmtrDivAngle = 0.44
SmtrMaxSpeed = 200


TtmrDivValue = 10.0
TtmrDivCount = 7
TmtrDivAngle = 0.22
TmtrZeroOffset = 0.0

FmtrDivCount = 1
FmtrDivValue = 100
FmtrDivAngle = -1
FmtrZeroOffset = 0.0

TermometerMinAngle = 1
TermometerMinValue = 50
TermometerDivValue = 80
TermometerDivAngle = -1
TermometerDivCount = 1



##################################
FmtrDivCount = 1
FmtrDivValue = 100.0
FmtrDivAngle = 1.08
FmtrZeroOffset = 0.0

# Минимальное значение угла в радианах
TermometerMinAngle = 0.0
# Минимальное значение на шкале
TermometerMinValue = 50
# Разница значений максимального и минимального
TermometerDivValue = 80
# Угол одного деления, в радианах
TermometerDivAngle = 1.16
# Цена деления
TermometerDivCount = 1


[Headlights]
faraFrom_near_R = 0.542; 0.7; -1.8
faraXangle_near_R = -25
faraYangle_near_R = 0
faraRange_near_R = 40
faraColor_near_R = 0.5; 0.5; 0.45; 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.5; 0.5; 0.45; 0

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

faraFrom_far_R = 0.542; 2.0; -0.8
faraXangle_far_R = -30
faraYangle_far_R = -0
faraRange_far_R = 300
faraColor_far_R = 0.5; 0.5; 0.45; 0

faraFrom_far_L = -0.542; 2.0; -0.8
faraXangle_far_L = -30
faraYangle_far_L = -10
faraRange_far_L = 100
faraColor_far_L= 0.5; 0.5; 0.45; 0

[BodyColors]

#from toyota.com
#Rubin
Color = (color = 69;5;13; 255 ,	Probability=0.025)
#Color = (color = 110;14;26; 255 ,	Probability=0.1)

#Black
Color = (color = 8;8;8; 255 ,	Probability=0.1)

#Seri
#Color = (color = 192;198;197; 255 ,	Probability=0.025)
Color = (color = 69;72;75; 255 ,	Probability=1.0)

#Super White
Color = (color = 216;215;202; 255 ,	Probability=0.2)

#Синий
Color = (color = 0;26;51; 255 ,	Probability=0.025)
#Color = (color = 9;10;19; 255 ,	Probability=1.0)


[Force Feedback.SteeringResistance]
ff_SteeringResistance_enabled = true
ff_SteeringResistanceAdd = 0.3
ff_SteeringResistanceMax = 10000
ff_SteeringResistancePoint=(Speed=5, Resistance=0.3)

[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
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


[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 = "wheels"
carFrontLeftWheelName = "wheels"

carBackRightWheelName = "wheels"
carBackLeftWheelName = "wheels"

carMiddleRightWheelName = "wheels"
carMiddleLeftWheelName = "wheels"

wheelsCount = 4

[licensePlateDetail]
carLicensePlate = "license_plate"

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

carHeadLightsName = "head_light"
carHeadLightsColor = 250; 250; 250

carNearLightsName = "head_light"
carNearLightsColor = 180; 180; 180

carHwdsFrontName = "hwd_front_light"
carHwdsFrontColor = 255; 255; 255


#---Поворотники---
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 = 200; 50; 0

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

carHwdsFrontName = "hwd_front_light"
carHwdsFrontColor = 80; 90; 100

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 = "left_signal"
carLeftSaloonLightColor = 0; 255; 0

carRightSaloonLightName = "rait_signal"
carRightSaloonLightColor = 0; 255; 0

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

carFarLightName = "signal_farlight"
carFarLightColor = 255; 255; 255

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

carLowFuelLightName = "signal_lowfuel"
carLowFuelLightColor = 255; 0; 0

carEngineOverheatLightName = "signal_temperature" 
carEngineOverheatLightColor = 255; 112; 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

carHWDLightDashboardName = "signal_near"
carHWDLightDashboardColor = 0; 105; 127

carNearLightDashboardName = "signal_near"
carNearLightDashboardColor = 0; 105; 127

carLowFuelLightName = "signal_lowfuel"
carLowFuelLightColor = 255; 0; 0

carCheckEngineLightName = "signal_engine"
carCheckEngineLightColor = 255; 0; 0

carOilLightName = "signal_oil"
carOilLightColor = 255; 0; 0
carOilLightBlink = false


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

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

carWindShieldName = "glass_windshield"
carWindShieldCleaner1Name = "cleaner_windshield_left"
carWindShieldCleaner2Name = "cleaner_windshield_right"
carWindShieldTopLeft = -0.662;  0.57; -0.305
carWindShieldTopRight = 0.654;  0.57; -0.305
carWindShieldBottomLeft = -0.662; 0.142; -1.024
carWindShieldBottomRight = 0.654; 0.142; -1.024

carLeftWindowName = "glass_left"
carLeftWindowTopLeft = -0.581;  0.519; 1.216
carLeftWindowTopRight = -0.581;  0.519; -0.457
carLeftWindowBottomLeft = -0.713; 0.191; 1.216
carLeftWindowBottomRight = -0.713; 0.191; -0.457

carRightWindowName = "glass_right"
carRightWindowTopLeft = 0.573;  0.519; -0.457
carRightWindowTopRight = 0.573;  0.519; 1.216
carRightWindowBottomLeft = 0.705; 0.191; -0.457
carRightWindowBottomRight = 0.705; 0.191; 1.216

carBackWindowName = "glass_back"
carBackWindowTopLeft = 0.565;  0.544; 1.009
carBackWindowTopRight = -0.571;  0.544; 1.009
carBackWindowBottomLeft = 0.565; 0.194; 1.553
carBackWindowBottomRight = -0.571; 0.194; 1.553

newbieSignName = "learner"
beginnerSignName = "beginner"

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

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

[Humans]
DriverAnimated = (Shift = -0.015; 0.035; 0.025, Angle=0., Saloon = "left")
DriverAnimated = (Shift = -0.015; 0.035; 0.025, Angle=0., Saloon = "right")
DriverAnimatedModel = (Driver="cars/Lexus_Ls500_Sasha161rus/driver", Wheel="cars/Lexus_Ls500_Sasha161rus/wheel")

AutoSeatingInRightSaloon = false
Driver = (Shift = -0.336; -0.293; -0.101, Angle=0.)
Passenger = (Shift = 0.317; -0.298; -0.104, Angle=0.)
Passenger = (Shift = -0.317; -0.298; 0.701, Angle=0.)
Passenger = (Shift = 0.317; -0.298; 0.689, Angle=0.)

Driver = (Shift = -0.336; -0.293; -0.101, Angle=0., Saloon = "right")
Passenger = (Shift = 0.317; -0.298; -0.104, Angle=0., Saloon = "right")
Passenger = (Shift = -0.317; -0.298; 0.701, Angle=0., Saloon = "right")
Passenger = (Shift = 0.317; -0.298; 0.689, Angle=0., Saloon = "right")

[Passangers]
seat_1 = (Shift = 0.345; -0.36; 0.7, AngleX=5.0, AngleZ=0.0, SeatType = "MuchSpace")
seat_2 = (Shift = -0.345; -0.36; 0.7, AngleX=5.0, AngleZ=0.0, SeatType = "MuchSpace")

[hitchDetail]
hitchName = "tow_hitch"
hitchShowAlways = false
hitchShowIfTrailerAttached = true
hitchShowIfTrailerExist = true

[HMD]
TabletModel="cars/common/tablet_01_left"
TabletPosition = -0.005; 0.075; -0.532
TabletLookAt = -0.006; 0.074; -0.533

[Cargo]
MinCargoLevel = 0.02
CargoLevel = (max = 0.5, detail = "cargo_1")
CargoLevel = (max = 1.0, detail = "cargo_2_full")
