XCOM 2
LW2 Soldier AWC Reroll Command
32 Comments
Kollja01 5 Aug, 2021 @ 9:04am 
thx for this great mod Blooest
Blooest  [author] 8 Sep, 2017 @ 1:32pm 
If somebody is kind enough to donate the expansion to me, sure.
I don't have the funds to spare on coming back to XCOM at the moment.
Otherwise maybe in December?
GEIST 7 Sep, 2017 @ 10:26am 
Any chance you can make a version for WOTC that rerolls the Training Center?
Tempo1820 9 Apr, 2017 @ 12:01pm 
also having the same issue as people earlier stated. With only this mod and LW2, the AWC button doesnt even appear on soldier screen.
Blooest  [author] 7 Apr, 2017 @ 11:14pm 
I don't condone piracy.
Tempo1820 7 Apr, 2017 @ 10:32pm 
any chance for a nonsteam version? This is exactly what I need but I dont have the steam version of the game :(
iAmAPumpkin 3 Apr, 2017 @ 3:16pm 
Gotcha. Thanks for the response!
Blooest  [author] 3 Apr, 2017 @ 3:14pm 
@IAmAPumpkin: It's definitely possible, but adding a screen listener is out of the scope of this particular mod.
Maybe if I find some free time (and enough demand for such a version to warrant the development overhead...) I'll cook up a fork. Or someone else can. My single block of source code is included in the download, free for fair use.
iAmAPumpkin 29 Mar, 2017 @ 4:53am 
Any way to hook this into in-game AWC respec function (so that it resets your regular skill tree AND rerolls AWC perks)?
[TuP]tammi 29 Mar, 2017 @ 2:56am 
just to confirm, this work for me. thks to example at page 2 comment.
due to this mod give a new tree from zero (learned perk is gone), i think it wouldn't hurt to show a new tree that we just got after the reroll. you can turn it in XComLW_AWCPack.ini and change ALWAYSSHOW to true
-shhfiftyfive 25 Mar, 2017 @ 9:42pm 
wonder if you could to make the command cost some resources

or just list some commands in the mod description that would reduce supply/intel/elerium core by x amount, so people could police themselves.
Daphne 25 Mar, 2017 @ 1:03am 
I think the OP part is a bit subjective, depends on many things. Or someone may enjoy playing like that. :) I don't, but on the other hand I'd rather not go through 100 rolls of AWC, just so I can get a decent combination or at least 1 viable skill relevant to the soldier's class. Although it's a moot point if there are technical limitations.

Thanks for the mod though ^_^
Blooest  [author] 24 Mar, 2017 @ 6:33pm 
At a certain point you may as well just be adding the abilities yourself.

Nobody's done that because 1) There's no UI for it and 2) It'd be overpowered as all hell.
Daphne 24 Mar, 2017 @ 4:37pm 
Good stuff, but one has to wonder how come there's no mod which would allow players to pick their AWC special skills instead of rolling again all the time... Unless of course there is a way and I just don't know how.
Alexandr 22 Mar, 2017 @ 2:39am 
I am having absolutely zero issues with this mod.
geekanerd 11 Mar, 2017 @ 4:21pm 
@Isky
@Blakx

Crazy as it seems because of the nature of this mod, I ran into the exact same problem. I did hours of troubleshooting my mods, because my AWC reverted to the vanilla version (no extra slots, only could slot scientist and one soldier to reset entire skill tree). Long story short, even if I only have LW_Overhaul and this mod active, my AWC resets to vanilla. Very weird stuff.

But, to be fair, there's a handful of other mods that should work with LW2 that are borked when I try to enable them with LW2 on my system. I'm wondering if it's a faulty LW2 installation on some level. I'll redownload LW2 and try going fresh and report back.
Kaerius 10 Mar, 2017 @ 3:12pm 
thekardo - works fine for me with LW2 1.2 and a whole bunch of other mods(46 total).
thekardo 7 Mar, 2017 @ 10:14am 
It seems it's not working on LW2 1.2 version... Anyone got this working with that last patch?
Blooest  [author] 5 Mar, 2017 @ 7:01pm 
I have no idea. None of my code should be remotely capable of that. I don't even do anything unless you invoke the command...
Blakx 5 Mar, 2017 @ 5:38pm 
Hm somehow it does not work for me. Using Long War 1.2 and this mod. It completely fucks up the AWC system. The button at the soldier portrait is gone and I can't train soldiers in AWC.

It seems like it reversed the AWC system back to the original game. What did I do wrong? :(
Silent_lord 21 Feb, 2017 @ 9:58am 
thanks ISky. soldierlwforceawcreroll Jack Ryan worked. :steammocking:
Blooest  [author] 21 Feb, 2017 @ 9:50am 
It may be case sensitive. I didn't think Unrealscript generally was, but it's comparing strings.
Silent_lord 21 Feb, 2017 @ 9:41am 
struggling to get to work.
in armoury i type; soldierlwforceawcreroll jack ryan

no error command, but checking the awc nothing has changed?

am i typinf it wrong?
Blooest  [author] 21 Feb, 2017 @ 9:37am 
I don't really want to try to add a screen listener to that window, as internally it's already a bit of a hack itself.
I'm not sure it even responds to PopulateArmoryData, which would mean you wouldn't be able to see changes immediately, making a button a bit pointless.

If you want to repeatedly reroll the same unit, just hit up arrow, enter from the prompt. Don't have to retype the entire thing.
-shhfiftyfive 19 Feb, 2017 @ 11:47pm 
instead of a console command, could you make it a button somewhere within the soldier's AWC page?

- clickable button that says something like "Reroll"...
- with a mouseover tooltip that warns you that it will wipe all current progress, but generates new random AWC skill tree for that individual soldier only.
- and maybe a red warning popup "are you sure" confirmation for misclicking / safety measures.

otherwise, also good to note in mod description:
to enable command console in xcom2, you must edit xcom2 launch options in steam library.
(right click xcom2 in steam library) click "properties" > set launch options > type "-allowconsole" w/o quotes.
Only the Cutest 13 Feb, 2017 @ 2:55pm 
Yeah, I just got confused.
Insufferable Smartypants 13 Feb, 2017 @ 2:46pm 
Pretty sure that's something that Pavonis did in LW2 deliberately. If ISky is using that same code, then all he did was randomize what was possible, and I'm almost 100% they turned that off because it causes wonky skill tree behavior (it did in base XCOM 2 also).

You can always use Grimy's Console Mod to add a 2nd skill if you're desperate. That's fully compatible with both mods.
Only the Cutest 13 Feb, 2017 @ 2:43pm 
Not possible to roll abilities from your current class tree. Hope it's not intentional.
Blooest  [author] 13 Feb, 2017 @ 1:09pm 
Good call. Added to the description.
Nerpa48 13 Feb, 2017 @ 1:06pm 
Standard LW console commands can be used to return lost AWC skills:
LWGiveAWCDefenseAbility Soldier Name
LWGiveAWCOffenseAbility Soldier Name
LWGiveAWCPistolAbility Soldier Name
Blooest  [author] 13 Feb, 2017 @ 1:02pm 
It does indeed.
It functions identically to the regular all-soldier one from LW, which is to say, you don't get a refund. If you use it on someone with learned skills, they'll start back at zero.
Insufferable Smartypants 13 Feb, 2017 @ 12:15pm 
So this just randomly re-assigns the possible AWC skills for the soldier? That's awesome!
If you already have taken a skill, I'm guessing that that skill will be changed as well?