(new modder) testing DLC mod changes

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

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

Post Reply
rudi_pioneer
Posts: 394
Joined: Fri, 2. Apr 21, 21:06
x4

(new modder) testing DLC mod changes

Post by rudi_pioneer » Tue, 24. Jan 23, 21:56

Hi everyone,

I'm looking to change nebulas in Windfall to earlier version, since there's no mod for it, and few people are asking. This is my first time working on making a mod - I have some experience extracting .xml files and making changes.

Part I'm stuck on is making changes to region definitions xml file (specifically, ToA DLC one). I assumed that my process would be this:

1) extract regions definition file
2) put file either in project root or DLC root with correct path (/libraries)
3) make changes to file, test in game, repeat <-- this part is not working, I think
4) once happy with changes, build a proper mod file with replace selectors
5) publish the mod

However, while extracting base game xml files and placing them in right folder outside package files work, it doesn't seem to work with ToA xml files (I've changed bunch of nebula and fog values for windfall sectors)

What's the quick and dirty way to iterate on DLC file changes?

User avatar
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 13289
Joined: Sun, 15. Feb 04, 20:12
x4

Re: (new modder) testing DLC mod changes

Post by euclid » Wed, 25. Jan 23, 12:57

Did you forget the index folder and the components.xml in there? It should point to the region_definitions file.

Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786

rudi_pioneer
Posts: 394
Joined: Fri, 2. Apr 21, 21:06
x4

Re: (new modder) testing DLC mod changes

Post by rudi_pioneer » Mon, 30. Jan 23, 06:27

Thank you, that worked! Publishing mod now!

Post Reply

Return to “X4: Foundations - Scripts and Modding”