[WOTC] Export Barracks to Character Pool
This mod provides two core functionalities:
1. Export the entire barracks from a loaded campaign into the character pool (& optionally including dead characters)
2. Remove duplicate characters (i.e. characters with the same name) from the pool
The features can be used in two ways:
1. Directly from buttons in the Mod Config Menu (MCM)
2. Using the console commands "ExportBarracks" and/or "RemoveDuplicatesFromCharacterPool" from the in-game console.
Before either of the commands are run, a timestamped backup of the current character pool is saved to <Users><WinUserName>Documentsmy gamesXCOM2 War of the ChosenXComGameCharacterPoolCPBackup_ExportBarracks_<TIMESTAMP>.bin
The default behaviour of ExportBarracks is that it does not care what is in the character pool already, and will just create new entries/instances in the character pool for each soldier in the barracks. For those wanting more granular control, the following config flags (default=false) can be set in the Mod Config Menu:
- Replace Character Pool Characters – This will replace the appearances of characters in the pool with the current appearences of soldiers with the same name from the barracks. If there are multiple instances of the same soldier in the pool already, only the first will be over-ridden.
- Only Add New Characters – This option skips soldiers which have the same names as those already in the character pool. This allows the CP appearances to take preference & prevents creation of duplicates.
Please let me know if you experience any issues or bugs, or have any feature requests and I’ll do my best to help.
