Jump to content

LW2- Editing Shocktrooper perks


Radryl

Recommended Posts

So, I am playing LW2 and subscribed to a few extra classes while playing it, including this Shocktrooper class.

http://steamcommunity.com/sharedfiles/filedetails/?id=744114681&searchtext=shocktrooper

 

And while it does work just fine with LW2, I feel like it could use a few changes. Mostly gaining the perk to damage machines(A perk from the Technical class), as one of sides is focused on burning targets. But I never tried to edit LW2 before so I have no idea how to start things up. The only change I did related to XCOM 2 before was something small involving changing weapon damage of another mod!

 

Can anyone please explain what I need to add/change to make this work? The idea is to replace the "middle" perk(Hit and Run) on the last tier of the tree with the perk to damage robotic units.

Edited by Radryl
Link to comment
Share on other sites

You need to edit the Shocktrooper mod's XComClassData.ini

 

That INI defines the perks available at each rank. Change the "Hit and Run" value to the perk name from the Technical (which you can get from LW 2's XComClassData.ini). Looks like, for perks which affect weapons you need to define that too. Probably best is to have a look at some of the LW 2 perks to get an idea how the file works.

Link to comment
Share on other sites

You need to edit the Shocktrooper mod's XComClassData.ini

 

That INI defines the perks available at each rank. Change the "Hit and Run" value to the perk name from the Technical (which you can get from LW 2's XComClassData.ini). Looks like, for perks which affect weapons you need to define that too. Probably best is to have a look at some of the LW 2 perks to get an idea how the file works.

Yeah, someone did suggest to edit Shocktrooper's XcomClassData, but as soon as I replaced Hit and Run with "Phosphorus" the perk simply vanished from the tree. And I did try to change the ability to affect "secondary weapon", but clearly I need to do something else. I did try to give a glance at the Technical's tree, but it is a huge mess of different things. Unless it also has its own data ini, because the one I was checking was very confusing.

Edited by Radryl
Link to comment
Share on other sites

This is the Technical's ability:

(AbilityName="PhosphorusPassive",	ApplyToWeaponSlot=eInvSlot_SecondaryWeapon)
This is Hit and Run from the LW Assault:

(AbilityName="HitAndRun",	ApplyToWeaponSlot=eInvSlot_PrimaryWeapon)
I believe replacing the bit in the brackets in the Shocktrooper mod with what's there for Technical will do it. You'll need LW2 loaded with your modification, as otherwise you're assigning an ability without actually defining what it does.

 

Note that I've never done exactly this (just replaced one of the Leader Pack abilities with Inspire) :smile:

Link to comment
Share on other sites

I'm not sure what you should do, I'm afraid. Thinking about it, the error "Missing 'LocFriendlyName' for 'None'" implies that the Ability didn't "take" for whatever reason. If it was "Missing 'LocFriendlyName' for 'PhosphorusPassive'" then that would mean it couldn't locate the localisation, the 'None' implies the ability isn't being picked up.
Link to comment
Share on other sites

Isn't there like something on the Technical.ini or data that could help with that? Like write a new ini on the shocktrooper folder with the passive information or something? But then again, I think there is some sort of explanation on how to change the mod in one of those notepads, and it uses a different system.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...