Is there a way to specify mod conflicts?

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

wmcdannell
Posts: 15
Joined: Thu, 23. Mar 23, 21:23
x4

Is there a way to specify mod conflicts?

Post by wmcdannell »

I see there is a way to specify mod dependencies in content.xml but I'm curious (and can't easily find) if there is a way to specify mod conflicts. Some of my mods (and planned future mods) conflict with each other (by modifying the same values) and if possible I want to prevent them from loading together. Thank you!
AKA Toazd on Nexus mods and Steam
keeshah
Posts: 116
Joined: Sun, 20. Jun 04, 11:20
x4

Re: Is there a way to specify mod conflicts?

Post by keeshah »

Yes, there is a way. You can define dependencies.
<dependency id="ws_1915659788" optional="true" name="ShowMePlayerStuffDestroyed"/>
<dependency id="ws_2046100040" optional="true" name="Cheat Menu"/>
This defines a dependency, which means, that your mod will be the last one of those loaded, so your settings overwrite those of the other mods.
Afaik it's not possible to prevent a mod from loading.
wmcdannell
Posts: 15
Joined: Thu, 23. Mar 23, 21:23
x4

Re: Is there a way to specify mod conflicts?

Post by wmcdannell »

keeshah wrote: Sun, 23. Apr 23, 16:00 ...
Afaik it's not possible to prevent a mod from loading.
Thank you!
AKA Toazd on Nexus mods and Steam

Return to “X4: Foundations - Scripts and Modding”