I think i solved the problem. I had to create a new folder.
Another question though…what function does the main.lua file have? Are they specific to the other lua files or do i just need one in the folder for all the scripts?
Every time I download the mega folder I just get 1 Lua not sure where the others are?
yes like jassonYT also said not see the other ones. -
am may i ask some help about how could i somehow manage to lock the highest speed ? whenever i try to script and i draw to fast it surpass 500unit and i dont know if theres a simple way to lock or reduce in record mode for example .
oh and dont know if others want too but i would be really happy if someone would make a usage video of the tools cuz i literally cant even use them , pressing the buttons but i dont even understand most of them sadly
anybody have a mirror? the dl link only has one script
Hello, are these scripts compatible with any version of OFS or just till 2.0?
wondering the same thing, but seems like it…
edit
I got it to work - works on version 1.4.4 but not on 2.0, so gotta stick with 1.4.4.
Put the .lua files into the lua folder, no renaming or subfolders needed.
Just open Special Functions within OpenFunScripter 1.4.4 and you’ll see them there.
I recently updated my scripts to the new OFS API.
They can be found in my public repo at: GitHub - CrookedDuck/OFS_Extensions
Check out my newly released OFS v3 extension enabling way more detailed statistics for the GUI!
Do these LUA scripts not work with OFS3 ? I added the Extras to the extensions, but it shows up as “Current Script: None” when I open the Extras folder in Extensions menu.
Does anyone know why OFS wont let me enable these scripts?
Why is only one Lua script in the mega folder? I need the ScaleTimestamps script
Edit: I found the scripts in the mega link in OP’s other post:
Can someone help me get these working, I have them in the folder:
But in my special function I only have range extender. Also no matter what I do I cant get the tick next to enabled?
Where can I download this? The Mega only has one script.
I moved a “main.lua” in this directory.
I can set “Enabled” now.
“Show Window” shows me an empty window with “Current script none”
What to do?
Did you figure this out? im having the same issue
Any updates on how to get “wave.lua” working?
Would also love an update on how to get these working on v3.2
Sadly not, its so annoying
These scripts have never been updated for OFS3, and therefor wont work. They need to be edited.
This means that for each script you need to do:
- make a new folder for the plugin name
- place the script in it and rename it to main.lua
- check for errors and fix each manualy
And this can be tedious to do depending on how much the scripts do.
Adding to the above, i did a concept of how the scripts require changing. And for ease, here is the updated “Wave” script:
The changes to make are
Make a folder for the file, rename it to main, and then edit it in notepad++ or something.
Where the original script has it formatted like
--------------------------------------------------------
--------------------------------------------------------
------------------ 'Wave' by Lucifie -------------------
--------------------------------------------------------
--------------------------------------------------------
print "How to use:"
print "-----------"
print "Select an area that you want to change. Change the settings until you are happy with the result."
Settings = {}
Settings.Frequency = 10 -- How fast the wave will oscillate
Settings.Amplitude = 10 -- How hight the wave will get
Settings.Shift = 0 -- Shift the wave to change the start
SetSettings(Settings)
update it to be like:
--------------------------------------------------------
--------------------------------------------------------
------------------ 'Wave' by Lucifie -------------------
--------------------------------------------------------
--------------------------------------------------------
Settings = {"Wave"}
Settings.Frequency = 10 -- How fast the wave will oscillate
Settings.Amplitude = 10 -- How hight the wave will get
Settings.Shift = 0 -- Shift the wave to change the start
function init()
-- this runs once at when loading the extension
end
function gui()
Settings.Frequency = ofs.SliderInt("Frequency#Wave", Settings.Frequency, 0, 100)
Settings.Amplitude = ofs.SliderInt("Amplitude#Wave", Settings.Amplitude, 0, 100)
Settings.Shift = ofs.SliderInt("Shift#Wave", Settings.Shift, 0, 100)
if ofs.Button("Run") then
run()
end
end
function update()
-- function must exist
end
function run()
local CurrentScript = ofs.Script(ofs.ActiveIdx())
and at the bottom add
end
indenting doesnt matter. as all the old function code will be placed within the function run.
most important is that the settings are updated in the gui function. Each row like
Settings.Frequency = 10 -- How fast the wave will oscillate
must get a line in gui() and that line must be adjusted to be like:
Settings.Frequency = ofs.SliderInt("Frequency#Wave", Settings.Frequency, 0, 100)
The number in the original setting acts as default, the 0,100 act as min/max range for a slider. there are other elements for settings here so it might in some cases be needed to change these (especialy when decimals are required.
And note: its not going to be a blind copy paste in most cases. Some programming knowledge is needed as the older versions are less strict with variable locations.
That is the most tedious part.