Guest User

KQ Traction control default config

a guest
Aug 28th, 2023
1,306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.53 KB | None | 0 0
  1. Config = {}
  2.  
  3. -- This enabled additional debug commands and logs
  4. Config.debug = false
  5.  
  6. Config.traction = {
  7.     -- The amount of grip that will be reduced during drift (higher = less grip)
  8.     -- (Values between 0 & 60 = more realistic)
  9.     -- (Values between 60 & 100 = more drifty)
  10.     -- Values between 0 and 100
  11.     reduceGrip = 50,
  12.  
  13.     -- How easily the vehicle will enter into drift (Higher numbers = more traction loss required for it to enter drift, aka, lower numbers will be more drifty)
  14.     -- Values between 0.0 and 2.0
  15.     driftThreshold = 1.0,
  16. }
  17.  
  18. -- Whether or not to display that the traction control is turned off on the dashboard of the car
  19. Config.showOnDashboards = true
  20.  
  21. -- Size of the 'ESP OFF' text on the dashboard
  22. Config.fontScale = 0.15
  23.  
  24. ----------------------------------------------------------------------------------------------
  25. --- WHITE/BLACKLISTING
  26. ----------------------------------------------------------------------------------------------
  27.  
  28. -- Disallow certain vehicles or classes of vehicles from being tire swapped
  29. Config.blacklist = {
  30.     -- List of models that should not be able to swap tires
  31.     vehiclesEnabled = true,
  32.     vehicles = {
  33.       'police',
  34.       'taxi',
  35.     },
  36.    
  37.     -- Classes that should not be allowed to disable traction control (numerical values) https://docs.fivem.net/natives/?_0x29439776AAA00A62
  38.     classesEnabled = true,
  39.     classes = {
  40.         8, 10, 11, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22
  41.     },
  42. }
  43.  
  44. -- Opposite of the blacklist. Only allows certain models/vehicle models to toggle their traction control
  45. Config.whitelist = {
  46.     vehiclesEnabled = false,
  47.     -- List of models that should be able to swap tires
  48.     vehicles = {
  49.       'futo',
  50.       'futo2',
  51.       'rt3000',
  52.       'yosemite2',
  53.       'comet6',
  54.       'gauntlet4',
  55.       'euros',
  56.       'zr350',
  57.       'dominator8',
  58.     },
  59.    
  60.     classesEnabled = false,
  61.     -- The only classes that should be allowed to disable traction control (numerical values) https://docs.fivem.net/natives/?_0x29439776AAA00A62
  62.     classes = {
  63.         3, 4, 5, 6
  64.     },
  65. }
  66.  
  67. -- Whether or not to apply a slight boost to vehicles engine power while mid drift (Helps lower powered vehicles stay in drift) (1.0 is the base car power)
  68. Config.driftBoost = {
  69.     enabled = true,
  70.     power = 1.75
  71. }
  72.  
  73. -- https://docs.fivem.net/docs/game-references/controls/
  74. -- Use the input index for the "input" value
  75. Config.keybinds = {
  76.     toggle = {
  77.         label = '[',
  78.         input = 100,
  79.         holdDuration = 1000,
  80.     }
  81. }
Advertisement
Add Comment
Please, Sign In to add comment