XCOM 2
[WOTC] Additional Soldier Console Commands
267 opmerkingen
Daddy Kaneki 16 mei om 3:35 
I just discovered a bug: Using RebuildSelectedSoldiersClass on a soldier who has temporarily modified stats (injured/tired, for example) the stat will BECOME PERMANENT. So it is best to wait until the soldier is fully healed and refreshed before using this command.
EzT 8 apr om 14:19 
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 8 apr om 14:18 
This mod does not, but there is one by default. Do "RemoveFortressDoom <int>"
Rea 8 apr om 14:14 
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 9 mrt om 15:46 
Godbless this mod. Saved me many soldiers from my modding mistakes 🙈
Jestimac 11 jan om 6:51 
I would like to generate 4 new recruits. Is there a console command allowing to do this ?
Jestimac 10 jan om 21:09 
@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 2 jan om 23:59 
@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 2 jan om 13:20 
@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 2 jan om 12:21 
@Dragon
As i initially wrote: The mod is shown in the mod list.
It is marked as active.
Dragon32 2 jan om 12:09 
@ChrisZero
Did you activate the mod in whatever launcher you use? That error implies it's not enabled.
ChrisZero 2 jan om 12:03 
@Dragon32 I tried all between 0 and 4.
The Logwindows says :
[0072.03] Log: Command not recognized: SetSelectedSoldiersComInt 3
Dragon32 2 jan om 11:12 
@ChrisZero
What value are you passing it?
ChrisZero 2 jan om 10:41 
SetSelectedSoldiersComInt command is not working.. Mod is shown in the mod list. ( my only mod i have ) Any idea why?
Dragon32 14 okt 2024 om 7:35 
@SuffeR
What does the INT in ranks for the LevelUpSelectedSoldier mean?
Probably integer
SuffeR 13 okt 2024 om 19:40 
And also I'm not sure why, but the command I previously mentioned isn't working.
SuffeR 13 okt 2024 om 19:38 
What does the INT in ranks for the LevelUpSelectedSoldier mean?
Helios 1-1 22 sep 2024 om 10:52 
For some reason it doesn't show up in my mod list but works in game somehow.
ADVENT Testiculator 6 aug 2024 om 11:08 
It worked just fine for me on LWOTC mod jam+
Ishkabeebee 28 mrt 2024 om 17:39 
@Lokolaki Thank you so much! Really appreciate it
Lokolaki 5 mrt 2024 om 21:58 
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 22 dec 2023 om 10:15 
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 24 sep 2023 om 10:58 
@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 24 sep 2023 om 10:25 
this doesnt even show up in my mod list what the fuck
Riuru 14 jul 2023 om 13:50 
Doest work with LWOTC
kajerlou1 15 apr 2023 om 23:21 
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 12 apr 2023 om 18:27 
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 30 mrt 2023 om 8:11 
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 30 mrt 2023 om 7:49 
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 5 dec 2022 om 5:34 
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 13 nov 2022 om 14:54 
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 28 okt 2022 om 7:49 
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 28 okt 2022 om 7:48 
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 12 okt 2022 om 9:08 
@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 3 okt 2022 om 10:54 
@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 1 sep 2022 om 15:16 
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 1 sep 2022 om 7:03 
@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 22 aug 2022 om 8:05 
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 21 aug 2022 om 21:55 
PSI Rank up

1. Armory

LevelUpSelectedSoldier 6

2.

RankUpPsiOp "soldier name"
Example : RankUpPsiOp Alessia Costa
The NiF 19 jun 2022 om 10:06 
Yes I have that issue too.
philmakerguy 25 mei 2022 om 8:25 
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 23 mei 2022 om 22:40 
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 26 apr 2022 om 13:57 
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 8 apr 2022 om 8:09 
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 4 mrt 2022 om 10:40 
It seems not working for psi-agent.
It`s rebuild it. yes, but i cant learn all skills after it.
Alan 27 feb 2022 om 19:47 
Worth noting that RebuildSelectedSoldiersClass does not randomly reroll stats. It rerolls them to the default every single time.
Alan 27 feb 2022 om 19:28 
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 18 feb 2022 om 6:07 
@Ludwig, Shadow Protogen
I've never tried but I doubt it
Ludwig, Shadow Protogen 17 feb 2022 om 23:54 
Can you use multiple instances in one line?
Gibbler 5 jan 2022 om 17:36 
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).