[WOTC] Tactical HUD Lag Fixes

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

Author: ExitSign

Last revision: 30 Aug, 2023 at 21:46 UTC (1)

File size: 194.56 KB

On Steam Workshop

Description:
Tactical HUD Lag Fixes – for War of the Chosen

Various performance fixes in the Tactical HUD:

  • Greatly reduce number of ability array refreshes while visualizations are running. Huge cause of frame stutters, especially noticable when also using the ‘Cost Based Ability Colors’ mod.
  • Cache hitchance calculations before sorting them, reducing the number of needed calculations even further.
  • Reduce the number of unnecessary refreshes of the ‘Objectives list’ and ‘Turn counter’ HUD elements.

Compatibility

** Safe to add/remove mid-campaign. Safe to add/remove from a tactical save. **

This mod has Mod Class Overrides for the following classes:

  • UITacticalHUD_Enemies
  • UITacticalHUD_AbilityContainer
  • UITacticalHUD_Countdown
  • UIObjectiveList

All mods that use the same Mod Class Override are incompatible, except for the ones listed below:

Using ‘WOTC – Extended Information!’? READ THIS:

You MUST disable one of the ModClassOverrides of ‘Extended Information!’. This mod automatically detects if you are using ‘Extended Information!’ and also uses its MCM config settings.

  • Find the XComEngine.ini file for ‘Extended Information!’ (steamappsworkshopcontent2685001183444470ConfigXComEngine.ini).
  • Find the line +ModClassOverrides=(BaseGameClass="UITacticalHUD_Enemies", ModClass="UITacticalHUD_Enemies_HitChance")
  • Remove it, or comment it (put a ; in front of it)

Using ‘[WOTC] Unlimited Ability Icons’? READ THIS:

This mod already includes Unlimited Ability Icons. You MUST remove or disable ‘[WOTC] Unlimited Ability Icons’, you don’t need it with this mod. It is safe to remove mid-campaign and from tactical saves.

Thanks -bg- for letting me include the functionality of Unlimited Ability Icons into this mod!

Issues

Please report any issues you may find here or on discord (@ExitSign).

Credits

Thanks to all the modders on the XCOM 2 Modding discord for answering my questions.

  • Especially @Iridar and the great guides by @robojumper which helped me get started.
  • -bg- for letting me include the unlimited ability icons functionality.
Download
Required DLC:

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


XCOM 2: War of the Chosen
Required items:

Click the title to search on this site.


X2WOTCCommunityHighlander v1.25.0Steam Workshop
Revisions:

Old revisions of this mod are available below. Click the link to download.