XCOM 2
AutoPromotion
54 Comments
DDR Khat 23 Jul @ 4:08am 
That seemed to have fixed it for only one mission, then went back to not auto-promoting again? [Edit] It seems like the auto-promote failed for the vial mission. It went back to working for 2 missions at least afterwards.
DDR Khat 23 Jul @ 3:12am 
That seems to have fixed it! Thanks @Beat ! :)
Beat  [author] 13 Jul @ 3:30pm 
So this is technically a bug but its simply fixed be enabling the option again. Technically the code should not depend on that option being checked to promote anyway but it currently does.
Beat  [author] 13 Jul @ 3:25pm 
No, if you put a named soldier in your ini file, it will use that. If the soldier eligible for promotion does not exist in the ini file, it will default to the class promotion definition in the ini
DDR Khat 13 Jul @ 8:43am 
It should be the same setting I don't recall changing it. I'm not too interested in applying promotions to the soldiers names but instead their role itself. Is that not what this value is doing?
Beat  [author] 13 Jul @ 8:40am 
In the screenshot you sent previously, you had "enable soldier name in addition to soldier class" off. Was that still the case for this? That's responsible for this. scenario.
DDR Khat 12 Jul @ 9:55am 
Of course, no point not being patient. It's not like you've intentionally made it not work for me :D we'll get there eventually, I'm certain!

[1431.90] Beat_AutoPromote: what is bIsLogged True
[1431.90] Beat_AutoPromote: what is bUseClassIfNoMatchedName False
[1431.90] Beat_AutoPromote: what is bShowRankedUpPopups False
[1431.90] Beat_AutoPromote: what is bOnlySquaddies False
[1431.90] Beat_AutoPromote: No Named match for unit [ Aleel Adlisk ], AND Use Class auto-match turned off
[1431.90] Beat_AutoPromote: SKIPPED AUTO-PROMOTION

Seems this makes it quite apparent what's going on. But I don't see an option for setting the UseClassIfNotMatched
Beat  [author] 11 Jul @ 6:24pm 
When you start a new run go ahead and enable logging so we can see what's going on. It'll help me figure out what's going on. Thank you for your patience.
DDR Khat 11 Jul @ 4:42pm 
① Didn't turn on logging; settings was as they were in the screenshot. In hindsight, should've done that. Sorry. ② No custom classes at all, no. All standard XCOM2 WoTC ③ Hadn't tried that one yet. Finished another run today so I'm happy to start a new run and play for a bit to check that for you and report back when I've had some sleep
Beat  [author] 11 Jul @ 1:12pm 
So a few questions. Did you enable logging? In your screenshot it wasn't enabled so just want to double check. Are you using any non standard classes? Does it still promote rookies or is that not working either?
DDR Khat 11 Jul @ 12:38am 
Both. I just now checked the logs and cannot see ANY reference to AutoPromote at all.
Here are both my latest logs where I had to manually promote; https://gist.github.com/DDR-Khat/6c12590a7569b4d59e1d75b23355a17a
Beat  [author] 10 Jul @ 3:35pm 
When you say that its not promoting, is it in both the barracks and the after action report or one? Did you check the logs?
DDR Khat 10 Jul @ 4:12am 
https://ibb.co/TB40V234 -- a screenshot, just in case I've missed something obvious? :)
DDR Khat 10 Jul @ 4:09am 
Just in case, I am using the Community Promotion Screen mod also. But in your ini's comments it suggests it is supported, and my values are set up based on the top-down order as documented
DDR Khat 9 Jul @ 10:47am 
I have them turned on in-game via the mod config menu as well, yes :)
Beat  [author] 7 Jul @ 3:09pm 
Are you enabling settings in game through the mod config menu?
DDR Khat 6 Jul @ 12:41pm 
If your on about the settings I showed below, I did that in the _DEFAULTS.ini , but also copied those same values in-game just to be certain using the "[WotC] Mod Config Menu"
DDR Khat 6 Jul @ 12:34pm 
It's not promoting non-rookies sadly (But good thing making sure I knew that :) )
I use the Alternative Mod Launcher 1.6.0 and with it there is the "Config" tab which showed me Config/XComGameData.ini which has the comments about defaults for each class.
Is this not the correct place to modify the values?
Beat  [author] 5 Jul @ 10:47am 
Are you going into the ini file or using the mod config menu? Per your config it should be only promoting soldiers that are not rookies
DDR Khat 5 Jul @ 8:56am 
I think I'm confused about how this is intended to work.
[code];A configuration File
[AutoPromotion.AutoPromote_MCM_Defaults]

ONLYSQUADDIES=false
ONLYVETS=true
CHECKBARRACKS=true
ENABLELOGGING=false
SHOWPROMOTIONPOPUP=false
IGNORECA=false
RANKNOBUY=false
BUYRANDOM=false
USENAME=true
VERSION_CFG=3[/code]
I have my config set up like this, but it never appears to automatically promote my troops.
Am I misunderstanding the "Auto" and that I need to use the console commands?
me go ur mom's place 17 Nov, 2024 @ 11:40am 
understood Thanks!!
Beat  [author] 2 Nov, 2024 @ 5:01pm 
So reaper recruit is a mod available that allows you to train reapers. reaper is the one that shipped with WOTC. Make changes to whichever one you want. You can use solider names to dictate what abilities the promotion will follow.
me go ur mom's place 1 Nov, 2024 @ 8:48am 
I just downloaded this mod, and in the ini, there are 2 classes, Reaper & ReaperRecruit already in the ini. What is the difference between them? do i make my changes in both?. Also, do i have to use both soldierClass & soldierName together? Is there a way I can make it so that, (using a name or something else) I can have some of my grenadiers on left side of the tree, and some on right side of the tree?
Epic Dovahkiin 13 Oct, 2024 @ 3:29pm 
to have a rookie forced into a certain class either use Commander's Choice or Use My Class
Beat  [author] 30 Mar, 2024 @ 12:18pm 
The mod does not let you pick what class the rookie will become.
Rayna 30 Mar, 2024 @ 7:47am 
Turning on OnlyVets would still autopromote rookies, and randomised the classes. OnlySquaddies is off. Was that the intended result?
Playing with PCP and the additional PCP classes.
LeyShade 6 Feb, 2024 @ 12:42pm 
Found as a recommendation to force a Training Roulette style of play.

Validate it works for exactly that purpose. Hilarious.

10/10 for trolling the X2verse.
Rasa 3 Apr, 2023 @ 3:49pm 
omg! its a training roulette for wotc! I've missed it for so long! awesome!
Sweet 26 Feb, 2023 @ 12:10pm 
Thank you, I will try it.
Beat  [author] 26 Feb, 2023 @ 9:43am 
Added
Beat  [author] 12 Feb, 2023 @ 9:53am 
Hmm. I can take a look. Not sure if its possible given how the game setup the promotion tree.
Sweet 12 Feb, 2023 @ 12:45am 
Can you add the option for promote with random ability, without AutoPromotePresets?
Beat  [author] 28 Jan, 2023 @ 11:39am 
Fixes and Feature requests released today
Beat  [author] 26 Jan, 2023 @ 9:51am 
I believe I have fixed it. I'll release the fix this weekend with a slew of other features and bug fixes
Beat  [author] 26 Jan, 2023 @ 8:50am 
I think I found the cause of your bug. I'll let you know if what I do fixes it.
Beat  [author] 26 Jan, 2023 @ 8:34am 
Can you tell me what class the rookie promoted to? I want to try and replicate the bug before I can attempt to fix it. Its weird that you're experiencing this bug, however, because the developers left a comment in the function used to change the squaddie's gear stating: "Called only when ranking up from rookie to squaddie. Applies items per configured loadout, safely removing items and placing them back into HQ's inventory."
MrMister 26 Jan, 2023 @ 8:16am 
Items of which you have endless suply of, like most weapons and armors in vanilla. In contrast, single-build items are those you have finite copies of, and which if you can build you can only do so one by one, like ruler armors, chosen-dropped weapons, and vests.
Beat  [author] 26 Jan, 2023 @ 7:49am 
@MrMister can you clarify what an infinite-build weapon is? Is that the default guns for each class?
Beat  [author] 19 Jan, 2023 @ 6:25pm 
hmmmm. Interesting. I'll see about patching that. I'm almost done with the mod I'm working on so I'll be able to patch that soon.
MrMister 17 Jan, 2023 @ 4:50am 
Already did; nothing.
RustyDios 17 Jan, 2023 @ 2:36am 
It is more than likely STILL Equipped on the unit.. try doing an Unequip-Barracks from the Squad Select screen
MrMister 17 Jan, 2023 @ 1:20am 
Big issue: when autopromoting a rookie to a squaddie, if the rookie's primary weapon was an infinite-build and had a weapon upgrade equipped, and the class they promote to cannot equip a rifle and therefore the soldier changes equipped weapon already on the post-mission screen, the weapon upgrade is permanently lost: the weapon with said upgrade cannot be found in your base inventory.
Beat  [author] 5 Jan, 2023 @ 7:51pm 
Ok, I'm currently working on another mod so when that gets published I can start on that.
Lux Manifestus 5 Jan, 2023 @ 5:10pm 
I'd like a version that does not auto-promote rookies but promotes all higher ranks. This would prevent a class from being chosen randomly, useful when a player is using Commander's Choice and desires to choose the class themselves.
RustyDios 1 Dec, 2022 @ 12:31am 
Glad I could help get some of those features implemented !
Beat  [author] 30 Nov, 2022 @ 8:30pm 
Big update that addresses feature requests and more
Beat  [author] 26 Nov, 2022 @ 4:30pm 
In what way? leave comments on github so we can discuss it more there.
RustyDios 26 Nov, 2022 @ 4:25pm 
hmm, it would be good if this worked by matching the unit-name && classname
Beat  [author] 26 Nov, 2022 @ 1:43pm 
Alright, seems like I'm gonna have to figure out how to integrate the mod config menu
MrMister 26 Nov, 2022 @ 1:35pm 
I’d be interested in a version/toggle that only autopromotes rookies.