Guest User

KQ Car Heist 1.0.1 Default Config

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