XCOM 2
57 ratings
[WOTC] Heavy Barrel Gun Attachments
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
627.363 KB
24 Jun, 2020 @ 4:10am
16 Jul, 2022 @ 11:45am
7 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[WOTC] Heavy Barrel Gun Attachments

Description
This mod adds a new weapon attachment type for guns: Heavy Barrels. They make guns deal higher damage on critical hits.

This is a "port" of DerBK's A Better Repeater mod that DOES NOT override the vanilla Repeaters.
Why? Primarily, I made this so I can use both the concept of DerBK's Repeaters and also Musashi's Tactical Suppressors in one campaign without them colliding with each other. This is because, normally, both override the vanilla Repeater's code.
If you wanted to, with this mod you can have both the vanilla "chance of insta-kill" Repeaters and "add critical hit damage" in one campaign.
Note that the visuals of this attachment use those for vanilla Repeaters. I'm not skilled enough to create entirely models for a new attachment type.

By default:
Basic Heavy Barrels grants +1 to critical hit damage inflicted by gun attacks.
Advanced Heavy Barrels grants +2 to critical hit damage inflicted by gun attacks.
Superior Heavy Barrels grants +3 to critical hit damage inflicted by gun attacks.
Affected by Insider Knowledge, which increases all these values further by +1.

Values configurable through the SNHBAttachConfig.ini file in the Config folder of this mod.

Heavy Barrels are mutually exclusive with Repeaters. If you use Musashi's Tactical Suppressors mod, Heavy Barrels are mutually exclusive with those, too.

Credits:
DerBK, for the original A Better Repeater mod, and allowing me to reuse his code in this mod.
Drakten - Hugues, Boundir, Musashi, and the XCOM 2 Modding Discord for helping me build this mod and pointing out coding mistakes I made.
Mod preview image taken from Wikipedia.

Known issues:
As Latis discovered, the mod Loot Pinatas is NOT compatible with this mod. Using it along with this mod will cause ADVENT dropped loot to stop spawning upon killing certain enemies during missions.
Popular Discussions View All (1)
7
1 Sep, 2021 @ 5:13am
WSR Templates for Heavy Barrel Visualization on modded gun types
SolarNougat
33 Comments
Ironmonk 15 Apr @ 6:12pm 
SNHeavyBarrel_Bsc
SNHeavyBarrel_Adv
SNHeavyBarrel_Sup
RAIDEROFTHELASTARCH 15 Apr @ 6:00pm 
Hi Nougat. Excellent mod!
What's the console command id for Superior Heavy Barrel??
Could you provide one?
I've applied your mod but it gives 3 advanced heavy barrels only...
Ironmonk 25 Mar @ 9:11pm 
The inventory images for tier 2 and 3 are broken

The mod "[WotC] EvilBob's Dejanker" fix that kind of thing and the modder is currently active, I asked for him to add a fix and so he did =)

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3314878803
SolarNougat  [author] 16 Jul, 2022 @ 11:45am 
@Lost I'm uploading a new version with your change.
elbe 16 Jul, 2022 @ 9:47am 
I'm not sure if anyone could have been getting loot drops of these but it's not just loot pinatas but all upgrades tables get broken because it's trying to assign the heavy barrel loot tables but they are invalid.

Anyway, if you want it to work with loot pinatas (or, probably, at all with loot drops) the file XComGameCore.ini is missing a header section so just add [XComGame.X2LootTableManager] above the +LootTables lines
TT-84 [FIN] 22 Aug, 2021 @ 5:55am 
Hi. I found bug or conflict. I dont get any weapon upgrade loots. I get PCS, elerium core and Chosen information loots but not weapon upgrade loots. I dont have Loot Pinatas or LWOTC. My previous campaigns loots works fine without this mod. I have many mods installed and when i try to pinpoint the problem many times in Gatecrasher (remove all new mods, remove all other upgrade/loot mods, remove this mod, try different mods combos,) it looks like this mod is cause of my lootbug (or is big part of it). Any advice or tips? Anyone else have same problem? Thank you.
☦Agent 48☦ 7 Jun, 2021 @ 10:14am 
i like how pic is tsar cannon
Kiruka 25 May, 2021 @ 3:56am 
@lolcatjunior I made a LWOTC-compatible version of Heavy Barrels.

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2497390247

I have no idea if it works with Proving Grounds Overhaul though.
SolarNougat  [author] 11 Feb, 2021 @ 2:35am 
@lolcatjunior I use neither of those mods, and I don't really understand how to do so as of yet. However, if you or anyone else would like to adapt this into a LWOTC-friendly version, feel free. I only request that DerBK and I be credited if such a mod is released.
lolcatjunior 10 Feb, 2021 @ 8:41pm 
Any plans to make a non loot invasive version of this mod? To make it compatible with Proving grounds overhaul and LWOTC. Maybe you can use this mod. https://steamhost.cn/steamcommunity_com/workshop/filedetails/?id=665435869