renzu_customs
FIVEM - 先进而独特的机械调校 Lscustoms lscustoms lscustom是您的服务器,喜欢定制汽车吗?这个免费脚本非常适合您。
定制任何车辆,提供完整升级、涂装、附加功能等。
下载
GitHub - renzuzu/renzu_customs: Advanced FIVEM LSCUSTOMS and Mechanic Upgrades
Advanced FIVEM LSCUSTOMS and Mechanic Upgrades. Contribute to renzuzu/renzu_customs development by creating an account on GitHub.
github.com
原生功能
- 多家机械修理店
- 多作业车间
- 高级作业设置
- 完全可配置的工作折扣设置
- 每个车辆改装的折扣完全可配置设置
- 多种 Mysql 库支持 (mysql-async、ghmatti、oxmysql(soon))
- 与 renzu_jobs 集成(机械师工作钱和升级利润份额)
- 支持几乎所有类型的升级(Mods、Extras、Liverys、Custom Loyals、Paints、RGB Paints 等等)
- 内置车辆属性 Getter 和 Setter
- 菜单内置车辆维修
- 豪华用户界面
- 支持调谐器构建(新 DLC 轮胎、漂移轮胎!)
- 支持所有车库脚本
可选自定义功能
- 定制车辆引擎升级/更换(可配置)
- 自定义涡轮增压器升级 3 种变化预配置(赛车、运动、街道涡轮增压器)(功率可配置,带有自定义 BOV 声音)
- 定制车辆轮胎升级 DRAG、RACING、SPORTS、STREET(可在配置中配置牵引力)
独特的互动车辆升级
- 随时安装和卸载车辆改装件/零件。(可在演示中看到)
- 如果配置支持,车辆部件对象将会携带/显示(例如扰流板道具)
- 内置库存系统用于存储车辆零件。
- 内置车辆库存室,可获取车辆可用零件清单
- 喷雾 Pilox/油漆- 使您能够使用喷雾罐手动喷漆车辆(目前可以)(支持自定义 RGB 颜色,可以在演示中看到)
示例图片:
- 主菜单(所有模组和油漆、化妆品等)
- 手工喷漆
- 储藏室(互动功能)
- 安装单一模块(交互功能)
视频演示
示例配置
配置中很重要
lua:
Config.Mysql = 'mysql-async' -- "ghmattisql", "msyql-async"
Config.usePopui = false -- POPUI or Drawmarker Floating Text
Config.showmarker = true -- Drawmarker and FLoating Text
Config.job = 'mechanic' -- job permmision
Config.PlateSpace = true -- is your plate is ABC 123 format
Config.UseRenzu_jobs = true -- to have a profits for each upgrades
Config.PayoutShare = 0.5 -- 0.5 = 50% (how much profit share)
Config.DefaultProp = 'hei_prop_heist_box' -- default prop when carrying a parts
-- if you want CUSTOM ENGINE UPGRADE ,TURBO and TIRES make sure to true this all
Config.UseCustomTurboUpgrade = true -- use renzu_custom Turbo System -- enable disable custom turbo upgrade
Config.useturbosound = true -- use custom BOV Sound for each turbo
Config.turbosoundSync = true -- true = Server Sync Sound? or false = only the driver can hear it
Config.UseCustomEngineUpgrade = true -- enable disable custom engine upgrade
Config.UseCustomTireUpgrade = true -- enable disable custom tires upgrade
Config.RepairCost = 1500 -- repair cost
高级用法
- SetVehicleProp 导出(setter)
lua:
exports.renzu_customs:SetVehicleProp(vehicle, props) = Save Current Vehicle Props (You need this in your current garage to save and restore custom upgrades (turbo,engine,tires)
- GetVehicleProperties 导出(getter)
lua:
exports.renzu_customs:GetVehicleProperties(vehicle) -- return Current Vehicle Props Similar to ESX GAME VEHICLE PROPS (but this return custom upgrades)
- GetVehicleEngine 导出 (getter)
lua:
exports.renzu_customs:GetVehicleEngine(vehicle) = return current Vehicle Custom Engine
- GetVehicleTurbo 导出 (getter)
lua:
exports.renzu_customs:GetVehicleTurbo(vehicle) = return current Vehicle Turbo Upgrade
- SetVehicleTurbo 导出(设置器)
lua:
exports.renzu_customs:SetVehicleTurbo(vehicle, turbo) = Change Custom Vehicle Turbo Upgrade (entity, (Sports,Street,Racing,Default))
- 设置车辆引擎导出(设置器)
lua:
exports.renzu_customs:SetVehicleEngine(vehicle, engine) = Change Custom Vehicle Engine Upgrade (entity, (adder,elegy,fmj,Default))
- SetVehicleHandlingSpec 导出(设置器)
lua:
exports.renzu_customs:SetVehicleHandlingSpec(vehicle,model) = Change Current Vehicle Handling (or Copy Other Vehicle Model Handling) (model can be hash or modelname)
- GetHandlingfromModel 导出(getter)
lua:
exports.renzu_customs:GetHandlingfromModel(model) = return the current Vehicle Model Specs
example:
local table = {
['fDriveInertia'] = tonumber(v.DriveInertia),
['nInitialDriveGears'] = tonumber(v.InitialDriveGears),
['fInitialDriveForce'] = tonumber(v.InitialDriveForce),
['fClutchChangeRateScaleUpShift'] = tonumber(v.ClutchChangeRateScaleUpShift),
['fClutchChangeRateScaleDownShift'] = tonumber(v.ClutchChangeRateScaleDownShift),
['fInitialDriveMaxFlatVel'] = tonumber(v.InitialDriveMaxFlatVel),
['fMass'] = tonumber(v.Mass),
--TIRE
['fLowSpeedTractionLossMult'] = tonumber(v.LowSpeedTractionLossMult),
['fTractionLossMult'] = tonumber(v.TractionLossMult),
['fTractionCurveMin'] = tonumber(v.TractionCurveMin),
['fTractionCurveMax'] = tonumber(v.TractionCurveMax),
['fTractionCurveLateral'] = tonumber(v.TractionCurveLateral),
}
依赖
免责声明
- 交互式升级功能目前正在开发中
- 脚本是原样的,如果您自定义并破坏了它,我将不会提供支持,如果您遇到错误,我将不会提供支持,因为您缺少重要的依赖项。
- 安装所有依赖项以测试脚本非常重要,并且在脚本稳定后对其进行修改并更改依赖项(如通知和其他依赖项)。
- 也请阅读配置,我已为所有重要部分插入注释,以便您轻松理解脚本
- 如果你需要改进请求或者发现了错误,请打开 Github Issue
- 通过 PM 或 Github 问题页面提供支持(首选)
- DEMO 中使用的自定义地图是[免费] [MLO] Tuner Auto Shop(谢谢)@kiiya