##---------------------------------------------------
## 2017 Acura NSX
## Replacement for Mercedes CLK500
## Attributes.bin patch script
##---------------------------------------------------

memfile GLOBAL\GlobalMemoryFile.bin
vpak GLOBAL\ATTRIBUTES.BIN db

##---------------------------------------------------
## Node: pvehicle/default/cars/racers/clk500
##---------------------------------------------------

## turbosfx; upgrade_turbo*[0]
patch	int32	bin:0x320dc	0x9d10a557

## turbosfx; upgrade_turbo*[1]
patch	int32	bin:0x320ec	0x8491a9c9

## turbosfx; upgrade_turbo*[2]
patch	int32	bin:0x320fc	0x3f333115

## VerbalType
patch	int32	bin:0x320b0	0x10000000

## MASS
patch	float	bin:0x320a8	1725

## engineaudio[0]
patch	int32	bin:0x32228	0x35765cd

## engineaudio[1]
patch	int32	bin:0x32234	0xb364c829

## TENSOR_SCALE
patch	float	bin:0x32070	1
patch	float	bin:0x32074	1.925
patch	float	bin:0x32078	1
patch	float	bin:0x3207c	0

## HANDLING_BARS*
patch	float	bin:0x320c8	60
patch	float	bin:0x320cc	96

##---------------------------------------------------
## Node: ecar/default/racers/clk500
##---------------------------------------------------

## RideHeight
patch	float	bin:0x3fc8c	1

## TireOffsets
## in format x, y, z, w
## x axis; car front = +; car rear = -
## y axis; left side = +; right = -
## z axis; up = +; down = - note: will move WHEELS [up or down] regarding CAR BODY, during race body will be on normal level
## unlike wheels that might be BELOW ground
## w - wheel diameter scaling; default game values range between 0.31 [elise] and 0.35 [mustanggt]
## NOTE: CAR BODY height will be changed to match wheel size
## all axles have point 0 in center of line between front left and rear right wheel or between front right and rear left

## front left
patch	float	bin:0x3fba0	1.32
patch	float	bin:0x3fba4	0.962
patch	float	bin:0x3fba8	0
patch	float	bin:0x3fbac	0.33

## front right
patch	float	bin:0x3fbb0	1.32
patch	float	bin:0x3fbb4	-0.962
patch	float	bin:0x3fbb8	0
patch	float	bin:0x3fbbc	0.33

## rear right
patch	float	bin:0x3fbc0	-1.325
patch	float	bin:0x3fbc4	-0.97
patch	float	bin:0x3fbc8	0
patch	float	bin:0x3fbcc	0.34

## rear left
patch	float	bin:0x3fbd0	-1.325
patch	float	bin:0x3fbd4	0.97
patch	float	bin:0x3fbd8	0
patch	float	bin:0x3fbdc	0.34

## KitWheelOffsetRear
patch	int8	bin:0x3fc98	0
patch	int8	bin:0x3fc99	80
patch	int8	bin:0x3fc9a	80
patch	int8	bin:0x3fc9b	0
patch	int8	bin:0x3fc9c	80
patch	int8	bin:0x3fc9d	80

## KitWheelOffsetFront
patch	int8	bin:0x3fca6	0
patch	int8	bin:0x3fca7	70
patch	int8	bin:0x3fca8	70
patch	int8	bin:0x3fca9	0
patch	int8	bin:0x3fcaa	70
patch	int8	bin:0x3fcab	70

## BodyDive
patch	float	bin:0x3fc48	1
patch	float	bin:0x3fc4c	0.5
patch	float	bin:0x3fc50	6

## BodySquat
patch	float	bin:0x3fc3c	1
patch	float	bin:0x3fc40	0.5
patch	float	bin:0x3fc44	7

## BodyRoll
patch	float	bin:0x3fc30	1
patch	float	bin:0x3fc34	1
patch	float	bin:0x3fc38	6

## CamberRear
patch	float	bin:0x3fc88	0.2

## CamberFront
patch	float	bin:0x3fc80	0.2

## frontend_reflections*
patch	float	bin:0x3fcb8	0.16
patch	float	bin:0x3fcbc	0.16

## TireSkidWidth
patch	float	bin:0x3fc6c	0.245
patch	float	bin:0x3fc70	0.245
patch	float	bin:0x3fc74	0.305
patch	float	bin:0x3fc78	0.305

## WheelSpokeCount
patch	int8	bin:0x3fcac	8

## ReflectionOffset
patch	int8	bin:0x3fc84	-0.07

##---------------------------------------------------
## Node: brakes/default/clk500
##---------------------------------------------------

## BRAKES
patch	float	bin:0x244ac	390
patch	float	bin:0x244b0	455

## EBRAKE
patch	float	bin:0x244b4	650

## BRAKE_LOCK
patch	float	bin:0x244a4	1
patch	float	bin:0x244a8	3

##---------------------------------------------------
## Node: brakes/default/clk500/clk500_1*
##---------------------------------------------------

## BRAKES
##patch	float	bin:0x24650	500
##patch	float	bin:0x24654	575

## EBRAKE
##patch	float	bin:0x24658	900

## BRAKE_LOCK
##patch	float	bin:0x24648	1
##patch	float	bin:0x2464c	3

##---------------------------------------------------
## Node: chassis/default/clk500
##---------------------------------------------------

## WHEEL_BASE
patch	float	bin:0x93a4	2.629

## DRAG_COEFFICIENT
patch	float	bin:0x93c0	0.37

## SHOCK_VALVING
patch	float	bin:0x9390	19
patch	float	bin:0x9394	19

## RIDE_HEIGHT
patch	float	bin:0x9368	7.5
patch	float	bin:0x936c	7.5

## SHOCK_STIFFNESS
patch	float	bin:0x9380	50
patch	float	bin:0x9384	60

## SHOCK_BLOWOUT
patch	float	bin:0x93a8	8

## SHOCK_EXT_STIFFNESS
patch	float	bin:0x9378	70
patch	float	bin:0x937c	70

## SWAYBAR_STIFFNESS
patch	float	bin:0x9398	225
patch	float	bin:0x939c	300

## ROLL_CENTER
patch	float	bin:0x93a0	8

## TRAVEL
patch	float	bin:0x9360	6
patch	float	bin:0x9364	6

## SPRING_STIFFNESS
patch	float	bin:0x9388	450
patch	float	bin:0x938c	500

## AERO_CG
patch	float	bin:0x93ac	47

## SPRING_PROGRESSION
patch	float	bin:0x9358	7
patch	float	bin:0x935c	7

## TRACK_WIDTH
patch	float	bin:0x9370	1.656
patch	float	bin:0x9374	1.617

## SHOCK_DIGRESSION
patch	float	bin:0x9350	0.3
patch	float	bin:0x9354	0.3

## RENDER_MOTION
patch	float	bin:0x93b0	1

## AERO_COEFFICIENT
patch	float	bin:0x93b8	0.23

## FRONT_AXLE
patch	float	bin:0x93b4	1.42

## FRONT_WEIGHT_BIAS
patch	float	bin:0x93bc	53

##---------------------------------------------------
## Node: chassis/default/clk500/clk500_1*
##---------------------------------------------------

## WHEEL_BASE
patch	float	bin:0xa808	2.629

## DRAG_COEFFICIENT
patch	float	bin:0xa824	0.34

## SHOCK_VALVING
patch	float	bin:0xa7f4	24
patch	float	bin:0xa7f8	24

## RIDE_HEIGHT
patch	float	bin:0xa7cc	7
patch	float	bin:0xa7d0	7

## SHOCK_STIFFNESS
patch	float	bin:0xa7e4	70
patch	float	bin:0xa7e8	70

## SHOCK_BLOWOUT
patch	float	bin:0xa80c	6

## SHOCK_EXT_STIFFNESS
patch	float	bin:0xa7dc	90
patch	float	bin:0xa7f0	90

## SWAYBAR_STIFFNESS
patch	float	bin:0xa7fc	450
patch	float	bin:0xa800	450

## ROLL_CENTER
patch	float	bin:0xa804	8

## TRAVEL
patch	float	bin:0xa7c4	6
patch	float	bin:0xa7c8	6

## SPRING_STIFFNESS
patch	float	bin:0xa7ec	700
patch	float	bin:0xa7f0	700

## AERO_CG
patch	float	bin:0xa810	49

## SPRING_PROGRESSION
patch	float	bin:0xa7bc	7.5
patch	float	bin:0xa7c0	8

## TRACK_WIDTH
patch	float	bin:0xa7d4	1.656
patch	float	bin:0xa7d8	1.617

## SHOCK_DIGRESSION
patch	float	bin:0xa7b4	0.15
patch	float	bin:0xa7b8	0.15

## RENDER_MOTION
patch	float	bin:0xa814	0.5

## AERO_COEFFICIENT
patch	float	bin:0xa81c	0.28

## FRONT_AXLE
patch	float	bin:0xa818	1.41

## FRONT_WEIGHT_BIAS
patch	float	bin:0xa820	54

##---------------------------------------------------
## Node: engine/default/clk500
##---------------------------------------------------

## ENGINE_BRAKING
patch	float	bin:0x129b4	0.7
patch	float	bin:0x129b8	0.8
patch	float	bin:0x129bc	0.9

## IDLE
patch	float	bin:0x129cc	900

## TORQUE
patch	float	bin:0x12978	164
patch	float	bin:0x1297c	299
patch	float	bin:0x12980	406
patch	float	bin:0x12984	406
patch	float	bin:0x12988	406
patch	float	bin:0x1298c	406
patch	float	bin:0x12990	406
patch	float	bin:0x12994	369
patch	float	bin:0x12998	331

## MAX_RPM
patch	float	bin:0x129c4	8500

## FLYWHEEL_MASS
patch	float	bin:0x129c0	12

## RED_LINE
patch	float	bin:0x129c8	7500

##---------------------------------------------------
## Node: engine/default/clk500/clk500_1*
##---------------------------------------------------

## ENGINE_BRAKING
patch	float	bin:0x14574	0.7
patch	float	bin:0x14578	0.8
patch	float	bin:0x1457c	0.9

## IDLE
patch	float	bin:0x1458c	900

## TORQUE
patch	float	bin:0x14538	170
patch	float	bin:0x1453c	355
patch	float	bin:0x14540	470
patch	float	bin:0x14544	557
patch	float	bin:0x14548	602
patch	float	bin:0x1454c	576
patch	float	bin:0x14550	557
patch	float	bin:0x14554	520
patch	float	bin:0x14558	501

## MAX_RPM
patch	float	bin:0x14584	8500

## FLYWHEEL_MASS
patch	float	bin:0x14580	10

## RED_LINE
patch	float	bin:0x14588	7500

##---------------------------------------------------
## Node: induction/default/clk500_1*
##---------------------------------------------------

## AIR_PRESSURE*
patch	float	bin:0x11c5c	0.25

## HIGH_BOOST
patch	float	bin:0x11c70	0.25

## LOW_BOOST
patch	float	bin:0x11c58	0.2

## INDUCTION_MULTIPLIER*
patch	float	bin:0x11c68	1.75

## PSI
patch	float	bin:0x11c6c	18

## SPOOL
patch	float	bin:0x11c64	0.15

## BOOST_VARIANCE*
patch	float	bin:0x11c60	-0.05

##---------------------------------------------------
## Node: tires/default/clk500
##---------------------------------------------------

## SECTION_WIDTH
patch	float	bin:0x22d20	245
patch	float	bin:0x22d24	305

## YAW_CONTROL
patch	float	bin:0x22ce8	0.1
patch	float	bin:0x22cec	0.5
patch	float	bin:0x22cf0	0.8
patch	float	bin:0x22cf4	1.2

## RIM_SIZE
patch	float	bin:0x22d10	19
patch	float	bin:0x22d14	20

## ASPECT_RATIO
patch	float	bin:0x22d08	35
patch	float	bin:0x22d0c	30

## GRIP_SCALE
patch	float	bin:0x22cf8	1
patch	float	bin:0x22cfc	1.1

## DYNAMIC_GRIP
patch	float	bin:0x22d00	1.8
patch	float	bin:0x22d04	1.8

## STATIC_GRIP
patch	float	bin:0x22d18	2
patch	float	bin:0x22d1c	2

## STEERING
patch	float	bin:0x22d28	1.025

## YAW_SPEED
patch	float	bin:0x22d2c	0.38

##---------------------------------------------------
## Node: tires/default/clk500/clk500_1*
##---------------------------------------------------

## SECTION_WIDTH
patch	float	bin:0x23810	245
patch	float	bin:0x23814	305

## YAW_CONTROL
patch	float	bin:0x237d8	0.1
patch	float	bin:0x237dc	0.5
patch	float	bin:0x237e0	1
patch	float	bin:0x237e4	1.2

## RIM_SIZE
patch	float	bin:0x23800	19
patch	float	bin:0x23804	20

## ASPECT_RATIO
patch	float	bin:0x237f8	35
patch	float	bin:0x237fc	30

## GRIP_SCALE
patch	float	bin:0x237e8	1.1
patch	float	bin:0x237ec	1.1

## DYNAMIC_GRIP
patch	float	bin:0x237f0	2
patch	float	bin:0x237f4	2

## STATIC_GRIP
patch	float	bin:0x23808	2.2
patch	float	bin:0x2380c	2.2

## STEERING
patch	float	bin:0x23818	1

## YAW_SPEED
patch	float	bin:0x2381c	0.4

##---------------------------------------------------
## Node: transmission/default/clk500
##---------------------------------------------------

## GEAR_COUNT
patch	int16	bin:0x1e30e	9

## GEAR_RATIO
patch	float	bin:0x1e314	3
patch	float	bin:0x1e318	0
patch	float	bin:0x1e31c	3.838
patch	float	bin:0x1e320	2.433
patch	float	bin:0x1e324	1.778
patch	float	bin:0x1e328	1.428
patch	float	bin:0x1e32c	1.211
patch	float	bin:0x1e330	1.038
patch	float	bin:0x1e334	0.881

## DIFFERENTIAL
patch	float	bin:0x1e340	0.8
patch	float	bin:0x1e344	0.7
patch	float	bin:0x1e348	0.8

## GEAR_EFFICIENCY
patch	float	bin:0x1e354	1
patch	float	bin:0x1e358	1
patch	float	bin:0x1e35c	1
patch	float	bin:0x1e360	1
patch	float	bin:0x1e364	1
patch	float	bin:0x1e368	1
patch	float	bin:0x1e36c	0.98
patch	float	bin:0x1e370	0.97
patch	float	bin:0x1e374	0.94

## TORQUE_SPLIT
patch	float	bin:0x1e37c	0.5

## FINAL_GEAR
patch	float	bin:0x1e38c	3.405

## CLUTCH_SLIP
patch	float	bin:0x1e380	0.7

## TORQUE_CONVERTER
patch	float	bin:0x1e378	0.5

##---------------------------------------------------
## Node: transmission/default/clk500/clk500_1*
##---------------------------------------------------

## GEAR_COUNT
patch	int16	bin:0x1f59e	9

## GEAR_RATIO
patch	float	bin:0x1f5a4	3
patch	float	bin:0x1f5a8	0
patch	float	bin:0x1f5ac	3.59
patch	float	bin:0x1f5b0	2.35
patch	float	bin:0x1f5b4	1.7
patch	float	bin:0x1f5b8	1.4
patch	float	bin:0x1f5bc	1.195
patch	float	bin:0x1f5c0	0.98
patch	float	bin:0x1f5c4	0.85

## DIFFERENTIAL
patch	float	bin:0x1f5d0	0.85
patch	float	bin:0x1f5d4	0.85
patch	float	bin:0x1f5d8	0.85

## GEAR_EFFICIENCY
patch	float	bin:0x1f5e4	1
patch	float	bin:0x1f5e8	1
patch	float	bin:0x1f5ec	1
patch	float	bin:0x1f5f0	1
patch	float	bin:0x1f5f4	1
patch	float	bin:0x1f5f8	1
patch	float	bin:0x1f5fc	1
patch	float	bin:0x1f600	1

## TORQUE_SPLIT
patch	float	bin:0x1f60c	0.5

## FINAL_GEAR
patch	float	bin:0x1f61c	2.7

## CLUTCH_SLIP
patch	float	bin:0x1f610	0.8

## TORQUE_CONVERTER
patch	float	bin:0x1f608	0.5