赴爱 发表于 2025-6-16 01:11:52

汉化


-- 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,
}



ChatGPT 发表于 2025-6-16 01:12:37


-- renzu_tuners
config = {}
-- 调试模式 -- 保存所有车辆,包括非拥有的车辆
config.debug = true -- 启用开发命令。/sethandling 100 (0-100),/setfuel 100 (0-100),/setmileage 1000 (0,10000) !! 请注意,这不进行权限检查
config.sandboxmode = false -- 不同调校,无降级和其他内容。主要用于尝试调整车辆处理元数据。
config.freeupgrade = true -- 升级设置。设为true最适合独立使用或测试,对于角色扮演,请使用制作/工作管理金币。如果设为false,菜单将要求您为每个升级提供特定物品
config.metadata = false -- 在制作物品时使用物品元数据(如果使用ox_inventory)。如果您的库存不支持,请设置为false。

config.job = { -- 如果您希望所有功能可被任何玩家访问,则设置为false(config.job = false),否则设置为true,要求有工作才能使用维修和升级菜单,动力测功机 -- 工作访问菜单升级和积分,例如:mechanic,tuner?
    ['mechanic'] = 1, -- @工作名称 -- @等级
    ['tuners'] = 1, -- @工作名称 -- @等级
}

config.usetarget = true -- 如果为false,请配置点坐标 -- 仅支持ox_target,qtarget,qb-target
config.enablepackage = true -- 轻松安装所有升级变种。例如:全面升级所有赛车部件。这将在一个包中为每个变体安装所有内容。如果itemrequired为true,则每个升级都需要物品
config.upgradepackageAnimation = false -- 为包中的每个升级执行动画

config.upgradevariation = { -- 启用/禁用升级变种。
    ['elite'] = true,
    ['pro'] = true,
    ['racing'] = true,
    ['ultimate'] = true,
}

config.enablecrafting = true -- 材料和零件、涡轮、发动机等的制作。
config.purchasableUpgrade = false -- 不喜欢基于制作/物品的?将此设置为true以使用金币进行所有物品升级
config.jobmanagemoney = false -- 在可购买升级时使用工作金币。例如:esx_society,qb-management

config.nosaveplate = { -- 除非调试,否则不保存此车牌模式
    ['CFX'] = true,
    ['RENT'] = true,
    ['ESX'] = true,
}

config.enableDegration = true -- 启用/禁用发动机部件降级
config.degrade = { -- 当达到特定里程值时的降级值
    = { min = 50000, degrade = 0.9},
    = { min = 20000, degrade = 0.8},
    = { min = 10000, degrade = 0.75},
    = { min = 5000, degrade = 0.65},
    = { min = 3000, degrade = 0.55},
    = { min = 2000, degrade = 0.45},
    = { min = 1500, degrade = 0.35},
    = { min = 1000, degrade = 0.25},
    = { min = 500, degrade = 0.15},
    = { min = 100, degrade = 0.11},
    = { min = 1, degrade = 0.01},
}
config.chancedegrade = 2 -- 每次降级功能运行的2%几率
config.chancedegradenitro = 11 -- 7%
config.degradetick = 3000 -- 每3秒在车内时触发

-- 点位
config.engineswapper = {
    coords = {
       = vec4(-325.60,-139.27,39.00,74.43)
    },
    label = '发动机交换',
    model = `prop_engine_hoist`,
}

config.enablemarkers = true -- 标记点
config.points = { -- 标记和绘制文本类型的交互
    = {label = '升级车辆', coord = vec3(-323.3034362793,-131.25146484375,38.210)},
    -- 在这里添加新的点
}

config.repairpoints = { -- 标记和绘制文本类型的交互
    = {label = '修理车辆', coord = vec3(-341.18142700195,-129.10722351074,38.53271)},
}

config.useMlo = false -- 如果您正在使用MLO,则设置为true,且无需生成动力测功机道具
config.dynoprop = `mist_dyno` -- 替换为您的测功机道具或保留默认
config.dynopropShow = true -- 如果您的MLO有DYNO区域则设置为false,但仍需设置道具的坐标以确保测功机逻辑正常
config.dynocollision = true -- 如果您正在使用测功机道具,则设置为true
config.routingbucket = 0 -- 如果您没有使用自定义路由桶,请保留默认
config.dynopoints = { -- @platform = 道具的确切位置。@coord 测功机访问的标记位置
    -- 洛杉矶东部汽车定制示例放置
    = {
      label = "Dynojet",
      platform = vec4(-360.3323, -112.5015, 38.9845, 158.4727+180), -- 车辆对齐的位置
      offsets = vec3(0.2,0.0,0.0), -- 额外的(+)偏移到车辆装配
      coord = vec3(-362.3821, -117.6957, 39.083) -- 交互的位置
    },
    -- benny示例放置
    = {
      label = "Dynojet",
      platform = vec4(-214.057, -1319.63, 31.15, 1.93), -- 车辆对齐的位置
      offsets = vec3(0.0,0.2,0.0), -- 额外的(+)偏移到车辆装配
      coord = vec3(-213.894, -1324.475, 30.909) -- 交互的位置
    }
}

config.enginestat_default = { -- 默认发动机状态。请勿编辑,此项用于调校计算逻辑
    compression = 100.0,
    airpressure = 100.0,
    fuelpressure = 100.0,
    ignition = 100.0,
}

以上代码已经完成了相应的中文注释翻译。
页: [1]
查看完整版本: 汉化