新服装

新增 10 件服装,可生成任意颜色,并可在商人处重新染色;护臂套和节日帽也会随机变色。多人模式兼容。需要 BepInEx 和 RshLib;作者还建议安装 Wearable Array。

0浏览
0下载点击
0点赞
0收藏

关于这个 Mod

新服装

提供俄语翻译:俄语说明

功能

新增 10 件服装,可生成任意颜色,也可以在商人处重新染色。护臂套和节日帽也会随机变色。

多人模式状态:兼容。

新增服装包括:衬衫(不同于破损衬衫)、T 恤、短款衬衫、短款 T 恤、过膝袜、牛仔裤、短裤、袜子、靴子和长衬衫。牛仔裤和短裤带有小口袋,可存放物品。

生成服装时,可在名称末尾添加 $<HEX CODE OF COLOR> 指定颜色,例如:spawn armwarmers$F09000。

也可通过编辑 .json 文件添加自定义服装。

控制台命令

  • nc_reloadregistry:注销所有 NewClothing 物品,再从 NewClothing/ 文件夹注册物品。可在游戏中使用,但会移除旧物品;如果你是主机,游戏会快速发送数据包,以重新创建本地缺失的物品。
  • nc_downloadfromhost:删除本地 NewClothing 文件夹,从主机下载文件夹,然后运行 nc_reloadregistry。

例如,加入一个有自定义服装的服务器、但本地未安装对应服装时,可以运行下载命令来加载并注册这些服装。

安装

首次安装 BepInEx 的玩家

  1. 前往 BepInEx 下载页面:

    https://github.com/BepInEx/BepInEx/releases/tag/v

  2. 下载 BepInEx_win_x64_5.4.23.5。

  3. 在 Steam 中选择浏览本地文件,将 BepInEx 文件解压到游戏根目录;winhttp.dll 应与游戏可执行文件位于同一目录。

  4. 启动并关闭游戏一次,以创建 BepInEx/plugins 文件夹。

Linux 用户还需在启动参数中添加:

WINEDLLOVERRIDES="winhttp=n,b" %command%

下载并解压 RshLib.3.0.0 到 BepInEx/plugins(如果此前尚未安装)。顶部显示“This is a modded beta build”即可用于确认 RshLib 已加载。

下载 NewClothing 并解压到 BepInEx/plugins。

作者还建议安装 Wearable Array,以避免可穿戴物品超出屏幕范围。

自定义服装 JSON 字段说明

以下为原文提供的字段示例及注释:

{
  "baseItem": "string",
  "notWearable": false,
  "notPaintable": false,
  "limbs": ["string"],
  "fullname": "string",
  "description": "string",
  "category": "string",
  "decayMinutes": 0.0,
  "scaleWeight": false,
  "weight": 0.0,
  "desiredWearLimb": "string",
  "wearSlotId": "string",
  "wearableIsolation": 0.0,
  "wearableArmor": 0.0,
  "wearableHitDurabilityLossMultiplier": 0.0,
  "wearableVisualOffset": 0,
  "rippableAmount": 0,
  "value": 0,
  "recognition": 0,
  "decayInfo": 6,
  "isBulletproof": false,
  "container": false,
  "maxWeight": 0.0,
  "maxWeightPerItem": 0.0,
  "encumberanceMult": 0.0,
  "itemsVisible": false,
  "tagRestriction": ["string"],
  "weightReduction": false,
  "weightReductionSelf": -0.0,
  "maxBatterySize": 0,
  "explodeAtZero": false,
  "bottle": false,
  "liquidCapacity": 0.0,
  "defaultLiquid": "string",
  "autoFill": "string",
  "fillmentSpritesPath": "string",
  "drinkAmount": 0.0,
  "autoZoomBehaviour": false,
  "climbingClawsBehaviour": false,
  "headlampBehaviour": false,
  "scubaGearBehaviour": false
}

原文注释:baseItem 仅限高级用户使用,只能填写原版物品;不确定时请删除。notWearable 用于非可穿戴物品;notPaintable 允许使用 FF00FF。limbs 填写受服装影响的肢体(不含 desiredWearLimb);fullname 和 description 分别是显示名称和说明。category 可为 utility(可作为实用物品掉落)、custom(仅限商人)或 unobtainable(仅限控制台命令)。decayMinutes 设为 0 表示不腐坏。

desiredWearLimb 是主要穿戴肢体;肢体缺失会阻止穿戴。若不可穿戴,该字段仅用于定义文件名。相同 wearSlotId 的可穿戴物品不能同时穿戴。wearableIsolation 是保暖值,乘以 100 为百分比,且不受 limbs 影响;wearableArmor 是对主肢体及 limbs 提供的护甲值,乘以 100 为百分比。wearableHitDurabilityLossMultiplier 控制服装受击时的耐久损耗倍率;wearableVisualOffset 数值越低,视觉上越靠下。

isBulletproof 供 New Firearms 1.5.0 及更高版本使用,没有 New Firearms 时无效。container 与 bottle 冲突;weightReduction 需要 container。weightReductionSelf 在启用时会加到当前负重值上。maxBatterySize 非 0 时表示服装由电池供电:1 为小型、2 为中型、3 为大型。explodeAtZero 表示耐久低于 0.5% 时可能爆炸;若由电池供电,还必须装有电池。drinkAmount 是不可穿戴物品使用时的饮用量(毫升)。climbingClawsBehaviour 表示攀爬爪在墙面跳跃时不会消耗耐久。

致谢

感谢 Killer Tamashi。

来源与文件

  • 原作者:RushellXYZ
  • 原项目:New Clothing
  • 文件:Source code(ID:2288)
  • 来源上传者:7432547877542Al

文件说明

Source code for the mod

前往 N 网打开所选文件。安装与下载要求以原作者及平台说明为准。

<!-- aoe-mods-source:nexusmods:scavprototype:43 -->