KuzQuality - FiveM Documentation
Webstore
  • KuzQuality - FiveM Scripts
  • Useful links
    • KuzQuality.com | Shop now
    • Our Discord
  • General
    • Common issues
    • Frequently asked questions
    • Updating server artifacts
    • Installation basics
  • RESOURCES
    • Premium Resources
      • Shell Creator
        • Config
        • Installation Guide
        • Video guide
        • API
          • Server
          • Client
      • Cocaine Production
        • Config
        • Installation Guide
      • Roof boxes & bike racks
        • Config
        • Installation Guide
        • API
      • Meth Cooking
        • Config
        • Installation Guide
      • Private islands
        • Config
        • Installation Guide
      • Real offroad physics
        • Config
        • Installation Guide
        • API
      • Placeable items
        • Config
        • Inventory integrations
        • Installation Guide
      • Car Dyno
        • Config
        • Installation Guide
      • Outfit Bag 2.0
        • Config
        • Installation Guide
      • Realistic wheel damage
        • Config
      • Smash 'n Grab 2.0
        • Config
        • Installation Guide
      • Animation Suggestions
        • Config
        • Installation Guide
      • Smugglers Heist
        • Config
        • Installation Guide
      • Car Heist
        • Config
      • Towing & Winching
        • Config
        • Installation Guide
      • Security Systems
        • Config
        • Developer Docs
      • Drift Tires
        • Config
        • Installation Guide
      • Engine Swaps [ESX]
        • Config
      • Engine Swaps [QBCore]
        • Config
      • Islands Generator
        • Config
        • Installation Guide
      • Brake Overheating
        • Config
        • Installation Guide
      • Drift Smoke
        • Config
      • Advanced Ped Looting
        • Config
        • Installation Guide
      • Bike Jump Ability
        • Config
        • Installation Guide
      • Hideouts 2.0
        • Config
      • Detective Tools
        • Config
      • Classic Outfit Bag
        • Config
      • Traction Control Toggle
        • Config
      • Car Lift
        • Config
      • Vehicle Towing
        • Config
      • RGB Controller (Full)
        • Config
      • Diving [ESX]
        • Config
      • Diving [QBCore]
        • Config
    • Free Resources
      • Prop Placer
        • Config
      • Nightclub Heist
        • Config
      • Basic Security Lasers
        • Config
        • Developer Docs
      • Advanced Airdrop
        • Config
      • Smooth Throttle Control
        • Config
      • Better rollbacks & handbrake turns
        • Config
      • Wild Cannabis (Loot Areas Example)
        • Config
      • RGB Controller (Basic)
        • Config
      • Dragy
        • Config
      • Easter Egg Hunt
        • Config
      • Loot Areas
        • Config
        • Developer docs
  • KQ Link
    • KQ Link | Installation guide
    • Using Git
    • Developer reference
      • Exports
        • Server
        • Client
Powered by GitBook
On this page
  1. RESOURCES
  2. Premium Resources
  3. Brake Overheating

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
    },
}
PreviousBrake OverheatingNextInstallation Guide

Last updated 8 months ago