DFF / Replace vs. Entire New File

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

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

user1679
Posts: 854
Joined: Fri, 20. Jul 18, 23:20

DFF / Replace vs. Entire New File

Post by user1679 » Fri, 30. Jun 23, 03:27

Question:

If I create a patch that replaces an entire file instead of using DIFF to replace cues, will I end up with duplicate cue instances?

Details:

If I have a file: myfile.xml that has a bunch of cues in it that I might want to do something else if there is another mod installed, is It OK to create a patch mod that simply has a different version of myfile.xml instead of doing a DIFF/Replace for every cue? The new file will still have the same CUE / CUES defined, they will just have different actions within each.

Of course I'd control the loading of the patch mod using dependencies.

Return to “X4: Foundations - Scripts and Modding”