Loading...
  OR  Zero-K Name:    Password:   

Overlay player list factory

30 posts, 973 views
Post comment
Filter:    Player:  
Page of 2 (28 records)
sort
We'll need something other than the current player lists and the share menu is in urgent need of some skinning, so I went ahead and tried my luck in making a wubget. The idea is to have an overlay playerlist that shows while holding tab(like in any other game).

No idea how to arrange things though, any suggestions? What information should be shown?



Needless to say I have no idea what chili is doing, somehow the combination of UI skin and manual coloring shifts all colors. Otherwise I'd like to border enemy teams red and specs white. I also haven't managed to change background transparency or color of UI elements. Any help with that would be appreciated.

Some kind of metal skin would be nice, but for that the panels would need to be invisible so they can be replaced by an image. (And somebody needs to come up with a skin, but anything is nicer than black boxes)
+4 / -0

7 years ago
You might want to take a look at this in terms of functionality goals:

https://github.com/ZeroK-RTS/Zero-K/issues/1869

I've had a new player list slowly in the works as well, although lately I've had less time to work on it.
+0 / -0
Do you already have code that would be closer to the goal to start from? Or some layout sketches for the design?

I started from the sharemenu as that's already ingame and will need to be incorporated into the playerlist anyway.

I'll put my WIP here: https://github.com/ZeroK-RTS/Zero-K/pull/1946
+0 / -0

7 years ago
I'm not particularly attached to my layout design so far, most of what I've thought about is the underlying data structure. I'll put it somewhere and send you a link.
+0 / -0

7 years ago
It would be really nice if you could quickly see a list of units your allies have.
Something like this
Maybe some intelligence to it as well, classifying the players based on what factory they are using, so you can quickly glace and see what your team has/can build.

I think that metal/energy bars are quite useless; they don't provide any information you can act on.
+0 / -0
quote:
I think that metal/energy bars are quite useless; they don't provide any information you can act on.

If metal bar is getting very high, I should spend metal, even if it's on something I don't really need (or just build a storage.
If energy bar is getting very low, I need to immediately build more energy producing buildings.

quote:

It would be really nice if you could quickly see a list of units your allies have.

Such a widget wouldn't be hard to make.
+0 / -0
quote:
I think that metal/energy bars are quite useless; they don't provide any information you can act on.

I strongly disagree with this statement. I routinely give energy or energy-producing buildings to teammates who are E-stalling.

An army list is less practical in Zero-K than Starcraft IMO due to the larger variety of units available to any one player. Perhaps it would be useful to some people. I generally accomplish that purpose by zooming out and quickly looking at the entire map, which also tells me where those units are.

edit: what I have so far is here: https://github.com/Aquanim/Zero-K/tree/playerlist%2B
+0 / -0

7 years ago
CHrankAdminDeinFreund: which elements are you using in particular?
In most chili elements, the color is multiplied by the texture, so you can't easily get a desired color always, and sometimes in the case of transparent objects it might be impossible. You may need to force a different skin or just chili rendering class - by specifying classname="myclass" and adding a skin.myclass in https://github.com/ZeroK-RTS/Zero-K/blob/master/LuaUI/Widgets/chili/Skins/Evolved/skin.lua (after which you can add your own versions of texture files with desired transparency - assuming they don't already exist)
+0 / -0


7 years ago
Do as much as you can without changing colour and then propose some colour design. Since the skinning I dislike it when widgets decide upon their own colour scheme and override skin consistency. I don't have a good solution to this though.
+0 / -0

7 years ago
i would like to see, as in old deluxe player list, the current net income for m/e per player
+0 / -0

7 years ago
quote:
i would like to see, as in old deluxe player list, the current net income for m/e per player

I agree that's desirable and reasonably easy to accomplish. Current army/defence value is less easy; I am not satisfied with the Deluxe list's implementation.
+0 / -0
Without colors:


The numbers are more readable ingame as the forum resizes the image
+0 / -0

7 years ago
USrankFealthas I like the idea of showing the factories of each player. If you could make a function that returns an array of facs for each teamID I'd directly putin.
+0 / -0
Firepluk
7 years ago
See how useful bans are! So much creativeness and energy!
+1 / -0

7 years ago
Firepluk
Know that I'm always here for you if you want to get some creativeness and energy ;)
+2 / -0


7 years ago
Loks promising CHrankAdminDeinFreund :)
You could also try to make room for planned avatars ressurection there.
+1 / -0

7 years ago
avatars?
+0 / -0
As I've now been banned from testing this in noElo games, I'll have to leave that up to you.
Download the latest version from github: https://github.com/DeinFreund/Zero-K/blob/patch-11/LuaUI/Widgets/gui_chili_share.lua
Look for unintended behaviour or crashes and upload infolog together with a screenshot of what's wrong.


CZrankAdminLicho do you mean unitpic avatars? I can't really make them much bigger than the clan icons, but there's still a lot of space left horizontally.




Added support for long clan names and kicking people. List is ordered by Elo now. It now displays while holding tab, make sure to unbind your camera overview before testing.

I still need icons for sharing units and kicking. Some icon representing bots (because they have no rank) would be nice as well.
+0 / -0


7 years ago
Yeah forum avatars. We plan to make them as rewards.

https://github.com/ZeroK-RTS/Zero-K-Infrastructure/issues/1465
+0 / -0
Is there a custom key in player info for avatar? Then I'd just try it out.

Otherwise I'm not sure if we really want that scaled down to 24px. Here's a preview of my avatar at that size:
+0 / -0
Page of 2 (28 records)