XCOM 2
[WOTC] LW2 Classes and Perks
Dory L. Aug 8, 2022 @ 10:56am
Configuring Dedicated Pistol Slot to be compatible with this mod
For those looking to get the LWotC-style pistol experience, with a dedicated slot and perks, you can use the following combination of mods:

This won't work out of the box; the following changes must be made to the .ini files for everything to function correctly.

In LW2 Secondary Weapons's XComLW2SecondariesWOTC.ini, make this change:
bEditAbilityTemplatesForBaseClasses = false
By default it will say this:
bEditAbilityTemplatesForBaseClasses = true

In Dedicated Pistol Slot's XComPistolSlot.ini, add the following lines:
; LW2 Classes +ADD_SLOT=(SOLDIER_CLASS="LWOTC_Assault", WEAPON_CAT="pistol", ALLOW_EMPTY=false) +ADD_SLOT=(SOLDIER_CLASS="LWOTC_Shinobi", WEAPON_CAT="pistol", ALLOW_EMPTY=false) +ADD_SLOT=(SOLDIER_CLASS="LWOTC_Sharpshooter", WEAPON_CAT="pistol", ALLOW_EMPTY=false) +ADD_SLOT=(SOLDIER_CLASS="LWOTC_Specialist", WEAPON_CAT="pistol", ALLOW_EMPTY=false) +ADD_SLOT=(SOLDIER_CLASS="LWOTC_Gunner", WEAPON_CAT="pistol", ALLOW_EMPTY=false) +ADD_SLOT=(SOLDIER_CLASS="LWOTC_Ranger", WEAPON_CAT="pistol", ALLOW_EMPTY=false) +ADD_SLOT=(SOLDIER_CLASS="LWOTC_Grenadier", WEAPON_CAT="pistol", ALLOW_EMPTY=false) +ADD_SLOT=(SOLDIER_CLASS="LWOTC_Technical", WEAPON_CAT="pistol", ALLOW_EMPTY=false)

In Ability to Slot Reassignment's XComAbilityToSlotReassignment.ini, add these lines:
+AbilityWeaponCategories=(AbilityName=Quickdraw, WeaponCategorySetName=Pistols) +AbilityWeaponCategories=(AbilityName=LW2WotC_ClutchShot, WeaponCategorySetName=Pistols) +AbilityWeaponCategories=(AbilityName=LW2WotC_Gunslinger, WeaponCategorySetName=Pistols)

In Training Center Perk Configurator's XComClassData.ini, add these lines:
+ExtraCrossClassAbilities=(AbilityName="LW2WotC_ClutchShot") +ExtraCrossClassAbilities=(AbilityName="LW2WotC_Gunslinger")

Finally, in Training Center Perk Configurator's XComTCPC.ini, add these lines:
AWC_ENABLE_LIST[2]="ReturnFire" AWC_ENABLE_LIST[3]="LightningHands" AWC_ENABLE_LIST[4]="Quickdraw" AWC_ENABLE_LIST[5]="Faceoff" AWC_ENABLE_LIST[6]="FanFire" AWC_ENABLE_LIST[7]="LW2WotC_ClutchShot" AWC_ENABLE_LIST[8]="LW2WotC_Gunslinger"

As a last (optional) balance step, add this line to Training Center Perk Configurator's XComGameData.ini to give Fan Fire and Faceoff T3 perk costs (25 AP instead of 10 AP):
+PowerfulAbilities="FanFire"

Hopefully this helps you make use of the pistol skills from LWotC in your campaign! :)

EDIT (Aug. 30, 2022):
Corrected a typo in the pistol slot configuration and added some missing lines to the Ability to Slot reassignment config.
Last edited by Dory L.; Aug 30, 2022 @ 2:33pm
< >
Showing 1-2 of 2 comments
Daexlin Dec 16, 2023 @ 10:26pm 
Thank you :)
Didnt do last step, hope it will work :)
< >
Showing 1-2 of 2 comments
Per page: 1530 50