OpenFunscripter is a mighty tool to create scripts but if you are creating patters you will notice that it can be hard to get something done without moving every single points by yourself. Luckily OFS supports Lua which gives you the possibility to create some little scripts that can help you to make scripting easier.
This topic is meant as a Lua Script Collection so it would be nice if you could also share your scripts if you have done any. This might help other people to start scripting or improve their scripts.
To use the scripts you just have to copy them to the script directory which can be found under:
Special Functions / Custom Functions / Script Directory
Lua Scripts by Lucifie (9)
Adds new evenly distributed points between all selected points.
Lets you define the upper and lower positions.
Inverts the selection in Y direction
Inverts the selection in X direction.
Scales the selected timestamps to increase or decrease the speed by 0.5x - 10x.
Adds a wave to the selection. This script is very versatile if you overlay them.
Needs a little bit of trial and error to get what you want.
This is an extension to the Wave script which lets you also set the end values. I have made it as a separate script so you don’t have to edit both points for normal waves.
Starting values and end values are different.
If only the upper or lower points are selected then it will shift the timestamps forth and back a little to create the sawtooth effect.
If you select all points then it will compress and decrompress the selected area in waves. Works best if executed multiple times with small values.
This script will deselect a number of points in a selection giving you more control.
Select the first curve by starting the selection at the first point and skip 1.
Select the second curve by starting the selection at the second point and skip 1.
Select the middle points by starting the selection at the second point and skip 2.
Adding and removing points this way can help to create some unique patterns.