Forum

> > CS2D > General > Briefing colour codes
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Briefing colour codes

18 replies
To the start Previous 1 Next To the start

old Briefing colour codes

Banaan
User Off Offline

Quote
In the briefing of maps like de_dust, I saw that colours were being used. I opened the briefing in Notepad and found some colour codes. What I'd like to know is if there are also other colour codes for totally different colours, and if so, where can I find them?

old Re: Briefing colour codes

DC
Admin Off Offline

Quote
the color codes work this way

©RRRGGGBBB

RRR=000-255 red value
GGG=000-255 green value
BBB=000-255 blue value

000 means nothing of this color, 255 maximum of this color.

©000000000 = black (no color)
©255255255 = white (max color)
©255000000 = red
©000255000 = green
©000000255 = blue
©255255000 = yellow (max red + max green mixed)
©000000100 = dark blue
©050050050 = very dark gray

and so on.
you can create every color by mixing these three colors.

old Re: Briefing colour codes

Banaan
User Off Offline

Quote
Sorry I forgot to give some explanation.

I can't open a .DLL file I need to open the .exe file
My computer just sucks so bad I can't even open the simplest files on it because of the missing .DLL file.
I can't even open CS2D on this computer I need my other one for that!

So I'm sorry about the misunderstanding I caused.

(Still not tried it I probably won't until tomorrow cause we've got some visitors)

old Re: Briefing colour codes

Lee
Moderator Off Offline

Quote
Schinken has written
ok i give you first the dl link for the German text color maker(English is in work!)

ok here is the translated .....

http://fshare.de/download/0000004685/color%20code%20maker.exe

(it's for lua too)
(sory my english is very bad!)


Make sure you remember to check the character input in the RBG text boxes. Also, remember that people are more likely to use 1 then 001 when entering their code.

old Re: Briefing colour codes

Banaan
User Off Offline

Quote
Ok works fine thanx!

Only the player/server display doesn't work with me, or have I missed something that I should do first?

I've just copied the code and pasted it in my console, or should I do something else?

old Re: Briefing colour codes

TimeQuesT
User Off Offline

Quote
you must put it in a lua file like that
1
2
3
4
5
6
7
8
9
addhook ("say","sayit")
function sayit (txt,id)
if (txt=="show it to me!") then 
'only player 
msg2 (id,"©255255255 you text here!@C")
'all (server
msg ("©255255255 you text here!@C")
end
end

old Re: Briefing colour codes

Lee
Moderator Off Offline

Quote
Schinken has written
you must put it in a lua file like that
1
2
3
4
5
6
7
8
9
addhook ("say","sayit")
function sayit (txt,id)
if (txt=="show it to me!") then 
'only player 
msg2 (id,"©255255255 you text here!@C")
'all (server
msg ("©255255255 you text here!@C")
end
end


Remember that the parameters for the say hook is

function(ID, Text)
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview