XCOM 2
520 ratings
[WOTC] Dedicated Pistol Slot 2.0
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
141.271 KB
Apr 6, 2019 @ 4:08pm
Jan 30 @ 11:42am
32 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[WOTC] Dedicated Pistol Slot 2.0

In 1 collection by Veehementia
[WOTC] Veehementia's Mods and Ports
55 items
Description
READ ALL THE DESCRIPTION AND DON'T SKIP THE REQUIRED ITEMS, THEY ARE REQUIRED FOR A REASON!

YOU CAN FIND INSTRUCTIONS ON HOW TO CONFIGURE THIS MOD IN THIS GUIDE. ANY COMMENT ASKING FOR CONFIGURATION HELP HERE WILL BE IGNORED.

-

Hi there. Missed me?

-


DESCRIPTION

XCOM EU/EW soldiers always had a pistol to rely on in case they found themselves unable to reload or against an enemy with very little health left, even if said soldier was carrying a piece of equipment (except the Heavy class, which had Rocket Launchers instead). In XCOM 2 this feature was lost, probably in favor of emphasizing the Sharpshooter's Gunslinger tree.
Nevertheless, it irritated me to no end: you don't need special training to simply fire a gun.

Enter the Dedicated Pistol Slot.

As the title says, this mods adds a dedicated slot in which to equip Pistols (or whatever sidearm/item you want, this behaviour is configurable in the .ini) for all soldiers. By default configuration, the only two classes that miss this are the Sharpshooter (already has one) and the Templar (uses the Autopistol), but this can be changed in the config as well.

In order to better help players understand how to and how to not configure this mod (and all the new features of the 2.0 update), I've prepared a small guide that you can find here. Any comment asking for configuration help here will be ignored. If you need additional help after reading the guide, comment there, and I'll be happy to assist.


COMPATIBILITIES

I've included a number of compatibilities with other similar mods, specifically:
And that should be it. Note that none of the mods above are mandatory; you can still not download any of them and simply use the slot to equip Pistols or autopistols.

FOR RPGO USERS

Since the slot is now given using classes by default, the mod as is will not add any slot to your RPGO soldiers. This is because all vanilla classes (excluding Templars, Reapers, and Skirmishers) in RPGO are hidden, and all soldiers are now of the same class: UniversalSoldier. So, to add a pistol slot to all soldier in RPGO, you'll need to write:

+ADD_SLOT=(SOLDIER_CLASS="UniversalSoldier", WEAPON_CAT="pistol", ALLOW_EMPTY=false)

You can still add a slot via abilities if you so prefer.


REQUIRED ITEMS AND THEIR USE

  • Robojumper's Squad Select is necessary for the slot to be shown on the Squad Select Screen. Remember to uncheck the "Upgrade Icons Only For Primaries" checkbox [iridar.net] in Robojumper's Squad Select configuration. You can do that in .ini configuration or by using the Mod Config Menu mod.
  • [WOTC] Reliable Ever Vigilant is required to fix the interaction between Ever Vigilant and Specialists using the Dedicated Pistol Slot. If the Specialist has enough ammo left to fire with his/her primary weapon, Ever Vigilant will work as normal; if the specialist does not have enough ammo to fire his/her primary weapon, he/she will use the pistol instead (provided Overwatch is set up with higher priority then PistolOverwatch in Reliable Ever Vigilant's configuration file)
  • WotC Mod Everything Reloaded is not a hard requirement, but it will allow you to be able to upgrade your pistols/sidearms directly from the loadout screen, instead of using Robojumper's Squad Select. Huge thanks to Musashi for updating the mod with Dedicated Pistol Slot compatibility!


INCOMPATIBILITIES

This mod is incompatible with Ammo and Vest Slots [WOTC] and [WOTC] Tons Of Utility Items.

To offset this, I've included a XComGameData.ini in the config folder. Inside, you'll be able to add either a Grenade Slot or an additional Utility Slot on a per-ability basis.


DONATIONS

Want to buy me a drink? To say "thank you"? To fill me with booze as to make me fall in an alcohol-induced coma and stop making bad jokes? Now you can! You can donate here: paypal.me/nardonematteo98
Donations are NOT required and I won't stop making stuff if you don't donate, don't worry: I make stuff for passion, not money. It's just a way to say "thank you". Or to fuel my alcoholism. Whatever sounds better.

That said, go play and have fun!


SPECIAL THANKS:

  • Iridar, who basically dictated me the code himself, and taught me everything in-between. Go check out his Patreon. [www.patreon.com] He deserves it. A lot.
  • Musashi, whose WOTC Vest Slot mod I used as a base and inspiration to make this one.
  • Robojumper, who helped me fix a visualization bug in the UI, and for his wonderful Squad Select .
  • Ginger, who explained me how slots worked and helped me set up this one. Thanks, friend.
  • FearTheBunnies, for both the idea and implementation of an exclusion list.
  • And obviously the entirety of Team CX for being the crazy, fun and helpful modding group they are!
692 Comments
Joker_Newbee May 7 @ 3:40am 
Is this mod compatible to the Slot Reassignment Mod (https://steamcommunity.com/sharedfiles/filedetails/?id=2133397762)? Because i want to use some pisol perks with my own classes. When it´s not, then i will further use Utility Slot Sidearms.
AJTheGreat2010 Feb 21 @ 3:57am 
Just curious, do the sidearms from the Resistance Firearms mod, https://steamcommunity.com/sharedfiles/filedetails/?id=1132835147&searchtext=resistance+weapons work with this mod?
STyGIAN Dec 16, 2023 @ 1:59pm 
@eddieGT put this in your dedicated pistol slot config

+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)

It can go under the other default classes just fine. Very compatible, and very fun :)
Buizerd |SBG| Dec 1, 2023 @ 11:15am 
i'm a bit stuck atm regarding the pistol slots.they work for the proficiency pack classes, like assault and engineer, but not the grenadier, specialist etc.for those the list is empty. do i need to create entrees for those classes in the ini also?
Chancellor Palpatine Sep 17, 2023 @ 8:18am 
Hi, does this mod work adding mid campaign ?
LockeEdwards Aug 17, 2023 @ 2:51pm 
@Veehementia Well, that was my mistake XD Thanks for reaching out. I appreciate it :)
Veehementia  [author] Aug 15, 2023 @ 9:48am 
@eddieGT It works, but you'll need to go into the configs in order for it to do so. Check the guide linked in the description to know how.
eddieGT Aug 15, 2023 @ 7:01am 
so this doesnt work for LW2 class pack, that or i have to go into the configs and manually do it?
Old Man Jenkins Aug 9, 2023 @ 12:19pm 
To anyone else looking to add this mod to Shiremct's proficiency classes, it's really easy to do in the configs. Just copy/paste one of the existing classes in the class ini and replace the name with the proficiency class name ("wotc_apa_classname").
Veehementia  [author] Aug 7, 2023 @ 2:06pm 
@LockeEdwards This is because the sword itself does not have the Slash ability, which is instead given to Squaddie Rangers. You can fix this by manually adding it via Weapon Skin Replacer, Template Master, or by using Ability To Slot Reassignment (which should be a required mod for RPGO). Refer to those mod's pages for further instructions.