Added global loading of lua scripts#342
Closed
mark-mon wants to merge 8 commits intopraydog:masterfrom
Closed
Conversation
Added global loading of lua scripts from %appdata%\UnrealVRMod\UEVR\Scripts\ to match the same behavior for profiles and plugins. This is especially handy in light of the new scriptui functionality in uevr.
Allow loading of lua scripts from %appdata%\unrealvrmods\UEVR\scripts globally like plugins and profiles.
Adds global directory loading of LUA scripts from %appdata%\UnrealVRMod\UEVR\Scripts folder just like plugins and profiles.
The contents of each panel would show up on its panel, but also in main and in script ui panels. This fixes that by checking the panel name before drawing the panel contents.
The contents of each panel would show up on its panel, but also in main and in script ui panels. This fixes that by checking the panel name before drawing the panel contents.
The contents of each panel would show up on its panel, but also in main and in script ui panels. This fixes that by checking the panel name before drawing the panel contents.
The contents of each panel would show up on its panel, but also in main and in script ui panels. This fixes that by checking the panel name before drawing the panel contents.
Contributor
Author
|
This became a mess. Plan to submit it again. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This allows for installing and loading lua scripts from the global scripts dir located at %appdata%\UnrealVRMod\UEVR\scripts. The same idea as profiles and plugins. This is especially useful now that the lua scripts ui panes exist.
Some useful global scripts can be written such as controller configurations with GUI config, extended cvar panes in a script that handle some popular things like r.Fog, and lumen. These are just some examples.