Reaction Slow-Mo
The game slows down for a moment when an enemy starts a dangerous attack (blue or red glow, power attack, grab). Speed, length and attack kinds in config.lua.
What it does
When an enemy starts a dangerous attack against you, the whole world slows down for a moment, so you have time to deflect or dodge.
- The attacks: blue glow, red glow, power attacks and grabs (bosses and normal enemies). Six rarer kinds are there too, off by default (see Settings).
- The world runs at 30 % (
Multiplier) while such an attack comes, at most 1.5 real seconds (MaxRealSeconds), then it comes back to normal speed smoothly over 0.12 s (RecoverySeconds). - A perfect deflect or a perfect dodge ends the slow-down at once.
- Only enemies count, and a blue or red attack aimed at someone else does not slow the game.
- Pause, your death and a map load end it at once.
It is a UE4SS Lua script: it reads the game's attack data while the game runs and slows the world with a speed factor of the world settings that the game itself does not use (the same way as Witch Time). It replaces no game file and writes nothing into your save.
Screenshots
How to install
- Install UE4SS for Phantom Blade Zero, for example UE4SS (its zip
phantombladezero_ue4ss_<version>.zip: the official UE4SS build with a config that makes it run in this game). - Download the zip of the latest release on GitHub (
phantombladezero_reactionslowmo_<version>.zip). - Unpack it into the game folder
platform\steam\, next to the game's exe. It adds the folderue4ss\Mods\phantombladezero_reactionslowmo\(with the fileenabled.txt, UE4SS starts it by itself). - Start the game.
To check that it runs: platform\steam\ue4ss\UE4SS.log has the line [Reaction Slow-Mo] <version> loaded.
To update the mod, replace the folder with the one of the new release; to keep your settings, put your old
Scripts\config.lua back (a setting that it does not have keeps its default). To remove it, delete the folder
ue4ss\Mods\phantombladezero_reactionslowmo\.
How to use
Nothing to do: the mod works as soon as you load a game. UE4SS.log names the first 10 slow-downs of a game start
with the attack kind, for example [Reaction Slow-Mo] Slow-down 1: power_attack (...).
Settings
The settings are in platform\steam\ue4ss\Mods\phantombladezero_reactionslowmo\Scripts\config.lua. Open it with a
text editor, change a value and save: the mod reads the file every 5 seconds and uses the new value at once, so the
game does not need a restart. A file it cannot read (for example a typo) keeps the last settings. UE4SS.log shows
the settings in use in the line [Reaction Slow-Mo] Settings: ..., and names each value it could not use.
| Setting | Default | What it does |
|---|---|---|
Enable |
true |
false: the mod does nothing, the game as normal |
Multiplier |
0.3 |
The game's speed while an attack starts (0.1 to 1; 1 = no slow-down) |
MaxRealSeconds |
1.5 |
The longest slow-down, in real seconds (0.001 to 60) |
RecoverySeconds |
0.12 |
The way back to normal speed, in real seconds (0 to 0.5; 0 = at once) |
PollMs |
16 |
How often the attacks are checked, in ms (8 to 100; smaller: more exact, more work) |
Blue |
true |
Blue-glow attacks |
Red |
true |
Red-glow attacks |
PowerAttack |
true |
Attacks the game marks as power attacks |
Grab |
true |
Grabs, by bosses and normal enemies |
GrabTag |
true |
Attacks with the grab tag Bullet.Feature.GrabBullet |
BossUnparryable |
false |
Boss attacks the game marks as not deflectable |
UltraStrong |
false |
Attacks marked Deflect.Strength.UltraStrong (strong combo finishers, also of normal enemies) |
Knockdown |
false |
Attacks marked Hitreact.Strength.Income.Knockdown |
Launchback |
false |
Attacks marked Hitreact.Strength.Income.Launchback |
HeavyKnockback |
false |
Attacks marked Hitreact.Strength.Income.Normal.Knockback.Heavy |
SkillPowerAttack |
false |
Attacks marked Bullet.SkillType.PowerAttack (skill finishers) |
LogDetail |
false |
true: UE4SS.log names every attack the mod sees and each step (for tests) |
Each attack kind works on its own: an attack slows the game when any kind that is on matches. The game shows no common cue for the six kinds that are off by default; with all of them on, the game can slow down very often.
Compatibility
- Game version: Steam build 26367565 (
CL-302256_JKS-17280). - Tested with UE4SS
v4.0.0. - Witch Time slows the world after your dodge or parry, with the same speed factor. This mod gives way: while Witch Time runs, it starts no slow-down, and when Witch Time starts during a slow-down of this mod, Witch Time takes over (the attack counts as answered). Neither mod leaves the world slow. Other mods that write the same factor are treated the same way. Not tested together yet.
- Another mod that slows the world before enemy attacks does the same job: use one of them.
Known issues
None yet.
How to build
There is nothing to build: src\phantombladezero_reactionslowmo\Scripts\ holds the mod (main.lua and the
reaction_*.lua files it loads). tests\test_main.py runs the script outside the game with Lua 5.4
(lupa) and mocks of UE4SS: python tests\test_main.py. README.md has the details.
Credits
Made by Kintaro. MIT license: you may use, change and share this mod. UE4SS is made by the UE4SS-RE team. Phantom Blade Zero belongs to its makers.
