XCOM 2
[WOTC] Additional Soldier Console Commands
272 条留言
Valkerion™ 11 小时以前 
ResetSelectedSoldiersClass doesn't fix these stat increases either, still sets them higher than before.
(I am using LWOTC btw)
Valkerion™ 11 小时以前 
I don't see RebuildSelectedSoldiersClass giving my whole barracks XP, but I do have their HP, will, and aim constantly going higher and higher on each use, which is a problem.
Unit probably shouldn't have 84 hp, 112 will and 348 aim.
shiremct  [作者] 9 月 28 日 下午 5:10 
Important update - RebuildSelectedSoldiersClass now attempts to retain any stat changes a unit has from randomized stat sources, covert ops bonuses, etc. This was a long-requested feature, so now if you need to rebuild a soldier mid-campaign, they will no longer lose their existing identity and earned bonuses!

A new command was added, ResetSelectedSoldiersClass, that resets everything as before when this is needed/desired.
Canthyse 9 月 3 日 上午 10:43 
As others were pointing out, RebuildSelectedSoldiersClass its giving XP and free Stats to the selected soldier (not all barracks). Every time you use it, the soldier keeps accumulating stats. It doesnt matter if injured/tired. It doesnt go back to the original stats.
Really gamebreaking if you modify your soldiers a lot or the class mod author updates.
A temporal fix would be using the SetSelectedSoldierStat command and manually change to the original values after the Rebuild. But still the XP gain, i dont know how to fix that.
KrzepkiSzpinak 8 月 30 日 上午 12:40 
RebuildSelectedSoldiersClass is now granting xp to whole barracks for some reason..
ODST Kaneki 5 月 16 日 上午 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 4 月 8 日 下午 2: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 4 月 8 日 下午 2:18 
This mod does not, but there is one by default. Do "RemoveFortressDoom <int>"
Rea 4 月 8 日 下午 2: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 3 月 9 日 下午 3:46 
Godbless this mod. Saved me many soldiers from my modding mistakes 🙈
Jestimac 1 月 11 日 上午 6:51 
I would like to generate 4 new recruits. Is there a console command allowing to do this ?
Jestimac 1 月 10 日 下午 9: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 1 月 2 日 下午 11: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 1 月 2 日 下午 1: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 1 月 2 日 下午 12:21 
@Dragon
As i initially wrote: The mod is shown in the mod list.
It is marked as active.
Dragon32 1 月 2 日 下午 12:09 
@ChrisZero
Did you activate the mod in whatever launcher you use? That error implies it's not enabled.
ChrisZero 1 月 2 日 下午 12:03 
@Dragon32 I tried all between 0 and 4.
The Logwindows says :
[0072.03] Log: Command not recognized: SetSelectedSoldiersComInt 3
Dragon32 1 月 2 日 上午 11:12 
@ChrisZero
What value are you passing it?
ChrisZero 1 月 2 日 上午 10:41 
SetSelectedSoldiersComInt command is not working.. Mod is shown in the mod list. ( my only mod i have ) Any idea why?
Dragon32 2024 年 10 月 14 日 上午 7:35 
@SuffeR
What does the INT in ranks for the LevelUpSelectedSoldier mean?
Probably integer
SuffeR 2024 年 10 月 13 日 下午 7:40 
And also I'm not sure why, but the command I previously mentioned isn't working.
SuffeR 2024 年 10 月 13 日 下午 7:38 
What does the INT in ranks for the LevelUpSelectedSoldier mean?
Helios 1-1 2024 年 9 月 22 日 上午 10:52 
For some reason it doesn't show up in my mod list but works in game somehow.
Overclocked Testicle 2024 年 8 月 6 日 上午 11:08 
It worked just fine for me on LWOTC mod jam+
Ishkabeebee 2024 年 3 月 28 日 下午 5:39 
@Lokolaki Thank you so much! Really appreciate it
Lokolaki 2024 年 3 月 5 日 下午 9: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 2023 年 12 月 22 日 上午 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 2023 年 9 月 24 日 上午 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 2023 年 9 月 24 日 上午 10:25 
this doesnt even show up in my mod list what the fuck
Riuru 2023 年 7 月 14 日 下午 1:50 
Doest work with LWOTC
kajerlou1 2023 年 4 月 15 日 下午 11: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 2023 年 4 月 12 日 下午 6: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 2023 年 3 月 30 日 上午 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 2023 年 3 月 30 日 上午 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 2022 年 12 月 5 日 上午 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 2022 年 11 月 13 日 下午 2: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 2022 年 10 月 28 日 上午 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 2022 年 10 月 28 日 上午 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 2022 年 10 月 12 日 上午 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.
WeeWooJ316 2022 年 10 月 3 日 上午 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 2022 年 9 月 1 日 下午 3: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 2022 年 9 月 1 日 上午 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 2022 年 8 月 22 日 上午 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 2022 年 8 月 21 日 下午 9:55 
PSI Rank up

1. Armory

LevelUpSelectedSoldier 6

2.

RankUpPsiOp "soldier name"
Example : RankUpPsiOp Alessia Costa
The NiF 2022 年 6 月 19 日 上午 10:06 
Yes I have that issue too.
philmakerguy 2022 年 5 月 25 日 上午 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 2022 年 5 月 23 日 下午 10: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 2022 年 4 月 26 日 下午 1: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
MikeWazowski 2022 年 4 月 8 日 上午 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 2022 年 3 月 4 日 上午 10:40 
It seems not working for psi-agent.
It`s rebuild it. yes, but i cant learn all skills after it.