Page 1 of 1
[RESOLVED] Load Order (Always Load Mod Last)?...
Posted: Wed Jul 05, 2017 6:15 pm
by Volvith
Hi guys,
Quick question, is there any way to always run a specific mod as last in the queue? (other than dependencies)
Trying this because of compatibility reasons with category re-assignment. :3
If not, can i assign variable dependencies?
Like: "If mod A is active, this mod depends on mod A..."?
Cheers lads!

Re: Load Order (Always Load Mod Last)?...
Posted: Wed Jul 05, 2017 6:36 pm
by darkfrei
Re: Load Order (Always Load Mod Last)?...
Posted: Wed Jul 05, 2017 9:56 pm
by Volvith
Well, this at least got me somewhere.
I realized that the edits that were being overridden by another mod were in the updates instead of final-fixes, so i dumped everything in the latter, and it works properly, for as far as i've checked so far.
I wonder though, can i add some data.raw recipe changes to the control.lua?
Because if any author decides to use the data-final-fixes, it will run later than my mod, due to naming.
I think that shouldn't be a problem, as long as i don't turn it into a 500+ line file?... (with it being run on every game load and all that. :/)
Alternatively, could i use an on_load script for this purpose?
Anyways, thanks for the help, didn't really take a good look at data-cycles before... :3
Re: Load Order (Always Load Mod Last)?...
Posted: Wed Jul 05, 2017 11:20 pm
by orzelek
You can't touch data.raw after game load.
One thing you can do is to make optional dependency if you find a mod that does things to late for you to update.
Adding new item categories in final updates in normal mod would be strange so you should be able to safely reorder them there.
Re: Load Order (Always Load Mod Last)?...
Posted: Thu Jul 06, 2017 11:05 am
by Volvith
orzelek wrote:You can't touch data.raw after game load.
One thing you can do is to make optional dependency if you find a mod that does things to late for you to update.
Adding new item categories in final updates in normal mod would be strange so you should be able to safely reorder them there.
Yeah, didn't think i could use control for this, thanks for clearing that up...
Oh well, i might mess around with dependencies for a bit in that case, if any problems arise.
Again, thanks for the help.
