-- renzu_tuners
config = {}
-- debug mode -- saves all vehicle including non owned vehicles
config.debug = true -- enable commands for dev. /sethandling 100 (0-100), /setfuel 100 (0-100), /setmileage 1000 (0,10000) !! note this does not have permission checks
config.sandboxmode = false -- different tuning and no degrations and other stuff. mostly used only when trying to tweak a vehicle handling meta in dyno.
config.freeupgrade = true -- for upgrades. set to true best for standalone purpose or testing purpose, for roleplay use the crafting/jobmanage money. if false menu will requires you a specific item for each upgrades
config.metadata = false -- use item metadata when crafting items if ox_inventory. if your inventory does not support it, set this to false.
config.job = { -- set to false (config.job = false) if you want all feature are accesible by any player, or true, required job to use repairs and upgrade menu, dyno -- job access for menu upgrade and points. ex. mechanic, tuner?
['mechanic'] = 1, -- @jobname -- @grade_level
['tuners'] = 1, -- @jobname -- @grade_level
}
config.usetarget = true -- if false, please configure the points config -- supports ox_target,qtarget,qb-target only
config.enablepackage = true -- easy install all upgrade variants. ex. Full Upgrade all Racing Parts. this will install all in one package for each variants. each upgrades requires item if itemrequired is true
config.upgradepackageAnimation = false -- do animation for each upgrades in package
config.upgradevariation = { -- enable/disable upgrade variation.
['elite'] = true,
['pro'] = true,
['racing'] = true,
['ultimate'] = true,
}
config.enablecrafting = true -- crafting for items and parts,turbo, engine etc..
config.purchasableUpgrade = false -- dont like crafting / item based? set this to true to use money to all item upgrades
config.jobmanagemoney = false -- use job money if purchasableUpgrade. ex. esx_society, qb-management
config.nosaveplate = { -- dont save this plate pattern unless debuging
['CFX'] = true,
['RENT'] = true,
['ESX'] = true,
}
config.enableDegration = true -- enable / disable degration of engine parts
config.degrade = { -- degrade value when specific mileage value is reach
[1] = { min = 50000, degrade = 0.9},
[2] = { min = 20000, degrade = 0.8},
[3] = { min = 10000, degrade = 0.75},
[4] = { min = 5000, degrade = 0.65},
[5] = { min = 3000, degrade = 0.55},
[6] = { min = 2000, degrade = 0.45},
[7] = { min = 1500, degrade = 0.35},
[8] = { min = 1000, degrade = 0.25},
[9] = { min = 500, degrade = 0.15},
[10] = { min = 100, degrade = 0.11},
[11] = { min = 1, degrade = 0.01},
}
config.chancedegrade = 2 -- 2% chance per degrade function run
config.chancedegradenitro = 11 -- 7%
config.degradetick = 3000 -- every 3 seconds when in vehicle
-- points
config.engineswapper = {
coords = {
[1] = vec4(-325.60,-139.27,39.00,74.43)
},
label = 'Engine Swap',
model = `prop_engine_hoist`,
}
config.enablemarkers = true -- markers points
config.points = { -- marker and drawtext type interactions
[1] = {label = 'Upgrade Vehicle', coord = vec3(-323.3034362793,-131.25146484375,38.210)},
-- add new here
}
config.repairpoints = { -- marker and drawtext type interactions
[1] = {label = 'Repair Vehicle', coord = vec3(-341.18142700195,-129.10722351074,38.53271)},
}
config.useMlo = false -- set to true if your using MLO and there will be no need to spawn Dynamometer prop
config.dynoprop = `mist_dyno` -- replace with your dyno prop or leave default
config.dynopropShow = true -- set to false if your MLO has a DYNO area.. but setting up the coordinates for prop is still require to make the dyno logic work.
config.dynocollision = true -- set to true if your using dynamometer prop
config.routingbucket = 0 -- leave default if your not using custom routing buckets
config.dynopoints = { -- @platform = exact location of prop. @coord marker location of dyno access
-- east lost santos customs sample placement
[1] = {
label = "Dynojet",
platform = vec4(-360.3323, -112.5015, 38.9845, 158.4727+180), -- location of dyno position where vehicle will align
offsets = vec3(0.2,0.0,0.0), -- additional (+) offset to vehicle fittings
coord = vec3(-362.3821, -117.6957, 39.083) -- location of Interaction
},
-- benny sample placement
[2] = {
label = "Dynojet",
platform = vec4(-214.057, -1319.63, 31.15, 1.93), -- location of dyno position where vehicle will align
offsets = vec3(0.0,0.2,0.0), -- additional (+) offset to vehicle fittings
coord = vec3(-213.894, -1324.475, 30.909) -- location of Interaction
}
}
config.enginestat_default = { -- default engine stat. do not edit, this is being used in tuning computation logic
compression = 100.0,
airpressure = 100.0,
fuelpressure = 100.0,
ignition = 100.0,
}
|