Map Database  •  FAQ  •  RSS  •  Login

KaM Remake chat color markup

<<

Lewin

User avatar

KaM Remake Developer

Posts: 3822

Joined: 16 Sep 2007, 22:00

KaM Skill Level: Skilled

ICQ: 269127056

Website: http://lewin.hodgman.id.au

Yahoo Messenger: lewinlewinhodgman

Location: Australia

Post 17 Apr 2014, 14:19

KaM Remake chat color markup

Someone sent me a PM asking how the chat color markup works, so I thought I'd write a quick guide. For those of you who don't know you can make chat text colored by using markup:
  Code:
This text is normal colored, but [$0000FF]this text is red[], except for this last bit which is normal colored too.
[$123456] sets the color for text following it to the color code 123456 (I'll explain that in a moment), and [] resets the color back to default.

The color code is kind of like in HTML but reversed. It has three sections: Blue, Green and Red:
BBGGRR
The each of these three codes are in hexadecimal (base 16, unlike base 10 which we usually use). In hexadecimal FF is the highest number you can represent with 2 digits (like our 99). So:
[$FF0000] is full blue
[$00FF00] is full green
[$0000FF] is full red

An easier way to pick a color is to use this website:
http://www.colorpicker.com/
But that site is for RRGGBB (we use BBGGRR), so you must swap the red and blue digits. For example if you chose the orange color E37512 from the site, to use that in the KaM Remake you swap the first 2 and last 2 digits which gives you: 1275E3.
<<

Ben

User avatar

Former Site Admin

Posts: 3814

Joined: 08 Jan 2009, 23:00

Location: California - Pacific Time (UTC -8/-7 Summer Time)

Post 17 Apr 2014, 14:46

Re: KaM Remake chat color markup

I should delete this thread. This is supposed to be a secret!! :(

Nah just kidding. Jeronimo should be happy :P
I used to spam this forum so much...
<<

KaMRemakefan

User avatar

Warrior

Posts: 120

Joined: 29 Aug 2013, 13:53

KaM Skill Level: Average

Website: http://www.youtube.com/user/KaMRemakechannel

Location: The Netherlands

Post 17 Apr 2014, 15:43

Re: KaM Remake chat color markup

Thanks for help Lewin!
Ben shut up and make shoutcasts :mrgreen:
KaMRemakefan is a fanchannel on youtube of the game KaM Remake,
click on the link here below to go the fanchannel.
<<

pawel95

Castle Guard Swordsman

Posts: 1912

Joined: 03 Oct 2008, 22:00

KaM Skill Level: Skilled

Location: "Pawel95" on Youtube.com

Post 17 Apr 2014, 15:54

Re: KaM Remake chat color markup

I should delete this thread. This is supposed to be a secret!! :(

Nah just kidding. Jeronimo should be happy :P
Better delete it. It´s not about the secret that I won´t have anymore, but the fact that Abuuuuuuuuuuuuusers will have one more thing they can actually do :'(
<<

Ben

User avatar

Former Site Admin

Posts: 3814

Joined: 08 Jan 2009, 23:00

Location: California - Pacific Time (UTC -8/-7 Summer Time)

Post 17 Apr 2014, 16:20

Re: KaM Remake chat color markup

And I can't even edit those chat lines! At least around here, the abuse can be trimmed down on (even if it is by a fellow abuser, himself :D)!
I used to spam this forum so much...
<<

Krom

User avatar

Knights Province Developer

Posts: 3280

Joined: 09 May 2006, 22:00

KaM Skill Level: Fair

Location: Russia

Post 17 Apr 2014, 16:56

Re: KaM Remake chat color markup

We have that info in our wiki as well ;)
https://code.google.com/p/castlesand/wiki/TextColor
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
<<

Tiank

User avatar

Knight

Posts: 592

Joined: 15 Sep 2013, 13:11

KaM Skill Level: Skilled

Location: Poland

Post 17 Apr 2014, 18:21

Re: KaM Remake chat color markup

Now, when it's on wiki, there's no escape... Chat's gonna be like rainbow...
Without honour, victory is hollow.
<<

Krom

User avatar

Knights Province Developer

Posts: 3280

Joined: 09 May 2006, 22:00

KaM Skill Level: Fair

Location: Russia

Post 18 Apr 2014, 04:15

Re: KaM Remake chat color markup

It was on wiki for the whole year now ;)
Still is used only for server names and script texts )
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
<<

Lewin

User avatar

KaM Remake Developer

Posts: 3822

Joined: 16 Sep 2007, 22:00

KaM Skill Level: Skilled

ICQ: 269127056

Website: http://lewin.hodgman.id.au

Yahoo Messenger: lewinlewinhodgman

Location: Australia

Post 18 Apr 2014, 13:43

Re: KaM Remake chat color markup

Ah I didn't know it was on the wiki. That's a better place for it really.

Return to “General / Questions”

Who is online

Users browsing this forum: Google [Bot] and 9 guests