##---------------------------------------------------
## 2012 RUF RT-12 R
## Replacement for Porsche 911 Turbo S
## Attributes.bin patch script
##---------------------------------------------------

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

##---------------------------------------------------
## Node: pvehicle/default/cars/racers/911turbo
##---------------------------------------------------

## mass
patch	float	bin:0x2f468	1588

## engineaudio[0]
patch	int32	bin:0x2f5a8	0x4f526043

## engineaudio[1]
patch	int32	bin:0x2f5b4	0xaac3a15e

## TENSOR_SCALE	
patch	float	bin:0x2f430	0.8
patch	float	bin:0x2f434	1.7
patch	float	bin:0x2f438	0.8
patch	float	bin:0x2f43c	0

## HANDLING_BARS*
patch	float	bin:0x2f4a8	85
patch	float	bin:0x2f4ac	96

## TurboSND
patch	float	bin:0x2f4bc	0x08f716bd
patch	float	bin:0x2f4cc	0x2b16df5d

## VerbalType; copspeech related; code determines what cops will call your car
## PATCH LENGTH ADDRESS, NOT DATA
patch	int32	bin:0x2f470	0x10000000

##---------------------------------------------------
## Node: ecar/default/racers/911turbo
##---------------------------------------------------

## ride height
patch	float	bin:0x3d4ec	-1

## ReflectionOffset
patch	float	bin:0x3d4e4	0.1

## BodyDive
patch	float	bin:0x3d4a8	1.5
patch	float	bin:0x3d4ac	0.5
patch	float	bin:0x3d4b0	7

## front left
patch	float	bin:0x3d400	1.18
patch	float	bin:0x3d404	0.88
patch	float	bin:0x3d408	0
patch	float	bin:0x3d40c	0.34

## front right
patch	float	bin:0x3d410	1.18
patch	float	bin:0x3d414	-0.88
patch	float	bin:0x3d418	0
patch	float	bin:0x3d41c	0.34

## rear right
patch	float	bin:0x3d420	-1.18
patch	float	bin:0x3d424	-0.93
patch	float	bin:0x3d428	0
patch	float	bin:0x3d42c	0.34

## rear left
patch	float	bin:0x3d430	-1.18
patch	float	bin:0x3d434	0.93
patch	float	bin:0x3d438	0
patch	float	bin:0x3d43c	0.34

## BodySquat
patch	float	bin:0x3d49c	1
patch	float	bin:0x3d500	0.5
patch	float	bin:0x3d504	7

##KitWheelOffsetRear
patch	int8	bin:0x3d4f8	0
patch	int8	bin:0x3d4f9	0
patch	int8	bin:0x3d4fa	0
patch	int8	bin:0x3d4fb	0
patch	int8	bin:0x3d4fc	0
patch	int8	bin:0x3d4fd	0

## KitWheelOffsetFront
patch	int8	bin:0x3d506	0
patch	int8	bin:0x3d507	0
patch	int8	bin:0x3d508	0
patch	int8	bin:0x3d509	0
patch	int8	bin:0x3d50a	0
patch	int8	bin:0x3d50b	0

## BodyRoll
patch	float	bin:0x3d490	1
patch	float	bin:0x3d494	1
patch	float	bin:0x3d498	5

## FECompressions
patch	float	bin:0x3d518	0.19
patch	float	bin:0x3d51c	0.19

## TireSkidWidth
patch	float	bin:0x3d4cc	0.245
patch	float	bin:0x3d4d0	0.245
patch	float	bin:0x3d4d4	0.325
patch	float	bin:0x3d4d8	0.325

## WheelSpokeCount
patch	int8	bin:0x3d50c	6

## CamberRear; angle between the vertical axis of the wheel and the vertical axis of the vehicle
## positive values for bottom of wheel being further out than top, negative for opposite effect
## common value is 0.18
patch	float	bin:0x3d4e8	0.2

## CamberFront; angle between the vertical axis of the wheel and the vertical axis of the vehicle
## positive values for bottom of wheel being further out than top, negative for opposite effect
## common value is 0.22
patch	float	bin:0x3d4e0	0.2

##---------------------------------------------------
## Node: brakes/default/911turbo
##---------------------------------------------------

## BRAKES
patch   float   bin:0x2427c     475
patch   float   bin:0x24280     575

## EBRAKE
patch   float   bin:0x24284     700

## BRAKE_LOCK
patch   float   bin:0x24274     1
patch   float   bin:0x24278     3.3

##---------------------------------------------------
## Node: brakes/default/911turbo_1*
##---------------------------------------------------

## BRAKES
patch   float   bin:0x246a0     600
patch   float   bin:0x246a4     650

## EBRAKE
patch   float   bin:0x246a8     900

## BRAKE_LOCK
patch   float   bin:0x24698     1
patch   float   bin:0x2469c     3.2

##---------------------------------------------------
## Node: chassis/default/911turbo
##---------------------------------------------------

## WHEEL_BASE
patch	float	bin:0x87dc	2.35

## DRAG_COEFFICIENT
patch   float   bin:0x87f8     0.32

## TRACK_WIDTH
patch   float   bin:0x87a8     1.49
patch   float   bin:0x87ac     1.548

##---------------------------------------------------
## Node: chassis/default/911turbo_1*
##---------------------------------------------------

## WHEEL_BASE
patch	float	bin:0xaa4c     2.35

## DRAG_COEFFICIENT
patch   float   bin:0xaa68     0.3

## RIDE_HEIGHT
patch   float   bin:0xaa10     8
patch   float   bin:0xaa14     8

## TRACK_WIDTH
patch   float   bin:0xaa18     1.49
patch   float   bin:0xaa1c     1.548

##---------------------------------------------------
## Node: engine/default/911turbo
##---------------------------------------------------

## ENGINE_BRAKING
patch	float	bin:0x12cb4	0.4
patch	float	bin:0x12cb8	0.5
patch	float	bin:0x12cbc	0.6

## IDLE
patch	float	bin:0x12ccc	900

## TORQUE
patch	float	bin:0x12c78	209
patch	float	bin:0x12c7c	308
patch	float	bin:0x12c80	520
patch	float	bin:0x12c84	658
patch	float	bin:0x12c88	627
patch	float	bin:0x12c8c	590
patch	float	bin:0x12c90	561
patch	float	bin:0x12c94	494
patch	float	bin:0x12c98	463

## MAX_RPM
patch	float	bin:0x12cc4	8300

## FLYWHEEL_MASS
patch	float	bin:0x12cc0	12

## RED_LINE
patch	float	bin:0x12cc8	7300

##---------------------------------------------------
## Node: engine/default/911turbo/911turbo_1*
##---------------------------------------------------

## ENGINE_BRAKING
patch	float	bin:0x141b4	0.45
patch	float	bin:0x141b8	0.65
patch	float	bin:0x141bc	0.7

## IDLE
patch	float	bin:0x141cc	900

## TORQUE
patch	float	bin:0x14178	221
patch	float	bin:0x1417c	325
patch	float	bin:0x14180	548
patch	float	bin:0x14184	693
patch	float	bin:0x14188	660
patch	float	bin:0x1418c	622
patch	float	bin:0x14190	590
patch	float	bin:0x14194	520
patch	float	bin:0x14198	488

## MAX_RPM
patch	float	bin:0x141c4	8300

## FLYWHEEL_MASS
patch	float	bin:0x141c0	10.5

## RED_LINE
patch	float	bin:0x141c8	7300

##---------------------------------------------------
## Node: induction/default/911turbo
##---------------------------------------------------

## AIR_PRESSURE*; commonly 0.25
patch	float	bin:0x11ec4	0.25

## HIGH_BOOST
patch	float	bin:0x11ed8	0.15

## LOW_BOOST
patch	float	bin:0x11ec0	0.15

## INDUCTION_MULTIPLIER*; always higher value for stock
patch	float	bin:0x11ed0	2

## PSI; maximum pressure of air taken into the turbine
## common value range is 12-15
patch	float	bin:0x11ed4	12

## SPOOL; turbine lag; 0 for 'supercharger'; anything higher will give 'turbo' upgrade
## common value range is 0.00-0.20
patch	float	bin:0x11ecc	0.15

## BOOST_VARIANCE*; pressure drop/rise in chamber
patch	float	bin:0x11ec8	0

##---------------------------------------------------
## Node: induction/default/911turbo/911turbo_1*
##---------------------------------------------------

## AIR_PRESSURE*; commonly 0.25
patch	float	bin:0x1220c	0.25

## HIGH_BOOST
patch	float	bin:0x12220	0.3

## LOW_BOOST
patch	float	bin:0x12208	0.25

## INDUCTION_MULTIPLIER*; always higher value for stock
patch	float	bin:0x12218	1.62

## PSI; maximum pressure of air taken into the turbine
## common value range is 12-15
patch	float	bin:0x1221c	19

## SPOOL; turbine lag; 0 for 'supercharger'; anything higher will give 'turbo' upgrade
## common value range is 0.00-0.20
patch	float	bin:0x12214	0.15

## BOOST_VARIANCE*; pressure drop/rise in chamber
patch	float	bin:0x12210	0

##---------------------------------------------------
## Node: tires/default/911turbo
##---------------------------------------------------

## SECTION_WIDTH
patch	float	bin:0x22280	245
patch	float	bin:0x22284	325

## YAW_CONTROL
patch	float	bin:0x22248	0.1
patch	float	bin:0x2224c	0.35
patch	float	bin:0x22250	0.75
patch	float	bin:0x22254	1

## DYNAMIC_GRIP
patch   float   bin:0x22260     1.7
patch   float   bin:0x22264     1.8

## RIM_SIZE
patch	float	bin:0x22270	19
patch	float	bin:0x22274	19

## YAW_SPEED
patch   float   bin:0x2228c     0.35

## ASPECT_RATIO
patch	float	bin:0x22268	35
patch	float	bin:0x2226c	30

## STATIC_GRIP
patch	float	bin:0x22278	1.9
patch	float	bin:0x2227c	2

## GRIP_SCALE
patch	float	bin:0x22258	1
patch	float	bin:0x2225c	1

## STEERING
patch	float	bin:0x22288	1

##---------------------------------------------------
## Node: tires/default/911turbo/911turbo_1*
##---------------------------------------------------

## SECTION_WIDTH
patch	float	bin:0x235e0	245
patch	float	bin:0x235e4	325

## YAW_CONTROL
patch	float	bin:0x235a8	0.1
patch	float	bin:0x235ac	0.5
patch	float	bin:0x235b0	0.7
patch	float	bin:0x235b4	1

## DYNAMIC_GRIP
patch	float	bin:0x235c0	2
patch	float	bin:0x235c4	2.1

## RIM_SIZE
patch	float	bin:0x235d0	19
patch	float	bin:0x235d4	19

## YAW_SPEED
patch   float   bin:0x235ec     0.36

## ASPECT_RATIO
patch	float	bin:0x235c8	35
patch	float	bin:0x235cc	30

## STATIC_GRIP
patch	float	bin:0x235d8	2.1
patch	float	bin:0x235dc	2.2

## GRIP_SCALE
patch	float	bin:0x235b8	1.1
patch	float	bin:0x235bc	1.2

## STEERING
patch	float	bin:0x235e8	1

##---------------------------------------------------
## Node: transmission/default/911turbo
##---------------------------------------------------

## GEAR_RATIO
patch	float	bin:0x1dce4	2.9
patch	float	bin:0x1dce8	0
patch	float	bin:0x1dcec	3.82
patch	float	bin:0x1dcf0	2.14
patch	float	bin:0x1dcf4	1.48
patch	float	bin:0x1dcf8	1.18
patch	float	bin:0x1dcfc	0.97
patch	float	bin:0x1dcg0	0.79

## GEAR_EFFICIENCY; overall power multiplier on current gear and rpm used to quickly change speed at each gear without any major reconfigurations
## common value set is 9x1.00
patch	float	bin:0x1dd24	0.8
patch	float	bin:0x1dd28	1
patch	float	bin:0x1dd2c	0.95
patch	float	bin:0x1dd30	0.94
patch	float	bin:0x1dd34	0.92
patch	float	bin:0x1dd38	0.9
patch	float	bin:0x1dd3c	0.88
patch	float	bin:0x1dd40	0.87

## DIFFERENTIAL
patch	float	bin:0x1dd10	0.8
patch	float	bin:0x1dd14	0.8
patch	float	bin:0x1dd18	0

## TORQUE_CONVERTER
patch	float	bin:0x1dd48	0.8

## TORQUE_SPLIT
patch	float	bin:0x1dd4c	0

## CLUTCH_SLIP
patch	float	bin:0x1dd50	0.8

## SHIFT_SPEED
patch	float	bin:0x1dd58	0.2

## FINAL_GEAR
patch	float	bin:0x1dd5c	3.1

##---------------------------------------------------
## Node: transmission/default/911turbo
##---------------------------------------------------

## GEAR_RATIO
patch	float	bin:0x1facc	2.8
patch	float	bin:0x1fad0	0
patch	float	bin:0x1fad4	3.8
patch	float	bin:0x1fad8	2.14
patch	float	bin:0x1fadc	1.48
patch	float	bin:0x1fae0	1.15
patch	float	bin:0x1fae4	0.95
patch	float	bin:0x1fae8	0.8

## DIFFERENTIAL
patch	float	bin:0x1faf8	0.7
patch	float	bin:0x1fafc	0.7
patch	float	bin:0x1fb00	0

## GEAR_EFFICIENCY
patch	float	bin:0x1fb0c	1
patch	float	bin:0x1fb10	1
patch	float	bin:0x1fb14	1
patch	float	bin:0x1fb18	1
patch	float	bin:0x1fb1c	1
patch	float	bin:0x1fb20	1
patch	float	bin:0x1fb24	1
patch	float	bin:0x1fb28	1

## TORQUE_CONVERTER
patch	float	bin:0x1fb30	0.5

## TORQUE_SPLIT
patch	float	bin:0x1fb34	0

## CLUTCH_SLIP
patch	float	bin:0x1fb38	0.85

## SHIFT_SPEED
patch	float	bin:0x1fb40	0.15

## FINAL_GEAR
patch	float	bin:0x1fb44	2.9