[WOTC] Iridar’s Underbarrel Attachments

If you liked this mod, please rate it up on Steam Workshop page.
Author: Iridar
Last revision: 8 Jan at 16:37 UTC

Description:

FEATURES

Mod adds:

  • Three tiers of Underbarrel Shotguns (UBS).
  • Three tiers of Underbarrel Grenade Launchers (UBGL).
  • Extra items that can be equipped in Utility Item or Secondary Weapon slot that provide additional reloads 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 and Beowulf Rifles, but you can configure the mod to make UB attachments available to any weapon, and you even get to fine-tune the attachments’ position on the weapon model, though it would require a lot of .ini editing.

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)
  • Magnetic UBS: Magnetic Weapons
  • Magnetic UBGL: Muton Autopsy
  • Beam UBS: Plasma Rifle
  • Beam UBGL: Advanced Grenades (Proving Grounds project)

Then you can build conventional 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 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.

CONFIGURATION

Almost every aspect of this mod is configurable. Check the XComUnderbarrel.ini file for instructions and examples.

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.

Compatible with Utiliy Slot Sidearms. These mods don’t directly interact with each other, but previously using both at the same time could cause crashes. Same goes for RPG Overhaul, MOCX Initiative and A Better Barracks.

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

CREDITS

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.

Download