Need [dev/modder] help with DLC modding bug

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

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

Post Reply
DeadAirRT
Posts: 1022
Joined: Fri, 25. Jan 19, 03:26
x4

Need [dev/modder] help with DLC modding bug

Post by DeadAirRT » Thu, 2. Apr 20, 21:17

Cheers all,

So I'm running into a very strange bug. For some reason when I load a game saved with the split DLC and my mods, god station/production is running again. I'm at my wits end as nothing that I've seen forces god to run again in any of the scripts.

Any ideas on what to check? I've managed to tame the spawning of multiple god stations (shipyards, wharf, tradestations, equipment docks, defense stations) by setting up my quotas to be very precise. My mod completely replaces production section so it shouldn't have additional entries being added by the split DLC (which my mod has as a dependency in case).

DeadAirRT
Posts: 1022
Joined: Fri, 25. Jan 19, 03:26
x4

Re: Need [dev/modder] help with DLC modding bug

Post by DeadAirRT » Thu, 2. Apr 20, 22:49

I found a solution, but I have no clue why it worked.

In content.xml I changed save="1" to save="0"

In theory, all this should do is add a flag that the mod is required to load any save made with the mod.

Post Reply

Return to “X4: Foundations - Scripts and Modding”