More text colors

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Postby Alien » Mon Feb 09, 2009 10:08 am

`
You must enter a message when posting.
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby esteel » Mon Feb 09, 2009 11:38 am

` is the default to open the console.. bad idea imo.
Besides, why change something thats working fine and is similar to other games? well maybe it could be changed from ^x to ^c to be more similar to quake4.. but why change it even further?
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby divVerent » Mon Feb 09, 2009 11:58 am

Q4 doesn't use hex...

and better not change it at all now. This is too late, the patch is in, changing it will annoy quite many people now.

You should have thought about this before. Yes, in retrospect, had I known that Q4 uses ^cRGB dec, I'd have suggested you to do the same. Now it's too late, and we are using ^xRGB hex. It's a bit more flexible than ^cRGB, so it even is better.

And no, the ` character is used to open the console on US keyboards, can't use that one.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby esteel » Mon Feb 09, 2009 12:13 pm

BTW, Terence, have you tried to give the qstat patch to the qstat people? :)
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby terencehill » Mon Feb 09, 2009 1:20 pm

and better not change it at all now. This is too late, the patch is in, changing it will annoy quite many people now.

Since it's not in 2.5 but in SVN, I think IMO it's never too late to change it...
and everyone can change easily the name (assuming that ppl is not so stupid) watching the tags generated by the color picker. I see no problem.

Maybe the ? is the ideal char, coz it's used at the end of interrogative statements always followed by a space. If you forget to put a space... you stupid! :D
terencehill
Alien
 
Posts: 176
Joined: Thu Jul 10, 2008 10:33 pm
Location: Italy

Postby divVerent » Mon Feb 09, 2009 1:36 pm

Don't.

? is used in wildcard expressions, like

ls maps/basement.???

Some other places support these expressions too. Don't break them by displaying this as ??.

Now, going through the whole ascii set:

! - used by QC code, REALLY should not have a special meaning for display. Example: "Assertion failed: !baa"

" - quotation mark. Don't even dare touching this.

# - used in "target" of items. Can appear in prvm_edicts dumps. So better don't make this show up wrong.

$ - variable expansio

% - used in say escapes (although they now also support \ in %'s place)

& - we had that. Can be in nick names and would make sense.

', (, ) - used in properly spelled English.

* - used in wildcard expressions, and at the start of some texture names in Quake

+ - used in mathematical expressions

,, -, ., /, :, ;, - regular punctuation

<, =, > - used in mathematical expressions

? - regular punctuation, and wildcards

@ - email addresses

[, ] - common in clan tags

\ - escape char for say escapes and \n

^ - color code character :P

_ - often used in variable names and entity classnames, don't touch

` - toggleconsole char on some keyboards

{, } - common in community tags

| - indeed, mostly unused, but |aaa for a color would look extremely weird. Some clans IIRC use it.

~ - toggleconsole char on some keyboards

By the way: these were all there are in ASCII. Don't block another char for color codes.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby divVerent » Mon Feb 09, 2009 1:39 pm

terencehill wrote:
and better not change it at all now. This is too late, the patch is in, changing it will annoy quite many people now.

Since it's not in 2.5 but in SVN, I think IMO it's never too late to change it...


Such changes need LOTS of testing, and rewriting lots of handling code for existing color codes (like in rcon2irc). Also, lots of debugging and bugfixing was needed for your last color codes patch. Don't want to do this all over again.

Also, we have a release date in the near future. Don't do such a thing as "last minute commit" to break the release. We had that too often already.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby Alien » Mon Feb 09, 2009 10:07 pm

What about control chars? Can they be used?
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby divVerent » Tue Feb 10, 2009 6:37 am

Most are special characters for use in nicknames, and players got attached to them. However, as they can't be TYPED IN, they're automatically bad. Color codes must be typable on the console.

Heck, forget it. Won't happen anyway. We have a release date set and don't want to get lots of stress for a stupid change like this one. It WORKS, so why change it and break lots of other stuff along the way?
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby Alien » Tue Feb 10, 2009 4:46 pm

Cause as Terence said, it's STILL svn so if he could make it better it's last chance.
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

PreviousNext

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron