XCOM 2
200 ratings
[WOTC] Select Soldier Icons Redux
2
3
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
553.082 KB
11 Apr, 2023 @ 1:59am
25 Mar @ 11:17am
11 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[WOTC] Select Soldier Icons Redux

Description
What is this?
This mod is my personal redux of Soldier Select Icons by zFail, finally uploaded for others to use.
I do not have permission to update the original, but as there has been no correspondence from the author since February 2016, I figured this shouldn't be an issue!
( IF it is though, I will un-list if required !)

This mod adds a new panel where you can select a unit, by clicking on its icon.
If you are tired of constantly pressing Tab/Shift to search for the right unit, this mod is for you.

Why?
The original mod linked above actually works pretty smoothly in WOTC and CI/LWOTC when loaded with the AML, so I didn't really NEED to do this mod.
I just WANTED too and I made some changes ...

Features
  • New panel with icons that you can select to directly select a unit
  • Icon of selected unit is in Green (config editible)
  • Icon of units without action points is disabled and can't be clicked (config editible)
  • Icon of units lost to mind control can't be clicked (bugfix!)
  • Icons have several colour states (config editible)
  • Icons have several alpha states (config editable)
  • States are: Hovered, Active, Dead, Bleeding, Mind Controlled, Actions Available,
    Last Action Available, Disabled/No Actions/Other
  • When hovered the unit gets a selection box outline. (config editable)
  • When hovered (after a minor delay), camera auto-focuses on unit (config editable. OFF by default)
  • Icons can be arranged in a grid (default is vertical 8down * 4across, 32 icons, config editable)
  • Position is config editible (and possibly needs to be for UltraWide monitors!)
  • Position and grid layout can be switched between vertical and horizontal
  • Position can be set to auto-update on the left-side under the objectives (default)
  • Tooltips can be toggled
  • Tooltips show class name, unit name and unit headshot
  • Includes some class icons for some non-soldier units
  • Includes a way for other mods to add non-soldier icons
  • Updates Soldier Class icon function to use CHL methods
  • Added sounds to on-click events
  • Updates in real time for newly acquired units
  • Icons for units that are evacc'ed/out of play vanishes
Config Options?
Lots of stuff here. Positions, colours, special icons ...

Known Issues
Might have issues with controller users ...

There's normally always something that clashes, but I know of nothing here.
Works by UI Screen Listener, so should be fine with anything.
Should even work with the original, although that would be pointless

Headshots do not work in Skirmish Mode (and never will!).
Headshots only work for XCOM Units from Avenger

Credits
Obviously huge credit to zFail for the still working original
Some ideas inspired by -bg-'s Quick Soldier Info
Many thanks to Dare for the icon grid code/base functions

As always a shoutout to the XCOM2 and MEME modding discords!

~ Enjoy !! and please buy me a Cuppa Tea [www.buymeacoffee.com]
98 Comments
Phoenix 6 Jul @ 11:52pm 
You're probably right, I didn't think about it being in the tool tip. Thanks for considering it!
RustyDios  [author] 6 Jul @ 9:02pm 
That is a neat idea.. I don't think I would add it to the icons themselves though.
A) it will start to clutter things
B) people will start requesting other stuff like Actions Points, HP, etc

I'll consider it for the tooltip though !
Phoenix 5 Jul @ 11:52pm 
Love this mod a lot! I have a recommendation though if possible: colored soldier bonds to be shown next to the icons as well.
RustyDios  [author] 1 Jul @ 1:17am 
:) Glad to be helpful!

I got into a groove of finding cool "long abandoned" vanilla mods that needed updating for WOTC and bringing them back to life.
Everytime I find an old/broken mod that I wish was up for WOTC, there's an 80% chance I find you in the comments with a redux.

Love you big man
Sunbach 9 Jun @ 7:16am 
Thank you so much for all you have done for the community all these years. I look forward to the good news. happy weekend.
RustyDios  [author] 9 Jun @ 6:41am 
Thanks! I'll look into it when I get a chance, there must be an offset setting that I've overlooked/not config'ed/
Tooltips are weird things to deal with, I'm just happy they're working at all, lol !
Sunbach 9 Jun @ 5:28am 
We were on the verge of greatness, we were this close.

@RustyDios: thank you for all your help. I really love this mod and I consider it essential. I still hold out hope so if you find a solution in the future please give update in the comment.

P/S: maybe if you can refer to the original mod by zFail. He was able to make the tooptip (without headshot) to show in the right position. I dont know anything about the coding but the config file of his mod doesnt have anything related to the tooptip so I cant figure it out.
RustyDios  [author] 9 Jun @ 3:11am 
I think the exact position might have just been luck based on the size of that particular tooltip. Those tooltip anchors are the only thing in the mod that affects where they are positioned relative to the icon and the mouse.

You *might* be able to get it to appear higher based on the fTooltipMaxHeight setting, but that is normally the max size of the box, and tooltips auto-shrink to fit the actual used space ~ it doesn't normally control the offset because that can't be easily manipulated

~ sorry :(
Sunbach 8 Jun @ 10:10pm 
@RustyDios: I was able to get the soldier icon bar right where I want it. I just need one last help with the tooptip

https://imgur.com/cThH6A9

As you can see in the screenshot, I was able to get the tooptip to the correct ancor position (setting 7 btw) but I want the entire tooltip (black rectangle) to show above soldier icon not overlap it, kind of like in your screenshot. I cant find any setting related to the tooptip that can accomplish it. Could you please help point it out?

https://imgur.com/P9MfLxW