Question regarding AWC in 1.2

Post Reply
DjAci
Posts: 63
Joined: Fri Jul 15, 2016 12:07 am

Question regarding AWC in 1.2

Post by DjAci »

Hi guys,

I have a question regarding AWC in 1.2 pertaining to this patch 1.2 change.

- AWC cross-training restrictions reconfigured to exclusively use perk triggers (rather than currently bugged class restrictions). SHould see a lot more options open up for training.

Can some1 with the knowhow explain in greater detail what it actually means. What kind of new options will appear? What is the exact change?
chrisb
Pavonis Dev
Posts: 364
Joined: Mon Feb 27, 2017 8:43 pm

Re: Question regarding AWC in 1.2

Post by chrisb »

In the AWCPerk config there are 2 big lists of perks that are available for both offense and defense perks. Some of these perks have exclusion conditions that mean a particular class can't receive perks that either the class already has, or conflicts with certain perks the class has.

For example

Code: Select all

+AWCRestrictions=(AWCAbility="CloseCombatSpecialist", RestrictedAbility="Squadsight")
+AWCRestrictions=(AWCAbility="Suppression_LW", RestrictedAbility="Squadsight")
+AWCRestrictions=(AWCAbility="CloseandPersonal", RestrictedAbility="Squadsight")
+AWCRestrictions=(AWCAbility="HailofBullets", RestrictedAbility="Squadsight")
+AWCRestrictions=(AWCAbility="IronCurtain", RestrictedAbility="Squadsight")
+AWCRestrictions=(AWCAbility="CyclicFire", RestrictedAbility="Squadsight")
+AWCRestrictions=(AWCAbility="EverVigilant", RestrictedAbility="Squadsight")
+AWCRestrictions=(AWCAbility="Infighter", RestrictedAbility="Squadsight")
+AWCRestrictions=(AWCAbility="RunandGun_LW", RestrictedAbility="Squadsight")
These prevent Sharpshooter from getting a bunch of perks that really provide little to not benefit to the class.

I don't know the exact nature of the bug that existed, but basically this used to restrict based on Sharpshooter and using a Perk that is exclusive to each class is more reliable for some reason.
Alketi
Posts: 159
Joined: Sat Jan 28, 2017 3:11 pm

Re: Question regarding AWC in 1.2

Post by Alketi »

chrisb wrote: These prevent Sharpshooter from getting a bunch of perks that really provide little to not benefit to the class.
Instead, my Death From Above sharpshooter got all the grenade perks. :(
Jadiel
Posts: 214
Joined: Tue Jan 24, 2017 9:28 am

Re: Question regarding AWC in 1.2

Post by Jadiel »

Run and gun is awesome on a dfa sniper :)
Tuhalu
Posts: 433
Joined: Wed Feb 01, 2017 9:02 pm

Re: Question regarding AWC in 1.2

Post by Tuhalu »

chrisb wrote:I don't know the exact nature of the bug that existed, but basically this used to restrict based on Sharpshooter and using a Perk that is exclusive to each class is more reliable for some reason.
Restriction by class is broken and instead restricts ALL classes from getting it. So restricting by perks exclusive to a class is a workaround to achieve the correct result.
nmkaplan
Posts: 207
Joined: Thu Jan 26, 2017 5:14 pm

Re: Question regarding AWC in 1.2

Post by nmkaplan »

Right, in 1.1 the code was written to exclude "sharpshooter" or "ranger" from certain perks, but there was a bug that was somehow removing those perks from ALL soldiers instead of just those classes.

In 1.2, the code uses perks that are unique to classes to restrict certain perks from showing up in those classes. For instance, to restrict a perk from showing up on a technical the code restricts the perk from showing up on any soldier that has the "Fire in the Hole" perk on its tree. Functionally it's the same, but the result is that perks that were restricted from showing up in certain places in 1.1 (and thus weren't showing up ANYWHERE) are now showing up properly.
Alketi
Posts: 159
Joined: Sat Jan 28, 2017 3:11 pm

Re: Question regarding AWC in 1.2

Post by Alketi »

Do the 1.2 changes only apply to new soldiers, or to existing soldiers who haven't yet revealed their upper level perks?
chrisb
Pavonis Dev
Posts: 364
Joined: Mon Feb 27, 2017 8:43 pm

Re: Question regarding AWC in 1.2

Post by chrisb »

It would apply to any Rookie, new or existing once they get their first Rank. Once the class is chosen the AWC Perks are picked.
Thrair
Long War 2 Crew
Posts: 82
Joined: Fri Jan 20, 2017 9:37 am

Re: Question regarding AWC in 1.2

Post by Thrair »

Alketi wrote:Do the 1.2 changes only apply to new soldiers, or to existing soldiers who haven't yet revealed their upper level perks?
AWC Perks are rolled when the soldier is promoted/created to a class (ie, not a rookie). Even ones you cannot see are already rolled. You can adjust the ini to reveal AWC perks.

If you want to try the fixed AWC perks, there is a Long War console command to reroll the AWC perks for all your soldiers.

First, you go to the game properties in steam and open the "select launch options". Type in the following:
-allowconsole

Then hit the ~ key to enter the command of choice from this thread:
http://www.pavonisinteractive.com/phpBB ... 20&t=23708

In the case of rerolling AWC perks, it is "LWForceAWCRerolls"
chrisb
Pavonis Dev
Posts: 364
Joined: Mon Feb 27, 2017 8:43 pm

Re: Question regarding AWC in 1.2

Post by chrisb »

Thrair wrote:
Alketi wrote:Do the 1.2 changes only apply to new soldiers, or to existing soldiers who haven't yet revealed their upper level perks?
AWC Perks are rolled when the soldier is promoted/created to a class (ie, not a rookie). Even ones you cannot see are already rolled. You can adjust the ini to reveal AWC perks.

If you want to try the fixed AWC perks, there is a Long War console command to reroll the AWC perks for all your soldiers.

First, you go to the game properties in steam and open the "select launch options". Type in the following:
-allowconsole

Then hit the ~ key to enter the command of choice from this thread:
http://www.pavonisinteractive.com/phpBB ... 20&t=23708

In the case of rerolling AWC perks, it is "LWForceAWCRerolls"
Be careful when doing this in an existing campaign, I don't know if it will remove the perks you already trained, but it will definitely reset all the training back to 0 on all your soldiers. Unless you haven't trained any yet, then you'd be fine.
Jacke
Posts: 623
Joined: Sat Jan 28, 2017 1:10 am

Re: Question regarding AWC in 1.2

Post by Jacke »

The mod "LW2 Soldier AWC Reroll Command" provides a console command to reroll AWC perks for an individual non-Rookie soldier. It does that using the current restriction on what AWC perks a soldier can get.
Post Reply