Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProjectSettings.load_resource_pack custom root argument #10745

Closed
walksanatora opened this issue Sep 15, 2024 · 1 comment
Closed

ProjectSettings.load_resource_pack custom root argument #10745

walksanatora opened this issue Sep 15, 2024 · 1 comment

Comments

@walksanatora
Copy link

Describe the project you are working on

I am trying to make a project with simple (but non overwriting mod loading)
The ability to specify a root within the resource tree would make it easier to section mods off into their own areas

Describe the problem or limitation you are having in your project

Currently whenever you load a packed scene you have to dump all it's content into the root res:// folder. Which prevents me from having each mod have a eg: mod.json file in it's root as then the first mod to load is the only one with it's json present

Describe the feature / enhancement and how it helps to overcome the problem or limitation

This would allow me to make eg: res://mods/modA modB modC and have each unpacked into their own folders

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Mabey a root: String = "res://" argument for the load_resource_pack function

If this enhancement will not be used often, can it be worked around with a few lines of script?

Leave the extra argument blank and it will default too root just like the old behaviour

Is there a reason why this should be core and not an add-on in the asset library?

This should be in core because I don't see any way for add-ons to implement this feature.

@AThousandShips
Copy link
Member

Thank you for your proposal, consolidating in:

@AThousandShips AThousandShips closed this as not planned Won't fix, can't repro, duplicate, stale Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants