Originally Posted by JTE10
As I understand it, if a mod contains certain files in the right place, then those files will be read/used before the base game files so that a mod can override anything. So when the game says 'what are Jahan's stats?' it will look in SteamApps\Common\Divinity - Original Sin\Data\Public\Main\Stats\Generated\Data.txt for that information. BUT if you are using a mod, it will FIRST check SteamApps\Common\Divinity - Original Sin\Data\Public\NAMEOFMOD\Stats\Generated\Data.txt for that information. In this case the name of the mod I am using is 4Player_-_Test_1ddd6993-6d9b-4e71-a437-1195dd217cf6. So any stats put into that second folder will be read first and used to override the original stats.

The pattern there seems to be that if you recreate file paths so that the name of your mod is an alternative to 'Main,' you can override things without editing base files (which upsets the game). So the henchmen preset files are located in Data\Mods\Main\CharacterCreation\HenchManPresets... following the pattern I made my own folder chain SteamApps\Common\Divinity - Original Sin\Data\Mods\4Player_-_Test_1ddd6993-6d9b-4e71-a437-1195dd217cf6\CharacterCreation\HenchManPresets. My thinking was that any .lsx preset file I put into that new folder would override the original preset. Anyways, short version is:


I believe this is technically incorrect.
The game determines a load order for mods based on the dependencies specified in the mod meta.lsx files; then it'll load all mod files in that order.

Eg. for Character.txt, it'll first load Public\Main\Stats\Generated\Character.txt and load all stat entries.
Then it'll load the same file from other mods (Public\4Player_-_Test_1ddd6993-6d9b-4e71-a437-1195dd217cf6\Stats\Generated\Character.txt in this case). The way conflict resolution works can vary from file to file; in the case of Character.txt, newer entries with the same name seem to overwrite the older ones.
(Though this can create interesting edge cases, such as when two mods contain the same entry but can be loaded in a different order)