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.
Colour codes?
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
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.
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.
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
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.
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.





