Mod load order - Am I missing something?

Place to get help with not working mods / modding interface.
Post Reply
xBlizzDevious
Fast Inserter
Fast Inserter
Posts: 108
Joined: Mon Feb 02, 2015 10:15 pm
Contact:

Mod load order - Am I missing something?

Post by xBlizzDevious »

Hello!

I seem to have a couple of issues with mod load order and I'm trying to figure out how to fix it. I've seen mod authors saying to change it, but I've never seen ANY documentation anywhere from scouring the wiki, Googling and searching on the forum.

So, quick question:
How do I change the order in which mods load?

Thanks.

User avatar
rk84
Filter Inserter
Filter Inserter
Posts: 556
Joined: Wed Feb 13, 2013 9:15 am
Contact:

Re: Mod load order - Am I missing something?

Post by rk84 »

Key word for searching is dependencies.

I think mod loading order forms up from 3 things:
1. Dependencies. Mod with dependency is load later than dependent mod.
2. Dependency count. Mods with 2 dependencies are loads after mods with only one dependency. (optional missing mods does not count)
3. Naming

https://forums.factorio.com/wiki/inde ... dencies.3F
https://forums.factorio.com/wiki/inde ... nformation
Test mode
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela

Martc
Long Handed Inserter
Long Handed Inserter
Posts: 85
Joined: Wed May 21, 2014 8:20 am
Contact:

Re: Mod load order - Am I missing something?

Post by Martc »

This can be also helpful to solve mod load order.
Changelog for 0.11 wrote:Added phases to the mod loading. data.lua of all mods is loaded first, then the data-updates.lua and the data-final-fixes.lua as last.
This allows mods to change the data of other mods without the need to be last. This is used even in the base game, to add the
dust effect when a building is created, so the effect is added to mod buildings as well.

xBlizzDevious
Fast Inserter
Fast Inserter
Posts: 108
Joined: Mon Feb 02, 2015 10:15 pm
Contact:

Re: Mod load order - Am I missing something?

Post by xBlizzDevious »

rk84 wrote:Key word for searching is dependencies.

I think mod loading order forms up from 3 things:
1. Dependencies. Mod with dependency is load later than dependent mod.
2. Dependency count. Mods with 2 dependencies are loads after mods with only one dependency. (optional missing mods does not count)
3. Naming

https://forums.factorio.com/wiki/inde ... dencies.3F
https://forums.factorio.com/wiki/inde ... nformation
Ah, so all I have to do is edit a mod file to tell it that it requires something else?

For example, I have MoPower and Endless Resources installed but Endless Resources loads before MoPower so Uranium is not endless.
So all I have to do is add a dependency for Mopower (with a question mark for "proper-ness") within Endless Resources?

Thanks! I'll give that a shot.


EDIT: Thanks, I read up on those links and then did as needed - it now works properly!

Post Reply

Return to “Modding help”