a lua script to alternate between the last two action values
Just a heads-up, I want to remove this âSpecial functionsâ API as it has been trumped by the âExtensionâ API long ago.
The next version of OFS wonât have this anymore.
Iâm willing to port these scripts to the âExtensionâ API so that the functionality isnât lost.
@Lucifie @Husky @Limitlessman @haens_daempf Let me know if you want this and I would try to merge these scripts all into one extension.
Hopefully thatâs good compromise.
Would be cool to have it build into one extension. I also did these 2 lua scripts some time ago, because someone here asked for it. You might want to add them too if others agree.
Both scripts can increase/decrease top or bottom points in the selection by a percentage amount. You can use positive and negative values to achieve what you want.
Sure, feel free to add the script to the Extension. I´ll look into the Extension API for writing future scripting helpers
I played around with the Extension API and created an extension which combines the moving of an action and seeking. This helps with more precise placements.
Hi, will there be an update for OFS 2.0? Add points and select points to skip are very helpful⌠Thank you!!
Please update these scripts to OpenFunscripter 2.0, these are a lifesaver
Would be much appreciated!
@Cimmy3111 @Kinks
I kinda said I would do it.
So please donât peer pressure anyone
Edit:
I had this crazy idea that the new extension API would be powerful enough run the old Lua scripts inside of an extension.
And Iâve put together this proof of concept. Extras Extension 1.0 (only works in OFS 2.0+)
It only includes the AddPoints, MoveProportionatelyBottom/Top & Select-PointsToSkip.
The extension is able to just run all the scripts except for âAddPointsâ without modifications.
âAddPointsâ required a little edit to get to work.
I havenât tested the rest.
The extension creates multiple bindings you need to set a key in order to use them.
Let me know which other scripts you need.
I tried this, and couldnât get the extensions to work.
Is there a particular way to install these?
Yes. What have you tried?
Youâre supossed drop the âExtrasâ directory into the %appdata%/OFS/OFS2_data/extensions
directory.
Yep, thatâs what I did. And then when I open OFS and enable âExtras,â then âShow window,â it gives me a window named âExtrasâ with no scripts in it.
(Edit: the Extension Log Output shows the Extras as âregister binding,â so OFS sure seems to be seeing them.)
That is all itâs doing.
Like I said you have to bind the scripts in Keys->Dynamic to use them.
Oops!
I completely missed that part.
Thanks!
Not sure if a vibration script already exists, but here is a rudimentary one Iâve made:
With regards to the AddPoints youâve included, I canât seem to get it to work after binding a key to it? It runs but does nothing.
I donât really understand how it could be working, since it still has references to FunscriptOld:new() which probably donât work?
hey! another use for my lua other that reprogramming fivem and redmâŚ
@jamanon
I just tried and it only works some times.
The Extras extension is just trying to run these old scripts inside of an extension. FunscriptOld is something Iâve defined in the support.lua
.
Needs some debugging
All good, I think @Limitlessman 's extension fulfils the same requirements generally.
Thanks both for your hard work!
Hi Everybody. Im late to the party here. But how on earth do you install these files with the latest OFS?
Ive somehow managed to get two of them in and working, but i cant seem to get any others in? I might be putting them in the wrong place?