
战斗调整
Combat Tweaks侠以武犯禁——战斗增强mod
查看大图此mod需要UE4SS!/ This mod need UE4SS!
============================================================
影之刃零 · 战斗增强 Mod / Phantom Blade Zero · Combat Tweaks
PBZCombatTweaks
============================================================
【一、简介 / Overview】
本 Mod 调整闪避、格挡、跳跃相关的战斗数值与取消规则,并让取消影之武装时返还暗源。
This mod tunes dodge / deflect / jump combat values and cancel rules, and refunds
Spirit (暗源) when cancelling ShachiAbility (影之武装).
此mod由大肥鱼协助完成。
This mod is finished with DeepSeek-V4.1-Flash.
我砍,我再砍!我跳,我再跳!我挡,我再挡!我闪,我再闪!
【二、包内容 / Package contents】
ue4ss\PBZCombatTweaks\ Mod 本体(必须)/ the mod itself (required)
Scripts\main.lua 逻辑 / logic
config.cfg 配置 / configuration
enabled.txt 启用标记 / enable marker
mod\ProjectPBZ-Windows_P.* 可选数据补丁 / optional data patch
使用说明.txt 本文件 / this file
【三、前置要求 / Requirements】
1. 游戏已安装 UE4SS(Lua 版)/ UE4SS (Lua build) must be installed.
2. 游戏路径示例 / game path example:
...\Steam\steamapps\common\PBZ
【四、安装 / Install】
1. 关闭游戏 / Close the game.
2. 复制文件夹 / Copy the folder:
ue4ss\PBZCombatTweaks
→ PBZ\platform\steam\ue4ss\Mods\PBZCombatTweaks
3. 打开 / Open: PBZ\platform\steam\ue4ss\Mods\mods.txt
添加或确认一行 / add or ensure this line:
PBZCombatTweaks : 1
4. (可选)数据补丁 / (optional) data patch:
把 mod\ 下的三个文件复制到 / copy the three files to:
PBZ\ProjectPBZ\Content\Paks\
三个文件必须同名同目录 / all three must share name and folder:
ProjectPBZ-Windows_P.pak / .utoc / .ucas
5. 启动游戏 / Launch the game.
6. 日志确认 / verify in log:
...[PBZCombatTweaks] loaded v15.x.x
【五、卸载 / Uninstall】
1. 删除文件夹 / delete: Mods\PBZCombatTweaks
2. 删除 mods.txt 中对应行 / remove the line from mods.txt
3. 若装了数据补丁 / if the data patch was installed, delete:
Paks\ProjectPBZ-Windows_P.pak / .utoc / .ucas
【六、功能 / Features】
· 闪避无敌帧 / dodge i-frames (默认 0.40s,原版 0.25s)
· 完美闪避触发窗口 / perfect dodge window(默认 0.25s,原版 0.15s)
· 完美闪避残留无敌 / linger after perfect dodge(默认 0.60s,原版 0.40s)
· 完美格挡窗口 / perfect deflect frames (默认 20 帧,原版 8 帧)
· 破防完美格挡窗口 / on-break window (默认 26 帧,原版 6 帧)
· 移除闪避/格挡 Forbid 限制 / remove Dash.Forbid & Stance.Forbid
· 闪避、格挡、跳跃取消影之武装 / cancel ShachiAbility with dodge, block, jump
· 取消影之武装返还暗源 / refund Spirit on cancel(默认 +1)
· 跳跃取消 / jump cancel(攻击中可起跳;弓箭使用弹射规避崩溃)
· 受击硬直逃逸 / stagger escape
· pak 数据补丁:移除连点格挡惩罚 / pak patch: remove quick-click parry punishment
【取消阀门 / Cancel valves】
· 装备/持有 Weapon_ZhuoBiDun(拙壁盾)或 Weapon_NiTouChe(泥头车)时:
禁用格挡取消影之武装与闪避取消影之武装;
跳跃取消仍然可用。
· 注意:即使这两件装备只在后台(未手持、未使用),本禁用效果仍会触发。
· Equipping / owning Weapon_ZhuoBiDun or Weapon_NiTouChe disables
cancelling ShachiAbility with block and with dodge; jump-cancel still works.
· Note: the disable also triggers when these two weapons are only in the
background (not held or not in use).
【七、按键 / Keys】
默认自动读取游戏内键位(EnhancedInputUserSettings.sav)。
局内改按键后必须重上游戏,mod 才会重新读取。
By default the mod reads your in-game bindings from
EnhancedInputUserSettings.sav.
Please restart the game after changing keybindings in game.
· 普通键(空格、鼠标键、字母、数字键):走 RegisterKeyBind 绑定。
· Shift / Ctrl / Alt 等修饰键:走控制器轮询(每 10ms 检测一次)。
· sav 中未改动的动作使用游戏默认键:
闪避 = 左 Shift,格挡 = 鼠标右键,跳跃 = 空格
· Normal keys (Space / mouse / letters / digits) are bound with
RegisterKeyBind.
· Modifier keys (Shift / Ctrl / Alt) are polled from the controller
every 10 ms.
· Actions not overridden in the sav file use game defaults:
Dodge = Left Shift, Block = Right Mouse, Jump = Space.
也可在 config.cfg 手动指定 / You may also set keys manually:
key_dodge=SPACE
key_parry=XBUTTON_ONE
key_jump=THREE
【八、控制台命令 / Console commands】
pbzd show 查看当前配置 / show current config
pbzd dump 打印游戏内实际数值 / print live values
pbzd selftest 一键自检 / run self test
pbzd refund 1 手动返还暗源 / refund Spirit
pbzd weapon 影之武装武器检测 / weapon detection info
pbzd cfg 配置文件路径 / config path
pbzd spirit 暗源属性集信息 / Spirit attribute info
pbzd cancel dodge 手动闪避取消 / manual dodge cancel
pbzd cancel parry 手动格挡取消 / manual block cancel
pbzd debug 1|0 调试日志 / debug logging
pbzd set iframe 0.45 热调参数 / live-tune a value
提示:本版本已移除全部热键;上面这些命令通过 UE4SS 控制台使用。
Note: all hotkeys were removed in this version; use these commands
through the UE4SS console.
【九、配置项 / config.cfg】
iframe 闪避无敌帧(秒) / dodge i-frames (s)
perfect_window 完美闪避触发窗口(秒) / perfect dodge window (s)
perfect_linger 完美闪避后残留无敌(秒) / linger after perfect dodge (s)
frames 完美格挡窗口(帧) / perfect deflect frames
onbreak 破防格挡窗口(帧) / deflect frames while guard-broken
free_forbid 移除 Forbid 限制 1/0 / remove Forbid restrictions
spirit_refund 每次取消返还暗源 / Spirit refund per cancel
jump_refund 跳跃取消是否返还 1/0 / refund on jump-cancel
escape_cooldown 硬直逃逸冷却(秒) / stagger escape cooldown (s)
hover_jump 有动作时起跳先悬停 1/0 / hover before jump when acting
key_dodge 闪避键 / dodge key(auto 或键名 / auto or key name)
key_parry 格挡键 / block key
key_jump 跳跃键 / jump key
keys 按键功能开关 1/0 / enable key handling
debug 文件日志 1/0 / file logging
修改后保存并重启游戏生效。
Save the file and restart the game to apply.
【十、数据补丁说明 / Data patch】
作用 / Effect:
移除“连点格挡惩罚”(惩罚乘数归 1.0,冷却归 0)
Removes the quick-click parry punishment (multiplier -> 1.0, cooldown -> 0).
不含 / Does NOT contain:
无敌帧、完美格挡窗口等数值(这些由 Lua 在运行时写入)
i-frame or perfect-deflect values (those are applied by Lua at runtime).
注意 / Note:
补丁按当前游戏版本生成;游戏更新后需重新生成。
Built for the current game version; regenerate after game updates.
【十一、已知限制 / Known limitations】
1. 空中格挡/闪避 / Air block & dodge:
默认普通跳跃不会解锁空中格挡/闪避(保持空中攻击为空中版本)。
当 hover_jump=1 且“攻击/动作中起跳”时,起跳前会先切悬停,
该次跳跃后可以在空中格挡/闪避;代价是这类跳跃之后的空中攻击
会按地面动作判定。
Normal jumps keep vanilla air attacks and do NOT enable air
block/dodge. With hover_jump=1, jumping out of an action hovers
first, enabling air block/dodge for that jump; air attacks after
such a jump use the ground variant.
2. 攻击中不能取消(原版行为保留)/ Attacks are not cancelled
unless it is a ShachiAbility cancel.
3. 弓箭跳跃取消使用弹射(避免崩溃)/ Bow jump-cancel uses a
physics launch to avoid a native crash.
4. sav 只记录“改动过”的键位;未改动项使用游戏默认值。
The sav file only stores changed bindings; unchanged actions
fall back to game defaults.
5.无限跳。
Unlimited jump.
【十二、故障排查 / Troubleshooting】
· 日志位置 / log file:
PBZ\platform\steam\ue4ss\UE4SS.log
· 看到 / look for:
[PBZCombatTweaks] loaded v...
· 按键无反应 / keys not working:
1) 确认 mods.txt 中为 PBZCombatTweaks : 1
2) 确认 config.cfg 里 keys=1
3) 在游戏内改键后重启游戏,让 sav 写盘并被重新读取
4) 或在 config.cfg 里手动写 key_dodge / key_parry / key_jump
· 数值没变化 / values unchanged:
用控制台执行 pbzd selftest 或 pbzd dump,对比打印出的实际值
· 数据补丁导致启动异常 / data patch breaks launch:
删除 Paks 下 ProjectPBZ-Windows_P.* 三个文件
· 改了 config.cfg 不生效 / config changes ignored:
必须重启游戏(本版本没有 F1 热重载)
============================================================
English summary / 英文摘要
============================================================
Install:
1. Copy ue4ss\PBZCombatTweaks to
PBZ\platform\steam\ue4ss\Mods\PBZCombatTweaks
2. Add "PBZCombatTweaks : 1" to Mods\mods.txt
3. Optional: copy mod\ProjectPBZ-Windows_P.* to
PBZ\ProjectPBZ\Content\Paks\
4. Launch the game and check UE4SS.log for "[PBZCombatTweaks] loaded v..."
Uninstall:
Delete the mod folder, remove the mods.txt line, and delete the
optional data patch files.
Features:
Longer dodge i-frames, larger perfect-dodge / perfect-deflect
windows, linger invulnerability, no Dash/Stance Forbid, cancel
ShachiAbility with dodge / block / jump and refund Spirit,
stagger escape, optional data patch removing the quick-click
parry punishment.
Keys:
Read automatically from EnhancedInputUserSettings.sav (restart the
game after changing bindings). Normal keys use RegisterKeyBind;
Shift/Ctrl/Alt are polled from the player controller every 10 ms.
You can override any action in config.cfg with key_dodge /
key_parry / key_jump.
Console (no hotkeys in this version):
pbzd show / dump / selftest / refund 1 / weapon / cfg / spirit /
cancel dodge|parry / debug 1|0 / set <key> <value>
Known limitation:
Air block/dodge only becomes available when jumping out of an
action with hover_jump=1; normal jumps keep vanilla air attacks.
Air attacks after such a jump use the ground variant.
Cancel valves:
Owning Weapon_ZhuoBiDun or Weapon_NiTouChe disables block-cancel and
dodge-cancel of ShachiAbility (jump-cancel still works). The disable
also triggers when the weapon is only in the background, not in use.
Config:
PBZ\platform\steam\ue4ss\Mods\PBZCombatTweaks\config.cfg
edit, save, then restart the game.
============================================================
阿一古,宙活大鸡蛋怎么十六强了,一人一句巧克力牛逼来!哦对了,关注Bilibili绿玩大爹!
正在加载版本记录…
正在加载评论…
评论在新手盒子客户端中发表,这里同步展示。