Config
Config = {}
Config.debug = false
-- Multiplier | How fast the brakes should heat up and overheat
Config.heatIntensity = 1.0
-- Multiplier | How fast the brakes should cool down
Config.cooldownSpeed = 1.0
-- Multiplier | Amount of the brake loss when brakes are hot
Config.brakeFadeStrength = 1.0
Config.visual = {
-- (This is an additional glow, not the primary brake coloring/heat effect)
-- Makes the visual effect look quite a bit nicer
-- But is quite resource intensive. Adds about 0.06ms when the brakes are glowing
glow = {
enabled = true,
strength = 1.0,
},
-- Adds sparks when braking with hot brakes.
-- Not very resource intensive
sparks = {
enabled = true,
size = 0.6,
},
}
-- Multipliers for the brake heat up speed
Config.heatUp = {
classes = {
[CLASS_COMPACT] = 0.9,
[CLASS_SUV] = 1.1,
[CLASS_COUPES] = 1.0,
[CLASS_MUSCLE] = 1.0,
[CLASS_SPORTS_CLASSICS] = 0.9,
[CLASS_SPORTS] = 0.85,
[CLASS_SUPER] = 0.8,
[CLASS_BIKE] = 0.5,
[CLASS_OFFROAD] = 0.9,
[CLASS_INDUSTRIAL] = 0.7,
[CLASS_UTILITY] = 0.7,
[CLASS_VANS] = 1.0,
[CLASS_SERVICE] = 1.0,
[CLASS_EMERGENCY] = 0.7,
[CLASS_MILITARY] = 0.7,
[CLASS_COMMERCIAL] = 1.0,
},
brakeUpgrade = {
[-1] = 1.0, -- Stock brakes
[0] = 0.8, -- Brake upgrade level 1
[1] = 0.65, -- Brake upgrade level 2
[2] = 0.6, -- Brake upgrade level 3
},
}
-- Multipliers for the brake cooldown speed
Config.cooldown = {
classes = {
[CLASS_COMPACT] = 1.0,
[CLASS_SUV] = 1.0,
[CLASS_COUPES] = 1.0,
[CLASS_MUSCLE] = 1.1,
[CLASS_SPORTS_CLASSICS] = 1.1,
[CLASS_SPORTS] = 1.15,
[CLASS_SUPER] = 1.25,
[CLASS_BIKE] = 1.5,
[CLASS_OFFROAD] = 1.0,
[CLASS_INDUSTRIAL] = 1.0,
[CLASS_UTILITY] = 1.0,
[CLASS_VANS] = 1.0,
[CLASS_SERVICE] = 1.0,
[CLASS_EMERGENCY] = 1.15,
[CLASS_MILITARY] = 1.15,
[CLASS_COMMERCIAL] = 1.0,
},
brakeUpgrade = {
[-1] = 1.0, -- Stock brakes
[0] = 1.1, -- Brake upgrade level 1
[1] = 1.25, -- Brake upgrade level 2
[2] = 1.5, -- Brake upgrade level 3
},
}
Last updated