Hi everybody, I'm trying to figure out how to make a game moddable and especially how and where to install new mods (.PCK files) in the compiled game and how the main code has to be developed to be able to read new mods.
Step 1 Create and compile a project My question is: how can the project find and read new MODS? Is it fine if I create a kind of directory listing and let the program "list" all the ".tscn" within?
Step 2 Let users to install new mods How can I make directories able to get new mods? For example. I have a dir "Enemies" with few subdirs. Is it possible to let mod installation (with any installer program) creates new dir and copy the new mods on it?
3 Execute new mods func _your_function(): ProjectSettings.load_resource_pack("res://mod.pck")
Now one can use the assets as if they had them in the project from the start
var imported_scene = load("res://mod_scene.tscn")