Stranded: Alien Dawn

Stranded: Alien Dawn

Stranded: Alien Dawn Workshop
Explore other users workshop creations, upload, download and subscribe to new content
Olleus 1 2023 年 12 月 6 日 上午 8:22
Mod Load Order
What determines it? Can we check what it is? Are mods loaded sequentially, or is it something like all the Lua from all the mods, then all the data changes? Can we define the load order we want? I presume that as mods can set dependencies, those will be loaded first? Can we set a default "load this mod last"?
< >
正在显示第 1 - 4 条,共 4 条留言
Olleus 1 2023 年 12 月 7 日 上午 5:54 
Anyone?
injto4ka 30 2023 年 12 月 7 日 上午 5:58 
You should use mod dependencies if the load order matters.
Olleus 1 2023 年 12 月 7 日 上午 6:03 
Yes, I get that, but that doesn't answer 5 out of my 6 questions.

If there are no dependencies listed, what order do things load in? How can I check what order things are loaded in? Is there a way I can make a mod be loaded last (unless it's a dependency of something else)?
最后由 Olleus 编辑于; 2023 年 12 月 7 日 上午 6:03
Mnementh 21 2023 年 12 月 8 日 上午 12:57 
Hi Olleus,

There is no sure way to guarantee that your mod will be loaded after all mods that the player has subscribed to. However, there are message hooks that you can use to make changes after all mods have been loaded.

For example:
function OnMsg.ModsReloaded() -- do something end
The ModsReloaded message is fired after all mods have been loaded.
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50