XCOM 2
113 ratings
[WOTC] Pull ALL Faction Soldiers From My Pool
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
423.508 KB
5 May @ 2:25am
3 Aug @ 9:38pm
2 Change Notes ( view )

Subscribe to download
[WOTC] Pull ALL Faction Soldiers From My Pool

Description
Fixes a super old but super annoying bug that caused every Faction Soldier after the second to be randomly generated instead of pulled from the pool.

What the game did was generate faction soldiers that were never rewarded. This mod fixes that but requires a new campaign, because already generated soldiers that were never rewarded can't be retroactively restored.

This hasn't been exhaustively tested with mods that allow you to get more than 2 soldiers per faction but I expect it to work, if it doesn't let me know, it's going to be a simple fix.
27 Comments
Mighty_Rathalos 21 Aug @ 2:32pm 
were you able to test if your last update fixed the report of MrCloista? close to starting a new campaign and I was hoping your mod will do me wonders :D
AgRipnus  [author] 3 Aug @ 11:53pm 
OK. I have now expanded it to Reward_FactionSoldier and Reward_ExtraFactionSoldier without other checks. The fix for when meeting factions should still be in place and now I'll wait and see if the game generates 2 soldiers per "CovertAction_RecruitFactionSoldier" like it did with "CovertAction_ContactFaction" in case soldiers start being wasted again.
MrCloista 3 Aug @ 11:32pm 
That screenshot is actually from ChristopherOdd's new campaign they're his 3rd faction. He's had a few people in his community report the issue and it's happened regardless of what faction met it was. I've also tested it personally and found it happen with 1st 2nd and 3rd factions. The important thing is that you don't have an existing soldier of the faction post meeting them (so dead/captured).
AgRipnus  [author] 3 Aug @ 8:05pm 
I knew this would come up eventually. I was aware of a special case that the game was checking for but I couldn't figure out how to trigger. Do you remember if the skirmishers were your first, second or third faction met so I can check that distance boolean?
MrCloista 3 Aug @ 5:52pm 
This mod causes a bug with 'Recruit FactionSoldier' (CovertAction_RecruitFactionSoldier) - which is the covert action you get if you lose your only soldier of a specific faction. With this mod enabled, this covert action gives no soldier reward as seen here

Recruit Skirmisher [imgur.com] @AgRipnus
Mighty_Rathalos 3 Aug @ 4:13pm 
wow sometimes algorithm are SCARY but also really useful. googled this for the who knows many times if there is a solution ofr it because I played XCOM after over a year again and now suddenly steam recommends me this! aaaabsolutely amazing, even tho too late for the ongoing campagn but I will cherish this mod for the next run!
Jonny Woo 27 Jul @ 9:14am 
@AgRipnus

Has anyone told you you're amazing recently? If no, well, then you are amazing, sir)
AgRipnus  [author] 27 Jul @ 5:59am 
@Jonny Woo
I'll have a mod that does what you want up soon.
Jonny Woo 25 Jul @ 1:48pm 
@AgRipnus

I understand it's meant this way and is not a bug. Just thought that picking soldiers from pool after you successfully scanned a POI is more logical algorithm. Otherwise soldiers are ditched before even "born".

I started to dig into modding to get this behaviour to working, but it's coming real slow). Thing is my character pool is rather small, around 60 soldiers and if game starts to ditch them left and right I start getting soldiers generated by game pretty quickly.

There's a check if you have small soldier amount at barracks, and if so, game starts spawning rooks POIs. I didn't pay much attention to those POIs, but then I learned how it worked when all my soldiers went to a trash bin)
AgRipnus  [author] 25 Jul @ 1:17pm 
I think a can make the mod you want, but it's not a bug. Not being able to see the same soldier again, if you made the choice not to scan a POI or go to a mission, is the intended behavior.