XCOM 2
160 ratings
[WOTC] LifeTime Stats Redux
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
607.737 KB
Jul 23, 2022 @ 6:31am
May 7, 2023 @ 12:52am
5 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[WOTC] LifeTime Stats Redux

Description
What is this?
This is a Redux of a mod very dear to me, Kosmo's Lifetime Stats WOTC .
For whatever reason, sometime back in 2019 that mod stopped auto-scrolling its Stats windows, leaving a user with around 7 of the stats shown at any given time, and requiring config edits to see any others in the stat-list window.
In this mod, made with permission, I fix that issue and add a few other QoL things.

Features
  • Fixed Scrolling Stats Lists
  • Fixed screenspace conflict with Biography On Armoury Screen .
    This mod only shows it's Armoury window when that mod is not enabled.
  • Fixed spanish localisation with Segidos >> Seguidos
  • Added Simplified Chinese translation by zxc2008 TheGreaterGood
  • Due to new expansions of stats, some translations might be outdated, sorry.
  • Added new way to show tactical pop-up (works with Extended Information )
    Sadly this mod removes the "but probably" shotHUD additions from the original
  • Added new armoury menu button to show full stats screen
  • Added some slight redesign of default stats shown
  • Went through all the parent mods discussions and added all listed perks
  • Added a method for the mod to automagically figure out a shot/move damaging perk if it's not in the config
    Any perk with a Standard Aim Calculation, Not indirect fire and Hostile will attempt to be evaluated as a 'shot'
The new method to bring up the panel in tactical involves a "hollow hover-able box" just to the left of the Passive Perks panel.
Simple Mouse-in/out action. Sadly this will not work for Controller users (will need to config edit for Always Shown mode).

Should be able to swap from the older Kosmo's Lifetime Stats WOTC to this version mid-campaign and retain accumulated stats!

Tracked Stats
Includes all the original mods Stats, as well as;
  • Shots - Every shot taken by a soldier
  • Hits - How many shots have Hit
  • Misses - How many shots have Missed
  • Crits - How many shots have Crit
  • Grazes - How many shots have Grazed
  • Avg Hit % - The average hit chance over all shots taken
  • Avg Crit % - The average crit chance over all shots taken
  • Luck - Luck is computed by comparing Hits to Avg Hit%
  • Expected Accuracy Score - Actual vs. expected hits based on avg%, positive is good
  • 'xxx' Streak - Tracks the current and maximum hit/miss streaks
  • Tiles Moved - Total tiles moved in this campaign
  • Healing given and taken
  • Grenades Used - Number of grenades thrown or launched
  • Kills - Every kill made by a soldier
  • Executions - Number of repeater executions
  • Damage Dealt- Amount of damage dealt
  • Damage Shred - Amount of damage that shredded
  • Damage Absorbed - Amount of damage that went to enemy Shields
  • Damage Negated - Amount of damage dealt blocked by armour
  • Damage Taken - Amount of damage taken
  • Damage Taken Shred - Amount of armour that got shredded
  • Damage Shielded - Amount of damage that went to Shields
  • Damage Mitigated - Amount of damage taken blocked by armour
  • Time Aboard the Avenger
  • Time spent in the Infirmary
  • Details of Death - for dead units only, obviously!

I have plans to add more in the future, but wanted to get this initial version on the workshop

If you click the armoury menu button for the full screen you can keep cycling through units and eventually see the stats of people that are dead.

Config Options
Wouldn't be a good Rusty redux without these hey?
Thankfully the original mod already had loads
Most panel locations and sizes can be changed
How and If the panel displays in Tactical
Transparency of the Panel in Tactical
Order of Stats shown in each various place
Option for other mods to inject lines/values into the stats lists

Known Issues
These issues are carried over from the original mod.
I can say I [RustyDios] never experienced these personally with this mod or the original, but posting them here anyway;
  1. Grenades sometimes do not count for damage stats
  2. May be unable to 'rescue' VIPs in large circles. Fix seems to be working, but still unsure
  3. Resolutions other than 16:9 cause the armoury window to display incorrectly. You can manually edit the position of the window in the configs
  4. Multiple users have reported that LifetimeStats breaks story missions, particularly those which add new units to your control during the mission.
    While I [Kosmo] have not done extensive testing, I [Kosmo] have not had this problem (nor have many other users who I [Kosmo] know use the mod regularly).
    I [Kosmo] do believe that this issue is due to mod conflicts, however it seems that LifetimeStats is the mod which actually causes the game to hang.
    If you encounter this issue, temporarily disable the mod while you complete the mission then re-add it.
    You will lose any stats accrued during that mission, but should retain all previous stats.

These are issues present caused by/within this redux;
  1. Grenades used counter might be slightly off. Needs Investigation.

Compatibility
Should work with LWOTC, RPGO and Covert Infiltration
Will NOT work with the original version ...
Works with Extended Information
Works with Biography On Armory Screen

Credits and Thanks
HUGE thanks to Kosmo for the original mod, and the many people that contributed translations
Many thanks to ShireMct and Musashi for the armoury menu button addition code

Many Thanks to SuperGirly and DeaconIvory for beta-testing.

As always, much appreciation to the fine folks on the XCOM2 and MEME Modders Discords :)

~ Enjoy !! and please buy me a Cuppa Tea[www.buymeacoffee.com]
60 Comments
Makk Dec 20, 2023 @ 5:50am 
I think it may not be neccessary to show in tactical interface, considering the hollow box looks inharmonious.
Dragon32 Oct 19, 2023 @ 11:29am 
@tommyc434
You can uncomment the Bladestorm ability in the .ini
tommyc434 Oct 18, 2023 @ 5:06pm 
Regardless, thank you so much for this mod - issues I've mentioned (which might be specific to my game), it's super fun to be able to track this stuff!
tommyc434 Oct 18, 2023 @ 5:03pm 
I don't believe Bladestorm kill/damage are tracking (not sure if that extends to similar "reaction" abilities). Noticed that the kill count discrepancy between the default game number and the mod's count for kills are pretty huge on soldiers with bladestorm (in one case, it's 35 to 8).

Had the mod installed from the start. Am running RPGO fyi.
RustyDios  [author] Mar 5, 2023 @ 7:00pm 
Known Issues, #3

Fix is in the configs please read and adjust the offset numbers for to suit your monitor
WillyLim Mar 5, 2023 @ 6:43pm 
https://gall.dcinside.com/xcom/75161

Does not work on ultrawide screen?
Status is moved to left so I can't read them properly :(
Kevin from HP Customer Service Jan 24, 2023 @ 12:57pm 
Moment of silence for the "....but probably" HUD indicator, my most reliable source of information.

Thank you for this mod Rusty
RustyDios  [author] Jan 17, 2023 @ 1:42pm 
This mod stores the information on a gamestate attached to each unit. There is no "buffer" file. The information between tactical and strategy is the same information file.
It's unusual because any issues in this mod would be the same regardless of game mode, and the mod itself doesn't do anything directly related to end of tactical either.

All mod code is also run and handled by the game engine, so as long as the game is running stable, it shouldn't honestly matter if it is on Windows or Linux.

It is more likely that the issues you are running into is an accumulation of modded effects, with this one just being "the icing on the cake" that pushes the limit.

Tbh, a Segmentation fault sounds like something from your PC/RAM simply not being good/large enough to handle the games transitions with the amount of mods you are running. The transitions between tactical-strategy is when the game needs to load a bunch of stuff from the mission into memory, and it is failing to do so.
Lilly Jan 17, 2023 @ 11:10am 
Yeah I have no clue. Partially leaving a comment so other people can take note and hopefully have a hint on where to check first if they have a similar scenario.

The only thing I could speculate on is since it only happens going in/out of battles, that when you load whatever buffer/file you store the info into, there's something happening /sometimes/ there. Highlander makes things case-insensitive, but Linux is a case-sensitive environment. Maybe this mod is running into something with case sensitivity that Highlander isn't handling? Also, if mods like More Nations add character names that're non-ASCII, could that be causing issues? Either/both would explain the inconsistency on crashes. -- tho Not the fact that if I stubbornly try over and over again to punch through a crashing transition, it'll /eventually/ work.

So yeh, no clue. Happy to do any testing you want, tho. And open a better detailed issue on github
RustyDios  [author] Jan 17, 2023 @ 2:21am 
I'm sorry that has been happening to you. Super bizarre.
I am but just a modder, I have no idea how this mod cause be causing a CTD, and issues on a Linux install.