Compound Control - ac-sim-improvement-mods/ac-rules-and-race-enhancements GitHub Wiki

Restrict tyre compound choices, and correct tyre compound colors.

Config Files: Steam\steamapps\common\assettocorsa\apps\lua\RARE\data\tyre_compounds
Each car requires its own config file

Restrict Tyre Compound

Restricts driver's compound choices based on the track's allowed compound indexes.

Use track directory name to label the section.
Specify allowed compound indexes in the COMPOUNDS field.

example_car.ini

[monza]
COMPOUNDS=1,2,3

[singapore_2020]
COMPOUNDS=0,1,2

[rt_suzuka]
COMPOUNDS=2,3,4

Compound Color Correction

Changes the compound color in order to reflect the Formula 1 compound hardness color scale.
Hard (WHITE) Medium (YELLOW) Soft (RED)

example_car.ini (same file)

[COMPOUNDS]
COMPOUND_TARGET_MATERIAL=RSS_T1
DEFAULT_COMPOUNDS=1,2,3
SOFT_COMPOUND_TEXTURE=C4
MEDIUM_COMPOUND_TEXTURE=C3
HARD_COMPOUND_TEXTURE=C2