XCOM 2
Not enough ratings
Covering Fire: Applies Aim Penalty To Targets
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
407.619 KB
11 Jul, 2017 @ 10:08pm
16 Jul, 2017 @ 1:57am
2 Change Notes ( view )

Subscribe to download
Covering Fire: Applies Aim Penalty To Targets

Description
Overview

This mod adds a configurable aim penalty that is applied to the targets when a soldier with the Covering Fire ability takes a reaction shot. By default, the Covering Fire ability will apply a -10 aim penalty on the target of reaction shots for that turn - exactly the same as it's setup in Long War 2.

I really like this buff to the Covering Fire ability introduced in Long War 2 and wanted to translate it back to vanilla XCOM 2. In doing so, I discovered some implementation issues that needed to be improved for mod compatibility within Long War 2 as well.

Using with Long War 2

So why would you want to use this if you are already using Long War 2, which has this effect built in? There are a few reasons, but the most important one is mod compatibility.

LW2 only implements this effect against a specific list of abilities (mostly those shown above). If you are using class or item mods with custom reaction fire abilities, they will not receive the aim penalty effect from Covering Fire.

This mod reimplements this effect to pickup any ability with a standard hit roll flagged as reaction fire. There are a few config arrays to handle any reaction abilities that don't fall into this category, but in most cases, mod-added abilities will be covered.

Thanks and Credits

Firaxis for a mod-friendly game. Pavonis Interactive for LW2 and the original implementation. Xylthixlm for his Template Mod examples and help applying the effect from an event trigger.

Version History
(See Change Notes for previous versions)
    2.00:
    • Reworked implementation to automatically pickup most mod-added abilities without requiring entries to be added to the config arrays
    • Added experimental option to allow enemies with the Covering Fire ability to apply the aim penalty to the player's soldiers (untested - requires enemies to use the same Covering Fire ability and I'm not sure if that is the case or not)
    1.00:
    • Initial Release
Popular Discussions View All (2)
1
14 Jul, 2017 @ 5:28am
PINNED: Default Configuration - Add Ability Suggestions
shiremct
0
12 Jul, 2017 @ 12:04am
PINNED: Bugs / Issues
shiremct
10 Comments
cruiser 23 Jul, 2022 @ 6:50am 
I followed your suggestion, but I think there's a problem. Does this mod make Covering Fire ignore the target's cover?
shiremct  [author] 3 Jul, 2019 @ 8:05am 
teh1archon 9 Sep, 2017 @ 5:02am 
works with WotC?
madwolf 16 Jul, 2017 @ 3:08am 
@shiremct thanks for the answer. Is it hard to add all ability shots?
shiremct  [author] 16 Jul, 2017 @ 2:02am 
@medwolf, unfortunately, this mod is not really setup to handle that well. While you could certainly add standard shot ability names to the config file and they would get the effect, it wouldn't apply to other ability shots (like Rapid-Fire, etc.).
Insufferable Smartypants 13 Jul, 2017 @ 3:14pm 
Nice work, shiremct! This is a great idea.
madwolf 13 Jul, 2017 @ 8:19am 
Is there a way to add the debuff to standard shots?
Juravis 12 Jul, 2017 @ 8:58am 
Oh I get it. It triggers a penalty for the -enemy- you fire on. Didnt notice that. Thanks!
Kexx 12 Jul, 2017 @ 4:10am 
Good idea! Congrats on the release.

It might seem small and petty, but I really like a well done, orderly mod description. It's easy to read, easy to understand what it adds, etc.
Bullett00th 12 Jul, 2017 @ 3:32am 
Great stuff!

Not needing this for LW2 as I'm not adding much on top, but I'll be using this for vanilla when War of the Chosen comes out.

Thank you!