Page 1 of 1

Adding available weapons to Perk Pack Sharpshooter

Posted: Sun Feb 26, 2017 6:31 pm
by Edd88
Hello, and first of all thanks Pavonis Interactive for developing mods that make X2 even more enjoyable than it already was.

I am currently using the Perk Pack in a modded campaign, and trying to add rifles to available weapons for Sharpshooters, though without success. I have added the:

+AllowedWeapons=(SlotType=eInvSlot_PrimaryWeapon, WeaponType="rifle")

line to the sharpshooter weapon list in the Classdata.ini file from the Perk Pack mod, but it does not seem to work. Any modding beyond ini file editing goes over my head, but changes like this have been succesful for me for other custom classes in the past. Can anyone tell me what i'm missing? Or do i need to start a new campaign for this to work?
Deleting and regenerating config files did not solve this issue for me.

Thanks in advance.

Re: Adding available weapons to Perk Pack Sharpshooter

Posted: Mon Feb 27, 2017 1:21 am
by johnnylump
AFAIK that should work. Possibly you have to start a new campaign?

Re: Adding available weapons to Perk Pack Sharpshooter

Posted: Mon Feb 27, 2017 12:41 pm
by Edd88
Found a workaround that solved this issue for me.

One of the comments under the "rifles for all classes" Steam Workshop mod advised to add the following lines to that mod (which wasn't working for LW perk pack classes).

[LW_Sharpshooter X2SoldierClassTemplate]
+AllowedWeapons=(SlotType=eInvSlot_PrimaryWeapon, WeaponType="rifle")

[LW_Grenadier X2SoldierClassTemplate]
+AllowedWeapons=(SlotType=eInvSlot_PrimaryWeapon, WeaponType="rifle")

After this i could equip sharpshooters with rifles straight away.

Thanks for the quick reply regardless!