XCOM 2
Configure Upgrade Slots
Mighty442 Apr 13, 2019 @ 1:26pm
Complete list with WOTC and Vanilla weapons
@Musashi So after messing around and reading the readme text file and finding the right strings to add here is my updated xcomupgradeslots.ini file edits. I added extra text to tell what item is what and added all the vanilla weapon strings. I don't know what the "TemplateName=Sidearm" so couldn't add the names for that section. I did 5 cause the game ends up with 6 for all the weapons and 6 is pretty much all the attachments. 4 on the pistols cause there's really only 4 good attachments for pistols. This should really complete out the rest of this mod to cover not just the WOTC weapons but also the Vanilla weapons. Thank you Musahi for making this mod.

[ConfigureUpgradeSlots.X2DownloadableContentInfo_ConfigureUpgradeSlots]

;; Bolt Caster | Magnetic Bolt Caster | Powered Bolt Caster
+SlotConfig = (TemplateName=AlienHunterRifle_CV, NumUpgradeSlots=5)
+SlotConfig = (TemplateName=AlienHunterRifle_MG, NumUpgradeSlots=5)
+SlotConfig = (TemplateName=AlienHunterRifle_BM, NumUpgradeSlots=5)

;; Shadowkeeper | Enhanced Shadowkeeper | Powered Shadowkeeper
+SlotConfig = (TemplateName=AlienHunterPistol_CV, NumUpgradeSlots=4)
+SlotConfig = (TemplateName=AlienHunterPistol_MG, NumUpgradeSlots=4)
+SlotConfig = (TemplateName=AlienHunterPistol_BM, NumUpgradeSlots=4)

;;
+SlotConfig = (TemplateName=Sidearm_CV, NumUpgradeSlots=2)
+SlotConfig = (TemplateName=Sidearm_MG, NumUpgradeSlots=4)
+SlotConfig = (TemplateName=Sidearm_BM, NumUpgradeSlots=4)

;; Shard Gauntlets | Tempest Gauntlets | Celestial Gauntlets
+SlotConfig = (TemplateName=ShardGauntlet_CV, NumUpgradeSlots=1)
+SlotConfig = (TemplateName=ShardGauntlet_MG, NumUpgradeSlots=2)
+SlotConfig = (TemplateName=ShardGauntlet_BM, NumUpgradeSlots=2)

;; Disruptor Rifle | Arashi | Darklance | Darkclaw
+SlotConfig = (TemplateName=ChosenRifle_XCOM, NumUpgradeSlots=5)
+SlotConfig = (TemplateName=ChosenShotgun_XCOM, NumUpgradeSlots=5)
+SlotConfig = (TemplateName=ChosenSniperRifle_XCOM, NumUpgradeSlots=5)
+SlotConfig = (TemplateName=ChosenSniperPistol_XCOM, NumUpgradeSlots=4)

;; Assault Rifle | Magnetic Rifle | Plasma Rifle
+SlotConfig = (TemplateName=AssaultRifle_CV, NumUpgradeSlots=5)
+SlotConfig = (TemplateName=AssaultRifle_MG, NumUpgradeSlots=5)
+SlotConfig = (TemplateName=AssaultRifle_BM, NumUpgradeSlots=5)

;; Cannon | Mag Cannon | Beam Cannon
+SlotConfig = (TemplateName=Cannon_CV, NumUpgradeSlots=5)
+SlotConfig = (TemplateName=Cannon_MG, NumUpgradeSlots=5)
+SlotConfig = (TemplateName=Cannon_BM, NumUpgradeSlots=5)

;; Pistol | Mag Pistol | Beam Pistol
+SlotConfig = (TemplateName=Pistol_CV, NumUpgradeSlots=4)
+SlotConfig = (TemplateName=Pistol_MG, NumUpgradeSlots=4)
+SlotConfig = (TemplateName=Pistol_BM, NumUpgradeSlots=4)

;; Shotgun | Shard Shotgun | Storm Shotgun
+SlotConfig = (TemplateName=Shotgun_CV, NumUpgradeSlots=5)
+SlotConfig = (TemplateName=Shotgun_MG, NumUpgradeSlots=5)
+SlotConfig = (TemplateName=Shotgun_BM, NumUpgradeSlots=5)

;; Sniper Rifle | Gauss Rifle | Plasma Lance
+SlotConfig = (TemplateName=SniperRifle_CV, NumUpgradeSlots=5)
+SlotConfig = (TemplateName=SniperRifle_MG, NumUpgradeSlots=5)
+SlotConfig = (TemplateName=SniperRifle_BM, NumUpgradeSlots=5)

;; Vektor Rifle | Temnotic Rifle | Shadow Lance
+SlotConfig = (TemplateName=VektorRifle_CV, NumUpgradeSlots=5)
+SlotConfig = (TemplateName=VektorRifle_MG, NumUpgradeSlots=5)
+SlotConfig = (TemplateName=VektorRifle_BM, NumUpgradeSlots=5)

;; Kal-7 Bullpup | Kal-15 Bullpup | Kal-90 Bullpup
+SlotConfig = (TemplateName=Bullpup_CV, NumUpgradeSlots=5)
+SlotConfig = (TemplateName=Bullpup_MG, NumUpgradeSlots=5)
+SlotConfig = (TemplateName=Bullpup_BM, NumUpgradeSlots=5)

;; Heavy Autocannon | Helix Rail-Cannon | Elerium Phase-Cannon
+SlotConfig = (TemplateName=SPARKRIFLE_CV, NumUpgradeSlots=5)
+SlotConfig = (TemplateName=SPARKRIFLE_MG, NumUpgradeSlots=5)
+SlotConfig = (TemplateName=SPARKRIFLE_BM, NumUpgradeSlots=5)
< >
Showing 1-7 of 7 comments
Mr. Tarzan May 1, 2020 @ 1:44am 
Thanks man
Gwynbleiid Sep 24, 2020 @ 10:49pm 
Sidearm is the Templar's Autopistol, and thank you for this
Feezec Apr 7, 2021 @ 8:56am 
What is the name of the Skirmisher Ripjack? I don't see it
Nemo Jr. Jun 19, 2021 @ 8:45am 
Thanks dude, you saved me a lot of trouble.

I made my own config based on this (and tidied it up a little bit :3 ) which gives every weapon 1 more attachment than vanilla primaries (except Chosen weapons, which still get 4). I feel like it's a good starting point to tweak, or use as-is.

You can delete the contents of XComUpgradeSlots.ini and copy/paste this in. I've included the mod defaults, but commented them out:

[ConfigureUpgradeSlots.X2DownloadableContentInfo_ConfigureUpgradeSlots] ; Vanilla Weapons ;; Assault Rifle | Magnetic Rifle | Plasma Rifle +SlotConfig = (TemplateName=AssaultRifle_CV, NumUpgradeSlots=2) +SlotConfig = (TemplateName=AssaultRifle_MG, NumUpgradeSlots=3) +SlotConfig = (TemplateName=AssaultRifle_BM, NumUpgradeSlots=3) ;; Shotgun | Shard Shotgun | Storm Shotgun +SlotConfig = (TemplateName=Shotgun_CV, NumUpgradeSlots=2) +SlotConfig = (TemplateName=Shotgun_MG, NumUpgradeSlots=3) +SlotConfig = (TemplateName=Shotgun_BM, NumUpgradeSlots=3) ;; Cannon | Mag Cannon | Beam Cannon +SlotConfig = (TemplateName=Cannon_CV, NumUpgradeSlots=2) +SlotConfig = (TemplateName=Cannon_MG, NumUpgradeSlots=3) +SlotConfig = (TemplateName=Cannon_BM, NumUpgradeSlots=3) ;; Sniper Rifle | Gauss Rifle | Plasma Lance +SlotConfig = (TemplateName=SniperRifle_CV, NumUpgradeSlots=2) +SlotConfig = (TemplateName=SniperRifle_MG, NumUpgradeSlots=3) +SlotConfig = (TemplateName=SniperRifle_BM, NumUpgradeSlots=3) ;; Pistol | Mag Pistol | Beam Pistol +SlotConfig = (TemplateName=Pistol_CV, NumUpgradeSlots=2) +SlotConfig = (TemplateName=Pistol_MG, NumUpgradeSlots=3) +SlotConfig = (TemplateName=Pistol_BM, NumUpgradeSlots=3) ; WotC Class Weapons ;; Kal-7 Bullpup | Kal-15 Bullpup | Kal-90 Bullpup +SlotConfig = (TemplateName=Bullpup_CV, NumUpgradeSlots=2) +SlotConfig = (TemplateName=Bullpup_MG, NumUpgradeSlots=3) +SlotConfig = (TemplateName=Bullpup_BM, NumUpgradeSlots=3) ;; Vektor Rifle | Temnotic Rifle | Shadow Lance +SlotConfig = (TemplateName=VektorRifle_CV, NumUpgradeSlots=2) +SlotConfig = (TemplateName=VektorRifle_MG, NumUpgradeSlots=3) +SlotConfig = (TemplateName=VektorRifle_BM, NumUpgradeSlots=3) ;; Autopistol | Mag Autopistol | Beam Autopistol +SlotConfig = (TemplateName=Sidearm_CV, NumUpgradeSlots=2) +SlotConfig = (TemplateName=Sidearm_MG, NumUpgradeSlots=3) +SlotConfig = (TemplateName=Sidearm_BM, NumUpgradeSlots=3) ;;; Shard Gauntlets | Tempest Gauntlets | Celestial Gauntlets ;+SlotConfig = (TemplateName=ShardGauntlet_CV, NumUpgradeSlots=2) ;+SlotConfig = (TemplateName=ShardGauntlet_MG, NumUpgradeSlots=3) ;+SlotConfig = (TemplateName=ShardGauntlet_BM, NumUpgradeSlots=3) ; Chosen Weapons ;; Disruptor Rifle | Arashi | Darklance | Darkclaw +SlotConfig = (TemplateName=ChosenRifle_XCOM, NumUpgradeSlots=4) +SlotConfig = (TemplateName=ChosenShotgun_XCOM, NumUpgradeSlots=4) +SlotConfig = (TemplateName=ChosenSniperRifle_XCOM, NumUpgradeSlots=4) +SlotConfig = (TemplateName=ChosenSniperPistol_XCOM, NumUpgradeSlots=4) ; SPARK Weapons ;; Heavy Autocannon | Helix Rail-Cannon | Elerium Phase-Cannon +SlotConfig = (TemplateName=SPARKRIFLE_CV, NumUpgradeSlots=2) +SlotConfig = (TemplateName=SPARKRIFLE_MG, NumUpgradeSlots=3) +SlotConfig = (TemplateName=SPARKRIFLE_BM, NumUpgradeSlots=3) ; Alien Hunters Weapons ;; Bolt Caster | Magnetic Bolt Caster | Powered Bolt Caster +SlotConfig = (TemplateName=AlienHunterRifle_CV, NumUpgradeSlots=2) +SlotConfig = (TemplateName=AlienHunterRifle_MG, NumUpgradeSlots=3) +SlotConfig = (TemplateName=AlienHunterRifle_BM, NumUpgradeSlots=3) ;; Shadowkeeper | Enhanced Shadowkeeper | Powered Shadowkeeper +SlotConfig = (TemplateName=AlienHunterPistol_CV, NumUpgradeSlots=2) +SlotConfig = (TemplateName=AlienHunterPistol_MG, NumUpgradeSlots=3) +SlotConfig = (TemplateName=AlienHunterPistol_BM, NumUpgradeSlots=3) ; Default mod config ;+SlotConfig = (TemplateName=AlienHunterRifle_CV, NumUpgradeSlots=1) ;+SlotConfig = (TemplateName=AlienHunterRifle_MG, NumUpgradeSlots=2) ;+SlotConfig = (TemplateName=AlienHunterRifle_BM, NumUpgradeSlots=2) ; ;+SlotConfig = (TemplateName=AlienHunterPistol_CV, NumUpgradeSlots=1) ;+SlotConfig = (TemplateName=AlienHunterPistol_MG, NumUpgradeSlots=2) ;+SlotConfig = (TemplateName=AlienHunterPistol_BM, NumUpgradeSlots=2) ; ;+SlotConfig = (TemplateName=Sidearm_CV, NumUpgradeSlots=1) ;+SlotConfig = (TemplateName=Sidearm_MG, NumUpgradeSlots=2) ;+SlotConfig = (TemplateName=Sidearm_BM, NumUpgradeSlots=2) ; ;+SlotConfig = (TemplateName=ShardGauntlet_CV, NumUpgradeSlots=1) ;+SlotConfig = (TemplateName=ShardGauntlet_MG, NumUpgradeSlots=2) ;+SlotConfig = (TemplateName=ShardGauntlet_BM, NumUpgradeSlots=2) ; ;+SlotConfig = (TemplateName=ChosenRifle_XCOM, NumUpgradeSlots=4) ;+SlotConfig = (TemplateName=ChosenShotgun_XCOM, NumUpgradeSlots=4) ;+SlotConfig = (TemplateName=ChosenSniperRifle_XCOM, NumUpgradeSlots=4) ;+SlotConfig = (TemplateName=ChosenSniperPistol_XCOM, NumUpgradeSlots=4)

p.s. I would have made pistols get 1 less slot like Mighty442 did, but I'm using this mod and hoping it'll apply to all the primary weapons. We'll see.

I would also add the TLP weapons in here, but I think letting this other mod handle their upgrade slots is a better idea. Again, needs testing.


p.p.s. I deliberately commented out the gauntlets, because "It makes no sense to me to add a scope to sword FIST" :P
Last edited by Nemo Jr.; Jun 19, 2021 @ 8:52am
Mr. Tarzan Jun 19, 2021 @ 10:46am 
Nice man
Proxy Sep 14, 2022 @ 10:14am 
It won't let me have more pistol upgrade slots
DarkStas Oct 18, 2024 @ 7:37am 
I made this for myself (I think 1/2/3 and 5 for the alien are best):



[ConfigureUpgradeSlots.X2DownloadableContentInfo_ConfigureUpgradeSlots]



; Vanilla Weapons

;; Assault Rifle | Magnetic Rifle | Plasma Rifle
+SlotConfig = (TemplateName=AssaultRifle_CV, NumUpgradeSlots=1)
+SlotConfig = (TemplateName=AssaultRifle_MG, NumUpgradeSlots=2)
+SlotConfig = (TemplateName=AssaultRifle_BM, NumUpgradeSlots=3)

;; Shotgun | Shard Shotgun | Storm Shotgun
+SlotConfig = (TemplateName=Shotgun_CV, NumUpgradeSlots=1)
+SlotConfig = (TemplateName=Shotgun_MG, NumUpgradeSlots=2)
+SlotConfig = (TemplateName=Shotgun_BM, NumUpgradeSlots=3)

;; Cannon | Mag Cannon | Beam Cannon
+SlotConfig = (TemplateName=Cannon_CV, NumUpgradeSlots=1)
+SlotConfig = (TemplateName=Cannon_MG, NumUpgradeSlots=2)
+SlotConfig = (TemplateName=Cannon_BM, NumUpgradeSlots=3)

;; Sniper Rifle | Gauss Rifle | Plasma Lance
+SlotConfig = (TemplateName=SniperRifle_CV, NumUpgradeSlots=1)
+SlotConfig = (TemplateName=SniperRifle_MG, NumUpgradeSlots=2)
+SlotConfig = (TemplateName=SniperRifle_BM, NumUpgradeSlots=3)

;; Pistol | Mag Pistol | Beam Pistol
+SlotConfig = (TemplateName=Pistol_CV, NumUpgradeSlots=1)
+SlotConfig = (TemplateName=Pistol_MG, NumUpgradeSlots=2)
+SlotConfig = (TemplateName=Pistol_BM, NumUpgradeSlots=3)



+SlotConfig = (TemplateName=ChosenRifle_XCOM, NumUpgradeSlots=5)
+SlotConfig = (TemplateName=ChosenShotgun_XCOM, NumUpgradeSlots=5)
+SlotConfig = (TemplateName=ChosenSniperRifle_XCOM, NumUpgradeSlots=5)
+SlotConfig = (TemplateName=ChosenSniperPistol_XCOM, NumUpgradeSlots=5)

; WotC Class Weapons

;; Kal-7 Bullpup | Kal-15 Bullpup | Kal-90 Bullpup
+SlotConfig = (TemplateName=Bullpup_CV, NumUpgradeSlots=1)
+SlotConfig = (TemplateName=Bullpup_MG, NumUpgradeSlots=2)
+SlotConfig = (TemplateName=Bullpup_BM, NumUpgradeSlots=3)

;; Vektor Rifle | Temnotic Rifle | Shadow Lance
+SlotConfig = (TemplateName=VektorRifle_CV, NumUpgradeSlots=1)
+SlotConfig = (TemplateName=VektorRifle_MG, NumUpgradeSlots=2)
+SlotConfig = (TemplateName=VektorRifle_BM, NumUpgradeSlots=3)

;; Autopistol | Mag Autopistol | Beam Autopistol
+SlotConfig = (TemplateName=Sidearm_CV, NumUpgradeSlots=1)
+SlotConfig = (TemplateName=Sidearm_MG, NumUpgradeSlots=2)
+SlotConfig = (TemplateName=Sidearm_BM, NumUpgradeSlots=3)

;;; Shard Gauntlets | Tempest Gauntlets | Celestial Gauntlets
+SlotConfig = (TemplateName=ShardGauntlet_CV, NumUpgradeSlots=1)
+SlotConfig = (TemplateName=ShardGauntlet_MG, NumUpgradeSlots=2)
+SlotConfig = (TemplateName=ShardGauntlet_BM, NumUpgradeSlots=3)

; SPARK Weapons

;; Heavy Autocannon | Helix Rail-Cannon | Elerium Phase-Cannon
+SlotConfig = (TemplateName=SPARKRIFLE_CV, NumUpgradeSlots=1)
+SlotConfig = (TemplateName=SPARKRIFLE_MG, NumUpgradeSlots=2)
+SlotConfig = (TemplateName=SPARKRIFLE_BM, NumUpgradeSlots=3)

; Alien Hunters Weapons

;; Bolt Caster | Magnetic Bolt Caster | Powered Bolt Caster
+SlotConfig = (TemplateName=AlienHunterRifle_CV, NumUpgradeSlots=1)
+SlotConfig = (TemplateName=AlienHunterRifle_MG, NumUpgradeSlots=2)
+SlotConfig = (TemplateName=AlienHunterRifle_BM, NumUpgradeSlots=3)

;; Shadowkeeper | Enhanced Shadowkeeper | Powered Shadowkeeper
+SlotConfig = (TemplateName=AlienHunterPistol_CV, NumUpgradeSlots=1)
+SlotConfig = (TemplateName=AlienHunterPistol_MG, NumUpgradeSlots=2)
+SlotConfig = (TemplateName=AlienHunterPistol_BM, NumUpgradeSlots=3)
< >
Showing 1-7 of 7 comments
Per page: 1530 50