武器切换 - 按拼音循环主武器

武器切换 - 按拼音循环主武器

按 < > 用武器中文名拼音顺序循环切换主武器(25 把全遍历,可回绕);目标在副手则直接与主手交换,不在装备栏则自动换装进副手槽。不走技能链路、切换前重置冷却,因此不受入战状态限制。F2 一键恢复原始装备。

Weapon Swap — 按中文名拼音循环切换主武器(Phantom Blade Zero)

功能

  • 键盘 < 上一把、> 下一把:按武器中文名的拼音顺序循环,25 把主武器全遍历,首尾自动回绕。
  • 目标武器已在装备栏:直接切为当前主手,不做换装。
  • 目标武器不在装备栏:先自动换装进非当前槽,再切为当前主手(即与主手交换,另一只手拿的始终是你来的那把)。
  • 全程直接调用 UPBZBackPackSubsystem 的接口,不走武器技能链路,切换前重置武器切换冷却,因此不受是否入战限制。
  • F2 一键恢复进入游戏时的原始装备。

热键

  • < 上一把
  • > 下一把
  • F2 恢复原始装备
  • F11 自检:连续切换 25 次,结果写入 Mods\PBZWeaponSwap\log.txt
  • F12 打印完整排序表

安装

  1. 需要 UE4SS(本模组在 UE4SS v3.0.1 Beta 上测试通过)。
  2. 解压到 <游戏目录>\PBZ\platform\steam\ue4ss\Mods\,得到 PBZWeaponSwap\Scripts\main.lua。
  3. 在 ue4ss\Mods\mods.txt 中加一行:PBZWeaponSwap : 1(建议放在 Keybinds 之前)。
  4. 启动游戏,进入存档即可使用。

排序示例(拼音升序,共 25 把)

白蟒赤练 → 白山风雷剑 → 白影 → 别离残钩 → 残钢刃 → 长形黑伤 → 痴者残剑 → 刺骨混沌 → 荡寇凶刃 → 断肢锯 → 黑伤 → 黑伤双刃 → 红妆鬼斩 → 灵蛇软剑 → 乱莺剑 → 木制黑伤 → 破军 → 圣母邪扇 → 天煞双钺 → 天玄青铜剑 → 亡命斩马刀 → 偃月刀 → 妖锯 → 玉双环 → 紫冥剑

注意事项

  • 切换会实际改写当前两个主武器槽,因此会随存档保存;想复原按 F2,或重新读取存档。
  • 与只读类 mod 无冲突;若同时使用其他会改写装备栏的 mod,请自行取舍。
  • 排序依据是游戏内中文显示名,不是内部 ID;新增武器若无中文名会退回使用内部 ID。

English

Weapon Swap for Phantom Blade Zero: cycle your main weapons in pinyin order.

Press < for the previous weapon and > for the next one. The cycle covers all 25 normal weapons, sorted by the pinyin of their in-game Chinese names, and wraps around at both ends. If the target weapon is already equipped, it is simply selected; if not, it is swapped into the non-current slot and selected, so the other hand keeps the weapon you came from and a full cycle never gets stuck in a small loop. Switching calls UPBZBackPackSubsystem directly and resets the weapon change cooldown, so it works both in and out of combat.

Hotkeys: < / > previous / next, F2 restore the original loadout, F11 self-test (25 switches, log written to Mods\PBZWeaponSwap\log.txt), F12 print the order table.

Install: requires UE4SS. Extract into PBZ\platform\steam\ue4ss\Mods\, then add the line "PBZWeaponSwap : 1" to ue4ss\Mods\mods.txt (before Keybinds is recommended). Start the game and load a save.

Note: switching rewrites the two main weapon slots, so it is saved with your game. Press F2 to restore the loadout you had on load.