Page 1 of 1
Update "Unit Stats" by Niobium from 2009?
Posted: 03 Jul 2014, 10:53
by dansan
It's a super nice widget (gui_unit_stats.lua) that shows unit stats when hovering over any unit and pressing space. See attached screenshots. I use it in BA and TechA, I think it also works in EvoRTS.
The problem is, that the text doesn't seem to wrap... or something... at least in the dmg-line there is always a problem. For units with multiple weapons it gets worse.
Is there anyone who is willing to fix it? I'd be super happy. Maybe integrate it into some game?
Re: Update "Unit Stats" by Niobium from 2009?
Posted: 03 Jul 2014, 11:53
by Anarchid
Both Evo and ZK ship what amounts to essentially a nicer, chili-based version of this.
Try Space+click on any unit for a sample.
I assume it would be easier to work from there instead.
Re: Update "Unit Stats" by Niobium from 2009?
Posted: 03 Jul 2014, 12:18
by dansan
I see... that could go into BAR then :)
Re: Update "Unit Stats" by Niobium from 2009?
Posted: 04 Jul 2014, 01:19
by Silentwings
The reason BA/BAR doesn't contain this is because several of the numbers it reports are simply constant lifted from unitdefs, when in reality their effects are non-constant and sometimes highly context dependent. There is a plan to integrate a "better", lightweight equivalent of it into the BAR UI.
Re: Update "Unit Stats" by Niobium from 2009?
Posted: 07 Jul 2014, 09:44
by dansan
Nixtux fixed this version for me - thank you :)
Re: Update "Unit Stats" by Niobium from 2009?
Posted: 16 Aug 2015, 19:47
by jamerlan
everyone have hes own version :-)
I fixed "my" version:
http://pastebin.com/VX9b3XU8
---- v1.4 changes
--[teh]decay - dont trigger widget in "chat" mode