XCOM 2
37 ratings
LW2 Soldier AWC Reroll Command
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
95.902 KB
13 Feb, 2017 @ 9:10am
13 Feb, 2017 @ 10:38am
7 Change Notes ( view )

Subscribe to download
LW2 Soldier AWC Reroll Command

Description
Requested in a number of places.
LW provides a command to reroll AWC abilities, but it affects every soldier in the barracks.
I've made a pared-down version that afffects just a single soldier.

SoldierLWForceAWCReroll(optional string UnitName)
This expects the full name, without nickname. Case sensitive!
Because there are no other parameters, quotation marks will be considered part of the string and cause it to not match. I spent entirely too long trying to figure out why it wasn't working...
If you don't supply a name, it'll try to grab the active soldier from the armory screen.
That requires you to be -in- the armory screen, obviously.

As with the original, soldiers will not be compensated for learned skills. This gives them a new tree, from zero.
You can use standard LW commands to restore them, however.
LWGiveAWCDefenseAbility Soldier Name
LWGiveAWCOffenseAbility Soldier Name
LWGiveAWCPistolAbility Soldier Name
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