Skip to content

Added global loading of lua scripts#342

Closed
mark-mon wants to merge 8 commits intopraydog:masterfrom
mark-mon:master
Closed

Added global loading of lua scripts#342
mark-mon wants to merge 8 commits intopraydog:masterfrom
mark-mon:master

Conversation

@mark-mon
Copy link
Contributor

@mark-mon mark-mon commented May 7, 2025

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.

mark-mon and others added 8 commits May 7, 2025 01:25
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.
@mark-mon mark-mon closed this May 7, 2025
@mark-mon
Copy link
Contributor Author

mark-mon commented May 7, 2025

This became a mess. Plan to submit it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant