This configuration file (configs/vehicleClasses.lua) maps specific vehicles to their respective performance classes, which are used to categorize them in races. The class levels range from D (1) to S (5), with higher classes representing faster and more powerful vehicles. This classification helps balance races by grouping vehicles with similar performance together.


Classes

  • 1 = D: Entry-level performance (e.g., blista, panto, dilettante).
  • 2 = C: Moderate performance (e.g., buffalo, dominator, buccaneer).
  • 3 = B: Mid-range performance (e.g., carbonizzare, comet2, banshee).
  • 4 = A: High performance (e.g., adder, osiris, zentorno).
  • 5 = S: Elite performance (e.g., t20, fmj, reaper).

Each vehicle in the script is assigned a number corresponding to its class, allowing race organizers to define eligibility or restrictions based on these classes. For example:

  • [`adder`] = 4 - Places the โ€œadderโ€ in Class A.
  • [`t20`] = 5 - Places the โ€œt20โ€ in Class S.

This structure offers flexibility to create race events targeting specific vehicle classes, enhancing fairness and competition among racers.