Advertisement
Guest User

KQ Car Heist 1.0.0 Default Config

a guest
Mar 2nd, 2022
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 19.17 KB | None | 0 0
  1. Config = {}
  2.  
  3. -- Enables debug statements which will print in consoles
  4. -- Also enabled a command /cheist which will forcefully spawn a new heist even if one is already happening
  5. -- Do not enable this unless asked to by a KuzQuality staff member or you know what you're doing
  6. Config.debug = false
  7.  
  8.  
  9. --------------------------------------------------------
  10. --------------------------------------------------------
  11. --- MAKE SURE THAT THE CORRECT FRAMEWORK IS ENABLED ! --
  12. --------------------------------------------------------
  13. --------------------------------------------------------
  14.  
  15. --- SETTINGS FOR ESX
  16. Config.esxSettings = {
  17.     enabled = true,
  18.     -- Account on which players will receive their money after successfully dropping off their vehicle
  19.     moneyAccount = 'black_money'
  20. }
  21.  
  22. --- SETTINGS FOR QBCORE
  23. Config.qbSettings = {
  24.     enabled = false,
  25.     -- If you're using an old QBCore version set this to 'false' and uncomment the old export in fxmanifest.lua
  26.     useNewQBExport = true,
  27.     -- Account on which players will receive their money after successfully dropping off their vehicle
  28.     moneyAccount = 'bank'
  29. }
  30.  
  31.  
  32.  
  33. -- How often the truck should be spawned (In minutes)
  34. -- If any players are still near the old truck new one won't be spawned
  35. Config.heistSpawnTime = 30
  36.  
  37. -- Whether or not to announce the truck spawning to all players (Besides police officers)
  38. Config.announceTruckDepartureToPlayers = true
  39.  
  40. -- Announcement blip
  41. Config.announcementBlip = {
  42.     primary = {
  43.         sprite = 161,
  44.         color = 47,
  45.         scale = 2.0,
  46.         alpha = 150,
  47.         shortRange = true,
  48.     },
  49.     secondary = {
  50.         sprite = 477,
  51.         color = 47,
  52.         scale = 1.3,
  53.         alpha = 255,
  54.         shortRange = true,
  55.     }
  56. }
  57.  
  58. -- Whether or not to use audible vehicle alarms
  59. Config.useVehicleAlarm = true
  60.  
  61. -- Whether or not to require a item to open the trailer
  62. Config.requireTool = true
  63. -- item names that will allow players to open the ramp of the trailer
  64. Config.cuttingTools = {
  65.     'kq_angle_grinder'
  66. }
  67. -- Amount of key presses required to open the latch/ramp (Set it higher to make it take longer)
  68. Config.latchCuttingDuration = 15
  69.  
  70.  
  71. Config.tracker = {
  72.     -- How long it will take to search one spot on the vehicle (in ms)
  73.     searchDuration = 15000,
  74.     -- How many times the player has to press the keys to unscrew the tracker
  75.     removalLength = 50,
  76.     -- Time that players will need to wait when they misclick "drop the screwdriver" (in ms)
  77.     removalMessedUpDuration = 6000,
  78.     -- Keys used to unscrew the tracker
  79.     removalKeybinds = {
  80.         'A',
  81.         'W',
  82.         'D',
  83.         'S'
  84.     },
  85.     -- For how long the GPS location is going to be visible for police after tracker gets removed (in ms)
  86.     stayOnMapAfterRemovalTime = 90000,
  87. }
  88.  
  89. -- Name of the job which will receive the alerts
  90. Config.policeJobName = 'police'
  91.  
  92. Config.policeBlip = {
  93.     -- How often the trackers locations should be updated (Don't recommend putting it too low) (in ms)
  94.     refreshTime = 5000,
  95.     -- Whether or not to allow tunnels and underground areas to lower the accuracy of the tracker
  96.     makeTunnelsLowerSignal = true,
  97.     -- Check which works better for detection of tunnels but makes all trackers which are far away
  98.     -- from the officer display as if the tracker is in a tunnel (Still recommended)
  99.     unknownTunnelChecking = true,
  100.     truck = {
  101.         primary = {
  102.             sprite = 161,
  103.             color = 47,
  104.             scale = 2.0,
  105.             alpha = 150,
  106.             shortRange = false,
  107.         },
  108.         secondary = {
  109.             sprite = 477,
  110.             color = 47,
  111.             scale = 1.3,
  112.             alpha = 255,
  113.             shortRange = false,
  114.         }
  115.     },
  116.     vehicles = {
  117.         primary = {
  118.             sprite = 161,
  119.             color = 49,
  120.             scale = 1.0,
  121.             alpha = 150,
  122.             shortRange = false,
  123.         },
  124.         secondary = {
  125.             sprite = 595,
  126.             color = 49,
  127.             scale = 1.0,
  128.             alpha = 255,
  129.             shortRange = false,
  130.         }
  131.     }
  132. }
  133.  
  134. -- ADVANCED! If you don't know what this does. Do not change it.
  135. Config.truckDriveStyle = 1074528293
  136.  
  137. -- Speed the truck will drive at (I don't recommend putting it above 30.0)
  138. Config.truckDriveSpeed = 20.0
  139. -- Color of the heist truck
  140. Config.truckColor = { r = 255, g = 60, b = 10 }
  141.  
  142.  
  143. -- All possible routes that the truck can spawn on and take
  144. -- (Be careful when adding new ones. Make sure that the NPC knows how to drive the route (test it))
  145. Config.startLocations = {
  146.     {
  147.          truck = { x = 1541.56, y = 854.07, z = 77.5, h = 329.0 },
  148.          support = { x = 1524.74, y = 822.16, z = 77.5, h = 328.0 },
  149.          finish = { x = 138.46, y = 6414.1, z = 26.13, h = 261.80 },
  150.      },
  151.     {
  152.        truck = { x = -2875.27, y = 2188.37, z = 35.23, h = 129.0 },
  153.        support = { x = -2841.30, y = 2207.92, z = 31.11, h = 121.19 },
  154.        finish = { x = 2506.23, y = -280.09, z = 93.05, h = 91.77 },
  155.    },
  156.     {
  157.         truck = { x = -1947.37, y = -337.79, z = 46.23, h = 280.77 },
  158.         support = { x = -1980.10, y = -311.63, z = 43.65, h = 231.09 },
  159.         finish = { x = -680.03, y = 5761.55, z = 16.88, h = 304.37 },
  160.     },
  161.     {
  162.         truck = { x = 1156.20, y = -1695.16, z = 35.65, h = 164.31 },
  163.         support = { x = 1165.83, y = -1669.85, z = 36.45, h = 150.35 },
  164.         finish = { x = 138.46, y = 6414.1, z = 26.13, h = 261.80 },
  165.     },
  166.     {
  167.         truck = { x = 2666.48, y = 3454.13, z = 55.73, h = 247.0 },
  168.         support = { x = 2636.36, y = 3462.57, z = 55.37, h = 244.77 },
  169.         finish = { x = 1379.78, y = -2068.52, z = 51.99, h = 156.80 },
  170.     },
  171. }
  172.  
  173. -- Whether or not to reduce the drop off reward based on how damaged the vehicle is
  174. Config.reduceRewardByVehicleDamage = true
  175. -- How much percentage to remove off the vehicle price based on damage (0% nothing, 100% cars which have 0 health will pay $0)
  176. Config.reduceByDamagePercentage = 65
  177. Config.dropOff = {
  178.     -- Minimum amount of available drop off locations per heist
  179.     minLocations = 2,
  180.     -- Maximum amount of available drop off locations per heist
  181.     maxLocations = 3,
  182.     blips = {
  183.         primary = {
  184.             sprite = 161,
  185.             color = 46,
  186.             scale = 1.0,
  187.             alpha = 150,
  188.             shortRange = false,
  189.         },
  190.         secondary = {
  191.             sprite = 524,
  192.             color = 46,
  193.             scale = 1.0,
  194.             alpha = 255,
  195.             shortRange = false,
  196.         }
  197.     },
  198.     -- All available drop off locations
  199.     locations = {
  200.         { x = 1274.95, y = -3239.77, z = 5.88 },
  201.         { x = -302.86, y = -2723.41, z = 6.01 },
  202.         { x = -371.68, y = -2273.67, z = 7.60 },
  203.         { x = 452.45, y = -2755.19, z = 6.05 },
  204.         { x = -450.44, y = -2442.52, z = 6.00 },
  205.         { x = 489.70, y = -2227.92, z = 5.91 },
  206.         { x = -161.13, y = 928.02, z = 235.65 },
  207.         { x = 2469.17, y = 1589.04, z = 32.72 },
  208.         { x = 363.70, y = 3411.08, z = 36.40 },
  209.         { x = 3803.85, y = 4451.05, z = 4.25 },
  210.         { x = 2150.34, y = 4797.62, z = 41.13 },
  211.         { x = 1905.25, y = 4924.22, z = 48.87 },
  212.         { x = -197.12, y = 6536.59, z = 11.09 },
  213.         { x = -1585.75, y = 5157.74, z = 19.57 },
  214.         { x = 143.53, y = -2445.9, z = 5.99 },
  215.         { x = -38.46, y = -2547.16, z = 6.00 },
  216.         { x = -224.98, y = -2657.44, z = 6.00 },
  217.         { x = -566.59, y = -2341.45, z = 13.83 },
  218.         { x = -853.87, y = -1257.78, z = 4.99 },
  219.         { x = -81.51, y = 361.99, z = 112.46 },
  220.         { x = -1558.67, y = -247,35, z = 48.28 },
  221.     },
  222. }
  223.  
  224. -- Color of the support vehicle
  225. Config.supportColor = { r = 0, g = 0, b = 0 }
  226.  
  227. -- Possible vehicle models for the support vehicle
  228. Config.supportVehicles = {
  229.     'baller2',
  230.     'kuruma',
  231.     'buffalo2',
  232.     'dubsta2',
  233.     'stanier',
  234.     'tailgater',
  235. }
  236.  
  237. -- Ped models that the support can have
  238. Config.supportPeds = {
  239.     's_m_m_chemsec_01'
  240. }
  241.  
  242.  
  243. -- How much health all the npcs will have (normal npc's have 100)
  244. Config.npcHealth = 200
  245.  
  246. -- Whether or not all the npcs suffer from critical hits (aka headshots) - false by default to make the robbery more difficult
  247. Config.npcSuffersCriticalHits = false
  248.  
  249. -- Integer between 0 and 100
  250. -- Below 20 they barely hit, above 80 incredible aim
  251. Config.npcShootingAccuracy = 40
  252.  
  253. -- Chance of NPC's having a weapon
  254. Config.weaponChance = 80
  255.  
  256. Config.weapons = {
  257.     'weapon_minismg',
  258.     'weapon_snspistol',
  259.     'weapon_combatpistol'
  260. }
  261.  
  262.  
  263.  
  264. ------------------------------------------------------------------------
  265. -- chance                   = the chance of the event spawning
  266. -- trucks                   = list of all truck models that can be used
  267. -- npcs                     = list of all npc models that can be used (driver and passenger)
  268. -- passengerChance          = the chance of the truck having a passenger
  269. -- bulletproofTiresChance   = the chance of all heist vehicles having bullet proof tires
  270. -- vehicleSlotChance        = the chance of a vehicle spawning in a trailer slot (there always is at least 1 vehicle)
  271. -- supportChance            = the chance of the support vehicle spawning
  272. -- minimumVehicles          = the minimum amount of the vehicles on the trailer (max 3)
  273. -- vehicles                 = {
  274. --      name    = Vehicle name
  275. --      model   = Vehicle model
  276. --      price   = The max amount of money the players will get for dropping off the vehicle
  277. --  }
  278. ---------------------------------------------------------------------------
  279. --- Chances of all events must add up to 100 !
  280. Config.events = {
  281.     {
  282.         chance = 20,
  283.         trucks = {
  284.             'phantom3'
  285.         },
  286.         npcs = {
  287.             's_m_m_trucker_01'
  288.         },
  289.         passengerChance = 100,
  290.         bulletproofTiresChance = 100,
  291.         vehicleSlotChance = 70,
  292.         supportChance = 100,
  293.         minimumVehicles = 1,
  294.         vehicles = {
  295.             {
  296.                 name = 'Adder',
  297.                 model = 'adder',
  298.                 price = 40000,
  299.             },
  300.             {
  301.                 name = 'Entity XF',
  302.                 model = 'entityxf',
  303.                 price = 35000,
  304.             },
  305.             {
  306.                 name = 'Furia',
  307.                 model = 'furia',
  308.                 price = 45000,
  309.             },
  310.             {
  311.                 name = 'Nero Custom',
  312.                 model = 'nero2',
  313.                 price = 52000,
  314.             },
  315.             {
  316.                 name = 'Nero',
  317.                 model = 'nero',
  318.                 price = 44000,
  319.             },
  320.             {
  321.                 name = 'Cyclone',
  322.                 model = 'cyclone',
  323.                 price = 45000,
  324.             },
  325.             {
  326.                 name = 'T20',
  327.                 model = 't20',
  328.                 price = 40000,
  329.             },
  330.             {
  331.                 name = 'Vacca',
  332.                 model = 'vacca',
  333.                 price = 29000,
  334.             },
  335.             {
  336.                 name = 'Bullet',
  337.                 model = 'bullet',
  338.                 price = 28000,
  339.             },
  340.             {
  341.                 name = 'Itali GTB',
  342.                 model = 'italigtb',
  343.                 price = 33000,
  344.             },
  345.             {
  346.                 name = 'Itali GTB Custom',
  347.                 model = 'italigtb2',
  348.                 price = 38000,
  349.             },
  350.             {
  351.                 name = 'Visione',
  352.                 model = 'visione',
  353.                 price = 49000,
  354.             },
  355.             {
  356.                 name = 'SC1',
  357.                 model = 'SC1',
  358.                 price = 40000,
  359.             },
  360.             {
  361.                 name = 'Taipan',
  362.                 model = 'taipan',
  363.                 price = 47000,
  364.             },
  365.             {
  366.                 name = 'Thrax',
  367.                 model = 'thrax',
  368.                 price = 55000,
  369.             },
  370.             {
  371.                 name = 'Emerus',
  372.                 model = 'emerus',
  373.                 price = 51000,
  374.             },
  375.             {
  376.                 name = 'Entity XXR',
  377.                 model = 'entity2',
  378.                 price = 54000,
  379.             },
  380.             {
  381.                 name = 'Reaper',
  382.                 model = 'reaper',
  383.                 price = 41000,
  384.             },
  385.             {
  386.                 name = 'Voltic',
  387.                 model = 'voltic',
  388.                 price = 30000,
  389.             },
  390.             {
  391.                 name = '811',
  392.                 model = 'pfister811',
  393.                 price = 39000,
  394.             },
  395.             {
  396.                 name = 'Lynx',
  397.                 model = 'lynx',
  398.                 price = 32000,
  399.             },
  400.             {
  401.                 name = 'Autarch',
  402.                 model = 'autarch',
  403.                 price = 44000,
  404.             },
  405.             {
  406.                 name = 'XA-21',
  407.                 model = 'xa21',
  408.                 price = 40000,
  409.             },
  410.         }
  411.     },
  412.     {
  413.         chance = 35,
  414.         trucks = {
  415.             'phantom3',
  416.             'phantom',
  417.             'hauler',
  418.             'packer',
  419.         },
  420.         npcs = {
  421.             's_m_m_trucker_01'
  422.         },
  423.         passengerChance = 80,
  424.         bulletproofTiresChance = 40,
  425.         vehicleSlotChance = 70,
  426.         supportChance = 40,
  427.         minimumVehicles = 2,
  428.         vehicles = {
  429.             {
  430.                 name = 'Sultan RS',
  431.                 model = 'sultanrs',
  432.                 price = 25000,
  433.             },
  434.             {
  435.                 name = 'Schlagen',
  436.                 model = 'schlagen',
  437.                 price = 30000,
  438.             },
  439.             {
  440.                 name = 'Jester Classic',
  441.                 model = 'jester3',
  442.                 price = 28000,
  443.             },
  444.             {
  445.                 name = 'Comet',
  446.                 model = 'comet2',
  447.                 price = 22000,
  448.             },
  449.             {
  450.                 name = 'Comet Retro',
  451.                 model = 'comet3',
  452.                 price = 27000,
  453.             },
  454.             {
  455.                 name = 'Verlierer',
  456.                 model = 'verlierer2',
  457.                 price = 30000,
  458.             },
  459.             {
  460.                 name = 'Omnis',
  461.                 model = 'omnis',
  462.                 price = 33000,
  463.             },
  464.             {
  465.                 name = 'Kuruma',
  466.                 model = 'kuruma',
  467.                 price = 24000,
  468.             },
  469.             {
  470.                 name = 'Space Monkey Blista',
  471.                 model = 'blista3',
  472.                 price = 25000,
  473.             },
  474.             {
  475.                 name = 'Coquette',
  476.                 model = 'coquette',
  477.                 price = 25000,
  478.             },
  479.             {
  480.                 name = 'Banshee',
  481.                 model = 'banshee',
  482.                 price = 26000,
  483.             },
  484.             {
  485.                 name = '9F',
  486.                 model = 'ninef',
  487.                 price = 26000,
  488.             },
  489.             {
  490.                 name = 'Massacro',
  491.                 model = 'massacro',
  492.                 price = 26000,
  493.             },
  494.             {
  495.                 name = 'Massacro Race car',
  496.                 model = 'massacro2',
  497.                 price = 33000,
  498.             },
  499.             {
  500.                 name = 'Dominator GTX',
  501.                 model = 'dominator3',
  502.                 price = 29000,
  503.             },
  504.             {
  505.                 name = 'Brioso R/A',
  506.                 model = 'brioso',
  507.                 price = 22000,
  508.             },
  509.             {
  510.                 name = 'F620',
  511.                 model = 'f620',
  512.                 price = 23000,
  513.             },
  514.             {
  515.                 name = 'Elegy Classic',
  516.                 model = 'elegy',
  517.                 price = 30000,
  518.             },
  519.             {
  520.                 name = 'Ruston',
  521.                 model = 'ruston',
  522.                 price = 26000,
  523.             },
  524.             {
  525.                 name = 'Flash GT',
  526.                 model = 'flashgt',
  527.                 price = 27000,
  528.             },
  529.             {
  530.                 name = 'Elegy RH8',
  531.                 model = 'elegy2',
  532.                 price = 32000,
  533.             },
  534.         }
  535.     },
  536.     {
  537.         chance = 25,
  538.         trucks = {
  539.             'phantom3'
  540.         },
  541.         npcs = {
  542.             's_m_m_trucker_01'
  543.         },
  544.         passengerChance = 100,
  545.         bulletproofTiresChance = 100,
  546.         vehicleSlotChance = 40,
  547.         supportChance = 100,
  548.         minimumVehicles = 1,
  549.         vehicles = {
  550.             {
  551.                 name = 'Turismo Classic',
  552.                 model = 'turismo2',
  553.                 price = 60000,
  554.             },
  555.             {
  556.                 name = 'JB700W',
  557.                 model = 'jb7002',
  558.                 price = 53000,
  559.             },
  560.             {
  561.                 name = 'Torero',
  562.                 model = 'torero',
  563.                 price = 54000,
  564.             },
  565.             {
  566.                 name = 'Cheburek',
  567.                 model = 'cheburek',
  568.                 price = 15000,
  569.             },
  570.             {
  571.                 name = 'Dynasty',
  572.                 model = 'dynasty',
  573.                 price = 42000,
  574.             },
  575.             {
  576.                 name = 'Monroe',
  577.                 model = 'monroe',
  578.                 price = 40000,
  579.             },
  580.             {
  581.                 name = 'Swinger',
  582.                 model = 'swinger',
  583.                 price = 44000,
  584.             },
  585.             {
  586.                 name = 'Cheetah Classic',
  587.                 model = 'cheetah2',
  588.                 price = 62000,
  589.             },
  590.             {
  591.                 name = 'Infernus Classic',
  592.                 model = 'infernus2',
  593.                 price = 61000,
  594.             },
  595.             {
  596.                 name = 'Rapid GT Classic',
  597.                 model = 'rapidgt3',
  598.                 price = 26000,
  599.             },
  600.             {
  601.                 name = 'Savestra',
  602.                 model = 'savestra',
  603.                 price = 27000,
  604.             },
  605.         }
  606.     },
  607.     {
  608.         chance = 20,
  609.         trucks = {
  610.             'phantom3'
  611.         },
  612.         npcs = {
  613.             's_m_m_trucker_01'
  614.         },
  615.         passengerChance = 100,
  616.         bulletproofTiresChance = 100,
  617.         vehicleSlotChance = 45,
  618.         supportChance = 80,
  619.         minimumVehicles = 1,
  620.         vehicles = {
  621.             {
  622.                 name = 'Comet Safari',
  623.                 model = 'comet4',
  624.                 price = 45000,
  625.             },
  626.             {
  627.                 name = 'Drag Tornado',
  628.                 model = 'tornado6',
  629.                 price = 47000,
  630.             },
  631.             {
  632.                 name = 'Apocalypse Issi',
  633.                 model = 'issi4',
  634.                 price = 37000,
  635.             },
  636.             {
  637.                 name = 'Drift Yosemite',
  638.                 model = 'yosemite2',
  639.                 price = 51000,
  640.             },
  641.             {
  642.                 name = 'Lowrider Primo',
  643.                 model = 'primo2',
  644.                 price = 42000,
  645.             },
  646.             {
  647.                 name = 'JB700',
  648.                 model = 'jb700',
  649.                 price = 58000,
  650.             },
  651.             {
  652.                 name = 'Raptor',
  653.                 model = 'raptor',
  654.                 price = 35000,
  655.             },
  656.         }
  657.     },
  658. }
  659.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement