搜索
开启左侧

[有效回答] 汉化保留原代码

[复制链接]
CrazyGhost 发表于 2024-10-17 08:59:32 | 显示全部楼层 |阅读模式
本帖最后由 CrazyGhost 于 2024-10-17 09:03 编辑


-----------------------------------------------------------------------------------------------------------
-------------------------------------------- VEHICLE TUNING -----------------------------------------------
-----------------------------------------------------------------------------------------------------------
--
-- Here you can create, edit and remove various tuning parts. The changes they make to the handling is all
-- in here, so feel free to modify as you wish. PLEASE bear in mind that if 2 different tuning options
-- modify the same handling values, and are set to overwrite, they could overwrite each other unpredictably
-- Either set the values to NOT overwrite, or make sure that different tuning parts modify unique parts of
-- the handling to prevent undesired results.
--
-- Here is a guide on what different options mean to help you customise your tuning parts.
--
-----------------------------------------------------------------------------------------------------------
--  name                      The name of the modification that will be shown in the tablet.
-----------------------------------------------------------------------------------------------------------
--  info                      Optional, but you can provide additional info that will show in the UI when
--                            clicking the info icon when they are selecting an upgrade. It could be used
--                            to warn mechanics of vehicles an upgrade shouldn't be applied on, or results
--                            from your testing of handling values.
-----------------------------------------------------------------------------------------------------------
--  itemName                  For mechanics set up to use an item for upgrades, this is the name of the
--                            required item.
-----------------------------------------------------------------------------------------------------------
--  price                     For mechanics set up to purchase upgrades, this will be the cost to the
--                            mechanic to apply the upgrade.
-----------------------------------------------------------------------------------------------------------
--  audioNameHash             Any in-game vehicle name, or addon sound pack name (ENGINE SWAPS ONLY!)
-----------------------------------------------------------------------------------------------------------
--  handling                  Add/remove handling attributes & values.
--                            More help & info on handling values: https://gtamods.com/wiki/Handling.meta
-----------------------------------------------------------------------------------------------------------
--  handlingApplyOrder        The order in which this tuning option should be applied. This is useful when
--                            tuning options have overlapping handling values! Provide a priority number,
--                            and the lowest numbers will be applied first.
-----------------------------------------------------------------------------------------------------------
--  handlingOverwritesValues  Whether the handling values provided should overwrite the vehicle's existing
--                            values, or whether they should modify the vehicle's existing values. This
--                            also works for negative values too.
--                           
--                            For example: a vehicle's current fDriveInertia value is at 1.0
--                               true  = a value of 0.5 sets fDriveInertia to 0.5
--                               false = a value of 0.5 will mean [1.0 + 0.5] and set fDriveInertia to 1.5
-----------------------------------------------------------------------------------------------------------
-- restricted (optional)      Can either be false (unrestricted) "electric" or "combustion"
-----------------------------------------------------------------------------------------------------------
-- blacklist                  List of archetype names (spawn codes) that cannot use this modification
-----------------------------------------------------------------------------------------------------------

Config.Tuning = {
  --
  -- ENGINE SWAPS
  -- You can customise, or add new engine swap options here.
  --
  engineSwaps = {
    [1] = {
      name = "I4 Turbo 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 = "Slicks",
      icon = "wheels/offroad.svg",
      info = false,
      itemName = "slick_tyres",
      price = 25000,
      handlingOverwritesValues = true,
      handlingApplyOrder = 2,
      handling = {
        fTractionCurveMin = 2.8,
        fTractionCurveMax = 3.0
      },
    },
    [2] = {
      name = "Semi-slicks",
      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 = "Offroad",
      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 = "Ceramic",
      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 = "AWD",
      icon = "drivetrain.svg",
      info = false,
      itemName = "awd_drivetrain",
      price = 50000,
      handlingOverwritesValues = true,
      handlingApplyOrder = 4,
      handling = {
        fDriveBiasFront = 0.5
      },
    },
    [2] = {
      name = "RWD",
      icon = "drivetrain.svg",
      info = false,
      itemName = "rwd_drivetrain",
      price = 50000,
      handlingOverwritesValues = true,
      handlingApplyOrder = 4,
      handling = {
        fDriveBiasFront = 0.0
      },
    },
    [3] = {
      name = "FWD",
      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 = "Turbocharging",
      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"] = {
  --   [1] = {
  --     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-10-17 09:06:23 | 显示全部楼层
-----------------------------------------------------------------------------------------------------------
-------------------------------------------- VEHICLE TUNING -----------------------------------------------
-----------------------------------------------------------------------------------------------------------
--
-- 在这里,您可以创建、编辑和移除各种调校部件。它们对操控性的修改都在这里,
-- 所以请随意修改。请记住,如果两个不同的调校选项修改了相同的操控值并且设置为
-- 覆盖,它们可能会相互覆盖,导致不可预知的结果。
-- 要么设置值为不覆盖,要么确保不同的调校部件修改操控的唯一部分,以防止意外结果。
--
-- 以下是一些不同选项的含义指导,以帮助您自定义调校部件。
--
-----------------------------------------------------------------------------------------------------------
--  name                      在平板上显示的修改名称。
-----------------------------------------------------------------------------------------------------------
--  info                      可选项,您可以提供额外的信息,当用户点击选择升级的
--                            信息图标时将在UI中显示。可以用于警告车辆机械师
--                            不应应用某项升级,或者是您对操控值测试的结果。
-----------------------------------------------------------------------------------------------------------
--  itemName                  对于需要使用物品进行升级的机械师,这是所需
--                            物品的名称。
-----------------------------------------------------------------------------------------------------------
--  price                     对于需要购买升级的机械师,这将是应用升级的
--                            成本。
-----------------------------------------------------------------------------------------------------------
--  audioNameHash             任何游戏内的车辆名称,或附加的声音包名称(仅限引擎更换!)
-----------------------------------------------------------------------------------------------------------
--  handling                  添加/移除操控属性和数值。
--                            更多关于操控值的帮助与信息: https://gtamods.com/wiki/Handling.meta
-----------------------------------------------------------------------------------------------------------
--  handlingApplyOrder        此调校选项应应用的顺序。在调校选项具有重叠的操控值时非常有用!
--                            提供一个优先级数字,数字越小,优先应用。
-----------------------------------------------------------------------------------------------------------
--  handlingOverwritesValues  提供的操控值是否应覆盖车辆的现有值,或者应修改
--                            车辆的现有值。这也适用于负值。
--                            
--                            例如:车辆当前的 fDriveInertia 值为 1.0
--                               true  = 值 0.5 将 fDriveInertia 设置为 0.5
--                               false = 值 0.5 将 fDriveInertia 设置为 1.5
-----------------------------------------------------------------------------------------------------------
-- restricted (可选)         可以是 false(无限制)或 "electric" 或 "combustion"
-----------------------------------------------------------------------------------------------------------
-- blacklist                  无法使用此修改的原型名称列表(生成代码)
-----------------------------------------------------------------------------------------------------------

Config.Tuning = {
  --
  -- 引擎更换
  -- 您可以在这里自定义或添加新的引擎更换选项。
  --
  engineSwaps = {
    [1] = {
      name = "I4 Turbo 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",
    },
    [2] = {
      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",
    },
    [3] = {
      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",
    },
    [4] = {
      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 = {
    [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 = {
    [1] = {
      name = "陶瓷刹车",
      icon = "brakes.svg",
      info = "强力刹车,具有极大的制动能力",
      itemName = "ceramic_brakes",
      price = 25000,
      handlingOverwritesValues = true,
      handlingApplyOrder = 3,
      handling = {
        fBrakeForce = 1.5
      },
    }
  },

  --
  -- 驱动系统
  -- 您可以在这里自定义或添加新的驱动系统选项。
  --
  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
      },
    }
  },

  --
  -- 涡轮增压
  -- 注意:此类别是唯一的,因为它只是启用/禁用 mod 18(标准GTA涡轮增压选项)
  -- 您无法添加其他涡轮增压选项,只能调整/删除现有的选项。
  -- 您无法添加任何操控变化。为此创建新的物品/其他类别。
  --
  turbocharging = {
    [1] = {
      name = "涡轮增压",
      icon = "turbo.svg",
      info = false,
      itemName = "turbocharger",
      price = 35000,
      restricted = "combustion",
    }
  },

  --
  -- 漂移调校
  -- 您无法添加其他漂移调校选项,只能调整/删除现有的选项。
  --
  driftTuning = {
    [1] = {
      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 },
}
回复

使用道具 举报

ChatGPT 发表于 2024-10-17 09:11:15 | 显示全部楼层
-----------------------------------------------------------------------------------------------------------
-------------------------------------------- VEHICLE TUNING -----------------------------------------------
-----------------------------------------------------------------------------------------------------------
--
-- 在这里你可以创建、编辑和移除各种调音部件。它们对操控的影响都在这里,所以随意修改。请注意,如果两个不同的调音选项修改了相同的操控值,并且设置为覆盖,可能会互相覆盖,导致不可预测的结果。
-- 要么设置值为不覆盖,要么确保不同的调音部件修改独特的操控部分,以防止不良结果。
--
-- 以下是不同选项含义的指南,以帮助你定制调音部件。
--
-----------------------------------------------------------------------------------------------------------
--  name                      修改的名称,将显示在平板上。
-----------------------------------------------------------------------------------------------------------
--  info                      可选,但你可以提供额外信息,当在选择升级时点击信息图标时会显示在UI中。它可以用来警告机械师某些升级不应应用于某些车辆,或者来自你对操控值的测试结果。
-----------------------------------------------------------------------------------------------------------
--  itemName                  对于已设置使用物品进行升级的机械师,这是所需物品的名称。
-----------------------------------------------------------------------------------------------------------
--  price                     对于设置购买升级的机械师,这将是应用升级的费用。
-----------------------------------------------------------------------------------------------------------
--  audioNameHash             任意游戏内车辆名称或附加音效包名称(仅限引擎更换!)
-----------------------------------------------------------------------------------------------------------
--  handling                  添加/移除操控属性和数值。
--                            更多帮助和信息请参见操控值文档:https://gtamods.com/wiki/Handling.meta
-----------------------------------------------------------------------------------------------------------
--  handlingApplyOrder        该调音选项应应用的顺序。这在调音选项有重叠操控值时非常有用!提供优先级编号,数字越小的将首先应用。
-----------------------------------------------------------------------------------------------------------
--  handlingOverwritesValues   是否应覆盖车辆现有的操控值,或者它们应该修改车辆的现有值。这同样适用于负值。
--
--                            例如:车辆当前的 fDriveInertia 值为 1.0
--                               true  = 值 0.5 设置 fDriveInertia 为 0.5
--                               false = 值 0.5 将使 fDriveInertia 设置为 1.5
-----------------------------------------------------------------------------------------------------------
-- restricted (optional)      可以是 false(无限制)"electric" 或 "combustion"
-----------------------------------------------------------------------------------------------------------
-- blacklist                  无法使用此修改的原型名称列表(生成代码)
-----------------------------------------------------------------------------------------------------------

Config.Tuning = {
  --
  -- 引擎更换
  -- 你可以在这里自定义或添加新的引擎更换选项。
  --
  engineSwaps = {
    [1] = {
      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",
    },
    [2] = {
      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",
    },
    [3] = {
      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",
    },
    [4] = {
      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 = {
    [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 = {
    [1] = {
      name = "陶瓷刹车",
      icon = "brakes.svg",
      info = "强大的刹车,具有极大的制动能力",
      itemName = "ceramic_brakes",
      price = 25000,
      handlingOverwritesValues = true,
      handlingApplyOrder = 3,
      handling = {
        fBrakeForce = 1.5
      },
    }
  },

  --
  -- 驱动系统
  -- 你可以在这里自定义或添加新的驱动系统选项。
  --
  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
      },
    }
  },

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

  --
  -- 漂移调校
  -- 你无法添加额外的漂移调校选项,只能调整/移除现有的。
  --
  driftTuning = {
    [1] = {
      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 },
}
回复

使用道具 举报

文明发言,和谐互动
文明发言,和谐互动
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|首页 ( 冀ICP备2021005225号-1 ) |网站地图

GMT+8, 2025-2-9 01:45 , Processed in 0.096201 second(s), 9 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

© 2001-2013 ELITE论坛【技术无价-分享快乐】

快速回复 返回顶部 返回列表