Auto Execution

Execution prompts start by themselves, as after a button press, with optional stealth kills and QTE help. A PBZModLoader mod, live settings.

  • MIT · open source
  • 0 stars
  • Latest release v2.1
  • Updated 4 days ago
  • Gameplay
  • Quality of life
Description

Auto Execution

Execution prompts start by themselves, as after a button press, with optional stealth kills and QTE help. A PBZModLoader mod, live settings.

What it does

Execution prompts on staggered or broken enemies start by themselves, as if you pressed the button the moment the prompt showed (or after a delay you set). The mod starts the same ability as the button, so animations, damage, gauge costs and rewards are the game's own.

Prompt Button With the mod (default)
Secondary weapon break execution Left Ctrl / RT starts by itself, on the ground
Main weapon execution E / Circle starts by itself
Special attack execution heavy attack key starts by itself
Follow-up QTE of an execution as shown pressed for you
Stealth kill E / Circle left to you (a setting starts them too)
  • Button icons: hidden on the prompts the mod presses for you (a setting).
  • Each prompt fires once. When two prompts are on one enemy, only the first in the game's own order fires; the other keeps its icon for you.
  • Left to you: stealth kills (unless you turn them on), executions you switch off, and nothing while you are dead or in the air. A prompt the mod could not press within 0.3 s shows its icon again, so you can press it yourself.
  • Optional: wait until your Power Surge has finished, execute only the last enemy of a group, one press for mash and hold QTEs (or all QTEs pressed for you), and switches for each of the 19 secondary weapons.
  • Execution animations (off by default): your main weapon execution can also play the executions of the game's other weapons, of the same grip, of one- and two-handed weapons or of any weapon, also only from weapons you own. This works for pressed executions too.

Nothing is written to your save, and no game file is replaced.

Screenshots

Auto Execution

How to install

  1. Install PBZModLoader 2.1.0 or later.
  2. Download the zip of the latest release on GitHub (phantombladezero_autoexecution_<version>.zip).
  3. Unpack it into the game folder (the folder that holds ProjectPBZ). It adds the folder ProjectPBZ\PBZModLoader\mods\phantombladezero_autoexecution\ with main.js and the settings file.
  4. Start the game.

To check that it runs: ProjectPBZ\PBZModLoader\loader.log has the line [PBZMOD] [Auto Execution] <version> started; settings: ....

To update the mod, replace main.js with the one of the new release; keep your settings file (a setting that it does not have keeps its default). To remove the mod, delete the folder ProjectPBZ\PBZModLoader\mods\phantombladezero_autoexecution\.

Updating from the earlier pak version (1.0): delete phantombladezero_autoexecution_P.pak, .utoc, .ucas and phantombladezero_autoexecution.txt from ProjectPBZ\Content\Paks\~mods\.

How to use

Nothing to do: the mod works as soon as you load a game. Break an enemy's stance, and the execution follows.

Settings

The settings are in ProjectPBZ\PBZModLoader\mods\phantombladezero_autoexecution\phantombladezero_autoexecution.txt. Open it with a text editor, change a value and save: the mod reads the file every 2 seconds, so the game uses it without a restart. Without the file the mod writes it with the defaults below. Keys are not case-sensitive; ; or # starts a comment.

With Mods Menu (0.9.0 or later) in the game, the mod adds its page to Mods Menu's tab in the game's settings, and the page's settings are the ones that count: Mods Menu keeps them in its own file in the game's Saved folder, and the file in the mod's folder is not read then.

Setting Default What it does
Icon Hidden Hidden: no button icon on the prompts the mod presses; Shown: every icon as in the game
ShachiWeapon On Off (also 0, no, false): press the secondary weapon execution yourself
Execution On the same for the main weapon execution
SpecialAttack On the same for the special attack execution
Stealth Off Ground: ground stealth kills start by themselves too (with Execution on); GroundAir: also drop kills from above
DelayMs 0 0 to 2000 ms before the mod presses a prompt; a prompt that ends sooner is not pressed
WaitCombatArt Off On: an execution waits until your Power Surge (LT / Q) has finished
Targets All LastEnemy: an execution waits while another enemy within 30 m is in combat
Animations Own Own, SameGrip, OneTwoHanded, All, or SameGripOwned, OneTwoHandedOwned, AllOwned (from weapons you own only)
ExecutionQTE On the follow-up QTEs of an execution are pressed for you
QTEDelayMs 0 0 to 2000 ms before the mod presses a QTE (follow-ups, Auto)
OtherQTE Off OnePress: mash and hold QTEs take one press; Auto: single-press and mash QTEs outside executions are pressed for you too
Anim_SoftSword, Anim_Tianmiao, Anim_Wraithblade Off On adds that weapon's own executions to the Animations pools other than Own
RT_<weapon> On Off leaves that secondary weapon's execution to you

The RT_ names: RT_BrutalAxe (Dread Axe), RT_JinGua (Bashpole), RT_ZhuoBiDun (Bastion), RT_TanLang (Wolfjaw), RT_TigerCannon (Tiger Cannon), RT_HuangJinHuoChong (Goldblaze), RT_UnnamedBow (Feather Bow), RT_DuYanBow (One-Eyed Bow), RT_MiaoShouFeiDao (Flying Dagger), RT_YouLongTou (You Loong's Deluge), RT_LionHead (Flaming Mane), RT_HuoLiuXing (Fire Meteor), RT_YouLongCha (Loong Trident), RT_TieKuangQuanTao (Iron Gauntlets), RT_MoJian (Ink Cut), RT_ThunderSpear (Thunder Spear), RT_XueDiZi (Flying Guillotine), RT_Lute (Pipa), RT_ShachiHook (Hunter's Chain Sickle).

Compatibility

  • Game version: Steam build 26367565 (CL-302256_JKS-17280).
  • Needs PBZModLoader 2.1.0 or later. Mods Menu is optional.
  • Tested in game with PBZModLoader 2.1.0, alone and with Mods Menu 0.9.1.
  • PBZModLoader's Alt+F5 reloads the mod: it first gives back everything it changed (icons, QTE prompts, borrowed animations).
  • Other mods that press execution prompts or QTEs for you do the same job: use only one of them for that part. With OtherQTE at OnePress, a separate one-press QTE mod is not needed.
  • If a game update changes a class or function the mod needs, the mod stops for the session, puts the icons back and writes one line with "Auto Execution" into loader.log.

Known issues

None yet.

How to build

There is nothing to build: src\phantombladezero_autoexecution\ is the mod folder (main.js and the settings file). tests\test_mod.js runs the script outside the game with Node.js and stand-ins for the game: node tests\test_mod.js. README.md has the details.

Credits

Made by Kintaro. MIT license: you may use, change and share this mod. PBZModLoader is made by LKF, its fork by KintaroModding. Phantom Blade Zero and its files belong to their makers.