Player colours in in-game chat
Moderator: Moderators
- PauloMorfeo
- Posts: 2004
- Joined: 15 Dec 2004, 20:53
Player colours in in-game chat
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.
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.
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...

- 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...

- PauloMorfeo
- Posts: 2004
- Joined: 15 Dec 2004, 20:53
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...)
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...)
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...
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...

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).
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).
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!
Keep up the good work trepan!
: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.
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.
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.

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.
duh !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.
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

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

I'm not speaking of the last spring version.

And that s not related with my computer or my configuration

All I want is to help improve spring
