Page 1 of 1

Colour codes?

Posted: Thu Mar 27, 2008 10:03 am
by Rookie One.pl
We'll have to make a tough choice.

As you may probably know, Quake III has support for colour codes, which can be used to colour your chat text, your nickname, console output etc (WolfWiki, a Wolfenstein Enemy Territory wiki, has a nice article on them). MoHAA doesn't have this functionality.

I we're ever to have compatibility with original MoHAA, we'll have to disable them, at least partially. So here's the question: do we rip them out of the engine altogether or do we allow them for OMoHAA and disable them in MoHAA compatibility mode (e.g. when connecting to a MoHAA server)? The latter would work by decolourizing the player's nickname before it's sent to the server, ignoring the ^ characters in the server messages, etc.

Posted: Thu Mar 27, 2008 10:48 pm
by m0d hippY
I noticed alot of games have that support aside from MOHAA. I would like to see this feature enabled. Any other thoughts?

It's the little things that add up in the long run.

Posted: Fri Mar 28, 2008 3:11 am
by 211476
well I have seen them in all the IdTech 3 games. I never really liked them :wink:

Posted: Fri Mar 28, 2008 7:33 pm
by GiffE1118
Why rip them out?

Why not just have a clientside color parser for messages. so if someone in stock moh says something with color codes other stock users will see a pretty messed up message (one containing all the color codes ^1 gibberish), BUT openmoh users have their chat parsed (on draw) so they can see these colors.

This is more of a topic of how much of a MOH clone do you want it to be?

Personally I don't think EVERYthing needs to be compatible, with moh files, I would figure It would be smarter to make sure everything open moh has in it is absolutely required for a open mohaa player to connect to a mohaa server and vise versa.

Posted: Fri Mar 28, 2008 8:30 pm
by Rookie One.pl
Didn't say I was going to rip them out. :)

As I said, decolorizing the player names for OMoHAA clients connecting to MoHAA servers should be fair enough. At least they won't look silly with all those ^s in their nicks. Names and chat are the only places where they can be used anyway, since menus have the text colour defined separately.