Compiled Index of Lua Scripts for Visionaire Studio: Difference between revisions
From The Official Visionaire Studio: Adventure Game Engine Wiki
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
Here you can find a list of | Here you can find a list of Lua scripts made by various members of the Visionaire Studio team & forum community. | ||
''If you would like to share your own script and see it added to that list, please tell us on our [https://discord.gg/g5zFejW Discord] or in the [http://visionaire-studio.net forum].'' | ''If you would like to share your own script and see it added to that list, please tell us on our [https://discord.gg/g5zFejW Discord] or in the [http://visionaire-studio.net forum].'' | ||
== | == Interfaces & Items == | ||
{| class="ts sortable" | {| class="ts sortable" | ||
|- | |- | ||
! style="text-align:left" | | ! style="text-align:left;width:25%" | Script Name | ||
! style="text-align:left | ! style="text-align:left" class="unsortable" | Description | ||
! style="text-align:left;width:10%" | ! style="text-align:left;width:10%" | Level | ||
! style="text-align:left;width:10%" | By | |||
|- | |- | ||
| [[ | | [[Cycle_Inventory_Items_(CMS)|Cycle Inventory Items]] || Endlessly scroll through the inventory items forwards or backwards || Intermediate || AFRLme | ||
|- | |- | ||
| [[ | | [[Dynamic_Action_Names_for_Dragged_Items_(CMS)|Dynamic Action Names for Dragged Items]] || || Advanced || AFRLme | ||
|- | |- | ||
| [[Sliding_Interface_MKIII_(CMS)|Sliding Interface MKIII]] || Slide interfaces in & out with duration & easing options || AFRLme | | [[Insert_Item_(CMS)|Insert Item]] || Insert an item into the inventory before or after a specific item (needs updating) || Intermediate || AFRLme | ||
|- | |||
| [[Organize_Inventory_Items_Alphabetically_(CMS)|Organize Inventory Items Alphabetically]] || Sort inventory items alphabetically (needs updating) || Intermediate || AFRLme | |||
|- | |||
| [[Replace_Item_(CMS)|Replace Item]] || Replace an item in the inventory with another item (used for item combination) || Intermediate || AFRLme | |||
|- | |||
| [[Sliding_Interface_MKIII_(CMS)|Sliding Interface MKIII]] || Slide interfaces in & out with duration & easing options || Basic || AFRLme | |||
|- | |||
| [[Deponia_Based_Sliding_Interface_(CMS)|Sliding Interfaces]] || based on Deponia || Advanced || AFRLme | |||
|} | |} | ||
== | |||
== Sound == | |||
{| class="ts sortable" | {| class="ts sortable" | ||
|- | |- | ||
! style="text-align:left" | | ! style="text-align:left;width:25%" | Script Name | ||
! style="text-align:left | ! style="text-align:left" class="unsortable" | Description | ||
! style="text-align:left;width:10%" | ! style="text-align:left;width:10%" | Level | ||
! style="text-align:left;width:10%" | By | |||
|- | |- | ||
| [[ | | [[Chained_Volume_Control_(CMS)|Chained Volume Control]] || Automatically dips music volume when a character talks & restores it when they have finished talking || Basic || AFRLme | ||
|- | |- | ||
| | | [[Mute/Restore_Volume_(CMS)|Toggle Mute Volume]] || Toggle mute & restore volume via keybind or an interface button || Basic || AFRLme | ||
|} | |||
== Text == | |||
{| class="ts sortable" | |||
|- | |||
! style="text-align:left;width:25%" | Script Name | |||
! style="text-align:left" class="unsortable" | Description | |||
! style="text-align:left;width:10%" | Level | |||
! style="text-align:left;width:10%" | By | |||
|- | |- | ||
| | | [[Argo Bubbles]] || Dynamic Stylized Speech Bubbles (optional styling) || Advanced || The Argonauts | ||
|- | |- | ||
| [[ | | <s>[[Dynamic_Action_Names_(CMS)|Dynamic Action Names]]</s> || Update action text on mouse over (deprecated) || Intermediate || AFRLme | ||
|- | |- | ||
| [[Kill_Background_Text_(CMS)|Kill Background Text]] || Allows you to skip background texts || AFRLme | | [[Kill_Background_Text_(CMS)|Kill Background Text]] || Allows you to skip background texts || Intermediate || AFRLme | ||
|- | |- | ||
| [[ | | [[UpdateCharName_(CMS)|updateCharName()]] || Dynamically update the name of characters on mouse over || Intermediate || AFRLme | ||
|- | |- | ||
| [[ | | [[UpdateName_(CMS)|updateName()]] || Dynamically update the name of the current object below the mouse cursor (multi-language support) || Intermediate || AFRLme | ||
|} | |||
== Puzzles == | |||
{| class="ts sortable" | |||
|- | |||
! style="text-align:left;width:25%" | Script Name | |||
! style="text-align:left" class="unsortable" | Description | |||
! style="text-align:left;width:10%" | Level | |||
! style="text-align:left;width:10%" | By | |||
|- | |- | ||
| [[ | | [[Sliding_Puzzle_(CMS)|Sliding Puzzle (3x3)]] || || Advanced || AFRLme | ||
|} | |} | ||
== | |||
== Miscellaneous == | |||
{| class="ts sortable" | {| class="ts sortable" | ||
|- | |- | ||
! style="text-align:left" | | ! style="text-align:left;width:25%" | Script Name | ||
! style="text-align:left | ! style="text-align:left" class="unsortable" | Description | ||
! style="text-align:left;width:10%" | ! style="text-align:left;width:10%" | Level | ||
! style="text-align:left;width:10%" | By | |||
|- | |- | ||
| [[Read/Write_Config.ini_(CMS)|Config.ini (read/write)]] || Used to store & retrieve the players option choices || AFRLme | | [[Read/Write_Config.ini_(CMS)|Config.ini (read/write)]] || Used to store & retrieve the players option choices || Advanced || AFRLme | ||
|- | |- | ||
| [[ | | <s>[[Global_Command_Checker_(CMS)|Global Command Checker]]</s> || Dynamically determine which commands are accessible on mouse over objects (needs updating) || Intermediate || AFRLme | ||
|- | |- | ||
| [[ | | [[Loop_Me_Not_(CMS)|Loop Me Not]] || Create a self-looping function that loops a specific amount of times || Intermediate || AFRLme | ||
|- | |- | ||
| [[Self_Looping_Function_with_Delay_(CMS)|Self Looping Function with Delay]] || 2 versions || | | [[Self_Looping_Function_with_Delay_(CMS)|Self Looping Function with Delay]] || 2 versions || Advanced || AFRLme | ||
|} | |} | ||
== Math Functions == | == Math Functions == | ||
{| class="ts sortable" style="width:100%" | {| class="ts sortable" style="width:100%" | ||
|- | |- | ||
! style="text-align:left" | | ! style="text-align:left;width:25%" | Script Name | ||
! style="text-align:left;width: | ! style="text-align:left" class="unsortable" | Description | ||
! style="text-align:left;width:10%" | Level | |||
! style="text-align:left;width:10%" | By | |||
|- | |- | ||
| [[SecondsToDays_(CMS)|secondsToDays()]] || Convert seconds to dd time format. | | [[SecondsToDays_(CMS)|secondsToDays()]] || Convert seconds to dd time format. || Basic || AFRLme | ||
|- | |- | ||
| [[SecondsToHours_(CMS)|secondsToHours()]] || Convert seconds to hh time format. | | [[SecondsToHours_(CMS)|secondsToHours()]] || Convert seconds to hh time format. || Basic || AFRLme | ||
|- | |- | ||
| [[SecondsToMinutes_(CMS)|secondsToMinutes()]] || Convert seconds to mm time format. | | [[SecondsToMinutes_(CMS)|secondsToMinutes()]] || Convert seconds to mm time format. || Basic || AFRLme | ||
|- | |- | ||
| [[SecondsToSeconds_(CMS)|secondsToSeconds()]] || Convert seconds to ss time format. | | [[SecondsToSeconds_(CMS)|secondsToSeconds()]] || Convert seconds to ss time format. || Basic || AFRLme | ||
|- | |- | ||
| [[SecondsToTime_(CMS)|secondsToTime()]] || Convert seconds to dd:hh:mm:ss time format. | | [[SecondsToTime_(CMS)|secondsToTime()]] || Convert seconds to dd:hh:mm:ss time format. || Basic || AFRLme | ||
|} | |} | ||
== | == Workflow Functions == | ||
{| class="ts sortable" | {| class="ts sortable" | ||
|- | |||
! style="text-align:left;width:25%" | Script Name | |||
! style="text-align:left" class="unsortable" | Description | |||
! style="text-align:left;width:10%" | Level | |||
! style="text-align:left;width:10%" | By | |||
|- | |- | ||
| [[AlignChar_(CMS)|alignChar()]] || Quickly align a character to another character. || Basic || AFRLme | |||
| [[ | |||
| | |||
| | |||
|- | |- | ||
| [[ | | [[AlignObj_(CMS)|alignObj()]] || Quickly align a character to a scene object. || Basic || AFRLme | ||
|- | |- | ||
| [[ | | [[ChangeOutfit_(CMS)|changeOutfit()]] || Quickly change the outfit of a character. || Basic || AFRLme | ||
|- | |- | ||
| [[ | | [[ChangeScene_(CMS)|changeScene()]] || Change to another scene with a specific transition effect over a specified amount of time. || Basic || AFRLme | ||
|- | |- | ||
| [[ | | [[CheckCond_(CMS)|checkCond()]] || Quickly check the boolean value of a condition. || Basic || AFRLme | ||
|- | |- | ||
| [[ | | [[IsInRadius_(CMS)|isInRadius()]] || Quickly determine if mouse cursor is inside of a specified radius of an objects center or characters position. || Basic || AFRLme | ||
|- | |- | ||
| [[ | | [[LangVisibility_(CMS)|langVisibility()]] || Quickly fade in all scene objects containing the active language name, & fade out all scene objects containing other language names. || Basic || AFRLme | ||
|- | |- | ||
| [[ | | [[MoveObj_(CMS)|moveObj()]] || Move an object from one position to another over x amount of milliseconds. || Basic || AFRLme | ||
|- | |- | ||
| [[ | | [[ObjName_(CMS)|objName()]] || Return the action text name of a specified object (returns active language name). || Basic || Sebastian | ||
|- | |- | ||
| [[ | | [[ObjVisibility_(CMS)|objVisibility()]] || Quickly update the opacity of multiple scene objects, duration & easing are optional. || Basic || AFRLme | ||
|- | |- | ||
| [[ | | [[ResetAnimFrames_(CMS)|resetAnimFrames()]] || Quickly reset the specified animations current frame range back to the default animation frame range. || Basic || AFRLme | ||
|- | |- | ||
| [[ | | [[SetAnimFrames_(CMS)|setAnimFrames()]] || Quickly set the first & last frame of an active animation. || Basic || AFRLme | ||
|- | |- | ||
| [[ | | [[SetAnimSize_(CMS)|setAnimSize()]] || Quickly set the size of an active animation. || Basic || AFRLme | ||
|- | |- | ||
| [[ | | [[SetCondition_(CMS)|setCondition()]] || Quickly set or toggle the boolean value of a condition. || Basic || AFRLme | ||
|- | |- | ||
| [[ | | [[SetConditions_(CMS)|setConditions()]] || Quickly set or toggle the boolean value of multiple conditions. || Basic || AFRLme | ||
|- | |- | ||
| [[ | | [[SetLang_(CMS)|setLang()]] || Quickly set the spoken language & subtitle language. || Basic || AFRLme | ||
|- | |- | ||
| [[ | | [[SetSceneBrightness_(CMS)|setSceneBrightness()]] || Quickly set the brightness/contrast level of a specific scene or the current scene. || Basic || AFRLme | ||
|- | |- | ||
| [[ | | [[setVal_(CMS)|setVal()]] || Quickly set the integer or string of a value. || Basic || AFRLme | ||
|- | |- | ||
| [[ | | [[UpdateData_(CMS)|updateData()]] || Quickly update multiple data types via a table & the function. || Basic || AFRLme | ||
| | |||
|} | |} | ||
== | == General Developing == | ||
{| class="ts sortable" | {| class="ts sortable" | ||
|- | |- | ||
! style="text-align:left" | | ! style="text-align:left;width:25%" | Script Name | ||
! style="text-align:left | ! style="text-align:left" class="unsortable" | Description | ||
! style="text-align:left;width:10%" | ! style="text-align:left;width:10%" | Level | ||
! style="text-align:left;width:10%" | By | |||
|- | |- | ||
| [[ | | [[How_to_Load_External_Scripts_Into_Visionaire_Studio_(CMS)|Load External Scripts]] || Allows you to load external scripts into Visionaire || Intermediate || Divo | ||
|} | |||
| | {{toc}} | ||
| | |||
Revision as of 17:34, 5 August 2023
Here you can find a list of Lua scripts made by various members of the Visionaire Studio team & forum community.
If you would like to share your own script and see it added to that list, please tell us on our Discord or in the forum.
Interfaces & Items
| Script Name | Description | Level | By |
|---|---|---|---|
| Cycle Inventory Items | Endlessly scroll through the inventory items forwards or backwards | Intermediate | AFRLme |
| Dynamic Action Names for Dragged Items | Advanced | AFRLme | |
| Insert Item | Insert an item into the inventory before or after a specific item (needs updating) | Intermediate | AFRLme |
| Organize Inventory Items Alphabetically | Sort inventory items alphabetically (needs updating) | Intermediate | AFRLme |
| Replace Item | Replace an item in the inventory with another item (used for item combination) | Intermediate | AFRLme |
| Sliding Interface MKIII | Slide interfaces in & out with duration & easing options | Basic | AFRLme |
| Sliding Interfaces | based on Deponia | Advanced | AFRLme |
Sound
| Script Name | Description | Level | By |
|---|---|---|---|
| Chained Volume Control | Automatically dips music volume when a character talks & restores it when they have finished talking | Basic | AFRLme |
| Toggle Mute Volume | Toggle mute & restore volume via keybind or an interface button | Basic | AFRLme |
Text
| Script Name | Description | Level | By |
|---|---|---|---|
| Argo Bubbles | Dynamic Stylized Speech Bubbles (optional styling) | Advanced | The Argonauts |
| Update action text on mouse over (deprecated) | Intermediate | AFRLme | |
| Kill Background Text | Allows you to skip background texts | Intermediate | AFRLme |
| updateCharName() | Dynamically update the name of characters on mouse over | Intermediate | AFRLme |
| updateName() | Dynamically update the name of the current object below the mouse cursor (multi-language support) | Intermediate | AFRLme |
Puzzles
| Script Name | Description | Level | By |
|---|---|---|---|
| Sliding Puzzle (3x3) | Advanced | AFRLme |
Miscellaneous
| Script Name | Description | Level | By |
|---|---|---|---|
| Config.ini (read/write) | Used to store & retrieve the players option choices | Advanced | AFRLme |
| Dynamically determine which commands are accessible on mouse over objects (needs updating) | Intermediate | AFRLme | |
| Loop Me Not | Create a self-looping function that loops a specific amount of times | Intermediate | AFRLme |
| Self Looping Function with Delay | 2 versions | Advanced | AFRLme |
Math Functions
| Script Name | Description | Level | By |
|---|---|---|---|
| secondsToDays() | Convert seconds to dd time format. | Basic | AFRLme |
| secondsToHours() | Convert seconds to hh time format. | Basic | AFRLme |
| secondsToMinutes() | Convert seconds to mm time format. | Basic | AFRLme |
| secondsToSeconds() | Convert seconds to ss time format. | Basic | AFRLme |
| secondsToTime() | Convert seconds to dd:hh:mm:ss time format. | Basic | AFRLme |
Workflow Functions
| Script Name | Description | Level | By |
|---|---|---|---|
| alignChar() | Quickly align a character to another character. | Basic | AFRLme |
| alignObj() | Quickly align a character to a scene object. | Basic | AFRLme |
| changeOutfit() | Quickly change the outfit of a character. | Basic | AFRLme |
| changeScene() | Change to another scene with a specific transition effect over a specified amount of time. | Basic | AFRLme |
| checkCond() | Quickly check the boolean value of a condition. | Basic | AFRLme |
| isInRadius() | Quickly determine if mouse cursor is inside of a specified radius of an objects center or characters position. | Basic | AFRLme |
| langVisibility() | Quickly fade in all scene objects containing the active language name, & fade out all scene objects containing other language names. | Basic | AFRLme |
| moveObj() | Move an object from one position to another over x amount of milliseconds. | Basic | AFRLme |
| objName() | Return the action text name of a specified object (returns active language name). | Basic | Sebastian |
| objVisibility() | Quickly update the opacity of multiple scene objects, duration & easing are optional. | Basic | AFRLme |
| resetAnimFrames() | Quickly reset the specified animations current frame range back to the default animation frame range. | Basic | AFRLme |
| setAnimFrames() | Quickly set the first & last frame of an active animation. | Basic | AFRLme |
| setAnimSize() | Quickly set the size of an active animation. | Basic | AFRLme |
| setCondition() | Quickly set or toggle the boolean value of a condition. | Basic | AFRLme |
| setConditions() | Quickly set or toggle the boolean value of multiple conditions. | Basic | AFRLme |
| setLang() | Quickly set the spoken language & subtitle language. | Basic | AFRLme |
| setSceneBrightness() | Quickly set the brightness/contrast level of a specific scene or the current scene. | Basic | AFRLme |
| setVal() | Quickly set the integer or string of a value. | Basic | AFRLme |
| updateData() | Quickly update multiple data types via a table & the function. | Basic | AFRLme |
General Developing
| Script Name | Description | Level | By |
|---|---|---|---|
| Load External Scripts | Allows you to load external scripts into Visionaire | Intermediate | Divo |