X4: Foundations

X4: Foundations

Trader Seminars
draeath  [developer] 13 Jul, 2022 @ 2:10pm
Star Wars Interworlds (SWI) compatibility
As noted in the main comments, SWI makes some edits in a way that steps on top of what I'm doing for this mod. Because of the way the modding tools with the workshop work (bug report here[forum.egosoft.com]), I cannot declare it as an optional dependency (which should solve the issue by fixing the load order).

You may be able to edit this mod's content.xml manually to do this.

Give this a try:

First, find and open up "content.xml" in "extensions/kk4duy_trader_seminars" (or "extensions/ws_2436999794") in a text editor. If you don't have a preference already, I recommend Notepad++ or VSCode.

Add the following line just above the "<text ..." lines, as you can see in this before/after screenshot.[imgur.com]

<dependency id="SW Interworlds" optional="true" />

The text in id="" must be exact (it must match the id="" in the SWI mod's content.xml - for example in my own you see id="ws_2436999794") and is case-sensitive.

This should cause X4 to load SWI before it loads this one, which should allow the required edits to work in the direction we need them to work.

I'm interested in a confirmation if this works for you or not, if you try it.
Last edited by draeath; 13 Jul, 2022 @ 2:29pm
< >
Showing 1-5 of 5 comments
Wolfeman 14 Jul, 2022 @ 3:56pm 
I tried it but did not see any difference in seminar supply at the station.
draeath  [developer] 14 Jul, 2022 @ 4:33pm 
Please try with a new game, if you didn't.
Wolfeman 16 Jul, 2022 @ 4:15am 
Good news. It works with a new gsme.
Wolfeman 16 Jul, 2022 @ 7:03am 
Because the optional flag is set, I presume this means I can leave the configuration for use in non-swi games as well?
Last edited by Wolfeman; 16 Jul, 2022 @ 7:03am
draeath  [developer] 18 Jul, 2022 @ 6:25am 
Yea, exactly. It effectively establishes an order-of-precedence without requiring the other to be present.
< >
Showing 1-5 of 5 comments
Per page: 1530 50