Page 1 of 1

[FAF Feature] - Accurate Units Stats

PostPosted: 21 Sep 2018, 04:18
by HUSSAR
In last a few weeks, I made good progress on implementing more accurate units stats that are displayed when hovering over units in build menu and upgrade menu. I'm planing to finish this new feature of FAF in 2-3 weeks.

So far, I managed to make these improvements:
- all unit stats are abbreviated and rounded to improve readability of UI
- all unit stats are rendered using bold font to improve readability of UI
- abilities are generated and verified against blueprint bp.Display.Abilities table
- weapons stats are colored using same colors as rings of weapon ranges on the map
- weapons stats show more accurate DPS and cumulative damage for mulit projectiles
- weapons stats show DPM (Damage Per Mass cost) to help with deciding which unit makes more damage per mass
- weapons stats show AOE (Area of Effect) or Damage Area
- unit health is rendered with HPM (Health Per Mass cost)
- unit shield is rendered with SPM (Shield Per Mass cost)
- tooltips show details about intel as well as unit stealth range and vision radius
- tooltips show correct weapons stats for Combat/Rambo preset SCUs
- tooltips show correct mass/energy yield RAS preset SCUs
- color of build costs is matching color of mass/energy icons and rest of UI
- upgrade stats show changes of all enhancement, e.g. +58 BUild Power (42 >> 100)
- upgrade stats will work with mods that add new upgrades (e.g. BlackOps ACUs)
- unit's details panel is stretched and now it aligns with unit's order panel
- unit's details panel has darker (but still semi-transparent) background to improve readability of UI

I'm planing to add a few new configuration options in the Game Interface so that players can show less/more units stats as well as combine/collapse similar weapons in tooltips.

Let me know if you have any suggestions for improvements or changes that you would like to see.

EDIT: added preview of latest changes I made for this new feature.

Re: [FAF Feature] - Accurate Units Stats

PostPosted: 21 Sep 2018, 11:37
by Louvegarde
That is very nice !
To avoid ui flooding you should group absolutely identical weapons using a "x2" "x3" (etc) prefix, like the unitDB does.
Other than that, great work :)

Re: [FAF Feature] - Accurate Units Stats

PostPosted: 21 Sep 2018, 12:25
by PandaCuddles
Look very nice!
But the "rate" confused me. It states the time between shots, I assume, as 40/0.7=57.1. So shouldn't it be called "loading time" or something similar? Or if you want to state the rate of fire wouldn't you need to take the inverse (shots/s)?

Re: [FAF Feature] - Accurate Units Stats

PostPosted: 23 Sep 2018, 00:36
by HUSSAR
Louvegarde wrote:...To avoid ui flooding you should group absolutely identical weapons using a "x2" "x3" (etc) prefix, like the unitDB does...

Yes, I'm going to group weapons as I indicated in my first post: "show less/more units stats as well as combine/collapse similar weapons in tooltips."

PandaCuddles wrote:... the "rate" confused me. It states the time between shots, I assume, as 40/0.7=57.1. So shouldn't it be called "loading time" or something similar? Or if you want to state the rate of fire wouldn't you need to take the inverse (shots/s)?

You are correct and I just forgot to update the name of label. Now it should be good. Also I changed ordering of weapon stats so it easier to compare them.

EDIT this image is now out of date. Please see screenshots in the first post of this forum thread.
unit-tooltip-reload-time.png
unit-tooltip-reload-time.png (324.86 KiB) Viewed 1598 times