Cool VL Viewer forum http://sldev.free.fr/forum/ |
|
Lua scripting related requests http://sldev.free.fr/forum/viewtopic.php?f=9&t=1737 |
Page 1 of 10 |
Author: | Henri Beauchamp [ 2017-01-14 11:21:37 ] |
Post subject: | Lua scripting related requests |
My motivations for this new feature were to provide a way for the Cool VL Viewer users (me included) to add new functions or customizations to it without having to modify the code of the viewer itself. It also brings the possibilities to use the viewer to run bot avatars, and to extend the capabilities of scripted items to things they cannot do so far (even with RestrainedLove which the Lua scripting will complement nicely for non BDSM RP usages). The current implementation is just a "skeleton" one and I already got many projects for it, such as:
This said, I might not have yet explored all the possibilities such a feature could offer and if you have any request related to Lua scripting in the Cool VL Viewer, please use this thread to post them. |
Author: | kathrine [ 2017-01-21 09:37:53 ] |
Post subject: | Re: Lua scripting related requests |
Hi Henri, just a big thanks for Lua Scripting. I would love for options to use Lua scripting for better inventory management. - For example adding/removing filters dynamically. - Storing searches - Regexp style searches - Ignoring search hits in (no modify)(no transfer) etc. permission tags - Search in WORN, than expand folders (e.g. to find the colours HUD to some worn item quickly) - Scrolling to open folders - Creating/Deleting inventory links - Creating/Deleting inventory folders - Parsing names/permissions of selected items (only explicitly selected to not make it a security hole) (those last three would allow 'auto-rlv-folderization', e.g. select the new items, etc., script creates a new rlv subfolder, and subfolders for non mod items, adds proper links there) Kathrine |
Author: | Henri Beauchamp [ 2017-01-21 15:12:42 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Post subject: | Re: Lua scripting related requests | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Author: | Henri Beauchamp [ 2017-01-23 12:58:26 ] |
Post subject: | Re: Lua scripting related requests |
I added the following inventory-related Lua functions, so far, for next release:
I'm not sure about allowing to delete folders (might be dangerous), or only move them to the Trash, or only when empty of anything but links... |
Author: | GeoffEarnshaw [ 2017-01-26 17:00:06 ] |
Post subject: | Re: Lua scripting related requests |
I like the idea of creating new inventory links just so I don't have to make a new outfit when I change or delete a HUD or item that I use for all my outfits. Just being able to create a linked item and copy and paste it in my outfit folders would be very handy! Geoff |
Author: | Henri Beauchamp [ 2017-01-26 20:17:24 ] | |||||||||
Post subject: | Re: Lua scripting related requests | |||||||||
|
Author: | GeoffEarnshaw [ 2017-01-26 20:57:06 ] |
Post subject: | Re: Lua scripting related requests |
Oh Sweet, LOL I should have known that. Thanks! Geoff |
Author: | ZaneZimer [ 2017-02-14 00:48:44 ] |
Post subject: | Re: Lua scripting related requests |
Would there be any way to clear a push event for an id after an onAgentPush() event or have the event trigger more than once for the same push? I was recently griefed, which hasn't happened in years. The callback seems less useful if you are in a situation when you might need to trigger the same response again. For example, in the auto-sit example you provide, if your avatar stands it would fail to auto-sit again. |
Author: | Henri Beauchamp [ 2017-02-14 14:01:16 ] | |||||||||
Post subject: | Re: Lua scripting related requests | |||||||||
For next release, I moved the call to that Lua callback so that it is invoked each time a push is detected (and even if a former push from the same perpetrator occurred before). |
Author: | ZaneZimer [ 2017-02-14 19:34:04 ] | |||||||||
Post subject: | Re: Lua scripting related requests | |||||||||
That's great. Thank you. As an aside, I am enjoying customizing my viewer experience with Lua. I appreciate you adding it as a feature. |
Page 1 of 10 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |