XCOM 2
924 ratings
[WOTC] Open Class Weapon Restrictions
4
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
247.588 KB
7 Oct, 2018 @ 8:03am
5 Nov, 2021 @ 10:36pm
6 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[WOTC] Open Class Weapon Restrictions

Description
This mod provides an easy way to open access to additional weapon categories to all soldier classes based on weapon categories that are already available to them. For example, this mod can potentially unlock Assault Rifles to all soldier class that use Cannons.

By default this mod does absolutely nothing, so it's completely safe to add or remove. Other mods can provide their configuration for this mod. If you are subscribing to this mod because another mod requires it, you don't have to do anything else.

If you wish to add some configuration yourself, use the [WOTC] Open Class Weapon Restrictions Config mod to do so. That mod contains the necessary configuration file along with examples and instructions.

Technically, it's possible to achieve the same result by editing XComClassData.ini for individual soldier classes, but if you play with a lot of soldier class mods at the same time, it gets tedious.

Please support me on Patreon[www.patreon.com] if you require tech support, have a suggestion for a feature, or simply wish to help me create more awesome mods.
118 Comments
SinnerSmile 31 Jan @ 7:49am 
Ah, thats a shame. I tried scavenging rpgo files, but am not sure where and how to make those tweaks, I guess gonna ask in RPGO thread, thanks!
Iridar  [author] 31 Jan @ 6:44am 
This mod wouldn't be able to affect weapon restrictions in RPGO, you need to tweak RPGO for that.
SinnerSmile 31 Jan @ 6:01am 
Hi! Using RPGO and Psionics Ex Machina. With weapon restrictions in RPGO - I cant give soldiers psi amps, was hoping to use this mod (the config version of it) to fix it.
Added
+GRANT_WEAPON=(GrantWeaponType[0]="psiamp", Slot[0]=eInvSlot_SecondaryWeapon)
To the ini config
No luck :(

Any ideas?
Tal'Raziid 14 Jul, 2024 @ 8:01am 
Okay thank you for confirming
Iridar  [author] 14 Jul, 2024 @ 2:15am 
@Tal'Raziid
This mod will do anything only if you or some other mod provide configuration for it.
Tal'Raziid 13 Jul, 2024 @ 8:36pm 
I see that this says it doesnt do anytihng by itself but i wanted to verify. This does -literally- nothing on its own? doesnt go around unlocking all weapons for all classes, more or less?
Dragon32 20 Apr, 2024 @ 9:51am 
@DeBlue
A semi-colon in front of a line will comment it out, the game will ignore it.
DeBlue 20 Apr, 2024 @ 9:37am 
I'm confused how to get this to work with RPGO. I have set it as such, and neither works?

;+GRANT_WEAPON=(AllowedWeaponType[0]="shotgun", GrantWeaponType[0]="SMG", Slot[0]=eInvSlot_PrimaryWeapon)

; Any class that can use either Pistols or Autopistols gets access to both.
;+GRANT_WEAPON=(AllowedWeaponType[0]="pistol", AllowedWeaponType[1]="sidearm", GrantWeaponType[0]="pistol", GrantWeaponType[1]="sidearm")
Zarkx 10 Mar, 2024 @ 11:54am 
add lightsaber may be :p
danhtai 13 Jan, 2024 @ 10:54pm 
nah forgot that i just going to fuck it up