Tuesday, June 2, 2020

Improved Training Mode

The problem

POF's improved training mode is a great tool for training, but I was always frustrated by a few limitations. One, the interface doesn't detect button releases. This means that when doing a negative edge special move, you can't see when you release the button. 

The second problem is that frame count isn't shown. You don't know how many frames each input was done far.

Virtua fighter has by far the best training mode. On the screen below, the numbers in grey represent the number of frames of no input, while the numbers in yellow represent the number of frames in active input.




I wanted to have a similar interface for Super Turbo.



Let's go over the features in detail. First, if you're standing and idling (meaning no inputs), you'll see a counter in grey showing you how many frames you've been idle



In this image, Ken has been idle for 40 frames as you can see from the grey number "40" at the top left. The counter stops at 999, as you can see for Boxer on the right.

The next feature is button release tracking. 



In this image, you can see that Ken spent 72 frames in idle, followed by pressing and holding the three kick buttons for 356 frames. He then released the heavy kick, holding the remaining two kicks for 85 frames. He then held the light kick button for 74 frames.

Let's see how these two features in combination show a negative edge move



Here, Ken is doing a piano negative edge fireball. You can see left midscreen, the grey 97 shows that he was idly for 97 frames. At this point, he presses all three buttons. First he hits and holds light punch for one frame, then light and medium punch for three frames, and then finally all three punches for 133 frames. He then does the fireball motion while holding all three punches. The fireball motion finishes with the stick in the towards position with all three punches held. Then one frame later, he release heavy punch, triggering the fireball special move. He then releases medium punch one frame later, and finally light punch seven frames later.

Another feature is frameskip tracking. Super Turbo skips frames. Even if the display shows only one frame, the engine might run two frames.Thanks to Born2SPD, I was able to account for skipped frames ensuring a correct frame count.

This is all great, but how do I actually run this?

I've put the script up on github here:

https://github.com/zass30/SuperTurboExtendedInputDisplay

1) Download sf2-hitboxes_and_VF_input.lua from this link.
2) Download and install pof or Born2SPD's training mode package.
3) Modify the batch file (the file you double click on) to say -lua "sf2-hitboxes_and_VF_input.lua"

Happy training, VF style!

No comments: