Toyota 发表于 2024-8-26 19:56:37

翻译成中文,保留源代码


Config.Tuning = {
--
-- ENGINE SWAPS
-- You can customise, or add new engine swap options here.
--
engineSwaps = {
    [1] = {
      name = "I4发动机2.5L",
      icon = "engine.svg",
      info = "A twin-turbo charged 2.5L engine. Can reach speeds of up to 100mph!",
      itemName = "i4_engine",
      price = 30000,
      audioNameHash = "sultan2",
      handlingOverwritesValues = true,
      handlingApplyOrder = 1,
      handling = {
      fInitialDriveForce = 0.25,
      fDriveInertia = 1.0,
      fInitialDriveMaxFlatVel = 130.0,
      fClutchChangeRateScaleUpShift = 4.0,
      fClutchChangeRateScaleDownShift = 3.0
      },
      restricted = "combustion",
    },
    [2] = {
      name = "V6发动机3.3L",
      icon = "engine.svg",
      audioNameHash = "comet4",
      info = "Tuned V6 engine - capable of speeds up to 120mph.",
      itemName = "v6_engine",
      price = 45000,
      handlingOverwritesValues = true,
      handlingApplyOrder = 1,
      handling = {
      fInitialDriveForce = 0.35,
      fDriveInertia = 1.0,
      fInitialDriveMaxFlatVel = 145.0,
      fClutchChangeRateScaleUpShift = 5.0,
      fClutchChangeRateScaleDownShift = 4.0
      },
      restricted = "combustion",
    },
    [3] = {
      name = "V8发动机6.5L",
      icon = "engine.svg",
      info = "Naturally aspirated 6.5L V8. Has awesome backfires and a crackling sound as you let off the gas. Sure to impress.",
      itemName = "v8_engine",
      price = 65000,
      audioNameHash = "jugular",
      handlingOverwritesValues = true,
      handlingApplyOrder = 1,
      handling = {
      fInitialDriveForce = 0.45,
      fDriveInertia = 1.0,
      fInitialDriveMaxFlatVel = 160.0,
      fClutchChangeRateScaleUpShift = 7.0,
      fClutchChangeRateScaleDownShift = 6.0
      },
      restricted = "combustion",
    },
    [4] = {
      name = "V12发动机6.0L",
      icon = "engine.svg",
      info = "A huge 6L V12 monster. Can reach speeds of over 130mph, be realistic and only put this in vehicles that could realistically fit a V12.",
      itemName = "v12_engine",
      price = 80000,
      audioNameHash = "schafter3",
      handlingOverwritesValues = true,
      handlingApplyOrder = 1,
      handling = {
      fInitialDriveForce = 0.5,
      fDriveInertia = 1.0,
      fInitialDriveMaxFlatVel = 180.0,
      fClutchChangeRateScaleUpShift = 6.0,
      fClutchChangeRateScaleDownShift = 5.0
      },
      restricted = "combustion",
      blacklist = {"panto"} -- Example of the blacklist feature - feel free to remove this (it couldn't fit a v12 though man, come on)
    }
},

--
-- TYRES
-- You can customise, or add new tyre options here.
--
tyres = {
    [1] = {
      name = "光头胎",
      icon = "wheels/offroad.svg",
      info = false,
      itemName = "slick_tyres",
      price = 25000,
      handlingOverwritesValues = true,
      handlingApplyOrder = 2,
      handling = {
      fTractionCurveMin = 2.8,
      fTractionCurveMax = 3.0
      },
    },
    [2] = {
      name = "半光头胎",
      icon = "wheels/offroad.svg",
      info = false,
      itemName = "semi_slick_tyres",
      price = 25000,
      handlingOverwritesValues = true,
      handlingApplyOrder = 2,
      handling = {
      fTractionCurveMin = 2.4,
      fTractionCurveMax = 2.6
      },
    },
    [3] = {
      name = "越野轮胎",
      icon = "wheels/offroad.svg",
      info = false,
      itemName = "offroad_tyres",
      price = 25000,
      handlingOverwritesValues = true,
      handlingApplyOrder = 2,
      handling = {
      fTractionLossMult = 0.0
      },
    }
},

--
-- BRAKES
-- You can customise, or add new tyre options here.
--
brakes = {
    [1] = {
      name = "陶瓷刹车",
      icon = "brakes.svg",
      info = "Powerful brakes with an immense stopping power",
      itemName = "ceramic_brakes",
      price = 25000,
      handlingOverwritesValues = true,
      handlingApplyOrder = 3,
      handling = {
      fBrakeForce = 1.5
      },
    }
},

--
-- DRIVETRAINS
-- You can customise, or add new drivetain options here.
--
drivetrains = {
    [1] = {
      name = "全轮驱动系统",
      icon = "drivetrain.svg",
      info = false,
      itemName = "awd_drivetrain",
      price = 50000,
      handlingOverwritesValues = true,
      handlingApplyOrder = 4,
      handling = {
      fDriveBiasFront = 0.5
      },
    },
    [2] = {
      name = "后轮驱动系统",
      icon = "drivetrain.svg",
      info = false,
      itemName = "rwd_drivetrain",
      price = 50000,
      handlingOverwritesValues = true,
      handlingApplyOrder = 4,
      handling = {
      fDriveBiasFront = 0.0
      },
    },
    [3] = {
      name = "前轮驱动系统",
      icon = "drivetrain.svg",
      info = false,
      itemName = "fwd_drivetrain",
      price = 50000,
      handlingOverwritesValues = true,
      handlingApplyOrder = 4,
      handling = {
      fDriveBiasFront = 1.0
      },
    }
},

--
-- TURBOCHARGING
-- Note: This category is unique as it just enables/disables mod 18 (the standard GTA turbocharging option)
-- You can't add additional turbocharging options, you can only adjust/remove the existing one.
-- You can't add any handling changes. Make new items/other categories for that.
--
turbocharging = {
    [1] = {
      name = "涡轮增压",
      icon = "turbo.svg",
      info = false,
      itemName = "turbocharger",
      price = 35000,
      restricted = "combustion",
    }
},

--
-- DRIFT TUNING
-- You can't add additional drift tuning options, you can only adjust/remove the existing one.
--
driftTuning = {
    [1] = {
      name = "Drift Tuning",
      icon = "wheels/tuner.svg",
      info = false,
      itemName = "drift_tuning_kit",
      price = 25000,
      handlingOverwritesValues = true,
      handlingApplyOrder = 5,
      handling = {
      fInitialDragCoeff = 12.22,
      fInitialDriveForce = 3.0,
      fInitialDriveMaxFlatVel = 155.0,
      fSteeringLock = 58.0,
      fTractionCurveMax = 0.6,
      fTractionCurveMin = 1.3,
      fTractionCurveLateral = 21.0,
      fLowSpeedTractionLossMult = 0.5,
      fTractionBiasFront = 0.49
      },
    }
},

--
-- EXAMPLE CUSTOM NEW CATEGORY
--
-- ["Transmissions"] = {
--    = {
--   name = "8 speed transmission",
--   icon = "transmission.svg",
--   info = "Testing making a new category",
--   itemName = "transmission",
--   price = 1000,
--   handlingOverwritesValues = true,
--   handling = {
--       nInitialDriveGears = 8
--   },
--   restricted = false,
--   }
-- }
--
-- -- IMPORTANT NOTE --
-- inside of the config.lua, inside of a mechanic location's "tuning" section, you will need to add an
-- additional line in order for it to show & be enabled in the tablet
--
-- ["Transmissions"] = { enabled = true, requiresItem = false },
}


ChatGPT 发表于 2024-8-26 19:57:04

Config.Tuning = {
--
-- 发动机更换
-- 您可以在此自定义或添加新的发动机更换选项。
--
engineSwaps = {
    = {
      name = "I4发动机2.5L",
      icon = "engine.svg",
      info = "一款双涡轮增压的2.5L发动机。最高可达100mph的速度!",
      itemName = "i4_engine",
      price = 30000,
      audioNameHash = "sultan2",
      handlingOverwritesValues = true,
      handlingApplyOrder = 1,
      handling = {
      fInitialDriveForce = 0.25,
      fDriveInertia = 1.0,
      fInitialDriveMaxFlatVel = 130.0,
      fClutchChangeRateScaleUpShift = 4.0,
      fClutchChangeRateScaleDownShift = 3.0
      },
      restricted = "combustion",
    },
    = {
      name = "V6发动机3.3L",
      icon = "engine.svg",
      audioNameHash = "comet4",
      info = "调校过的V6发动机 - 最高可达120mph的速度。",
      itemName = "v6_engine",
      price = 45000,
      handlingOverwritesValues = true,
      handlingApplyOrder = 1,
      handling = {
      fInitialDriveForce = 0.35,
      fDriveInertia = 1.0,
      fInitialDriveMaxFlatVel = 145.0,
      fClutchChangeRateScaleUpShift = 5.0,
      fClutchChangeRateScaleDownShift = 4.0
      },
      restricted = "combustion",
    },
    = {
      name = "V8发动机6.5L",
      icon = "engine.svg",
      info = "自然吸气的6.5L V8发动机。放油门时会有惊人的回火声和噼啪声,绝对令人印象深刻。",
      itemName = "v8_engine",
      price = 65000,
      audioNameHash = "jugular",
      handlingOverwritesValues = true,
      handlingApplyOrder = 1,
      handling = {
      fInitialDriveForce = 0.45,
      fDriveInertia = 1.0,
      fInitialDriveMaxFlatVel = 160.0,
      fClutchChangeRateScaleUpShift = 7.0,
      fClutchChangeRateScaleDownShift = 6.0
      },
      restricted = "combustion",
    },
    = {
      name = "V12发动机6.0L",
      icon = "engine.svg",
      info = "一款巨大的6L V12怪兽。最高可达130mph的速度,务必真实地只将其放入能够实际容纳V12的车辆中。",
      itemName = "v12_engine",
      price = 80000,
      audioNameHash = "schafter3",
      handlingOverwritesValues = true,
      handlingApplyOrder = 1,
      handling = {
      fInitialDriveForce = 0.5,
      fDriveInertia = 1.0,
      fInitialDriveMaxFlatVel = 180.0,
      fClutchChangeRateScaleUpShift = 6.0,
      fClutchChangeRateScaleDownShift = 5.0
      },
      restricted = "combustion",
      blacklist = {"panto"} -- 黑名单功能示例 - 可以随意删除(不过这辆车放不下V12,拜托)
    }
},

--
-- 轮胎
-- 您可以在此自定义或添加新的轮胎选项。
--
tyres = {
    = {
      name = "光头胎",
      icon = "wheels/offroad.svg",
      info = false,
      itemName = "slick_tyres",
      price = 25000,
      handlingOverwritesValues = true,
      handlingApplyOrder = 2,
      handling = {
      fTractionCurveMin = 2.8,
      fTractionCurveMax = 3.0
      },
    },
    = {
      name = "半光头胎",
      icon = "wheels/offroad.svg",
      info = false,
      itemName = "semi_slick_tyres",
      price = 25000,
      handlingOverwritesValues = true,
      handlingApplyOrder = 2,
      handling = {
      fTractionCurveMin = 2.4,
      fTractionCurveMax = 2.6
      },
    },
    = {
      name = "越野轮胎",
      icon = "wheels/offroad.svg",
      info = false,
      itemName = "offroad_tyres",
      price = 25000,
      handlingOverwritesValues = true,
      handlingApplyOrder = 2,
      handling = {
      fTractionLossMult = 0.0
      },
    }
},

--
-- 刹车
-- 您可以在此自定义或添加新的刹车选项。
--
brakes = {
    = {
      name = "陶瓷刹车",
      icon = "brakes.svg",
      info = "强大的刹车,具有巨大的制动能力",
      itemName = "ceramic_brakes",
      price = 25000,
      handlingOverwritesValues = true,
      handlingApplyOrder = 3,
      handling = {
      fBrakeForce = 1.5
      },
    }
},

--
-- 驱动系统
-- 您可以在此自定义或添加新的驱动系统选项。
--
drivetrains = {
    = {
      name = "全轮驱动系统",
      icon = "drivetrain.svg",
      info = false,
      itemName = "awd_drivetrain",
      price = 50000,
      handlingOverwritesValues = true,
      handlingApplyOrder = 4,
      handling = {
      fDriveBiasFront = 0.5
      },
    },
    = {
      name = "后轮驱动系统",
      icon = "drivetrain.svg",
      info = false,
      itemName = "rwd_drivetrain",
      price = 50000,
      handlingOverwritesValues = true,
      handlingApplyOrder = 4,
      handling = {
      fDriveBiasFront = 0.0
      },
    },
    = {
      name = "前轮驱动系统",
      icon = "drivetrain.svg",
      info = false,
      itemName = "fwd_drivetrain",
      price = 50000,
      handlingOverwritesValues = true,
      handlingApplyOrder = 4,
      handling = {
      fDriveBiasFront = 1.0
      },
    }
},

--
-- 涡轮增压
-- 注意:此类别是独特的,因为它仅启用/禁用mod 18(标准GTA涡轮增压选项)
-- 您无法添加额外的涡轮增压选项,只能调整/删除现有选项。
-- 您无法添加任何处理更改。为此创建新的项目/其他类别。
--
turbocharging = {
    = {
      name = "涡轮增压",
      icon = "turbo.svg",
      info = false,
      itemName = "turbocharger",
      price = 35000,
      restricted = "combustion",
    }
},

--
-- 漂移调校
-- 您无法添加额外的漂移调校选项,只能调整/删除现有选项。
--
driftTuning = {
    = {
      name = "漂移调校",
      icon = "wheels/tuner.svg",
      info = false,
      itemName = "drift_tuning_kit",
      price = 25000,
      handlingOverwritesValues = true,
      handlingApplyOrder = 5,
      handling = {
      fInitialDragCoeff = 12.22,
      fInitialDriveForce = 3.0,
      fInitialDriveMaxFlatVel = 155.0,
      fSteeringLock = 58.0,
      fTractionCurveMax = 0.6,
      fTractionCurveMin = 1.3,
      fTractionCurveLateral = 21.0,
      fLowSpeedTractionLossMult = 0.5,
      fTractionBiasFront = 0.49
      },
    }
},

--
-- 示例自定义新类别
--
--= {
--    = {
--   name = "8速变速器",
--   icon = "transmission.svg",
--   info = "测试创建新类别",
--   itemName = "transmission",
--   price = 1000,
--   handlingOverwritesValues = true,
--   handling = {
--       nInitialDriveGears = 8
--   },
--   restricted = false,
--   }
-- }
--
-- -- 重要说明 --
-- 在config.lua中,在机械师位置的“调校”部分,您需要添加一行
-- 以便在平板电脑中显示并启用它
--
--= { enabled = true, requiresItem = false },
}
页: [1]
查看完整版本: 翻译成中文,保留源代码