OpenFunscripter - another scripting tool - 2.0.0 release

Hi,

How can I use ofs.ScriptPath now.
I need it for MyTool

Ok, I find it.

local CurrentScript = ofs.Script(ofs.ActiveIdx())
local MyPath= CurrentScript.path

Itā€™s was true in your last release but not anymore. Now itā€™s in miliSecondes.
Where is the error, in your WIKI or in your code?
Itā€™s ok but I need to modify my code at many place.
I just need to know if itā€™s will change in a near by future.
image

Previously it was milliseconds now itā€™s seconds.

1 Like

I tried the new functionality ToolTip and Disable I asked for and I love that. Good working and visually clear. Really good job.

It must be idx, action :wink:

Itā€™s fixed but no need to ping everyone in this thread you can pm me.

1 Like

Hi,

How can I make two lua script communicate?
I just want to display a value from one lua script to another.

Hi, hope this is the right place to add this, I want to make a suggestion for the addition of notes. I.e we highlight a section of the script we are working on and an option to add a note for the highlighted section/s would show up to write in. This would be useful for longer projects and opens up a smoother collaboration between scripters if there are more than 1 working on the same script.

1 Like

Hi, I just started scripting and was wondering if PC specs make a difference. I currently have a 1660 graphics card and an i5 cpu , nothing special, but was wondering if I should consider upgrading my specs or not. I have not seen the program run slow but would it begin to slow down or even crash with longer, more complex scenes?

You donā€™t require any powerful hardware to script. The most important thing to get good performance is to re-encode larger high resolution videos to lower resolution and only with full picture frames. Read more about that in the scripting guides in the howto category.

Feature suggestion:
allow decimals for BPM when in Tempo mode. Many of the songs that I want to script SFM for have a BPM thatā€™s slightly off, so I have to align the measure bars as often as every 16 bars.

Thank you for your consideration, and Iā€™m enjoying the software so far!

@Midevil Canā€™t you do this already with bookmarks?
The UI needs some work but you can create bookmark ranges.
However the amount of text you can attach is fairly limited :thinking:

@IsaacNewtongue I added it for the next release.

4 Likes

totally didnā€™t even see the bookmarks. thx

running into an issue. The intervals keep switching on me and is affecting scripting.
I donā€™t know why but this keeps occurring to me when Iā€™m scripting.

I start off normally then I get extra intervals out of the blue as shown above


The out of the blue I get some extra intervals which mess up my scripting and is also affecting the motion tracer in using for some of the scenes


After a few, it goes back to normal but then occurs randomly again.

can I get some help or does someone know whatā€™s going on?

Itā€™s using whatever framerate the player is reporting which is based on this property estimated-vf-fps.

You may want to re-encode the video using a constant framerate.

I see, iā€™ll try to reecode. I swear I always get buggy vids whenever I download from eporner

Hello there. I have been using OFS for some time, usually to script pmvs, and I only JUST NOW learned that there is a tempo and ā€œscript by measureā€ setting, which is awesome, but I was wondering if thereā€™s any possibility of adding quantization to it? Iā€™m not sure if youā€™re familiar with the term, but what happens with quantization is that if you are close to - but not exactly on a beat - the code places your input onto the beat, defined by weather or not its on 4ths or 8ths or 16ths or whatever. I have zero clue how to code anything. I think I got a hello world once. I donā€™t know if something like this is easy or extremely complex, but I think it would be an awesome addition if at all possible.

I think the dependancy on video framerate should be possible to be overridden (idealy even runtime). In general the higher the framerate the better the scripting accuracy becomes, and if the video is 25fps this is very limiting.

Sure, i can get around this by just converting the video to a diffirent framerate (for scripting the actual quality of the video doesnt matter so any losses her are just acceptable), and then use that video for scripting. But this is just is just an overkill workaround.

Even just basic ratios for framerate would do wonders here. So if a video is 25 fps, it for example allows 25,50,75,100 as scripting framerates, while for a 30fps video this is 30,60,90,120.

While for slower videos the accuracy it might not matter. For PMV videos it will as vibration patterns can use these FPS varieties a lot. But even then, i had 25 fps videos where a full stroke only takes 6.5 frames and the speeds were reaching device limits. Being able to use that 6.5 frames (by going to 50fps and use 13 instead), would have made things a lot easier to limit speeds.

Indeed, I have come across this ā€œthingā€ more than once with low framerate videos it becomes hard to perfectly time the keyframe. What is weird is the grid wonā€™t let you move the keyframe exactly where you want but if you script it ā€œon the flyā€ you can insert the keyframe exactly at the right spot. However on the fly scripting is usually pretty bad so yeah having a way to increase the scripting framerate would be great.