XCOM 2
57 arvostelua
[WOTC] Export Barracks to Character Pool
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
Päivitetty
235.075 KB
28.6.2024 klo 9.47
15.7.2024 klo 16.31
6 muutosilmoitusta ( näytä )

Tilaa ladataksesi
[WOTC] Export Barracks to Character Pool

Kuvaus
Mod Description
This mod provides two core functionalities:

1. Export the entire barracks from a loaded campaign into the character pool
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>\Documents\my games\XCOM2 War of the Chosen\XComGame\CharacterPool\CPBackup_ExportBarracks_<TIMESTAMP>.bin

Config Flags
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.
15 kommenttia
BlackDog  [tekijä] 21.1. klo 21.25 
Yes that's, correct - under typical circumstances the class that is saved into the pool is just used for cosmetically displaying the soldier when viewing them there (there is a box in the CP that says something like "display as: ranger" for example) but the behaviour can be modified by mods.
John keL1er 14.1. klo 5.38 
@Leokosta - by default the game doesn't care what class is specified in the pool, but there is a mod that changes this:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1125727531
Leokosta 22.12.2024 klo 15.04 
Hi. My doubt is, if a soldier is marked as, lets say, sharpshooter ,on Character pool, can he still appear as a rookie ? Or only as rewards of that class ? Thank you
BlackDog  [tekijä] 18.7.2024 klo 14.52 
Ah crud, sorry folks. When I was updating the mod for MCM, there were some inconsistent names so I updated them all to match - it seems your save is looking for the old mod name. You can use the 'remove missing mods' mod to stop that popup in future. There should be no issue in doing that.
Yezandriel 16.7.2024 klo 23.23 
Seems the renaming of the mod hat some sideeffects, - i also get the missing mod popup everytime i load a game. Not breaking, but quite annoying. Any ideas how so solve that?
sah227 16.7.2024 klo 21.23 
I was trying to play my campaign, but it keeps saying "missing ExportBattacks". What is going on?
BlackDog  [tekijä] 15.7.2024 klo 16.34 
Update - added MCM support, plus buttons in the MCM which will carry out the export & duplicate removal functions without needing to use the console. Also added code to append proper time-stamps to the backup pool files instead of having just a single one.
BlackDog  [tekijä] 6.7.2024 klo 8.39 
@SolarMaximum - Thanks for pointing this out, you're entirely correct. Fix is now implemented so the default pool is re-selected after the backup is done. I had (incorrectly) thought that each time you invoke the character pool manager, the new instance would use the default pool file, but evidently it just uses the last file name that was specified.
SolarMaximum 5.7.2024 klo 4.37 
it seems like running the command creates the DefaultCharacterPool_Backup_ExportBarracks.bin and makes IT the default character pool .bin any further changes to the cp will be made to the exportbarracks.bin and not the DefaultCharacterPool.bin
BlackDog  [tekijä] 4.7.2024 klo 16.01 
Sorry I don't really understand what you're hoping me to implement. MCM support would just be a gui implementation of the existing config toggles that you can adjust in the ini file. Were you expecting something different / more interesting?