##---------------------------------------------------
## 2019 Lotus Evija
## Replacement for Lamborghini Murcielago
## Attributes.bin patch script
##---------------------------------------------------

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

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

## MASS
patch	float	bin:0x32998	1680

## TENSOR_SCALE
patch	float	bin:0x32960	1
patch	float	bin:0x32964	2
patch	float	bin:0x32968	1
patch	float	bin:0x3296c	0

## HANDLING_BARS*
patch	float	bin:0x329b8	80
patch	float	bin:0x329bc	90

## engineaudio[0]
patch	int32	bin:0x32ac8	0xeec2271a

## TurboSND[0]
patch	int32	bin:0x329cc	0xeec2271a

## TurboSND[1]
patch	int32	bin:0x329dc	0xeec2271a

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

##induction_upgrades
patch	int32	bin:0x329a4     0

##nos_upgrades
patch	int32	bin:0x32990     0

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

## RideHeight
patch	float	bin:0x4051c	0.4

## TireOffsets
## front left
patch	float	bin:0x40430	1.3125
patch	float	bin:0x40434	1
patch	float	bin:0x40438	0
patch	float	bin:0x4043c	0.34

## front right
patch	float	bin:0x40440	1.3125
patch	float	bin:0x40444	-1
patch	float	bin:0x40448	0
patch	float	bin:0x4044c	0.34

## rear right
patch	float	bin:0x40450	-1.31
patch	float	bin:0x40454	-1.01
patch	float	bin:0x40458	0
patch	float	bin:0x4045c	0.35

## rear left
patch	float	bin:0x40460	-1.31
patch	float	bin:0x40464	1.01
patch	float	bin:0x40468	0
patch	float	bin:0x4046c	0.35

## BodyRoll
patch	float	bin:0x404c0	1
patch	float	bin:0x404c4	1
patch	float	bin:0x404c8	3

## BodySquat
patch	float	bin:0x404cc	0.5
patch	float	bin:0x404d0	1
patch	float	bin:0x404d4	3

## BodyDive
patch	float	bin:0x404d8	0.5
patch	float	bin:0x404dc	1
patch	float	bin:0x404e0	3

## TireSkidWidth
patch	float	bin:0x404fc	0.265
patch	float	bin:0x40500	0.265
patch	float	bin:0x40504	0.335
patch	float	bin:0x40508	0.335

## WheelSpokeCount
patch	int8	bin:0x4053c	10

## KitWheelOffsetFront
patch	int8	bin:0x40536	0
patch	int8	bin:0x40537	0
patch	int8	bin:0x40538	0
patch	int8	bin:0x40539	0
patch	int8	bin:0x4053a	0
patch	int8	bin:0x4053b	0

## KitWheelOffsetRear
patch	int8	bin:0x40528	0
patch	int8	bin:0x40529	0
patch	int8	bin:0x4052a	0
patch	int8	bin:0x4052b	0
patch	int8	bin:0x4052c	0
patch	int8	bin:0x4052d	0

## CamberRear
patch	float	bin:0x40518	0.1

## CamberFront
patch	float	bin:0x40510	0.1

## FECompressions; used to adjust height of car body regarding wheels in frontend menus
## common value range is 2x0.10-2x0.20
patch	float	bin:0x40548	0.2
patch	float	bin:0x4054c	0.215

## ReflectionOffset
patch	float	bin:0x40514	-0.06

##---------------------------------------------------
## Node: brakes/default/murcielago
##---------------------------------------------------

## BRAKES
patch	float	bin:0x24330	400
patch	float	bin:0x24334	575

## EBRAKE
patch	float	bin:0x24338	900

## BRAKE_LOCK
patch	float	bin:0x24328	1
patch	float	bin:0x2432c	3.2

##---------------------------------------------------
## Node: brakes/default/murcielago/murcielago_top
##---------------------------------------------------

## BRAKES
patch	float	bin:0x24768	600
patch	float	bin:0x2476c	750

## EBRAKE
patch	float	bin:0x24770	1000

## BRAKE_LOCK
patch	float	bin:0x24760	1
patch	float	bin:0x24764	3

##---------------------------------------------------
## Node: chassis/default/murcielago
##---------------------------------------------------

## WHEEL_BASE
patch	float	bin:0x88c4	2.628

## DRAG_COEFFICIENT
patch	float	bin:0x88e0	0.36

## SHOCK_VALVING
patch	float	bin:0x88b0	18
patch	float	bin:0x88b4	18

## RIDE_HEIGHT
patch	float	bin:0x8888	6
patch	float	bin:0x888c	6

## SHOCK_STIFFNESS
patch	float	bin:0x88a0	50
patch	float	bin:0x88a4	50

## SHOCK_BLOWOUT
patch	float	bin:0x88c8	6

## SHOCK_EXT_STIFFNESS
patch	float	bin:0x8898	70
patch	float	bin:0x889c	75

## SWAYBAR_STIFFNESS
patch	float	bin:0x88b8	500
patch	float	bin:0x88bc	470

## ROLL_CENTER
patch	float	bin:0x88c0	9.5

## TRAVEL
patch	float	bin:0x8880	6.5
patch	float	bin:0x8884	6.5

## SPRING_STIFFNESS
patch	float	bin:0x88a8	600
patch	float	bin:0x88ac	550

## AERO_CG
patch	float	bin:0x88cc	48

## SPRING_PROGRESSION
patch	float	bin:0x8878	8
patch	float	bin:0x887c	8

## TRACK_WIDTH
patch	float	bin:0x8890	1.735
patch	float	bin:0x8894	1.685

## SHOCK_DIGRESSION
patch	float	bin:0x8870	0.25
patch	float	bin:0x8874	0.25

## RENDER_MOTION
patch	float	bin:0x88d0	1

## AERO_COEFFICIENT
patch	float	bin:0x88d8	0.25

## FRONT_AXLE
patch	float	bin:0x88d4	1.3245

## FRONT_WEIGHT_BIAS
patch	float	bin:0x88dc	53

##---------------------------------------------------
## Node: chassis/default/murcielago/murcielago_top
##---------------------------------------------------

## WHEEL_BASE
patch	float	bin:0xa87c	2.628

## DRAG_COEFFICIENT
patch	float	bin:0xa898	0.28

## SHOCK_VALVING
patch	float	bin:0xa868	24
patch	float	bin:0xa86c	24

## RIDE_HEIGHT
patch	float	bin:0xa840	6
patch	float	bin:0xa844	6

## SHOCK_STIFFNESS
patch	float	bin:0xa858	74
patch	float	bin:0xa85c	76

## SHOCK_BLOWOUT
patch	float	bin:0xa880	6

## SHOCK_EXT_STIFFNESS
patch	float	bin:0xa850	85
patch	float	bin:0xa854	88.5

## SWAYBAR_STIFFNESS
patch	float	bin:0xa870	300
patch	float	bin:0xa874	300

## ROLL_CENTER
patch	float	bin:0xa878	9

## TRAVEL
patch	float	bin:0xa838	6
patch	float	bin:0xa83c	6

## SPRING_STIFFNESS
patch	float	bin:0xa860	700
patch	float	bin:0xa864	700

## AERO_CG
patch	float	bin:0xa884	49

## SPRING_PROGRESSION
patch	float	bin:0xa830	7.5
patch	float	bin:0xa834	8

## TRACK_WIDTH
patch	float	bin:0xa848	1.735
patch	float	bin:0xa84c	1.685

## SHOCK_DIGRESSION
patch	float	bin:0xa828	0.3
patch	float	bin:0xa82c	0.3

## RENDER_MOTION
patch	float	bin:0xa888	0.35

## AERO_COEFFICIENT
patch	float	bin:0xa890	0.28

## FRONT_AXLE
patch	float	bin:0xa88c	1.32

## FRONT_WEIGHT_BIAS
patch	float	bin:0xa894	54

##---------------------------------------------------
## Node: engine/default/murcielago
##---------------------------------------------------

## ENGINE_BRAKING; multiplies maximum torque at current gear and uses it to calculate speed loss with no throttle used
## common value range is 0.70-0.90
patch	float	bin:0x13494	0.65
patch	float	bin:0x13498	0.75
patch	float	bin:0x1349c	0.83

## IDLE; minimum operating speed of engine necessary to sustain its work but not enough to move drivetrain components
## common value range is 800-950
patch	float	bin:0x134ac	0

## TORQUE; self-explanatory; field count suggest game used to support up to 15 torque values; can only use 9 now
## common value range N/A since it differs per car
patch	float	bin:0x13458	720
patch	float	bin:0x1345c	765
patch	float	bin:0x13460	701
patch	float	bin:0x13464	650
patch	float	bin:0x13468	622
patch	float	bin:0x1346c	593
patch	float	bin:0x13470	540
patch	float	bin:0x13474	491
patch	float	bin:0x13478	418

## MAX_RPM; maximum operating speed of engine before its destruction [drag racing only]
## common value range N/A since it differs per car
patch	float	bin:0x134a4	19200

## FLYWHEEL_MASS; the higher the mass, the higher the maximum inertia moment and therefore larger amounts of kinetic energy can be stored
## also the lower the mass, the faster the top speed can be achieved and maintained
## common value range is 9-15
patch	float	bin:0x134a0	0

## RED_LINE; maximum safe operating speed of engine
## common value range N/A since it differs per car
patch	float	bin:0x134a8	18200

##---------------------------------------------------
## Node: engine/default/murcielago/murcielago_top
##---------------------------------------------------

## ENGINE_BRAKING
patch	float	bin:0x144b4	0.6
patch	float	bin:0x144b8	0.7
patch	float	bin:0x144bc	0.8

## IDLE
patch	float	bin:0x144cc	0

## TORQUE
patch	float	bin:0x14478	805
patch	float	bin:0x1447c	950
patch	float	bin:0x14480	870
patch	float	bin:0x14484	793
patch	float	bin:0x14488	754
patch	float	bin:0x1448c	681
patch	float	bin:0x14490	648
patch	float	bin:0x14494	587
patch	float	bin:0x14498	523

## MAX_RPM
patch	float	bin:0x144c4	21000

## FLYWHEEL_MASS
patch	float	bin:0x144c0	0

## RED_LINE
patch	float	bin:0x144c8	20000

##---------------------------------------------------
## Node: induction/default/murcielago_top
##---------------------------------------------------

## AIR_PRESSURE*
patch	float	bin:0x11f88	1

## HIGH_BOOST
patch	float	bin:0x11f9c	0

## LOW_BOOST
patch	float	bin:0x11f84	0

## PSI_ARROW_MOVE_SPEED*
patch	float	bin:0x11f94	0

## PSI
patch	float	bin:0x11f98	0

## SPOOL
patch	float	bin:0x11f90	1

## BOOST_VARIANCE*
patch	float	bin:0x11f8c	0

##---------------------------------------------------
## Node: tires/default/murcielago
##---------------------------------------------------

## SECTION_WIDTH
patch	float	bin:0x22320	265
patch	float	bin:0x22324	335

## YAW_CONTROL
patch	float	bin:0x222e8	0.1
patch	float	bin:0x222ec	0.5
patch	float	bin:0x222f0	0.8
patch	float	bin:0x222f4	1.2

## DYNAMIC_GRIP
patch	float	bin:0x22300	1.8
patch	float	bin:0x22304	1.8

## RIM_SIZE
patch	float	bin:0x22310	18
patch	float	bin:0x22314	18

## YAW_SPEED
patch	float	bin:0x2232c	0.35

## ASPECT_RATIO
patch	float	bin:0x22308	35
patch	float	bin:0x2230c	30

## STATIC_GRIP
patch	float	bin:0x22318	2
patch	float	bin:0x2231c	2

## GRIP_SCALE
patch	float	bin:0x222f8	1.1
patch	float	bin:0x222fc	1.1

## STEERING
patch	float	bin:0x22328	1.1

##---------------------------------------------------
## Node: tires/default/murcielago/murcielago_top
##---------------------------------------------------

## SECTION_WIDTH
patch	float	bin:0x238b0	265
patch	float	bin:0x238b4	335

## YAW_CONTROL
patch	float	bin:0x23878	0.1
patch	float	bin:0x2387c	0.5
patch	float	bin:0x23880	0.7
patch	float	bin:0x23884	1.2

## DYNAMIC_GRIP
patch	float	bin:0x23890	1.9
patch	float	bin:0x23894	1.9

## RIM_SIZE
patch	float	bin:0x238a0	18
patch	float	bin:0x238a4	18

## YAW_SPEED
patch	float	bin:0x238bc	0.35

## ASPECT_RATIO
patch	float	bin:0x23898	35
patch	float	bin:0x2389c	30

## STATIC_GRIP
patch	float	bin:0x238a8	2.2
patch	float	bin:0x238ac	2.2

## GRIP_SCALE
patch	float	bin:0x23888	1.2
patch	float	bin:0x2388c	1.2

## STEERING
patch	float	bin:0x238b8	1.15

##---------------------------------------------------
## Node: transmission/default/murcielago
##---------------------------------------------------

## GEAR_COUNT
patch	int16	bin:0x1e28a	3

## GEAR_RATIO
patch	float	bin:0x1e290	19.04
patch	float	bin:0x1e294	0
patch	float	bin:0x1e298	5.3

## DIFFERENTIAL
patch	float	bin:0x1e2bc	0.7
patch	float	bin:0x1e2c0	0.7
patch	float	bin:0x1e2c4	0.7

## GEAR_EFFICIENCY
patch	float	bin:0x1e2d0	0.9
patch	float	bin:0x1e2d4	1
patch	float	bin:0x1e2d8	1

## TORQUE_CONVERTER
patch	float	bin:0x1e2f4	0

## TORQUE_SPLIT
patch	float	bin:0x1e2f8	0.5

## CLUTCH_SLIP
patch	float	bin:0x1e2fc	0

## SHIFT_SPEED
patch	float	bin:0x1e304	0

## FINAL_GEAR
patch	float	bin:0x1e308	1.292

##---------------------------------------------------
## Node: transmission/default/murcielago/murcielago_top
##---------------------------------------------------

## GEAR_COUNT
patch	int16	bin:0x1fb4a	3

## GEAR_RATIO
patch	float	bin:0x1fb50	18.35
patch	float	bin:0x1fb54	0
patch	float	bin:0x1fb58	5.017

## DIFFERENTIAL
patch	float	bin:0x1fb7c	0.7
patch	float	bin:0x1fb80	0.7
patch	float	bin:0x1fb84	0.7

## GEAR_EFFICIENCY
patch	float	bin:0x1fb90	1
patch	float	bin:0x1fb94	1
patch	float	bin:0x1fb98	1

## TORQUE_CONVERTER
patch	float	bin:0x1fbb4	0

## TORQUE_SPLIT
patch	float	bin:0x1fbb8	0.5

## CLUTCH_SLIP
patch	float	bin:0x1fbbc	0

## SHIFT_SPEED
patch	float	bin:0x1fbc4	0

## FINAL_GEAR
patch	float	bin:0x1fbc8	1.201

##---------------------------------------------------
## Node: camerainfo/default/hood/murcielago_hood
##---------------------------------------------------

## FOV
patch	float	bin:0x2b428	80
patch	float	bin:0x2b42c	90

## HEIGHT
patch	float	bin:0x2b438	1.1
patch	float	bin:0x2b43c	1.05

## LAG
patch	float	bin:0x2b418	0.5
patch	float	bin:0x2b41c	0.55
