XCOM 2
Rifles for All Classes
75 Comments
Red 10 Aug, 2024 @ 1:52pm 
i forgot i sent this; i uninstalled xcom 2 a while ago tho so uhhh sorr
Malc 25 Jul, 2024 @ 7:53pm 
Thank you Muad'Dib for figuring out a fix for this mod. It is very central to my Warhammer 40k collection build. really looks better for my space marines to carry the right gun. You are my hero this day.
And thank you author for posting it.
Sp4m  [author] 20 Jul, 2024 @ 7:48pm 
I don't know, can you try and tell me?
My mood doesn't affect the boltcaster that I recall
Red 2 Jul, 2024 @ 4:43pm 
One of my soldiers is named british redcoat, and i want to use the boltcaster with them. Does it work?
Sp4m  [author] 25 Dec, 2023 @ 9:53am 
Thanks OmniTato!
Muad'Dib 16 Dec, 2023 @ 1:37am 
To everyone who cant find the mod in their modloader, I found a fix.
1. Go to the mod file in your steamapps/workshop/content/268500/622012633
2. Open RiflesforAllClasses.XCOMMODFILE with your notepad
3. Change the content to this:

[mod]
publishedFileId=622012633
Title=Rifles for All Classes
description=This mod allows all classes to use a rifle as their primary weapon in [XCOM2] and [WOTC]

And it will appear in your modloader for you to enable again. Hope this helps!
*Basically removing the additional info that was put into the XCOMMODFILE enables it to be detected again. Dont know why it works but it worked for me :)
Muad'Dib 22 Nov, 2023 @ 2:49am 
Can anyone find the mod in their modloader?
WildCard 1 Nov, 2023 @ 1:50pm 
This works in WOTC surprisingly, even for reapers :bunnyinablanket:
Muad'Dib 13 Aug, 2023 @ 5:17am 
Cant find it in my loader either
Sp4m  [author] 25 May, 2023 @ 6:16pm 
I'm able to reproduce Epidemius' issue...
I manually removed the mod files from my system, unsubbed, re-subbed, and the mod isn't in the Loader List. I'll figure it out eventually.

Is it working for anyone at the moment?
Lucius Confucius 25 May, 2023 @ 2:30am 
Try unsubscribing and subscribing again?
Epidemius 24 May, 2023 @ 3:08pm 
For some reason, despite being subscribed, this mod doesn't show up in my list of installed mods and unfortunately it doesn't work.
Sp4m  [author] 19 May, 2023 @ 4:36pm 
Good News Everyone!
I have updated 'Rifles for All Classes' to support War of the Chosen. Thank you for your comments and your support.
Sp4m  [author] 15 May, 2023 @ 9:46pm 
This Week. I have all the files, I just need to learn how to update my mod on Steam Workshop again.
TheMuffinMan 14 May, 2023 @ 1:47am 
Anyone have any idea when this can be fixed?
Sp4m  [author] 4 Apr, 2023 @ 12:40pm 
Thanks for the reminder CC-Ares! I'll get on that.
CTAres 4 Apr, 2023 @ 12:05pm 
My skirmisher cant equip standart rifle. any Way to change that?
Falkeministeren 8 Oct, 2021 @ 3:54am 
hope you survive, get well soon
Sp4m  [author] 6 Oct, 2021 @ 12:46pm 
@Falkeministeren, thank you for the heads up. It sounds like I need to update my mod.
I am crazy sick right now, but I'll look at it in the next few weeks.
Falkeministeren 5 Oct, 2021 @ 5:21am 
None of my Heroes can use ordinary Rifles. I am doing a Space Marine Playthrough, and i want everyone to have Bolters(rifles). But my Skirmishers and Reapers cannot equip Anything else than their vanilla weapon
BurgerKing 21 Mar, 2021 @ 4:37pm 
re Squadsight
Though Snipers have squadsight, they cannot squadsight with pistol (for a good reason) implying it is weapon based. YET there are instances hacking security post grants Squadsight for the whole squad implying it is skill based.

Combining the two: IMO, some weapons are allowed to squadsight as long as said soldier have the specific perk while some weapons are blacklisted.
Sp4m  [author] 26 Feb, 2021 @ 9:10am 
@Falkeministeren, yes it does.
But if you find anything not working as expected, let me know.
Falkeministeren 26 Feb, 2021 @ 3:24am 
Does this mod allow me to give my Skirmishers standard assault rifles?
Green Raven 11 Aug, 2020 @ 12:19pm 
Just researched Mag Weapons. Mag Rifles given to Specialists and Grenadiers.

Must. Not. Cheat!

Must. Not. Give. To. Sharpshooters!
Green Raven 9 Aug, 2020 @ 11:24am 
Heh, enjoy!
Sp4m  [author] 9 Aug, 2020 @ 9:56am 
I agree and I could. Give me some time though... I want to play Horizon Zero Dawn ;^)
Green Raven 9 Aug, 2020 @ 7:35am 
Hmm... after playing for a bit, there's no doubt in my mind: a mobile squadsight weapon is just too op.
Would you be able to make a mod that only gives the Assualt Rifle to Grenadiers?
Green Raven 4 Aug, 2020 @ 8:49am 
NP, I found a mod that gives the sniper rifle weapon a small armour piercing bonus, so it all evens out. Thanks for responding!
Sp4m  [author] 4 Aug, 2020 @ 7:14am 
@Green Raven, I am afraid not.
Squad Sight is an ability associated with the Sniper, not the weapon.
Green Raven 3 Aug, 2020 @ 9:59pm 
Can you make it so that regular rifles cannot squadsight? Otherwise the sniper has no reason to use the sniper rifle
Sp4m  [author] 27 Jul, 2019 @ 7:21pm 
@Gul Ducat: Thanks for the heads up!

I'll take care of that as soon as I get some time off.
Gul Ducat 27 Jul, 2019 @ 2:25pm 
pleas update for Reapers and Skirmishers.. pleas - they need use all standart weapons
Psychonaut_Luke 9 Jul, 2018 @ 12:40pm 
Oh its called: " DefaultClassData.ini"
Psychonaut_Luke 9 Jul, 2018 @ 12:39pm 
Thx :)
I just added it myself into classdata.ini .
It does not work with WOTC because you have to edit the WOTC ClassData.ini located in:
"...\Steam\steamapps\common\XCOM 2\XCom2-WarOfTheChosen\XComGame\Config"


Did not know but how nice: You can give sniper rifles to Reapers and such things :D
Sp4m  [author] 9 Jul, 2018 @ 10:23am 
@Psychonaut_Luke that would be my guess.
This mod is pretty simple, and it just adds a line to the class weapons list to add rifles.
If there's another mod that makes changes to the soldier classes, it may overwrite my changes.
If you figure out what is causing it, I would love to know <3.
Psychonaut_Luke 9 Jul, 2018 @ 8:02am 
It does not work on my WOTC... Might be an incompatibility with other mods?
Player 1 Mar, 2018 @ 11:23pm 
For people wondering, this works fine with WOTC, only affects base classes though.
Player 22 Feb, 2018 @ 7:20am 
Why didnt I look for this sooner? Thanks!
Sky 6 Sep, 2017 @ 12:37pm 
No problem, hope I was of some help.
Sp4m  [author] 6 Sep, 2017 @ 9:18am 
Thank YOU. That makes sense. If the different factions have access to different weapons, it may not be *appropriate* to give them rifles. I'll play further into WotC and get a better feel for the mechanics.
Sky 5 Sep, 2017 @ 9:58pm 
A real answer to that question might be hard to articulate, aside from me saying that it would come down to it being a personal preference on my part.

I guess that could say that limiting the XCOM Armory to the XCOM classes would help preserve the uniqueness of the Resistance Classes and help keep them feeling separate.

I and it seems-another subjective judgement on my part-that the Skirmishers would be better served using the basic AR over the Bullpup, so having access to it might shift the balance noticeably away from the use of their unique gear.

Thanks,
-Cheesus
Sp4m  [author] 5 Sep, 2017 @ 7:50pm 
@Cheesus, that's an interesting request. It would be easy for me to release 2 versions, but it could create some confusion. What would the benefit be?
Sky 5 Sep, 2017 @ 5:55pm 
Hello,

I wanted to see if I could request that when you begin to look at WOTC if a version could this mod could be made that only applies to the basix XCOM classes?
DC 5 Sep, 2017 @ 11:46am 
Oh np at all, I look forward and will keep an eye out for your WotC port of this mod.
Sp4m  [author] 5 Sep, 2017 @ 11:34am 
I hear what you're saying.
I think that would be more realistic, and to borrow from XCOM:UFO Defense, it would be cool if the weight of their gear impacted movement as well.

Unfortunately, that's out of scope for this mod. My intention is to deliver a very specific feature that plays well with other mods.
DC 5 Sep, 2017 @ 11:25am 
First off in my opinion all the classes should have a secondary weapon slot.

When I was in the Army I trained in the M16 and a sidearm, or in another case "training" I was issues the M60 and a sidearm. (Also whats up with the revolver modled pistol when most military and paramilitary carry automatics)

I was thinking that soldiers should be able carry their primary weapon and be allowed a secondary like the rifle,pistol, or maybe something like the LW2 SMG.
Sp4m  [author] 5 Sep, 2017 @ 9:01am 
Hey@DC, I'm looking into updating my mod for WotC this week. Unfortunately I haven't gotten far into WotC yet, can you expand on your idea?
DC 5 Sep, 2017 @ 12:31am 
I aways wondered why everyone could use the Rifle as a newb soldier but when they gained more advanced training they seem to have forgotten lol. Personally I think the new weapon set from class training should be able to be primary or secondary.

Any change of one of these for WoTC?
Sp4m  [author] 30 Dec, 2016 @ 4:13pm 
@tin.katavic: I don't mind at all! Happy to see my mod is useful to you, and that you were able to adapt it to suit you.
Sparky 30 Dec, 2016 @ 2:47pm 
I hope you dont mind but as I REALLY wanted an SMG on my Long War sniper/gunslinger I modded your mod. :D

Basicaly to add Long war classes to your list I just added (in your ...\Steam\steamapps\workshop\content\268500\622012633\Config\XComClassData file)

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

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