##---------------------------------------------------
## 1986 Lada Samara 2108
## Replacement for Renault Clio
## Attributes.bin patch script
##---------------------------------------------------

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


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

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

## MASS; self-explanatory; mass of car expressed in kilograms
patch	float	bin:0x2e488	1202

## engineaudio[0]
patch	int32	bin:0x2e634	0x3bf54d71

## engineaudio[1]
patch	int32	bin:0x2e640	0x41f05093

## engineaudio[2]
patch	int32	bin:0x2e64c	0xc6ca4765

## TENSOR_SCALE; seems to be overall handling speed scale balancing
## the bigger 2nd value is the slower the car will respond to steering input
## countered by increasing of 1st and 3rd value
patch	float	bin:0x2e450	1
patch	float	bin:0x2e454	2
patch	float	bin:0x2e458	1
patch	float	bin:0x2e45c	0

## HandlingRating; used to set min and max handling bars length; doesn't take effect from base or end grip values but its increase is dependent
## on chassis and tires values
## values range from 37-98 for 1st set and 90-100 for 2nd set
patch	float	bin:0x2e4a8	44
patch	float	bin:0x2e4ac	99

## brakes_upgrades
patch	int32	bin:0x2e484	4

## induction_upgrades
patch	int32	bin:0x2e494	3

## tires_upgrades
patch	int32	bin:0x2e48c	3

## engine_upgrades
patch	int32	bin:0x2e478	4

## transmission_upgrades
patch	int32	bin:0x2e47c	4

## nos_upgrades
patch	int32	bin:0x2e480	3

## chassis_upgrades
patch	int32	bin:0x2e498	3


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

## RideHeight; in-race only; visible body height
patch	float	bin:0x3cdac	2

## 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:0x3ccc0	1.227
patch	float	bin:0x3ccc4	0.795
patch	float	bin:0x3ccc8	0
patch	float	bin:0x3cccc	0.315

## front right
patch	float	bin:0x3ccd0	1.227
patch	float	bin:0x3ccd4	-0.795
patch	float	bin:0x3ccd8	0
patch	float	bin:0x3ccdc	0.315

## rear right
patch	float	bin:0x3cce0	-1.22
patch	float	bin:0x3cce4	-0.782
patch	float	bin:0x3cce8	0
patch	float	bin:0x3ccec	0.315

## rear left
patch	float	bin:0x3ccf0	-1.22
patch	float	bin:0x3ccf4	0.782
patch	float	bin:0x3ccf8	0
patch	float	bin:0x3ccfc	0.315

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

## ReflectionOffset
patch	float	bin:0x3cda4	-0.025

## KitWheelOffsetRear; used to move wheels along axis Y when bodykits are used
## values range from 0 to 128; applies to REAR axle
patch	int8	bin:0x3cdb8	0
patch	int8	bin:0x3cdb9	0
patch	int8	bin:0x3cdba	0
patch	int8	bin:0x3cdbb	0
patch	int8	bin:0x3cdbc	0
patch	int8	bin:0x3cdbd	0

## KitWheelOffsetFront; used to move wheels along axis Y when bodykits are used
## values range from 0 to 128; applies to FRONT axle
patch	int8	bin:0x3cdc6	0
patch	int8	bin:0x3cdc7	0
patch	int8	bin:0x3cdc8	0
patch	int8	bin:0x3cdc9	0
patch	int8	bin:0x3cdca	0
patch	int8	bin:0x3cdcb	0


##---------------------------------------------------
## Node: brakes/default/clio
##---------------------------------------------------

## BRAKES; overall braking power per axle
## common value range is 300/400-650/700; mass dependent
patch	float	bin:0x24380	325
patch	float	bin:0x24384	450

## EBRAKE; handbrake power; should be larger than BRAKES value by at least 10% and larger than overall car horsepower
## common value range is 400-800; mass dependent
patch	float	bin:0x24388	370

## BRAKE_LOCK; BRAKES field values multiplier and braking force distribution ratio
## common value range is 1.00 for front axle and 3.20-3.60 for rear axle
patch	float	bin:0x24378	1
patch	float	bin:0x2437c	3.2


##---------------------------------------------------
## Node: brakes/default/clio/clio_top
##---------------------------------------------------

## BRAKES
patch	float	bin:0x246b4	325
patch	float	bin:0x246b8	595

## EBRAKE
patch	float	bin:0x246bc	705

## BRAKE_LOCK
patch	float	bin:0x246ac	1
patch	float	bin:0x246b0	3.4


##---------------------------------------------------
## Node: chassis/default/clio
##---------------------------------------------------

## WHEEL_BASE; distance between the centers of the front and rear wheels
## common value range N/A since it differs per car
patch	float	bin:0x84b0	2.5732

## DRAG_COEFFICIENT; air resistance of object travelling in a non-vacuum environment such as air
## common value range is 0.25-0.42
patch	float	bin:0x84cc	0.3

## SHOCK_VALVING; shock absorber oil flow restriction
## common value range is 2x15-2x24
patch	float	bin:0x849c	17
patch	float	bin:0x84a0	17

## RIDE_HEIGHT; aka ground clearance
## common value range is 2x6-2x9
patch	float	bin:0x8474	7
patch	float	bin:0x8478	7

## SHOCK_STIFFNESS; minimum pressure inside shock absorber in pounds per square inch
## common value range is 2x30-2x80; acceleration and mass-dependent
patch	float	bin:0x848c	35
patch	float	bin:0x8490	35

## SHOCK_BLOWOUT; maximum size by which a dampener can compress in inches; stock same as upgraded
## common value range is 5-8
patch	float	bin:0x84b8	6

## SHOCK_EXT_STIFFNESS; maximum shock absorber rebound force
## common value range is 2x40-2x80; acceleration-, downforce- and mass-dependent
patch	float	bin:0x8484	46
patch	float	bin:0x8488	46

## SWAYBAR_STIFFNESS; self-explanatory; probably expressed in pounds per square inch
## common value range is 2x200-2x450; acceleration and mass dependent
patch	float	bin:0x84a4	150
patch	float	bin:0x84a8	150

## ROLL_CENTER; vertical center of gravity [probably in inches]
## common value range is 8-10
patch	float	bin:0x84ac	10.4

## TRAVEL; maximum length by which a shock can be extended if car wheels don't have contact with road surface; stock commonly higher than upgraded
## common value range is 2x6-2x8; acceleration and mass dependent
patch	float	bin:0x846c	8
patch	float	bin:0x8470	8

## SPRING_STIFFNESS; overall coilover pressure in pounds square inch
## common value range is 2x400-2x700
patch	float	bin:0x8494	250
patch	float	bin:0x8498	250

## AERO_CG; overall distribution of aerodynamic force on the car body; values between 0 and 100; 0 for max in rear, 100 for max in front
## common value range is 47-51
patch	float	bin:0x84b8	48

## SPRING_PROGRESSION; maximum compression speed/rate for spring to achieve maximum stiffness; stock smaller than upgraded
## higher values will make springs stiffer faster so car won't shove ground on slopes but will also increase bouncing on curbs
## common value range is 2x5-2x8
patch	float	bin:0x8464	5
patch	float	bin:0x8468	5

## TRACK_WIDTH; axle length; distance between wheels on a single axle; measured in metres
## common value range N/A since it differs per car
patch	float	bin:0x847c	1.518
patch	float	bin:0x8480	1.476

## SHOCK_DIGRESSION; digressive shocks provide smoother ride at higher speeds and absorb body roll also improving cornering; smaller value for smoother ride
## common value range is 2x0.1-2x0.5
patch	float	bin:0x845c	0.25
patch	float	bin:0x8460	0.25

## RENDER_MOTION; dependent on ecar node settings in body roll, dive and squat; used as a multiplier of the mentioned values to calculate car body movement
## common value range is 0.50-1.00
patch	float	bin:0x84bc	1

## AERO_COEFFICIENT; used to define car aerodynamics factor and overall downforce; value too small will make it slow and too high will push it down to
## ground too hard making it difficult to drive and car will be constantly hitting road due to excessive amount of downforce
## common value range is 0.15-0.30
patch	float	bin:0x84c4	0.13

## FRONT_AXLE; front axle diameter in inches
## common value range is 1.2-1.5
patch	float	bin:0x84c0	1.2

## FRONT_WEIGHT_BIAS; overall mass distribution; values from 0 to 100; 0 for max rear bias; 100 for max front bias
## common value range is 51-55
patch	float	bin:0x84c8	52.5


##---------------------------------------------------
## Node: chassis/default/clio/clio_top
##---------------------------------------------------

## WHEEL_BASE
patch	float	bin:0xab34	2.5732

## DRAG_COEFFICIENT
patch	float	bin:0xab50	0.32

## SHOCK_VALVING
patch	float	bin:0xab20	24
patch	float	bin:0xab24	24

## RIDE_HEIGHT
patch	float	bin:0xaaf8	7
patch	float	bin:0xaafc	7

## SHOCK_STIFFNESS
patch	float	bin:0xab10	60
patch	float	bin:0xab14	50

## SHOCK_BLOWOUT
patch	float	bin:0xab38	6

## SHOCK_EXT_STIFFNESS
patch	float	bin:0xab08	70
patch	float	bin:0xab0c	60

## SWAYBAR_STIFFNESS
patch	float	bin:0xab28	300
patch	float	bin:0xab2c	225

## ROLL_CENTER
patch	float	bin:0xab30	9.25

## TRAVEL
patch	float	bin:0xaaf0	7.5
patch	float	bin:0xaaf4	7

## SPRING_STIFFNESS
patch	float	bin:0xab18	650
patch	float	bin:0xab1c	500

## AERO_CG
patch	float	bin:0xab3c	47

## SPRING_PROGRESSION
patch	float	bin:0xaae8	7
patch	float	bin:0xaaec	6.5

## TRACK_WIDTH
patch	float	bin:0xab00	1.518
patch	float	bin:0xab04	1.476

## SHOCK_DIGRESSION
patch	float	bin:0xaae0	0.2
patch	float	bin:0xaae4	0.2

## RENDER_MOTION
patch	float	bin:0xab40	0.5

## AERO_COEFFICIENT
patch	float	bin:0xab48	0.22

## FRONT_AXLE
patch	float	bin:0xab44	1.2

## FRONT_WEIGHT_BIAS
patch	float	bin:0xab4c	53.5


##---------------------------------------------------
## Node: engine/default/clio
##---------------------------------------------------

## 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:0x12a74	0.7
patch	float	bin:0x12a78	0.8
patch	float	bin:0x12a7c	0.9

## 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:0x12a8c	800

## 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:0x12a38	91
patch	float	bin:0x12a3c	139
patch	float	bin:0x12a40	166
patch	float	bin:0x12a44	199
patch	float	bin:0x12a48	222
patch	float	bin:0x12a4c	211
patch	float	bin:0x12a50	188
patch	float	bin:0x12a54	174
patch	float	bin:0x12a58	163

## 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:0x12a84	7600

## 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:0x12a80	12

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


##---------------------------------------------------
## Node: engine/default/clio/clio_top
##---------------------------------------------------

## ENGINE_BRAKING
patch	float	bin:0x143f4	0.7
patch	float	bin:0x143f8	0.8
patch	float	bin:0x143fc	0.9

## IDLE
patch	float	bin:0x1440c	800

## TORQUE
patch	float	bin:0x143b8	188
patch	float	bin:0x143bc	299
patch	float	bin:0x143c0	499
patch	float	bin:0x143c4	633
patch	float	bin:0x143c8	599
patch	float	bin:0x143cc	555
patch	float	bin:0x143d0	470
patch	float	bin:0x143d4	444
patch	float	bin:0x143d8	379

## MAX_RPM
patch	float	bin:0x14404	7600

## FLYWHEEL_MASS
patch	float	bin:0x14400	12

## RED_LINE
patch	float	bin:0x14408	6600


##---------------------------------------------------
## Node: induction/default/clio_base
##---------------------------------------------------

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

## HIGH_BOOST
patch	float	bin:0x11d18	0.1

## LOW_BOOST
patch	float	bin:0x11d00	0.1

## INDUCTION_MULTIPLIER*; always higher value for stock
patch	float	bin:0x11d10	2.3

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

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

## BOOST_VARIANCE*; pressure drop/rise in chamber
patch	float	bin:0x11d08	-0.15


##---------------------------------------------------
## Node: induction/default/clio_base/clio_top
##---------------------------------------------------

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

## HIGH_BOOST
patch	float	bin:0x1207c	0.2

## LOW_BOOST
patch	float	bin:0x12064	0.2

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

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

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

## BOOST_VARIANCE*; pressure drop/rise in chamber
patch	float	bin:0x1206c	-0.05


##---------------------------------------------------
## Node: tires/default/clio
##---------------------------------------------------

## SECTION_WIDTH; self-explanatory; measured in milimetres
## common value range N/A since it differs per car
patch	float	bin:0x220a0	235
patch	float	bin:0x220a4	235

## YAW_CONTROL; equivalent of section-based traction and stability control system; values 1 and 2 for front; values 3 and 4 for rear
## effect similar to dynamic mass bias shifting; highly dependent on WEIGHT_BIAS, AERO_CG, TORQUE_SPLIT and DYNAMIC/STATIC_GRIP values
## common value range N/A since it differs per car; mass and acceleration dependent
patch	float	bin:0x22068	0.1
patch	float	bin:0x2206c	0.5
patch	float	bin:0x22070	0.7
patch	float	bin:0x22074	0.1

## DYNAMIC_GRIP; amount of friction the tires produce when traction is broken, ie when the car is sliding or in a burnout
## common value range N/A since it differs per car; mass and acceleration dependent
patch	float	bin:0x22080	1.5
patch	float	bin:0x22084	1.5

## RIM_SIZE; self-explanatory; measured in inches
## common value range is 2x16-2x19
patch	float	bin:0x22090	17
patch	float	bin:0x22094	17

## YAW_SPEED; self-explanatory; rate at which car enters yaw state
## common value range is 0.30-0.70
patch	float	bin:0x220ac	0.35

## ASPECT_RATIO; self-explanatory; ratio of section height to section width
## common value range is 2x30-2x55
patch	float	bin:0x22088	45
patch	float	bin:0x2208c	45

## STATIC_GRIP; static grip is the amount of friction the tires are able to produce when they are not spinning, though they can be rolling
## common value range N/A since it differs per car; mass and acceleration dependent
patch	float	bin:0x22098	1.7
patch	float	bin:0x2209c	1.7

## GRIP_SCALE; tire grip scaling per axle
## common value range is 2x1.00-2x1.10
patch	float	bin:0x22078	1
patch	float	bin:0x2207c	1

## STEERING; steering ratio; value of 1.00 means that turning steering wheel by 360 degrees will turn wheels by 36 degrees
## common value range is 0.90-1.10
patch	float	bin:0x220a8	1


##---------------------------------------------------
## Node: tires/default/clio/clio_top
##---------------------------------------------------

## SECTION_WIDTH
patch	float	bin:0x239a0	235
patch	float	bin:0x239a4	235

## YAW_CONTROL
patch	float	bin:0x23968	0.1
patch	float	bin:0x2396c	0.6
patch	float	bin:0x23970	0.8
patch	float	bin:0x23974	1.25

## DYNAMIC_GRIP
patch	float	bin:0x23980	1.85
patch	float	bin:0x23984	1.9

## RIM_SIZE
patch	float	bin:0x23990	17
patch	float	bin:0x23994	17

## YAW_SPEED
patch	float	bin:0x239ac	0.35

## ASPECT_RATIO
patch	float	bin:0x23988	45
patch	float	bin:0x2398c	45

## STATIC_GRIP
patch	float	bin:0x23998	2.1
patch	float	bin:0x2399c	2.1

## GRIP_SCALE
patch	float	bin:0x23978	1.05
patch	float	bin:0x2397c	1.1

## STEERING
patch	float	bin:0x239a8	1


##---------------------------------------------------
## Node: transmission/default/clio
##---------------------------------------------------

## GEAR_COUNT; 1st GEAR_RATIO offset -6; total amount of gears including reverse, neutral and forward gears
## maximum number of elements is 11 but only 10 are proven to cause no problems with car drivability
## common value range is 7-9
patch	int16	bin:0x1e392	7

## GEAR_RATIO; drivetrain power transfer ratios
## common value range N/A since it differs per car
patch	float	bin:0x1e398	2.8
patch	float	bin:0x1e39c	0
patch	float	bin:0x1e3a0	3.64
patch	float	bin:0x1e3a4	2.22
patch	float	bin:0x1e3a8	1.54
patch	float	bin:0x1e3ac	1.17
patch	float	bin:0x1e3b0	0.89
patch	float	bin:0x1e3b4	0

## DIFFERENTIAL; self-explanatory; differential bias; 0.00 for rear, 0.50 for mid and 1.00 for front
## setting towards front will lock the front wheels more, causing the car to be prone to oversteer; inverse effect if bias set towards rear
## common value range is 2x0.60-2x0.80; 3x0.60-3x0.80 if car is AWD
patch	float	bin:0x1e3c4	0.8
patch	float	bin:0x1e3c8	0.8
patch	float	bin:0x1e3cc	0

## 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:0x1e3d8	1
patch	float	bin:0x1e3dc	1
patch	float	bin:0x1e3e0	1
patch	float	bin:0x1e3e4	1
patch	float	bin:0x1e3e8	1
patch	float	bin:0x1e3ec	1
patch	float	bin:0x1e3f0	1
patch	float	bin:0x1e3f4	1

## TORQUE_CONVERTER; percentage ratio of torque converter efficiency with automatic transmission usage
## common value range is 0.20-0.80
patch	float	bin:0x1e3fc	0.7

## TORQUE_SPLIT; torque-to-axle transfer ratio; 0 for RWD, 0.5 for AWD and 1 for FWD
## common value range N/A since it differs per car
patch	float	bin:0x1e400	1

## CLUTCH_SLIP; self-explanatory; manual gearbox efficiency ratio
## common value range is 0.70-0.90
patch	float	bin:0x1e404	0.8

## SHIFT_SPEED; shifting interval; stock [should be] higher than upgraded
## common value range is 0.10-0.25
patch	float	bin:0x1e40c	0.25

## FINAL_GEAR; final gear ratio determining top speed
## common value range N/A since it differs per car
patch	float	bin:0x1e410	3.8


##---------------------------------------------------
## Node: transmission/default/clio/clio_top
##---------------------------------------------------

## GEAR_COUNT; 1st GEAR_RATIO offset -6
patch	int16	bin:0x1f832	8

## GEAR_RATIO
patch	float	bin:0x1f838	3.12
patch	float	bin:0x1f83c	0
patch	float	bin:0x1f840	3.64
patch	float	bin:0x1f844	2.22
patch	float	bin:0x1f848	1.54
patch	float	bin:0x1f84c	1.17
patch	float	bin:0x1f850	0.901
patch	float	bin:0x1f854	0.74

## DIFFERENTIAL
patch	float	bin:0x1f864	0.75
patch	float	bin:0x1f868	0.75
patch	float	bin:0x1f86c	0

## GEAR_EFFICIENCY
patch	float	bin:0x1f878	1
patch	float	bin:0x1f87c	1
patch	float	bin:0x1f880	1
patch	float	bin:0x1f884	1
patch	float	bin:0x1f888	1
patch	float	bin:0x1f88c	1
patch	float	bin:0x1f890	1
patch	float	bin:0x1f894	1

## TORQUE_CONVERTER
patch	float	bin:0x1f89c	0.7

## TORQUE_SPLIT
patch	float	bin:0x1f8a0	1

## CLUTCH_SLIP
patch	float	bin:0x1f8a4	0.8

## SHIFT_SPEED
patch	float	bin:0x1f8ac	0.25

## FINAL_GEAR
patch	float	bin:0x1f8b0	2.9


##----------------------------------------------------
## Node: light_flares_cg/0xa95ab5ad; headlights setup
##----------------------------------------------------

## type
patch	float	bin:0x1842c	0

## 0xf7649e63; Size
patch	float	bin:0x18434	40

## Power
patch	float	bin:0x18428	0.1

## ZBias
patch	float	bin:0x18438	1.0


##----------------------------------------------------
## Node: light_flares_cg/brakelight_inner
##----------------------------------------------------

## Power
patch	float	bin:0x18728	0.1

## ZBias
patch	float	bin:0x18738	1.0


##----------------------------------------------------
## Node: light_flares_cg/reverselight_inner
##----------------------------------------------------

## Power
patch	float	bin:0x18728	0.1

## ZBias
patch	float	bin:0x18738	1.0


##----------------------------------------------------
## Node: emitterdata/default/emcar_nos_fire
##----------------------------------------------------

## Gravity
patch	float	bin:0x44758	0.5


##----------------------------------------------------
## Node: emitterdata/default/emcar_nos_glow
##----------------------------------------------------

## Gravity
patch	float	bin:0x442d8	0.5



MD5 hash: 4372656174656420627920464F58

