154 ratings
LW2 A Better AWC
File Size
0.177 MB
Apr 2, 2017 @ 12:59pm
Apr 8, 2017 @ 3:19am
11 Change Notes ( view )

Subscribe to download
LW2 A Better AWC

What it does
  • Adds a Button in the AWC-Screen which lets you choose any eligable AWC-Ability sorted by Tier
  • Respeccing comes with a cost of supply (on default), getting more expensive with every tier


This mod uses no overrides, so should be compatible with anything out there.

If you encounter a bug, make sure to list the class, rank, if you come directly
from training and which ability you respecced.

  • bEnableRespecCost (default true) if you want respec cost at all
  • iTierOneSupplyCost (default 10) Respec cost for a T1 Off/Def ability
  • iTierTwoSupplyCost (default 20) Respec cost for a T2 Off/Def ability
  • iTierThreeSupplyCost (default 50) Respec cost for a T3 Off/Def ability

  • if you respec an untrained ability, the new ability is also untrained
  • if you respec a trainted ability, the new ability is also trained
  • this mod also works if you changed the number of off/def perks to 4 or above,
    but the addtional tiers will get drawn out of the box making it look stupid
  • the respec button is found under armory -> soldier screen -> AWC abilites NOT in the AWC itself

Same Mod for other iterations of the game

  • Robojumper
  • Pavonis Interactive (Creator of Long War 2)
  • goby for code review and how to fix the graphic glitch

HowTo add more perks
Guide: http://imgur.com/a/8CjQR
Thanks to Vulpes for taking time out of his life to do this.
< >
Dare  [author] Dec 12, 2018 @ 4:01am 
prokolyo Dec 12, 2018 @ 1:16am 
Is it possible to add option to add more than one scientist to work in the AWC?
Colossus715 Sep 5, 2018 @ 7:12am 
Anyone know if this conflicts with Perfect Info or Additional Icons? For some reason, those don't work anymore & I believe this is the latest MOD which I've downloaded.
Alexandr Aug 22, 2018 @ 7:19pm 
Hey, Leoli, any chance you got that mod you were making up and running? If so, I could use it as well, otherwise I'm gonna have to figure out how to hack together something along the same lines using the mod toolkit, after a day of downloading, haha.
Leoli May 24, 2018 @ 5:44am 
Ahhh, alright. Overrides it is, then. I'll have to use the mod tools. If I can get the thing to work, I may post it on the Workshop. I'll mention you for your help on it if I do. Thank you again.
Dare  [author] May 24, 2018 @ 5:25am 
You cannot just change those files as they are not getting compiled when you start your game. Mods work the same way, making any change to a none *.ini in my mod for example will have zero effekt on your side. You gotta write your own mod or maybe edit an *.ini in a way that those perks appear.
Leoli May 24, 2018 @ 5:18am 
Ran through that file and also looked at this thread and applied its solution:

Still can't get Lone Wolf to appear on my Shinobi. Do source files require overrides, clearing Config folder in documents, or new saves for their changes to take effect? I can't find anything that says they do.
Leoli May 24, 2018 @ 3:48am 
Ahhh. I literally just had a thought that it might be a single line of code preventing AWC learning of any skill detected in their natural tree. Which is why I couldn't find it. Then you post that exact thing seconds later. Didn't think to look in the source files, though.

I've found it and will mess with that. See if just deleting it is fine or if a new section needs to be written. Thank you for your time, quick responses, and informative responses so far.
Dare  [author] May 24, 2018 @ 3:39am 
look for this function, it return the eligable Abilities for Offperks:
In LWAWCUtilities.uc function GetValidAWCAbilitiesForUnit(...)
Leoli May 24, 2018 @ 3:21am 
I'm new to modding XCOM 2 (Just got it this week), but have modded many dozens of game before, including in this code. That crossclass thing. I assume it means things either can't be learned at all or can't be learned by other classes.

However, Lone Wolf, Bladestorm, Damn Good Ground, and others on most of the trees are all learnable through the AWC, just not by a class that learns them.

I can't actually find this crossclass array you mention other than a single line in XComClassData.ini that says it completely removes "Vanilla" LightningReflexes from being able to be learned by anyone.

I looked through all the large ini files and ones related to the soldiers and still can't find what's preventing AWC of same-class abilities.