Player colours in in-game chat

Player colours in in-game chat

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
PauloMorfeo
Posts: 2004
Joined: 15 Dec 2004, 20:53

Player colours in in-game chat

Post by PauloMorfeo »

It would be helpfull if the chat of players in the in-game chat had the name of the player in the colour of it's team.

Many times, we see a player chatting but we can't easily distinguish if that player is that Black team on my left, that White player on my enemy, etc.
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

I started on the LuiUI console about a week ago.
- player name coloring
- scrollback buffer
- message mode sorting (ex: only view chat messages)

It's highly configurable, you can remove the frame and the
background quad, use outline fonts, setup decay timers,
leave it up permanently, move it, resize it, change the text
size, etc...

Image
User avatar
PauloMorfeo
Posts: 2004
Joined: 15 Dec 2004, 20:53

Post by PauloMorfeo »

Awesome, that is exactly what i meant. That way, i see the colour of the player chating and easily associate with the player in the map.
trepan wrote:I started on the LuiUI console about a week ago.
...
So .. that means that that you are showing me isn't in this 0.74 version of Spring, right?
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

Yes, it can be in 0.74b1, once I decide it's release worthy.

That's the beauty of using a scripted UI system, you can modify
things after a release has been committed. With LuaUI, you can
even reload the code in-game (which is quite handy while writing
the code).

I've also got replacement resource bars started, some tooltip
modifications, and a new UnitType Inspector widget that displays
the vital specs for the selected unit type (maxSpeed, stealth,
weapons, etc...)
User avatar
Masse
Damned Developer
Posts: 979
Joined: 15 Sep 2004, 18:56

Post by Masse »

so when are we able to add backround images and or images to the luagui ?
and is the full gui now lua or just parts of it ?
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

You can already draw just about anything you'd want (for a GUI), using LuaUI.
Not only can you draw on to the screen, but you can also draw 3D world items
(actually the screen drawing is 3D too, and can be setup to make it look like
widgets are sitting on your physical screen).

Here's the current interface document (it's pretty rough).
https://taspring.clan-sy.com/svn/spring ... erface.txt

NOTE:
There's a reason I'm calling it LuaUI instead of LuaGUI, it can do a lot more
then just the visual interface. You can use it to setup unit formations, have it
play sounds, use it to write all new commands, modify user commands before
they are sent, monitor stockpile states, add initial orders to units when they
are created, log running game stats into a file, setup keybindings dynamically,
make custom selections based on unit parameters, setup build macros. etc... ;)
User avatar
Masse
Damned Developer
Posts: 979
Joined: 15 Sep 2004, 18:56

Post by Masse »

im not a coder anymore but i should fiddle around with it to make spring pretty finally :>
User avatar
Acidd_UK
Posts: 963
Joined: 23 Apr 2006, 02:15

Post by Acidd_UK »

That looks and sounds really nice Trepan! Since the coulor thing isn't in 0.74b1 (that I can see), how's it progressing? I really like the new minimap system, took me about 2 games to get used to it :-)
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

The color thing doesn't have to be in 0.74b1. You'll be able to download it,
throw it into your spring config directory, and it'll work with 0.74b1. It may
be that Spring will never include a "gui.lua" in its installer (although I doubt it).

As for how it's coming... I should have something good enough to release
within a week or two. I'm also going to try and get a settings configuration
widget included in the first release (and a global widget geometry edit mode,
where you'll be able to move(left button) and resize(right button) everything
with the mouse).
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

It's safe to say trepan is the man! :-)
User avatar
Gabba
Posts: 319
Joined: 08 Sep 2004, 22:59

Post by Gabba »

Really awesome, I was wishing for that feature too. Thanks Trepan!
DemO
Posts: 541
Joined: 18 Jul 2006, 02:05

Post by DemO »

Very nice news. I've wanted to be able to resise/move the chat window for so many versions now its not even funny. I like the whole widget idea, i just hope that when you release this its not too much of a mind fuck to work out how to customise it:) Documentation would be greatly appreciated.

Keep up the good work trepan!
User avatar
LBPB
Posts: 119
Joined: 25 Aug 2006, 10:27

Post by LBPB »

Simply one the most needed feature !

thanks
User avatar
LBPB
Posts: 119
Joined: 25 Aug 2006, 10:27

Post by LBPB »

:idea:
Just one idea here...

The possibility to toggle on/off desync messages is simply much needed since its spamming the console.
Nevertheless, I'm frequently hosting games and I need to know if a player is desyncing but I don't wanna be spammed with this message.

:arrow: So, IMO it would be better to not show desync errors in the console but it should be replaced by a feature who make blinking the desynced player name (in the bottom right of the screen) with the reason writed on the same line...

This way I can kick the player (if needed) and save the game for all the others players without been myself errors messages spammed or missing some tactical messages from my allies still synced.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

LBPB, you shouldn't be hosting, I get desyncs a lot, but only when I host, this is not springs fault, this is my machines fault, and because it isn't good enough to host with.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

e: obsolete
Last edited by Kloot on 07 Jan 2008, 19:21, edited 1 time in total.
User avatar
LBPB
Posts: 119
Joined: 25 Aug 2006, 10:27

Post by LBPB »

AF wrote:LBPB, you shouldn't be hosting, I get desyncs a lot, but only when I host, this is not springs fault, this is my machines fault, and because it isn't good enough to host with.
duh !

My machine is a :
2,4 Core2Duo
Asustek P5B deluxe MB
1Go RAM Corsair
GeForce 6800GS

And I got a 20Mb / 4Mb connexion


That's not really a crappy computer...
So if I can't host, no one can't :roll:
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

Check your router or firewall settings then.
User avatar
LBPB
Posts: 119
Joined: 25 Aug 2006, 10:27

Post by LBPB »

rattle wrote:Check your router or firewall settings then.

I don't get it you 2.

why do you want my machine/connexion/router/configuration to be guilty for that :shock:

I'm not speaking of the last spring version.
:arrow: But let me remember you that the last version of spring got desync problem when building sonar or else.
And that s not related with my computer or my configuration :roll:


All I want is to help improve spring :wink:
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

DemO:
Try adjusting the "InfoConsoleGeometry" parameter
(x, y, width, height). It was added in 0.74b1.
Post Reply

Return to “Feature Requests”