OFS script statistics extension
Hey guys! I’ve created a new OpenFunscripter v3 Lua extension that enables detailed script-wide statistics. It’s an (unofficial) addition to the default statistics window (View tab > Statistics).
By default, the OFS editor only shows statistics relating to the interval between two actions found at or near the timeline navigation cursor. This extension adds a whole new layer of information by analyzing the entire currently active script.
You can download the extension from the GitHub repository. Below is an extract of the GitHub README with more information about the extension. Let me know what you think and if you find any problems or have suggestions for improvements/additions!
Features
- View statistics about the entire script, as well as for a selected portion of the script
- View general information, such as number of actions, runtime of the script, number of peaks and troughs (see explanation on GitHub)
- View the average, maximum and minimum action position, speed and duration, as well as peak and trough duration
- Convenient GUI with nested cascading headers allowing you to see only what interests you (see showcase on GitHub)
- Automatically refreshes values when the active script changes, when the script is changed in any way and when the action selection changes
- Developed for OFS v3
Installation
- Download and extract the latest version of the extension from GitHub releases
- Copy the
Script statistics
directory and add it to the OFS extensions directory (%appdata%/OFS3_data/extensions/
) - Start OpenFunscripter
- In the
Extensions
tab, hover over theScript statistics
list item and tickEnabled
andShow window
- Optionally, you can pin the extension window to the OFS GUI. I prefer dedicating the right side of the UI to both the default and the extended statistics
GUI showcase
If you like this extension, please spread the word about it! Any feedback is welcome, so feel free to share your thoughts, suggestions for improvements or any bugs you may find.
Also, check out my other OFS extension project:
- OFS script converter extension for rotary fuck machines (GitHub) (EroScripts) - enables detailed script-wide statistics as an addition to the default statistics panel