XCOM 2
[WOTC] Pull ALL Faction Soldiers From My Pool
32 Comments
AgRipnus  [author] 28 Mar @ 10:11am 
If the mod doesn't work with LWOTC that means LWOTC bypasses the base game script that gives faction soldiers and replaces it with its own. Unfortunately many mod makers copied the bugged base game script for their own mods which ends up reintroducing the bug.
EtriusSierra 28 Mar @ 6:39am 
Greetings. Based on what I've been able to test using the "GiveFactionSoldiers" command, this mod doesn't appear to work with LWOTC. I seem to only be able to draw two from the character pool before the rest come in as random. I've tried tweaking "GameData" ini files, changing pool variables using "eCPSM_Mixed" to eCPSM_PoolOnly"; no dice.
We go together 8 Feb @ 3:55pm 
"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."

I planned on starting a new game and deleting all my old saves anyways. So thanks.
AgRipnus  [author] 16 Sep, 2024 @ 9:15am 
If you have a mod that is generating soldiers that should come from the pool but for some reason aren't, then you must look into that mod's src folder and find the part of the script responsible for calling for the creation of new units so you can debug it. I don't know of any other mod that is adding a new faction besides Allies Unknown, the exact fix from this mod could only be useful there.
bigwormfire 15 Sep, 2024 @ 8:11pm 
sorry to annoy you but i have one last question (then i'll stop): you remember that you told me that other faction class have different recruitment then vanilla. i want to know, is it possible to make an add-on mod for those class?
Mighty_Rathalos 21 Aug, 2024 @ 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, 2024 @ 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, 2024 @ 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, 2024 @ 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, 2024 @ 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, 2024 @ 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, 2024 @ 9:14am 
@AgRipnus

Has anyone told you you're amazing recently? If no, well, then you are amazing, sir)
AgRipnus  [author] 27 Jul, 2024 @ 5:59am 
@Jonny Woo
I'll have a mod that does what you want up soon.
Jonny Woo 25 Jul, 2024 @ 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, 2024 @ 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.
Jonny Woo 25 Jul, 2024 @ 12:15pm 
Hi! I've noticed that issue is regular soldiers as well. When a game creates POI with rookies, it creates rewarded soldiers from your character pool. Problem is -- if you don't scan it, soldiers go to waste and you'll never encounter them. Do you think mod could address this issue that soldiers are generated when you did scan and are getting rewarded soldiers? Thanks
JazzimoX 17 Jul, 2024 @ 3:50pm 
I don't even have a character pool I just love the thumbnail so much.
whitefire 12 Jul, 2024 @ 3:10pm 
To be honest, thumbnails are the main reason why I subscribe it.
bigwormfire 1 Jun, 2024 @ 9:37pm 
oh ok i was just wondering thank man for telling me this.
AgRipnus  [author] 31 May, 2024 @ 7:41am 
There's a high probability this won't work with modded factions. If those mods don't hook into the same spawning scripts as the base factions but instead use their own scripts to give out soldiers. Those mods might come with a bugged copy of the script or they might overwrite the fix.
bigwormfire 29 May, 2024 @ 9:24pm 
i don't know why, but it didn't work for me. so question: Dose it work for proficiency faction?
effusivemind 11 May, 2024 @ 5:27am 
Excellent. Trying this out now
Crashdown76 8 May, 2024 @ 12:43pm 
Loving the thumbnail!
Hot Wet Nobel Laureates 7 May, 2024 @ 12:19pm 
Thanks
AgRipnus  [author] 7 May, 2024 @ 10:52am 
I would be surprised if it there was a conflict. This is a small bug fix on how Faction Soldiers are being generated. It doesn't touch the normal soldier pool.
Hot Wet Nobel Laureates 7 May, 2024 @ 10:41am 
Does this conflict with recruits conserve character pool?
Proot 7 May, 2024 @ 8:23am 
I always wondered what was going on with that issue. Thanks for this, you're an absolute hero.
dmc32 5 May, 2024 @ 6:41pm 
yes, very annoying, thanks 4 looking at this.
The Magic Conch 5 May, 2024 @ 6:18pm 
That thumbnail is a work of art
MrCloista 5 May, 2024 @ 3:06pm 
Should be unnecessary with Covert Infiltration, but a much needed mod regardless :)
The Unslain Dragon 5 May, 2024 @ 11:40am 
Nice thumbnail
NightNinja54 5 May, 2024 @ 9:54am 
Nice, this discrepancy has bothered me in the past