XCOM 2
49 ratings
[WOTC] Unstuck Suppression
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
113.331 KB
15 May, 2023 @ 9:53am
21 Aug, 2023 @ 6:00pm
4 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[WOTC] Unstuck Suppression

In 1 collection by Zelfana
Bugfixes by Zelfana
12 items
Description
Overview
Makes some events clear Suppression to fix some oddities that would happen otherwise.

Things that make the target ineligible for Suppression will now remove it, like Stasis and Mind Control.

Also if the target got concealed or moved for any reason it could cause the suppressing unit to be unable to see the target anymore and therefore would be unable to shoot and the Suppression effect would get stuck until the next turn so it will be cleared in those situations as well.

This clearing will happen with low priority so the actual shot will have a chance to trigger if it is able to.

Configuration
<Steam>\steamapps\workshop\content\268500\2976264447\Config\XComZelfSuppressionCleanseFix.ini

You can configure which effect names will be cleared, and in which events that happens.

Default events include UnitMoveFinished, AffectedByStasis, MindControlled, MindControlLost and EffectEnterUnitConcealment.

Compatibility
Safe to add or remove at any time. Event listeners will not persist in saves.

Suppression effect names included are Suppression, AreaSuppression and LW2WotC_AreaSuppression. Should cover most of them.

As this is based on event listeners it should be compatible with everything.

Notes
Units with Shadowstep are still valid Suppression targets and the shot won't trigger. That is vanilla behaviour and has not changed, but now the effect is removed after the unit has finished moving.

Although this will fix grappling, stealth, etc. causing Suppression to get stuck on you I recommend adding those abilities to Suppression For Suppression config to disallow using those under Suppression in the first place. I have done that in Assorted Fixes Config.

Improvement suggestions welcome as always.
2 Comments
Haywire 22 Jul @ 1:57am 
"Now we see the violence inherent in the system." 😉
Gdeadman 20 Jun, 2023 @ 6:38am 
That monty python thumbnail is gold