Adding SMG to sharpshooters

Post Reply
Alfray Stryke
Posts: 2
Joined: Fri Feb 03, 2017 5:35 pm

Adding SMG to sharpshooters

Post by Alfray Stryke »

Hi guys,

I'm fiddling around with the game files to figure out modding and such and found if I add

Code: Select all

+AllowedWeapons=(SlotType=eInvSlot_PrimaryWeapon, WeaponType="rifle")
to the Sharpshooter Class Data in XComClassData.ini, it gives them access to both rifles and SMGs.

Is it possible to change the category for SMGs to something like

Code: Select all

WeaponType="smg"
and then add

Code: Select all

+AllowedWeapons=(SlotType=eInvSlot_PrimaryWeapon, WeaponType="smg")
to every class I want to have access to SMGs, and if so, where can I find that code?

Thanks!
code99
Posts: 32
Joined: Mon Jan 23, 2017 7:34 am

Re: Adding SMG to sharpshooters

Post by code99 »

Im sorry for not providing you with the answer (as i dont know the answer to your question) BUT why would you want to put smgs on sharpshooters?

Im just curious :)
Alfray Stryke
Posts: 2
Joined: Fri Feb 03, 2017 5:35 pm

Re: Adding SMG to sharpshooters

Post by Alfray Stryke »

code99 wrote:Im sorry for not providing you with the answer (as i dont know the answer to your question) BUT why would you want to put smgs on sharpshooters?

Im just curious :)
1) To see if I can. :P
2) I want to see if a purely holotarget focused spotter would work well and the extra mobility could be useful.
User avatar
johnnylump
Site Admin
Posts: 1261
Joined: Wed Nov 11, 2015 4:12 am

Re: Adding SMG to sharpshooters

Post by johnnylump »

You'd have to do some template surgery to make a separate weapon class for SMGs.
lilyophelia
Posts: 22
Joined: Fri Jan 27, 2017 11:13 am

Re: Adding SMG to sharpshooters

Post by lilyophelia »

Thanks for this. This made the change really easy to make.

I use a commander-holotarget sharpshooter, and I really enjoy stripping their sniper rifle off of them!
Post Reply