[WOTC] Heavy Barrel Gun Attachments

If you liked this item, please rate it up on Steam Workshop page.

Author: SolarNougat

Last revision: 16 Jul, 2022 at 18:45 UTC

File size: 627.36 KB

On Steam Workshop

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.

Download
Required DLC:

These DLC should be installed in order to use this item.


XCOM 2: War of the Chosen
Required items:

Click the title to search on this site.


X2WOTCCommunityHighlander v1.27.1Steam Workshop