
Execution State
Turn a would-be knockout into a brief, unblockable finishing window in offline fights.Execution State
The finishing window
A lethal hit leaves an opponent on a sliver of health instead of ending them. Their AI stops, a prompt appears, and the next strike bypasses block and finishes them.
The prompt clears the moment the finishing blow lands, and also if the round ends on the timer while they are still held.
The shatter
The finishing blow breaks the prompt itself. The box comes apart into 36 pieces — jittered cuts, a hairline of light on every cut edge — which fly outward and down, turn as they go, and fade out over four tenths of a second. Underneath it the picture flashes, the colour fringing snaps, a zoom blur pulls, the screen shakes, and a crack of breaking glass plays. 0.50 by default, 0.80 on Fuller.
The break is twelve pre-rendered frames rather than a UI animation, because the UI API
has no per-node position, rotation or opacity — a widget cannot come apart. The frames
are one texture cut into twelve sprites (tools/make_shatter.py regenerates them), and
they are played by swapping the sprite of a single image node thirty times a second.
Frame 1 is the intact box at the same coordinates as the live view, so the swap is
invisible: the box the player is already looking at is the first thing that breaks.
The frames are drawn from the banner, so the over the health bar prompt keeps the screen flash and the shards on the enemy rather than showing a banner-shaped break in the wrong place.
The sound is 0.78 s, stereo 16-bit 44.1 kHz, and was synthesised for this mod rather than taken from a library. No leading silence, because silence at the start of a file delays the sound behind the blow.
The screen flash fires on the engine's finisher trigger — the blow that wins the
fight — rather than being started by script on the killing frame. A scripted grade
started on that frame runs underneath the game's own knockout grade, and when two
grades are active the stronger value wins field by field, so a modest flash simply
lost. It is switched on when an execution window opens and off again the moment a
fight is won without one, so an ordinary knockout does not get the shatter.
The prompt
Two styles, switchable in the settings:
- Banner (default) — a centred panel below the top HUD band: gold EXECUTION, a line reading one hit finishes them, and a crimson rule underneath.
- Over the health bar — a plate sized to cover the opponent's health bar completely, rather than trying to match its exact shape. The health bar is about 22 units tall and ends in an angled cap, so a plate that tries to line up with it leaves the bar's orange edge showing at the top and bottom.
If the running build does not expose custom HUD views, the mod falls back to a labelled red meter.
Opening the window also washes the picture crimson for about half a second, with the
edges darkening. That grade is always-on and held at neutral values until the frame
handler writes its numbers — it is not started by sf2.fx.play, which reported success
on every attempt while showing nothing.
Settings
All under Options > Mod settings > Execution State.
Combat
| Setting | Default | What it does |
|---|---|---|
| Execution State | On | Master switch for the whole mod. |
| Who can be executed | Everyone | Everyone, bosses only, or regular opponents only. |
| Available from round | Round 1 | Hold executions back until the fight has run this many rounds. |
Presentation
| Setting | Default | What it does |
|---|---|---|
| Prompt style | Banner | Banner, or a plate over the health bar. |
| Flash when the window opens | On | The crimson flash at the moment an opponent is held. |
| Shatter on the finishing blow | On | Shards, flare and the crack sound. |
| Shatter volume | Subtle | Subtle or Fuller. |
On "bosses only"
fighter:snapshot() cannot answer this. It returns health, max health, health bars,
position, animation and the fight clock — no name, no template, no id, no boss marker
— and the health numbers turn out to be useless as a substitute: a boss and an
ordinary opponent both report max_health = 1 and health_bars = 1. Four boss
attempts in v0.5.1 were blocked by exactly that.
What does know is the fight. sf2.battles.on_prepare runs just before a fight starts
and hands over the fight's id and its mode, and the game's modes include boss,
final and raid. The mod remembers the prepared fight, promotes it when the fight
actually begins, and clears it when it ends. A fight id that names a boss battle
(core:fights/zone_1/boss_lynx/6) counts as well.
The gate logs what it saw on every lethal hit:
Execution State: gate mode=bosses fight=core:fights/... fight_mode=boss boss=true allowed=true
so the classification can be checked from Player.log rather than guessed at.
On "last round only"
The game does not report how many rounds a fight has, and does not even expose the
current round number. The mod counts rounds itself from on_round_begin, so it can
tell you that the fight has reached round 2 or 3 — but it cannot know that a given
round is the final one. Hence available from round N instead of an exact
last-round gate.
Scope
The mod applies to offline fights, not Versus or dojo sparring.
Credits
FFstudios / ChatGPT / DeepSeek V4.1 Flash / WorkBuddy AI