FTEQCC centerprint special characters?
Moderator: InsideQC Admins
6 posts
• Page 1 of 1
FTEQCC centerprint special characters?
I'm transitioning over to using FTEQCC and tried compiling the Hellsmash Beta 3 source, but ran into a snag with special characters.
In frikqcc you can do things like \. or \b to access the gold letters, this doesn't appear to work in FTEQCC. (causes an error during compile)
Anybody know what the FTEQCC equivalent of this is?
In frikqcc you can do things like \. or \b to access the gold letters, this doesn't appear to work in FTEQCC. (causes an error during compile)
Anybody know what the FTEQCC equivalent of this is?
-

Dr. Shadowborg - InsideQC Staff
- Posts: 1110
- Joined: Sat Oct 16, 2004 3:34 pm
Re: FTEQCC centerprint special characters?
Hello Dr.Shadowborg,
Spike explained how to change between white and reddish-brown in his fteqcc here:
viewtopic.php?p=43142&sid=e21af1e110a646e0c50a6fd724207edf#p43142
Spike explained how to change between white and reddish-brown in his fteqcc here:
viewtopic.php?p=43142&sid=e21af1e110a646e0c50a6fd724207edf#p43142
- Seven
- Posts: 301
- Joined: Sat Oct 06, 2007 8:49 pm
- Location: Germany
Re: FTEQCC centerprint special characters?
"white\bred\bwhite" can be used to switch between charsets. ITS does this for instance.
\s and \b are identical. I advise \b because that works in frikqcc also...
for special chars, you can use one of these:
\0 = golden 0 (golden numbers, not octal)
\1 = golden 1
etc
\x12 golden 0
\x13 golden 1
etc
\xb0 = red 0
\xb1 = red 1
etc
\[ = red [
\] = red ]
\<\-\> = simple separator 3 chars long.
other chars can be inserted using the \xXX stuff, by figuring out the code from eg here:
http://www.quaketerminus.com/hosted/oqn ... m_4_20.htm
first digit is the row (0-9, a-f), second digit is the column.
warning:
non-ascii chars means that you cannot easily enable utf-8 character set support. Mostly this just affects non-english chat in deathmatch games, and tends to need a special font anyway.
The latest FTEQCC can generate a warning for this, but it should default to off. -Wall -Werror is probably not advisable, but if you do, you can disable this warning using -Wno-F301 on the commandline after you use -Wall, but I doubt this is the cause of your issue.
What's the actual error that you're getting?
\s and \b are identical. I advise \b because that works in frikqcc also...
for special chars, you can use one of these:
\0 = golden 0 (golden numbers, not octal)
\1 = golden 1
etc
\x12 golden 0
\x13 golden 1
etc
\xb0 = red 0
\xb1 = red 1
etc
\[ = red [
\] = red ]
\<\-\> = simple separator 3 chars long.
other chars can be inserted using the \xXX stuff, by figuring out the code from eg here:
http://www.quaketerminus.com/hosted/oqn ... m_4_20.htm
first digit is the row (0-9, a-f), second digit is the column.
warning:
non-ascii chars means that you cannot easily enable utf-8 character set support. Mostly this just affects non-english chat in deathmatch games, and tends to need a special font anyway.
The latest FTEQCC can generate a warning for this, but it should default to off. -Wall -Werror is probably not advisable, but if you do, you can disable this warning using -Wno-F301 on the commandline after you use -Wall, but I doubt this is the cause of your issue.
What's the actual error that you're getting?
- Spike
- Posts: 2892
- Joined: Fri Nov 05, 2004 3:12 am
- Location: UK
Re: FTEQCC centerprint special characters?
Thanks for the helpful replies!
This is the offending code:
This is the error fteqccgui returns:
Using the broader scope \b seems to get me around the error.
Spike wrote:What's the actual error that you're getting?
This is the offending code:
- Code: Select all
self.fld7 = "(X)\n\3\. \bExit AIDA Interface \b\. \3\n";
This is the error fteqccgui returns:
- Code: Select all
drs/drsmnu.qc:378: error: Unknown escape char .
drs/drsmnu.qc:378: error: Unknown punctuation
drs/drsmnu.qc:378: error: Unknown punctuation
drs/drsmnu.qc:378: error: Unknown punctuation
drs/drsmnu.qc:378: error: Unknown punctuation
drs/drsmnu.qc:378: error: Unknown punctuation
drs/drsmnu.qc:378: error: Unknown punctuation
drs/drsmnu.qc:378: error: Unknown punctuation
drs/drsmnu.qc:378: error: Unknown punctuation
drs/drsmnu.qc:378: error: Unknown punctuation
drs/drsmnu.qc:378: error: Unknown punctuation
Using the broader scope \b seems to get me around the error.
-

Dr. Shadowborg - InsideQC Staff
- Posts: 1110
- Joined: Sat Oct 16, 2004 3:34 pm
Re: FTEQCC centerprint special characters?
\. can be directly replaced with \x9c or \x1c, depending on whether \b is active or not.
Its not the same as . within \b
I'll add support for it at some point.
Its not the same as . within \b
I'll add support for it at some point.
- Spike
- Posts: 2892
- Joined: Fri Nov 05, 2004 3:12 am
- Location: UK
Re: FTEQCC centerprint special characters?
Spike wrote:\. can be directly replaced with \x9c or \x1c, depending on whether \b is active or not.
Its not the same as . within \b
I'll add support for it at some point.
Cool, that did the trick. Thanks again!
-

Dr. Shadowborg - InsideQC Staff
- Posts: 1110
- Joined: Sat Oct 16, 2004 3:34 pm
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest