Install Steam						
					
				
				
									login
											 | 
						language
						
																																					简体中文 (Simplified Chinese)
																													繁體中文 (Traditional Chinese)
																													日本語 (Japanese)
																													한국어 (Korean)
																													ไทย (Thai)
																													Български (Bulgarian)
																													Čeština (Czech)
																													Dansk (Danish)
																													Deutsch (German)
																																							Español - España (Spanish - Spain)
																													Español - Latinoamérica (Spanish - Latin America)
																													Ελληνικά (Greek)
																													Français (French)
																													Italiano (Italian)
																													Bahasa Indonesia (Indonesian)
																													Magyar (Hungarian)
																													Nederlands (Dutch)
																													Norsk (Norwegian)
																													Polski (Polish)
																													Português (Portuguese - Portugal)
																													Português - Brasil (Portuguese - Brazil)
																													Română (Romanian)
																													Русский (Russian)
																													Suomi (Finnish)
																													Svenska (Swedish)
																													Türkçe (Turkish)
																													Tiếng Việt (Vietnamese)
																													Українська (Ukrainian)
																									Report a translation problem
							
						
											




Here's a pastebin of what I have in the gamedata: https://pastebin.com/aUe4Q1H3
I get it working when I don't use a name and it upgrades everyone who is that class to those exact abilities, however I would like specific people to upgrade on their own path that I set.
I don't want to fill your comments with logs, but I'll try to send some of what I see to help you understand a bit of what I'm seeing.
+AutoPromotePresets=(soldierClass="UniversalSoldier", squaddie=0, corporal=2, sergeant=2, lieutenant=2, captain=2, major=2, colonel=6, brigadier=0)
As soon as I add the name to a preset the soldier refuses to use this mod.
[0242.26] Beat_AutoPromote: ONLYVETS and ONLYSQUADDIES is disabled so business as usual, start process
[0242.26] Beat_AutoPromote: what is bIsLogged True
[0242.26] Beat_AutoPromote: what is bUseClassIfNoMatchedName True
[0242.26] Beat_AutoPromote: what is bShowRankedUpPopups True
[0242.26] Beat_AutoPromote: what is bOnlySquaddies False
[0242.26] Beat_AutoPromote: No Named match for unit [ CT 7567 ], AND Use Class auto-match turned off
[0242.26] Beat_AutoPromote: SKIPPED AUTO-PROMOTION
This is what I have in the presets:
+AutoPromotePresets=(soldierClass="UniversalSoldier", soldierName="CT 7567", squaddie=0, corporal=10, sergeant=10, lieutenant=2, captain=18, major=18, colonel=18, brigadier=10)
I have CT 'Rex' 7567 in my character pool. I thought maybe it was the nickname causing problems or the spelling/case-sensitive, so I added the nickname and double checked for any case-sensitive mismatches and it still didn't fix it. I also have the option to use soldier names enabled in MCM.
The error I get is:
[0242.26] Beat_AutoPromote: No Named match for unit [ CT 7567 ], AND Use Class auto-match turned off
[0242.26] Beat_AutoPromote: SKIPPED AUTO-PROMOTION
Do you possibly know what I'm missing or doing wrong? My brain is fried as I've been trying to figure this out for hours and trying all sorts of things.
[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
Here are both my latest logs where I had to manually promote; https://gist.github.com/DDR-Khat/6c12590a7569b4d59e1d75b23355a17a
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?
[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?
Playing with PCP and the additional PCP classes.
Validate it works for exactly that purpose. Hilarious.
10/10 for trolling the X2verse.