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?
Update "Unit Stats" by Niobium from 2009?
Moderator: Moderators
Update "Unit Stats" by Niobium from 2009?
- Attachments
-
- gui_unit_stats.lua
- (10.54 KiB) Downloaded 18 times
-
- screen00023.png
- (449.13 KiB) Downloaded 1 time
-
- screen00022.png
- (398.95 KiB) Downloaded 1 time
Re: Update "Unit Stats" by Niobium from 2009?
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.
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?
I see... that could go into BAR then :)
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: Update "Unit Stats" by Niobium from 2009?
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?
Nixtux fixed this version for me - thank you :)
- Attachments
-
- gui_unit_stats.lua
- (10.96 KiB) Downloaded 16 times
Re: Update "Unit Stats" by Niobium from 2009?
everyone have hes own version :-)
I fixed "my" version:
http://pastebin.com/VX9b3XU8
---- v1.4 changes
--[teh]decay - dont trigger widget in "chat" mode
I fixed "my" version:
http://pastebin.com/VX9b3XU8
---- v1.4 changes
--[teh]decay - dont trigger widget in "chat" mode