[WOTC] Missclick Protection

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

Author: Iridar

Last revision: 8 May, 2021 at 05:09 UTC

File size: 430.08 KB

On Steam Workshop

Description:

Most XCOM players had situations where they wanted to move a unit to a specific tile, but accidentlly clicked in the last moment onto a neighboring tile, leaving the soldier exposed.

This mod aims to prevent that by forcing you to hover with your mouse above the target tile for 0.75 seconds before you can click for the unit to move there. The targeting cursor will be partially transparent while the delay is ticking.

I made this mod mostly for myself, so it’s not as well polished as it could have been, but if it can save some soldiers’ lives, it’s probably worth sharing even in this state.

No idea whether it will work with a controller.

KNOWN ISSUES

This mod does not affect melee abilities targeted by clicking a ground tile near the target.

Sometimes the mod prevents you from moving to a specific tile even when the cursor indicates the delay is over. In this case simply move the mouse away from the tile and then back.

COMPATIBILITY

This mod has two ModClassOverrides and will be incompatible with any other mods that also override these classes:

XComTacticalController XComPathingPawn

[WotC] Gotcha Again and [WotC] Peek From Concealment UI Fix also have an override to XComPathingPawn and are INCOMPATIBLE!!!.

Unfortunate, but it is what it is.

You can resolve the conflict with Gotcha Again by going to

..steamappsworkshopcontent2685001124288875ConfigXComEngine.ini

and removing or commenting out this line:

+ModClassOverrides=(BaseGameClass="XComPathingPawn", ModClass="XComPathingPawn_GA")

This will disable the conflicting part of Gotcha Again’s functionality, which is responsible for showing whether soldier movement will result in pulling visible pods, or end in Smoke.

REQUIREMENTS

Safe to add or remove mid-campaign. WOTC-only, no vanilla version planned.

CONFIGURATION

This mod is configurable through this configuration file:

..steamappsworkshopcontent2685002480522533ConfigXComUI.ini

ALTERNTIVES

Misclick Confirm WOTC

CREDITS AND DONATIONS

Huge thanks to my wonderful patrons for their continued support. Please consider supporting 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
Required DLC:

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


XCOM 2: War of the Chosen