Inside3D!
     

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

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
Baker



Joined: 14 Mar 2006
Posts: 1538

PostPosted: Tue Nov 25, 2008 9:49 am    Post subject: FTEQCC and bronzing characters .. how? [/b ?] Reply with quote

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?
Back to top
View user's profile Send private message
Error
Inside3D Staff


Joined: 05 Nov 2004
Posts: 558
Location: VA, USA

PostPosted: Tue Nov 25, 2008 12:58 pm    Post subject: Reply with quote

trial and error works

and yes I believe it's the same as frikqcc
_________________
Inside3D : Knowledge Is Power
Darkplaces Documentation Wiki
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
CocoT



Joined: 14 Dec 2004
Posts: 599
Location: Belly-Gum

PostPosted: Tue Nov 25, 2008 6:41 pm    Post subject: Reply with quote

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


FrikQcc uses \b if I remember correctly Smile
_________________
http://www.planetcocot.net/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ceriux



Joined: 06 Sep 2008
Posts: 969
Location: Florida, USA

PostPosted: Tue Nov 25, 2008 6:58 pm    Post subject: Reply with quote

what is bronzing characters?
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
MeTcHsteekle



Joined: 15 May 2008
Posts: 397
Location: its a secret

PostPosted: Tue Nov 25, 2008 8:38 pm    Post subject: Reply with quote

makes letters bronze, like how the talk text looks
_________________
bah
Back to top
View user's profile Send private message AIM Address
Spike



Joined: 05 Nov 2004
Posts: 944
Location: UK

PostPosted: Tue Nov 25, 2008 9:14 pm    Post subject: Reply with quote

or was it \s

eesh
_________________
What's a signature?
Back to top
View user's profile Send private message Visit poster's website
FrikaC
Site Admin


Joined: 08 Oct 2004
Posts: 947

PostPosted: Tue Nov 25, 2008 9:19 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail
Spike



Joined: 05 Nov 2004
Posts: 944
Location: UK

PostPosted: Wed Nov 26, 2008 2:17 am    Post subject: Reply with quote

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.
_________________
What's a signature?
Back to top
View user's profile Send private message Visit poster's website
goldenboy



Joined: 05 Sep 2008
Posts: 310
Location: Kiel

PostPosted: Fri Nov 28, 2008 7:44 pm    Post subject: Reply with quote

\bFBX\b.botname will bronze only the clantag. Wink

t\b3\brror will bronze just the 3.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group