Hi,
How can I use ofs.ScriptPath now.
I need it for MyTool
EroScripts is a community for scripts that sync interactive sex toys with porn. Learn more.
To find and download scripts, create an account.
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.
Previously it was milliseconds now itās seconds.
I tried the new functionality ToolTip and Disable I asked for and I love that. Good working and visually clear. Really good job.
Itās fixed but no need to ping everyone in this thread you can pm me.
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.
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
@IsaacNewtongue I added it for the next release.
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
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.