XCOM 2
[WOTC] Additional Soldier Console Commands
266 Comments
EzT Apr 8 @ 2:19pm 
Also, you remove progress by destroying the red facilities. Some missions also reduce avatar project as a reward. Covert actions is also a good way if you have WOTC
EzT Apr 8 @ 2:18pm 
This mod does not, but there is one by default. Do "RemoveFortressDoom <int>"
Rea Apr 8 @ 2:14pm 
Hey, does this mod have a command to reset the Avatar Project? I'm just starting out and I have no clue how the sabotage missions work. I don’t get any, and I keep scanning spots over and over but nothing triggers. Would be nice to have a safety option, just in case.
Agane Mar 9 @ 3:46pm 
Godbless this mod. Saved me many soldiers from my modding mistakes 🙈
Jestimac Jan 11 @ 6:51am 
I would like to generate 4 new recruits. Is there a console command allowing to do this ?
Jestimac Jan 10 @ 9:09pm 
@ChrisZero
Hello. After getting stuck myself, I finally found what was wrong.
The command lines that works are
SetSelectedSoldiersComInt eComInt_gifted
SetSelectedSoldiersComInt eComInt_genius
SetSelectedSoldiersComInt eComint_savant
I don't know the names to set "very poor" and "poor", but I assume noboby would want to modify the soldiers in order to make them dumb ;)
These commands seem to work. I would suggest setting all soldiers as "savant" would be cheating.
I have not seen what happens when combat intelligence is increased through the game after resetting it, but I don't see why it should cause problems.
ChrisZero Jan 2 @ 11:59pm 
@Dragon I agree with you. But i dont know what i do wrong... Thats why i ask here for help.
I start the game out of steam. When i rightklick in steam on X-Com 2, I select properties.
Then i go to workshop. There are all mods listed. Actually this mod is the only mod i have installed. It have a green arrow ( marked as active ). But it is absolutely clear, that i do something wrong or miss something ... But i dont know what...
Dragon32 Jan 2 @ 1:20pm 
@ChrisZero
There's a difference between a mod being in a list of mods that could be enabled and it being enabled. If the mod is enabled then I don't know what your problem is, the command looks right syntactically.

If that command didn't work I'd expect it to have been mentioned before in the 6 years since it was added.
ChrisZero Jan 2 @ 12:21pm 
@Dragon
As i initially wrote: The mod is shown in the mod list.
It is marked as active.
Dragon32 Jan 2 @ 12:09pm 
@ChrisZero
Did you activate the mod in whatever launcher you use? That error implies it's not enabled.
ChrisZero Jan 2 @ 12:03pm 
@Dragon32 I tried all between 0 and 4.
The Logwindows says :
[0072.03] Log: Command not recognized: SetSelectedSoldiersComInt 3
Dragon32 Jan 2 @ 11:12am 
@ChrisZero
What value are you passing it?
ChrisZero Jan 2 @ 10:41am 
SetSelectedSoldiersComInt command is not working.. Mod is shown in the mod list. ( my only mod i have ) Any idea why?
Dragon32 Oct 14, 2024 @ 7:35am 
@SuffeR
What does the INT in ranks for the LevelUpSelectedSoldier mean?
Probably integer
SuffeR Oct 13, 2024 @ 7:40pm 
And also I'm not sure why, but the command I previously mentioned isn't working.
SuffeR Oct 13, 2024 @ 7:38pm 
What does the INT in ranks for the LevelUpSelectedSoldier mean?
Helios 1-1 Sep 22, 2024 @ 10:52am 
For some reason it doesn't show up in my mod list but works in game somehow.
ADVENT Testiculator Aug 6, 2024 @ 11:08am 
It worked just fine for me on LWOTC mod jam+
Ishkabeebee Mar 28, 2024 @ 5:39pm 
@Lokolaki Thank you so much! Really appreciate it
Lokolaki Mar 5, 2024 @ 9:58pm 
Here how to make Psi Op to get all abilities despite limitations with LWOTC mod:

1) Reset class - MakeSoldierAClass "Name Surname" PsiOperative
2) Lvl up - RankUpPsiOp Name Surname
3) Profit
Ishkabeebee Dec 22, 2023 @ 10:15am 
Having difficulty with this mod and LWotC, specifically with Psi Ops. I can increase their rank, but it neither gives them any new abilities, nor allows them to train in the Psi Lab. Any help anyone can offer?
Dragon32 Sep 24, 2023 @ 10:58am 
@Gargamel The Despoiler
Are you using Alternate Mod Launcher? Try exiting and re-starting Steam, it seems to be a bit rubbish at actually downloading stuff these days.
Gargamel The Despoiler Sep 24, 2023 @ 10:25am 
this doesnt even show up in my mod list what the fuck
Riuru Jul 14, 2023 @ 1:50pm 
Doest work with LWOTC
kajerlou1 Apr 15, 2023 @ 11:21pm 
I subscribed and it broke a bunch of my mods immediately causing me to crash at bootup. Even after unsubscribing it is all jacked up. Now I'm coming through logs trying to figure out the damage.
zin Apr 12, 2023 @ 6:27pm 
Could you please add a command that lets you remove negative effects such as any form of panic from a soldier in tactical? That would be wonderful!
Snake 966 Mar 30, 2023 @ 8:11am 
The Boost Mod is Soldier Development. Be careful using it with Soldier Conditioning, or you can just edit the fixes using this tool, but it is a hassle still keeping track in battles.
Snake 966 Mar 30, 2023 @ 7:49am 
Wow what a great tool. There is a mod conflict between soldierconditioning and another mod that gives boosts based on actions. The boot resets the ability to the original (pre-conditioning) value. Your tool makes it sooooo easy to fix.

When you have used it sucessfully once, all you have to do in cheat is use your arrow to scrow up and its there already typed in. (Capitalize exactly where it says though)
Leenday Dec 5, 2022 @ 5:34am 
Unfortunately botches LWOTC soldiers that had multiple non-xcom row skills (accessed by Second Wave option) by making rebuying prices inflated as stated below. Otherwise works perfectly fine. Also basically avoidable if you respec them through training center and THEN reroll.
IscaRIOT Nov 13, 2022 @ 2:54pm 
I tried using this after I discovered that I really didn't like a skill I'd chosen in LWOTC, where I allowed normal skills to be bought through the training centre with AP. It worked fine, but when I rebought the additional skills I had used before, the costs were all wrong. It hadn't reset the counter on bought skills, so their price was inflated as though I had bought them all twice.
Layth36 Oct 28, 2022 @ 7:49am 
Forgot to mention that I only tried it on soldiers that were already assigned a class, I didn't try it on rookies so not sure how it would work with a rookie.
Layth36 Oct 28, 2022 @ 7:48am 
I can confirm that this mod works flawlessly in LWOTC, tried it in half of my soldiers and they ranked up normally as if they would after battle. First ability costs 0 point and the rest must be bought with point as usual. So the mod works perfectly.:steamthumbsup:
Arkay Oct 12, 2022 @ 9:08am 
@Ain Soph At least in LWOTC this isn't working. Technically, they do level up, but don't gain new abilities as far as I can tell.
WeeWoo316 Oct 3, 2022 @ 10:54am 
@templar0396 After launching AML, go to Options, then Settings, & under Active arguments type -allowConsole

That should be all you need to do. The buttons to use it are either backslash(button below backspace) or tilde(button to the left of 1 & above tab).
templar0396 Sep 1, 2022 @ 3:16pm 
Hi, anyone can help me? I can't seem to enable to console.. I tried everything I can find online like adding -allowconsole -log -autodebug but it still doesn't help..
Dragon32 Sep 1, 2022 @ 7:03am 
@Blak-Dragon
That sounds like a mod rather than a console command to me, you'd need the SDK
https://www.reddit.com/r/xcom2mods/wiki/index/
Blak-Dragon Aug 22, 2022 @ 8:05am 
What command or config would I need to edit to allow Spark class types to earn Combat AP after missions ? Rather than having to spend XCOM AP.
Ain Soph Aug 21, 2022 @ 9:55pm 
PSI Rank up

1. Armory

LevelUpSelectedSoldier 6

2.

RankUpPsiOp "soldier name"
Example : RankUpPsiOp Alessia Costa
The NiF Jun 19, 2022 @ 10:06am 
Yes I have that issue too.
philmakerguy May 25, 2022 @ 8:25am 
Is anyone else having an issue where you can't train psi ops in the psi lab and can't rank any up with console commands?
Wander May 23, 2022 @ 10:40pm 
A nice mod. However, when I tested commands related to stats, it "adds" the new value on the original value, instead of "setting" the new value.
lordravenx Apr 26, 2022 @ 1:57pm 
Command Suggestions:
AddSelectedSoldiersStat <Trait> - adds the given trait
RemoveSelectedSoldiersStat <Trait> - removes the given trait
RemoveAllTraitsFromSelectedSoldier - removes all traits
HealSelectedSoldier - heals the selected soldier to full
RestoreWillSelectedSoldier - restores the will to full and removes the 'tired' state
Moisesjns Apr 8, 2022 @ 8:09am 
thanks for this. i was wanting to make 1 soldier level up due to them illing so many aliens in 1 mission but due to default game, they only leveld up once
Bethrezen Mar 4, 2022 @ 10:40am 
It seems not working for psi-agent.
It`s rebuild it. yes, but i cant learn all skills after it.
Alan Feb 27, 2022 @ 7:47pm 
Worth noting that RebuildSelectedSoldiersClass does not randomly reroll stats. It rerolls them to the default every single time.
Alan Feb 27, 2022 @ 7:28pm 
I don't care if it's cheating, having RNG take a steaming dump all over your game by giving you a hero class with low combat intelligence and useless Xcom skills is bullsh*t. I refuse to have less fun than other players just because I'm not blessed by RNGeezus.

Thank you for this mod.
Dragon32 Feb 18, 2022 @ 6:07am 
@Ludwig, Shadow Protogen
I've never tried but I doubt it
Ludwig, Shadow Protogen Feb 17, 2022 @ 11:54pm 
Can you use multiple instances in one line?
Gibbler Jan 5, 2022 @ 5:36pm 
Would it be possible to add a console command that heals an individual unit? I know the HealAllSoldiers command works but I'd prefer to keep all my other units recovering as only one needs to be healed because a damaged SPARK won't keep items equipped (not sure if it's by design or a bug).
The Old Stag Jan 4, 2022 @ 9:52am 
@Dragon32 Awesome, thanks for the help!