XCOM 2
124 ratings
Enhanced AOE Preview
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
393.361 KB
28 Feb, 2016 @ 12:43pm
5 Jul, 2016 @ 7:00pm
5 Change Notes ( view )

Subscribe to download
Enhanced AOE Preview

Description
[THIS IS BASE XCOM 2 - For War of the Chosen - go here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1124333578]

Shows actual damage preview on targets as if you were using a single target ability. For AOE that does no damage (flashbang grenade, for instance), the health bars will still be brightly lit on targets within the AOE, so it is easy to tell whom you will hit.

Can also change grenades to NOT snap to tiles, if desired(in config)

Per request: You can now preview minimum (instead of maximum) damage. (In config)

Since the game doesn't like removing mods that it once new about when you load saved games, this mod can be disabled via config (a brief message will still print to the log, but it won't replace any AOE targeting templates)

The mod may or may not work with AoE abilities from other mods - the code is written such that it will try to work, but I can't verify with every other mod - if one doesn't work, let me know.

Known Issues(To the best of my knowledge - all other base game abilities, including enemy abilities, work properly with this mod)
1) You won't see health bars on civilians. I looked into displaying them, but if I show health bars, then you can tell the difference between faceless civilians and normal civilians, which would turn this mod into gameplay, not just UI. In theory I could fix that, but I don't think I could do it without overriding UIUnitFlags, which would make this mod not play nicely with other mods. For civilians, you'll have to rely on the default targeting, even if it means you sometimes think you're targeting a civilian when you're not.
2) Blazing Pinions(Archon) does not preview damage or targets. Cannot Fix(As Designed) - Note that the Blazing Pinions display cursor appears to be where it can drop the sub-munitions, not what it's going to hit. I've had it hit enemies outside the targeted range, when it dropped one of the sub-munitions on the edge. Given that the bomb locations are therefore determined *after* you fire, previewing this one correctly would run counter to design.

3) "Lost Towers" mission - Capacitor Discharge ability on special unit not displaying damage, just highlighting targets
4) "Lost Towers" mission - Derelict MEC AoE ability does not preview damage correctly (doesn't account for armor - probably the same issue that was plaguing Spark:Bombard)



Mod Compatibility Notes:
Does not override ANY XCom2 base classes, so should be fairly compatible. Does avoid some calls to XComGameState_Ability.NormalDamagePreview and UIUnitFlagManager.SetAbilityDamagePreview in order to avoid underlying bugs. If this causes a problem, let me know.


If you want to change things such as allowing free grenade aiming (turning off snap to tiles), look here:
Mod Config Location:
steamapps\workshop\content\268500\634905023\Config\XComGame.ini
57 Comments
Harwin  [author] 2 Jul, 2020 @ 12:52pm 
Glad that worked :)
Kordath Invictus 2 Jul, 2020 @ 12:01am 
@Harwin
....
OMG EVERY MOD I CHECK TO MAKE SURE AND THIS IS THE ONE I FORGET TO CHECK.
i mean, 1 mistake out of 102 mods, not bad right?
Harwin  [author] 1 Jul, 2020 @ 10:53am 
Turtle - this is the nonWOTC version. Any chance you're using this version with WOTC?
THIS IS BASE XCOM 2 - For War of the Chosen - go here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1124333578 ]
Kordath Invictus 1 Jul, 2020 @ 9:14am 
sorry, but when i go to gernade indicator with different classes it just crashes the game, i like the idea tho
Harwin  [author] 25 Apr, 2020 @ 5:07pm 
@aethenosity
Sorry for the confusion. Link added.
Glad you like it!
tiktaalik 9 Mar, 2019 @ 11:21pm 
Yeah, seems to work fine, thanks.
Harwin  [author] 9 Mar, 2019 @ 6:42pm 
@prokolyo: I haven't played LW2 in a while, but it seemed to work fine.
tiktaalik 9 Mar, 2019 @ 12:45pm 
Does this mod work well with LW2? Thanks.
kunshdwa 12 Feb, 2019 @ 2:13pm 
If anyone is still interested, running fine and well for me without WotC. Thanks!