Page 1 of 1

AWC pack and class restriction

Posted: Fri Feb 03, 2017 7:37 pm
by sokoloff
AWCAbilityRestriction (in XComLW_AWCPack.ini) does restrict ability from ever appearing if specified only with RestrictedClass field

for example, I've tried removing every single offence ability, defence ability and restriction entry, and then adding the following lines

Code: Select all

+AWCAbilityTree_Offense=(Level=1, AbilityName="Sprinter"				)
+AWCRestrictions=(AWCAbility="Sprinter", RestrictedClass="LWS_Grenadier")
I expected to find sprinter on everyone's (but grenadier) proposed AWC perk tree, but there were only pistol abilities.

Works fine if i'm specifying restriction with RestrictedAbility field.
My guess is LWAWCUtilities.uc is missing some kind of null-check against Restriction.RestrictedAbility on line 319

Re: AWC pack and class restriction

Posted: Sat Feb 04, 2017 3:11 am
by JulianSkies
Known bug, a class-based restriction will somehow cause the ability to be restricted from every class meaning it won't show up anywhere.

Re: AWC pack and class restriction

Posted: Sat Feb 04, 2017 4:00 am
by dodger
Details and a DIY fix until patch 1.2 comes here:

http://www.pavonisinteractive.com/phpBB ... 17&t=23895