How are mod conflicts resolved?
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 3034
- Joined: Fri, 18. Nov 05, 00:41
How are mod conflicts resolved?
Out of interest. I made a mod that changes the default paint themes (xml patch), lets say I install another mod that changes them too such as Nakpaints (this mod changes the themes and also adds new paintjobs). How would this be resolved by the game, and is it possible to control it somehow?
Gallery of my X ships and fanart eg, Boron Megalodon
My wishlist
Disclaimer: Axeface will ignore 'don't like it don't use it' responses
My wishlist
Disclaimer: Axeface will ignore 'don't like it don't use it' responses

-
- Posts: 444
- Joined: Sun, 25. Feb 07, 19:59
Re: How are mod conflicts resolved?
Mods load alphabetically and override as they go.
Let's Play Poorly! - Suboptimal X4 Playthroughs
-
- Posts: 3034
- Joined: Fri, 18. Nov 05, 00:41
Re: How are mod conflicts resolved?
Thanks! Is that the mods name as displayed in game, folder name, id?
Gallery of my X ships and fanart eg, Boron Megalodon
My wishlist
Disclaimer: Axeface will ignore 'don't like it don't use it' responses
My wishlist
Disclaimer: Axeface will ignore 'don't like it don't use it' responses

-
- Posts: 1466
- Joined: Wed, 16. Nov 11, 18:37
Re: How are mod conflicts resolved?
You can also declare dependencies in the content.xml
The extension will always load after its dependencies. And if it’s optional it will load after if the dependency is there otherwise it loads as normal.
Parent Tag - content
Tag - dependency
Attributes
id - of the dependency
optional - set to 1 or 0 for if the dependency is optional or required
The extension will always load after its dependencies. And if it’s optional it will load after if the dependency is there otherwise it loads as normal.
Parent Tag - content
Tag - dependency
Attributes
id - of the dependency
optional - set to 1 or 0 for if the dependency is optional or required
-
- Posts: 1466
- Joined: Wed, 16. Nov 11, 18:37
Re: How are mod conflicts resolved?
Also learned today from Discord that new base or extension files are loaded first followed by any patches.
-
- Moderator (Script&Mod)
- Posts: 14571
- Joined: Sun, 20. Nov 05, 22:45
Re: How are mod conflicts resolved?
It also helps to review the log to see if some changes don't work. Add '-logfile debuglog.txt' as startup parameter and look for errors like could not resolve xpath (or similar, can't look it up currently)
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
