XCOM 2
86 ratings
CapturedSoldiersList
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
238.378 KB
1 Nov, 2022 @ 9:08am
5 Aug, 2023 @ 7:17pm
16 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
CapturedSoldiersList

Description
Adds a tab in the avenger Bar/Memorial where you can see what troops are currently in Advent/Chosen hands.

Update August 5th, 2023
Runs populateCapturedSoldiersList if installed mid campaign

Update July 1st, 2023

  • Code refactor to switch from reading ini files to using an XComGameState
  • Added more Console Commands

The console commands are as follows:
  • exportCapturedSoldiersList - Writes the current entries into the XComMemorial.ini file
  • clearList - wipes the captured soldiers list
  • populateCapturedSoldiersList - Adds all troops currently captured to the list. This does not account for duplicates and so be sure to run clearList if you intend to use this command

The only downside to having to run populateCapturedSoldiersList is that there isn't a way to get what op and when they were captured. As a result, it fills those slote with "Log Operation" and the date they were recruited respectively. If you're in the middle of a campaign and had the old version installed, you may need to run populateCapturedSoldiersList as it no longer is reading from an ini.

This refactor made the code more efficient as now a new game state tracks the current captured soldiers as opposed to the mod.


Highlander is required because it is built with it.





Thank you to KhaosByDesign on Steam for their artwork. If you don't want me to use your stuff, let me know and I'll take it down.

Huge Thanks to Σ3245 for their prison break mission which let me add soldiers to the list, and helping me figure out the UI button placement shenanigans.
Click Here to go to that mission
Click here to go to the mod that the UI is based off

Special Thanks to The following users on the discord:
  • Robojumper, Iridar, RustyDios, Xymanek (Astral Descend), Mitzruti for scripting help
  • TePa for informing me on UI behavior.


If you want to say more than thank you, feel free to Buy me an apple[www.buymeacoffee.com]
27 Comments
Beat  [author] 1 Dec, 2024 @ 8:37am 
@Lyserus. Yeah so captured soldiers are stored in two different data points in the game. One for advent and one for the chosen. The mod looks at those to determine who has been captured. I don't know what the raider faction mod situation is but if the soldier was captured by them the soldier would not show up in the list.
Lyserus 30 Nov, 2024 @ 6:41pm 
it was on a covert action so pretty sure he's captured. He is the first one captured in game (Although I am not too sure if he is captured by advent or modded raider faction). I put this mod on after my second soldier got captured and she is on the list.
Beat  [author] 30 Nov, 2024 @ 1:14pm 
@Zoinho1, not that I'm aware. That was taken from the community tab that someone had made.
@Lyserus, how was the soldier captured? What kind of mission? Are you sure they were captured and not killed?
Lyserus 30 Nov, 2024 @ 7:30am 
I have some captured soldiers showing up in my captured list, however one is not present even if I repopulate. Does that mean the soldier is gone for me forever?
Zoinho1 20 Sep, 2024 @ 10:14am 
Will there be a randomly generated captured soldier poster like in the first and third pictures?
p6kocka 5 Jul, 2023 @ 12:14am 
OK. Understand. Great mod. Thanks for it.
Beat  [author] 4 Jul, 2023 @ 10:51pm 
Only if its mid campaign. Although you just game me an idea to run that command when its installed mid campaign so I'll patch that sometime this week. In the meantime, you only need to run that command once if you've installed it mid campaign and have soldiers captured.
p6kocka 4 Jul, 2023 @ 10:20pm 
Do you have to run the console commands every time a soldier is captured or only then when the mod is activated mid campaign?
Beat  [author] 4 May, 2023 @ 2:31pm 
You need to click the "Open MIA List" button on the bottom left
Nero 27 Apr, 2023 @ 7:24am 
i dont get it, i got a soldier captured but when i go to the fallen soldier tab they're empty