Ally resource bars - pimped

Ally resource bars - pimped

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Ally resource bars - pimped

Post by Floris »

Took the widget version that ships with BA, so it doesn't show the little red overflow indicators.

20 march:
  • sorting players like advplayerlist
  • shows yourself too, extruded a bit to the left
  • rounded corners
  • textured bars
  • inactive (not dead) display with a smaller square
  • smaller bar sizes
25 april:
  • auto scaling according to resolution
  • now keeps relative screen position in %
  • on hover info text enlarged and clarified
  • no rounded corners where it touches a screen border
Attachments
ally_res.zip
1 may 2015
(9.97 KiB) Downloaded 5 times
ally_res.jpg
ally_res.jpg (11.43 KiB) Viewed 1615 times
Last edited by Floris on 02 May 2015, 05:47, edited 7 times in total.
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Re: Ally resource bars - pimped

Post by Floris »

Removed the background highlight behind your own bars, didn’t like the visual clutter it introduced.
User avatar
FabriceFABS
Posts: 354
Joined: 28 Jul 2010, 16:20

Re: Ally resource bars - pimped

Post by FabriceFABS »

This is nice, give a modern look to our old resources bars.
Manoa
Posts: 79
Joined: 19 May 2008, 18:51

Re: Ally resource bars - pimped

Post by Manoa »

check this out : viewtopic.php?f=23&t=24939

mybe you can use some of the modifications I made in your version, your look bether :)
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: Ally resource bars - pimped

Post by Jools »

You should also be aware of the xta fork of this widget, it looks like this:

Image

Of course what design is beautiful also depends on the design of that game's other widgets, but it would also be interesting to compare the performances of these. So if someone wants to further fork this widget, it may be preferable to save some time and fork a more recent version, because they should also perform better.

Of course they are all based on the brilliant initial version by manoa :)
Post Reply

Return to “Lua Scripts”