XCOM 2
Configure Upgrade Slots
282 kommentarer
Qurila 27. feb. kl. 15:58 
With the mod it is no longer possible to place upgrades in the Spark Incinerators from Iridar's

SPARK Arsenal 3.2 (https://sp.zhabite.com/sharedfiles/filedetails/?id=2127166233&searchtext=iridar+spark)

This is probably due to the adjustments that the vanilla upgrades should only be possible for ranged weapons.

I have tried to remove parts of the mod that I think are responsible for the change to the upgrades, but without success.
Ajoule 23. dec. 2024 kl. 20:34 
it seems this mod no longer working or at least i couldnt get to work. it used to work before the update tho
lichen93 21. okt. 2024 kl. 6:58 
is this compatible with loot mod?
MadMonkee10 4. sep. 2024 kl. 20:26 
can you add compatibility for MCM?
Dood! 17. apr. 2024 kl. 0:08 
@Gibbler Thank you for your post. That bit of black magic finally got this to work for me and I can give melee weapons and shields 3 upgrade slots to match the LWOTC firearms.
Dogforeyals 27. sep. 2023 kl. 6:04 
Hi guys, I may sound ignorant here (not really a tech savvy guy) I went to the config folder and I don't see the XComUpgradeSlots.ini file, maybe I'm in the wrong folder... I hope you guys can guide me. TIA
Svarty 28. aug. 2023 kl. 18:39 
Thanks @RustyDios :D
RustyDios 28. aug. 2023 kl. 18:28 
This mod will never be able to give Armour upgrade slots. It just isn't set up for it.

For that you want, maybe, Tesla's Armour Modules mod .. and a cursory glance says those name look okay
Svarty 28. aug. 2023 kl. 17:21 
Are these armour names correct? It doesn't seem to be working. Do I need to restart my Campaign?

GrenadierKevlarArmor
KevlarArmor
PsiOperativeKevlarArmor
RangerKevlarArmor
ReaperArmor
SharpshooterKevlarArmor
SkirmisherArmor
SparkArmor
SpecialistKevlarArmor
TemplarArmor

GrenadierPlatedArmor
HeavyPlatedArmor
LightPlatedArmor
MediumPlatedArmor
PlatedReaperArmor
PlatedSkirmisherArmor
PlatedSparkArmor
PlatedTemplarArmor
PsiOperativePlatedArmor
RangerPlatedArmor
SharpshooterPlatedArmor
SpecialistPlatedArmor

GrenadierPoweredArmor
HeavyPoweredArmor
LightPoweredArmor
MediumPoweredArmor
PoweredReaperArmor
PoweredSkirmisherArmor
PoweredSparkArmor
PoweredTemplarArmor
PsiOperativePoweredArmor
RangerPoweredArmor
SharpshooterPoweredArmor
SpecialistPoweredArmor

HeavyAlienArmor
HeavyAlienArmorMk2
LightAlienArmor
LightAlienArmorMk2
MediumAlienArmor
MediumAlienArmorMk2
Gibbler 22. aug. 2023 kl. 3:12 
There's probably a better way to do this but copying this mod and adding it to a local file makes it load after all workshop mods so you can run this with lwotc without having to perform some voodoo magic.

Simply copy this mod from your steam workshop folder:

C: > Program Files (x86) > Steam > steamapps > workshop > content > 26850 >1171964288. That's the Configure Item Mod folder so copy that whole folder.

Open Documents > My Games > Xcom 2 WOTC > Xcom Game and create a folder. Name it anything you want and paste the copied mod into it. Im not sure if adding a z to the name makes it load last based on name but I did it anyway.
Gibbler 22. aug. 2023 kl. 3:12 
Now open up AML and open up on the top left Options > Settings. Look for the box with "Mod Directories" and click Add and go to the folder you created and click it once then press "Select Folder". You should now have to close and restart AML but if it worked then you should have your copied mod show up in the New mod tab. Just enable it. I deleted the mod I copied so it wouldn't show it has duplicate mods.

I booted up the game and now all the items that didn't have upgrade slots now do have them. I cannot guarantee that doing this won't cause some unforeseen horrible consequences to happen to the game so tread lightly.
Mad_Monk 4. aug. 2023 kl. 13:12 
Is there a easy-ish way to make this mod load last ? That way its changes would overwrite everything
Rukifish 28. juni 2023 kl. 3:52 
is it possible to give rocket launchers grenade launcher upgrades with this mod ? will the upgrades actually take effect, like bonus explosion radius ?
RustyDios 7. apr. 2023 kl. 8:22 
This mod can do that, it is possible your configs got reset
Zimmerson 7. apr. 2023 kl. 7:59 
I swore this used to work for the bolt caster a while back, but now it doesn't?

Anyone know of a mod to allow the bolt caster to have attachments?
RustyDios 28. mar. 2023 kl. 3:15 
Unfortunately that is a change needed to the code of this mod to allow melee weapons to have stuff again.

Alternatively (and my personal suggestion) there is a great Melee Attachments mod
Karamethien 28. mar. 2023 kl. 2:28 
Does anyone know how not to disable gun mods for melee weapons? In the standard game, there are only gun mods. So melee weapons even with slots cannot add anything.
Zanten 17. feb. 2023 kl. 3:38 
Drask posted this page 3 And it worked fine for me !

I found out where LWotC's weapon slots are configured.

Go to XcomLW_Overhaul.ini, found in C:\Program Files (x86)\Steam\steamapps\workshop\content\268500\2683996590\Config. They start being listed as:

+ItemTable=(ItemTemplateName="AssaultRifle_CV", Slots=3, Starting=true, Infinite=true, Buildable=false)

Should be able to manually change them there by editing the "Slots" value. Armor and melee weapons are also listed there. I just tested this and it works.

Works perfectly well for me Thx Drask
BOT Shit at CS 4. jan. 2023 kl. 12:31 
Does anyone know if this works with Grimy's Loot Mod/TLM? I think these mods already mess with upgrade slots for some items and I've been having some trouble getting this mod working for new items and I wondered if there might be a conflict.
hdaniel.1104 3. dec. 2022 kl. 21:39 
For the people looking the mod number is 1171964288
RustyDios 6. nov. 2022 kl. 15:22 
Not in this mod, but that should be in the mod that gives you armour modules
孟德擒龙 6. nov. 2022 kl. 1:09 
Is there a way to config the number of armor upgrade slots?
techstepman 22. okt. 2022 kl. 14:36 
mod workshop number?
Noname 18. okt. 2022 kl. 18:12 
How can i RESTRICT equipping some attachment types on some weapons?
FiftyKal 13. okt. 2022 kl. 9:43 
@small loan of a million dollars
Same issue this side, tried for Shields & combat knives as well and nothing working.

I have Slots for Spark shields from another Mod and it's still allowing gun mods on the shields there so the looks like both this mod and the Melee attachments mod not working or being blocked by another mod.
small loan of a million dollars 14. sep. 2022 kl. 11:27 
i'm trying to use this together with robojumper's Squad Select "show upgrade only for primaries" option unchecked, and the Melee attachments mod, but i just can't get the attachment slots for the melee weapons to show up. i've made sure to add the template names for all tiers of melee to the config too. can anyone more experienced give any pointers
Proxy 14. sep. 2022 kl. 10:13 
Also it won't let me add extra upgrade slots for pistols
Proxy 4. sep. 2022 kl. 12:49 
Does it work on mod weapons like Resistance firearms and weapons bundle, etc
mR.MaG0o 25. aug. 2022 kl. 9:44 
@RustyDios
Thank you so much for a thoroughly reply, kind sir.
RustyDios 25. aug. 2022 kl. 3:52 
The Vanilla UI scrolls at the 6+ number of slots, and yes the 5th slot sits behind the buttons
.. I highly recommend the Improved Weapon Upgrade UI mod, which fixes this issue. (And can be added mid-campaign)

There is a [vanilla un-modded attachments] max combination of 6 attachments that a weapon can have; Hair Trigger, Stock, Expanded Mag, Auto-Loader, Repeater, Scope/Laser Sight.

A weapon with 4 max slots will likely end up with 6 by the end of a campaign. This is due to breakthrough/research/continent bonus/card adding 1 slot to ALL weapons of the TIER and more breakthrough research for each individual weapon category TYPE.

Therefore more than 4 slots in this config is not needed. Unless the weapon has special upgrades (like you are using PexM, TLM, Melee/Shield Attachments, Modded Attachments)
mR.MaG0o 25. aug. 2022 kl. 0:53 
Hey guys,
I'm finally back for a WotC run and about this mod I was wondering: In the past we had a UI checker for weapons going past 4 upgradable slots, the UI would add a scroll bar.
Right now the UI kinda breaks, the slot goes over the name and other customization options.
Since I'm just back, like just 100hours deep, is there any mod that fixes that minor problem?
Is there any "coding" reasons now why I don't see people going past 4 weapon slots?
Thanks all, happy hunting.
Frums McNoodles 11. juni 2022 kl. 11:37 
Any way to re-enable adding base game attachments to secondary weapons?
RustyDios 13. maj 2022 kl. 1:05 
? It already works with WOTC ?

Did you maybe miss an "L" from that ... in which case this will likely never work with LWOTC because LWOTC has it's own file for doing stuff like this, something like XComTemplateMods.. which resets any/all changes this mod might make
tobydimdiy 13. maj 2022 kl. 1:01 
Anybody can work out the way to make it works again with WOTC ?
jdc0218 30. apr. 2022 kl. 17:10 
\steamapps\workshop\content\268500\1171964288\Config\XComUpgradeSlots.ini

+SlotConfig = (TemplateName=AssaultRifle_CV, NumUpgradeSlots=4)

+SlotConfig = (TemplateName=VEKTORRIFLE_CV, NumUpgradeSlots=4)

+SlotConfig = (TemplateName=BULLPUP_CV, NumUpgradeSlots=4)

+SlotConfig = (TemplateName=WRISTBLADE_CV, NumUpgradeSlots=4)

+SlotConfig = (TemplateName=Cannon_CV, NumUpgradeSlots=4)

+SlotConfig = (TemplateName=Shotgun_CV, NumUpgradeSlots=4)

+SlotConfig = (TemplateName=SniperRifle_CV, NumUpgradeSlots=4)

+SlotConfig = (TemplateName=SparkRifle_CV, NumUpgradeSlots=4)
Garris 16. feb. 2022 kl. 6:40 
How to run it on wotc? It does not work, and what is the path to ini if there is something you need to prescribe yourself?
MetroM4 15. feb. 2022 kl. 4:32 
@James Stone I had the same issue too. Turns out yeah Primary Secondaries does conflict with this. Even if it wasn't stated in AML.
moikka434 7. feb. 2022 kl. 9:55 
@Drask you are the MVP of my week, thanks
Drask 7. feb. 2022 kl. 7:20 
I found out where LWotC's weapon slots are configured.

Go to XcomLW_Overhaul.ini, found in C:\Program Files (x86)\Steam\steamapps\workshop\content\268500\2683996590\Config. They start being listed as:

+ItemTable=(ItemTemplateName="AssaultRifle_CV", Slots=3, Starting=true, Infinite=true, Buildable=false)

Should be able to manually change them there by editing the "Slots" value. Armor and melee weapons are also listed there. I just tested this and it works.
James Stone 6. feb. 2022 kl. 13:36 
Alright, final update since I really don't get what is wrong: What I said before turns out wasn't correct. Pistols and Shields get the upgrade slots, but the Alien Hunter weapons don't, despite being in the .ini. Something tells me this might be a problematic interaction with Primary Secondaries but at this point I don't really know
James Stone 6. feb. 2022 kl. 13:31 
Still not sure if it isn't ABW doing it, but with deeper research it shouldn't because it doesn't really change melee weapons. I've added the +slotconfig to all melee weapons and still nothing. Pistols and shields, it's fine, but anything melee refuses to be upgraded
James Stone 6. feb. 2022 kl. 6:50 
I'm not getting any mod slots for swords, shields or pistols. I suspect this is because A Better Weaponry is overriding it. What can I do to make Configure Weapon Slots take precedence over A Better Weaponry?
RustyDios 1. feb. 2022 kl. 11:37 
@Karma
Why it doesn't work with LWOTC ? There could be a myriad of reasons considering the size and scope of the overhaul, LWOTC could be changing any number of things to make this not work.

I don't play LWOTC myself so have never looked into why it doesn't work. Iwould suggest contacting the fine members of the LWOTC Discord for guidance.
CRUNCH 1. feb. 2022 kl. 11:29 
@RustyDios, may be u now why its doesnt work?(:xcom2psiop:
crow.bait 31. jan. 2022 kl. 4:39 
And the Wiki threads on Reddit are very convenient. I did some 300+ mods for L4D2 and it was a real challenge to get info on what was to be done. And thanks again for the correction.
RustyDios 31. jan. 2022 kl. 2:20 
I'm glad you got it working, using the correct template names :)
Have fun getting weapon attachments for your stuff.
crow.bait 31. jan. 2022 kl. 2:18 
And thanks for correction. I was wrong.
crow.bait 31. jan. 2022 kl. 2:15 
...for Iridar's excellent Bayonet.
crow.bait 31. jan. 2022 kl. 2:14 
Yes.

+SlotConfig = (TemplateName=Sword_CV, NumUpgradeSlots=4)
+SlotConfig = (TemplateName=Sword_MG, NumUpgradeSlots=4)
+SlotConfig = (TemplateName=Sword_BM, NumUpgradeSlots=4)

That seems to do the trick.

Thanks RustyDios.

I use the mod to add a slot for that Iridar's excellent Bayonet.
RustyDios 31. jan. 2022 kl. 1:32 
if you want further reading I refer to this article on the modding wiki: https://www.reddit.com/r/xcom2mods/wiki/index/template_names

I was only trying to help you :)