Search found 137 matches

by cerebrawl
Thu Feb 02, 2017 1:09 am
Forum: Long War 2
Topic: Resetting Officer / AWC Abilities
Replies: 4
Views: 10440

Re: Resetting Officer / AWC Abilities

Yeah, mea culpa, I hadn't tried it, I just figured it would work since AWC perks are assigned when you rank up from rookie to squadie.
by cerebrawl
Wed Feb 01, 2017 6:59 pm
Forum: Modding Long War 2
Topic: More AWC Perks
Replies: 6
Views: 23822

Re: More AWC Perks

I was going to fiddle with this after work. I assume that you need to make a pool of perks for each level. IE: If you add a 4th perk level, you need perks that have been classified as 4th level perks. Like so: +AWCAbilityTree_Offense=(Level=4, AbilityName="Lethal", ApplyToWeaponSlot=eInvSl...
by cerebrawl
Wed Feb 01, 2017 6:48 pm
Forum: Long War 2
Topic: Resetting Officer / AWC Abilities
Replies: 4
Views: 10440

Re: Resetting Officer / AWC Abilities

Maybe try the command for changing class? I know there is one... resets to squadie of the desired class, this will at least necessarily reroll AWC perks, if not officer ones, but it might do both. MakeSoldierAClass [classname] The classes are: LWS_Assault LWS_Shinobi LWS_Grenadier LWS_Sharpshooter L...
by cerebrawl
Wed Feb 01, 2017 4:33 pm
Forum: Modding Long War 2
Topic: Needle grenades mechanics and code location?
Replies: 0
Views: 2593

Needle grenades mechanics and code location?

I was wondering what behavior it would have if I put it in the AWC lists and say a technical would get it, would it affect the rocket launcher? The flamer? Does it affect suit heavy weapons? Basically, does it stop all loot destruction, or only from specific, listed grenades/sources? Also I've been ...
by cerebrawl
Wed Feb 01, 2017 3:29 am
Forum: Modding Long War 2
Topic: AWC perk allocation bug hotfix solution.
Replies: 7
Views: 12224

Re: AWC perk allocation bug hotfix solution.

If I make these changes and they come out with a new patch will it mess up my game? Would love to see one of the LW2 devs post this on the 1.2 workaround patch notes. Or at least confirm this is how they will fix it. Anyway, thanks for the find! :D New patch will overwrite the changes, and it won't...
by cerebrawl
Tue Jan 31, 2017 10:34 pm
Forum: Modding Long War 2
Topic: AWC perk allocation bug hotfix solution.
Replies: 7
Views: 12224

Re: AWC perk allocation bug hotfix solution.

wadeanthony wrote:Is this a fix or was it intended to be this way?
It's a workaround bugfix because the RestrictedClass function is broken and stops all classes from getting the perk, instead of just one class.

This gets you the intended restrictions, and not the draconian bans. ;)
by cerebrawl
Tue Jan 31, 2017 9:07 pm
Forum: Modding Long War 2
Topic: AWC perk allocation bug hotfix solution.
Replies: 7
Views: 12224

Re: AWC perk allocation bug hotfix solution.

Crushing Doom wrote:Wait, which lines are we replacing in the INI? Or do we just add that code?
Do a search and replace of all instances of the bit on the left, with the bit on the right.
In notepad++ it looks like this:
Image
by cerebrawl
Tue Jan 31, 2017 5:01 pm
Forum: Modding Long War 2
Topic: AWC perk allocation bug hotfix solution.
Replies: 7
Views: 12224

AWC perk allocation bug hotfix solution.

Figured I might as well post this here. The RestrictedClass function is broken, it restricts the ability from all classes, not just the one it should be targeting, this means a lot of perks which are listed in the XComLW_AWCPack.ini will never be given to any soldier, because the broken function res...
by cerebrawl
Tue Jan 31, 2017 4:12 am
Forum: Long War 2: Bug Reports
Topic: Technical can't fire rockets backwards
Replies: 1
Views: 3649

Re: Technical can't fire rockets backwards

Probably a leftover nod to realism from the old rocket launcher they're borrowing code from. Backblast can be fatal if you've got a wall behind you.
by cerebrawl
Mon Jan 30, 2017 9:52 pm
Forum: Long War 2: Bug Reports
Topic: *Alert Alert* Bugged code function identified! RestrictedClass is broken!
Replies: 0
Views: 3057

*Alert Alert* Bugged code function identified! RestrictedClass is broken!

After noticing how some perks were never assigned, I've been on a bug hunting rampage and have managed to isolate the culprit! The function: RestrictedClass itself is bugged! I haven't narrowed it down further than that, but the bugs went away when I did a search and replace of all RestrictedClass f...
by cerebrawl
Mon Jan 30, 2017 12:31 pm
Forum: Modders' Forum
Topic: AoE Overwatch?
Replies: 3
Views: 7128

Re: AoE Overwatch?

There's a Trooper classmod you can look at too, does something like a 360 degree killzone in one of the capstones(death sentence). Also it could be worth looking at the targeting part of the technical rocket(or other aoe ability, like grenades). Probably not an overly difficult task. Trooper link: h...
by cerebrawl
Mon Jan 30, 2017 10:45 am
Forum: Modding Long War 2
Topic: [REQ] Direct return to AWC
Replies: 2
Views: 4559

Re: [REQ] Direct return to AWC

I had this exact pet peeve too, wasted so much of my time... then I noticed the "train ability" button in the topright of the soldier AWC screen, use that and the side arrows to cycle between soldiers to fill vacancies.