[WOTC] Iridar’s Underbarrel Attachments

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

Author: Iridar

Last revision: 30 Jun, 2022 at 04:14 UTC (18)

File size: 46.12 MB

On Steam Workshop

Description:

Mod adds:

  • Three tiers of Underbarrel Shotguns (UBS).
  • Three tiers of Underbarrel Grenade Launchers (UBGL).
  • Three tiers of Underbarrel Flamethrowers (flamethrowers look the same at all tiers).
  • Extra items that can be equipped in Utility Item or Secondary Weapon slot that provide additional ammo for these attachments.

All of these items can be built in Engineering.

Underbarrel Attachments function like additional weapons, with their own stats and abilities. By default they can be attached only to Assault Rifles, but you can configure the mod to make UB attachments available to any weapon.

This mod also makes Rifles available to Grenadiers to make it possible to build a soldier around using an Underbarrel Grenade Launcher. Additionally, the Open Class Weapon Restrictions mod is used to provide access to mentioned extra items that provide reloads for UB attachments.

HOW TO ACQUIRE

Perform research.

  • Conventional UBS and UBGL: Modular Weapons -> Underbarrel Weapons (new research)
  • Conventional Flamethrower: Purifier Autopsy
  • Magnetic UBS and Flamethrower: Magnetic Weapons
  • Magnetic UBGL: Muton Autopsy
  • Beam UBS and Flamethrower: Plasma Rifle
  • Beam UBGL: Advanced Grenades (Proving Grounds project)

Then you can build Underbarrel Attachments in Engineering one at a time for a modest cost in resources appropriate for each tier.

Additionally, purchasing Squad Upgrades for normal primary weapon Shotguns and secondary weapon Grenade Launchers will automatically upgrade not equipped Underbarrel Attachments to the next tier. In other words, when you tell Shen to upgrade shotguns, and she sees some spare Underbarrel Shotguns lying around in Engineering, she will upgrade them too while she’s at it.

USING UB ATTACHMENTS

All Underbarrel Attachments are mutually exclusive with Bayonets, and they add a -10 Aim penalty to Reaction Shots, and -1 penalty to Mobility. Configurable.

Underbarrel Grenade Launcher does not allow you to launch standard grenades. It uses its own "ammunition".

By default Underbarrel Shotgun has three shots, and Underbarrel Grenade Launcher has one shot. You can build additional items that will provide extra reloads for both attachments.

Underbarrel Shotgun shots can Headshot the Lost and will respect abilities such as Light ‘Em Up or Marauder.

By default, firing the Underbarrel Grenade Launcher is a turn ending action, while reloading it is a non-turn ending action. Both will respect Salvo and Total Combat.

Utility Items that offer extra reloads for UBGL count as "grenades" and should be compatible with all perks that increase grenades’ carrying capacity, such as Heavy Ordnance. Perks that provide bonus damage and effects to grenades are more tricky, and will likely require me to add additional support. Right now it is confirmed compatible with Biggest Booms and Volatile Mix.

Underbarrel Flamethrower has 2 shots per mission. Carrying a special Utility Item provides two more charges. No reload is required.

CONFIGURATION

Almost every aspect of this mod is configurable. Check the XComUnderbarrel.ini file for instructions and examples. You even get to fine-tune the attachments’ position on the weapon model, though it would require a lot of .ini editing.

It is also highly recommended that you get my Weapon Skin Replacer mod, as that will enable a cruch that improves attachment positioning for certain Attachment / Rifle combinations.

Beam Grenade Launcher can be configured to use the same targeting logic as Blaster Launcher, though if you use that, you will probably want to add an Elerium Core cost to them.

COMPATIBILITY

Incompatible with Customizable Secondary Weapons. Using it for some reason makes UB attachments not appear on weapons.

Integration with Grimy’s Loot Mod is out of the question.

COMPANION MODS

CREDITS

Credit to Aks for Russian translation.
Underbarrel Weapons research image and inventory icons by NeIVIeSiS.
Huge thanks to Community Highlander team for adding the necessary functionality at my request. Thanks to CX as a whole for a warm place to call home. Thanks to Spart for teaching me his kitbashing ways and for his sawedoff shotgun model. Credit to InternetExploder whose Beam Grenade Launcher was used as base for Beam Underbarrel Grenade Launcher.

Please support me on Patreon[www.patreon.com] if you require tech support, have a suggestion for a feature, or simply wish to help me create more awesome mods.