Forum

FTEQCC and bronzing characters .. how? [/b ?]

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

FTEQCC and bronzing characters .. how? [/b ?]

Postby Baker » Tue Nov 25, 2008 9:49 am

Does FTEQCC support bronzing characters like FrikQCC by doing:

sprint(self, "This is /bBronzed/b text\n");

It may be either \b or /b in FrikQCC, I can't remember offhand.

Anyway, does FTEQCC support the FrikQCC method and if not is there some other way that works?
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Postby Error » Tue Nov 25, 2008 12:58 pm

trial and error works

and yes I believe it's the same as frikqcc
User avatar
Error
InsideQC Staff
 
Posts: 865
Joined: Fri Nov 05, 2004 5:15 am
Location: VA, USA

Postby CocoT » Tue Nov 25, 2008 6:41 pm

It may be either \b or /b in FrikQCC, I can't remember offhand.


FrikQcc uses \b if I remember correctly :)
Neurotic Conversions - New location: Update your bookmarks!
User avatar
CocoT
 
Posts: 695
Joined: Tue Dec 14, 2004 5:39 pm
Location: Belly-Gum

Postby ceriux » Tue Nov 25, 2008 6:58 pm

what is bronzing characters?
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Postby MeTcHsteekle » Tue Nov 25, 2008 8:38 pm

makes letters bronze, like how the talk text looks
bah
MeTcHsteekle
 
Posts: 399
Joined: Thu May 15, 2008 10:46 pm
Location: its a secret

Postby Spike » Tue Nov 25, 2008 9:14 pm

or was it \s

eesh
Spike
 
Posts: 2892
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Postby FrikaC » Tue Nov 25, 2008 9:19 pm

It's \b in FrikQCC and QCCX. And Spike, that's not the \{001} or \{002} chat character, it changes the parser to set the high bit on the following characters.
FrikaC
Site Admin
 
Posts: 1026
Joined: Fri Oct 08, 2004 11:19 pm

Postby Spike » Wed Nov 26, 2008 2:17 am

Yeah, I know.
Fair enough, I guess I already had \s in fteqcc when I noticed frikqcc did the same thing for \b, so yeah, use \b for either qcc.
And basically just ignore the whole \s thing.

Yes, FTEQCC supports the QCCX/FrikQCC \b feature to bronze a string constant.
Adding a \b character in a string constant will do nothing itself, but cause all trailing characters (until a second \b) to be bronzed, as you described.
It is a backslash, which is consistant with C string markup.
(Although in C, \b is 'bell', and makes a noise instead of being printed, but mneh).
Note that this \b markup thing does not affect strcat/ceterprintX usage. Because that would quite frankly be magical. So stop being silly and moaning that it doesn't work, it never will do so stop moaning.

Additionally:
\0 ... \9 can be used to generate alternate numbers. \b\0\b can be used to get at the fourth range of numbers... Which I think are exactly the same as one of the others anyway, so mneh.

Additionally:
\xff is stripped out of strings by some quakeworld clients and not others. This is a fun character to use as the only character in your name. It can also terminate strings prematurely in some other engines. Use with caution, or humour.
Spike
 
Posts: 2892
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Postby goldenboy » Fri Nov 28, 2008 7:44 pm

\bFBX\b.botname will bronze only the clantag. ;-)

t\b3\brror will bronze just the 3.
User avatar
goldenboy
 
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest