modified adv playerlist widget

modified adv playerlist widget

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

modified adv playerlist widget

Post by Floris »

v12:
  • Removed the blue tint
  • Borders less harsch
  • More spacing
  • Different icons (HD-ified)
  • Player name appearance slightly changed
v13:
  • Scale buttons
  • Greyscale for faction icon and player ID
  • Added grey cpu/ping icons for spectators.
  • Textured background (subtle gradient).
  • Ping in ms/sec/min.
  • Displays a dot icon in front of currently tracked player.
  • HD-ified lots of other icons.
  • A speccing/dead player will keep former player color
  • Increased E/M share slider responsiveness
  • Point icons (for mapmarks) fade less quick
  • Spectators label: click to unfold/fold. (leave folded when playing, so you don't accidently share units to wrong person)
  • Doubleclick playername: /specteam #team
v14:
  • (Lockcamera): Camera icon for current tracked player.
  • (Lockcamera): Specs that havent changed camera perspective recently, are shown less bright.
  • (Allycursors): specnames light up grey when cursor moves, else fades to dark grey. (unless spec broadcasts lockcamera)
  • Country flags for players!
  • Removed some ctrl+f11 icon options
  • Added small gaps between some tweakui config icons
  • Auto scaling dependant on resolution
  • Added API: WG['advplayerlist_api'].GetPosition() returns: {top,left,bottom,right,widgetScale}
    (so other GUI widgets can snap next to it)
Dependencies (optional):
  • INCLUDED: Custom Lockcamera widget: doubleclick playername to enable camera. (note: lockcameras own gui is removed)
  • NOT INCLUDED: Guishader api widget, (blurs/distorts 3d world under widget)
  • NOT INCLUDED: (Updated) Allycursors widget, (used to check if specs moved their cursor)
Old vs new comparisson:
Image
Attachments
advplayerlist_mod.zip
25 april 2015
(496.19 KiB) Downloaded 8 times
screen00362.jpg
screen00362.jpg (49.48 KiB) Viewed 2802 times
screen00359.jpg
(312.46 KiB) Not downloaded yet
Last edited by Floris on 25 Apr 2015, 17:17, edited 58 times in total.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: modified adv playerlist widget

Post by smoth »

nice work, the icons also look great.
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Re: modified adv playerlist widget

Post by Floris »

I made the icons 4x as large, but the adv playerlist still uses the original icon size though

(I mainly did this for another widget)
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: modified adv playerlist widget

Post by Jools »

Floris wrote:- Removed the blue tint
- Borders less harsch
- More spacing
- Different icons (HD-ified)
- Player name appearance slightly changed
I like the changed. Especially the less aggressive borders.

But does HD mean high definition? Is it Full HD or just HD ready TM?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: modified adv playerlist widget

Post by smoth »

I think he is making fun of the whole "hd" thing.
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: modified adv playerlist widget

Post by jamerlan »

On linux, folder names are case sensitive.

[f=0000193] Warning: Couldn't find texture "LuaUI/Images/Advplayerslist-mod/Ranks/rank2.png"!
[f=0000193] Warning: Couldn't find texture "LuaUI/Images/Advplayerslist-mod/cross.png"!

because folder is named "advplayerslist-mod"
The same with "Ranks" subfolder
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: modified adv playerlist widget

Post by jamerlan »

is "Private message" working?
Looks like not. I am a spectator, I pressed Ctrl+F11 and when I click this "Message" cloud - spectators list is turned off and on. Not "private message" icon.

This icon was very useful for me.
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Re: modified adv playerlist widget

Post by Floris »

I guess private messge is a too recent feature. I forked the adv playerlist in may 2014
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: modified adv playerlist widget

Post by jamerlan »

update: it works :-) in your widget too
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Re: modified adv playerlist widget

Post by Floris »

fixed all case sensitive names
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Re: modified adv playerlist widget

Post by Floris »

v13:
- Scale buttons
- Greyscale for faction icon and player ID
- Added grey cpu/ping icons for spectators.
- Textured background (subtle gradient).when somebody leaves and )
- Ping in ms/sec/min.
- Displays a dot icon in front of currently tracked player.
- HD-ified lots of other icons.
- A speccing/dead player will keep former player color
- Increased E/M share gui responsiveness
- Point icons (for mapmarks) fade less quick
- Spectators label: click to unfold/fold. (leave folded when playing, so you don't accidently share units to wrong person)
- Doubleclick playername: /specteam #team

Dependencies (optional):
- INCLUDED: Custom Lockcamera widget: doubleclick playername to enable camera. (note: this hides lockcameras own gui)
- NOT INCLUDED: Guishader api widget, (blurs/distorts 3d world under widget)
User avatar
FabriceFABS
Posts: 354
Joined: 28 Jul 2010, 16:20

Re: modified adv playerlist widget

Post by FabriceFABS »

Very good job, nice Improvements from the original AdvPlayer list.
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Re: modified adv playerlist widget

Post by Floris »

updated:
- fixed proper lockcamera when doubleclicking on spectator names
- Camera icon for broadcasting players
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: modified adv playerlist widget

Post by jamerlan »

Using it already and its awesome! :-) I love these camera icons
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Re: modified adv playerlist widget

Post by Floris »

Added countryflags and upped the widget version.

v14:
- (Lockcamera): Camera icon for current tracked player.
- (Lockcamera): Specs that havent changed camera perspective recently, are shown less bright.
- (Allycursors): specnames light up grey when cursor moves, else fades to dark grey. (unless spec broadcasts lockcamera)
- Country flags for players!
- Removed some ctrl+f11 icon options
- Added small gaps between some tweakui config icons
[LOeT]Brenner
Posts: 25
Joined: 19 Oct 2011, 01:33

Re: modified adv playerlist widget

Post by [LOeT]Brenner »

That players list should be included in the mod i think. :)
Very nice to use. Thanks!
Post Reply

Return to “Lua Scripts”