[WOTC] Universal Threat Assessment

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

Author: Zelfana

Last revision: 12 Feb at 13:13 UTC

File size: 200.38 KB

On Steam Workshop

Description:
Overview

Did you know that the Specialist’s Threat Assessment (Aid Protocol) perk did not actually work on Templars because the effect code only took Sharpshooters into account? Well now it will work on Templars and many other classes that should use a pistol or other weapon when given an overwatch shot by Threat Assessment. Can also use alternative weapons if their more preferred weapon is out of ammo.

Additionally fixes Return Fire and Pistol Overwatch sharing action points. For whatever reason Firaxis used the same function to add both types to both abilities.

Configuration
<Steam>steamappsworkshopcontent2685003155092427ConfigXComZelfUniversalThreatAssessment.ini

Each fix can be toggled separately. The custom effect has lots of configurability to make it work how you prefer.

Can allow 2 AP weapons like sniper rifles to be used for Threat Assessment. There are two options for this: either being the only weapon the unit can use for overwatch or just always allowed. They are never allowed by default.

Compatibility

Safe to add or remove in strategy. Avoid adding or removing in tactical due to new effects and listeners.

Only modifies ability templates and will not affect save games.

Original X2Effect_ThreatAssessment effects on all abilities will be removed and replaced with a single X2Effect_ZelfUniversalThreatAssessment with an improved event listener that will automatically handle everything. This even includes being able to use Kiruka Autoguns from SPARK Arsenal, and Chemthrowers from Immolator + Chemthrower Abilities, Bitterfrost Protocol and Chemthrower Addons.

Vanilla method of using soldier class lists can be enabled for specific abilities instead if the custom effect does not work properly for them.

Mod Jam for Long War of the Chosen adds a new X2Effect_ThreatAssessment to Aid Protocol to support more pistol classes using the vanilla method and will get overwritten by this mod which is not a problem as this mod will have better functionality. Yes, Long War of the Chosen is also compatible.

Intercept from Stormrider Class will not be able to work with this as it requires using the actual ability to work instead of simply gaining overwatch reserve action points. It obviously doesn’t work with the vanilla effect either.

Glaive Overwatch would kind of work but it has been left out more for balance reasons as it is actually just manually activatable Bladestorm with infinite "shots".

All other mods modifying the relevant abilities in other ways are compatible.

Mods that have abilities with Threat Assessment effects that will get patched:

Notes

Any improvement suggestions welcome.

Download
Required DLC:

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


XCOM 2: War of the Chosen