razoredge
Poring Head Knight
Posts: 183
Threads: 9
Joined: Jan 2006
|
RE: @main: Yellow or white.
Quote:Change main chat color
1. Find these lines:
/*===================================
* Main chat [LuzZza]
* Usage: @main <on|off|message>
*-----------------------------------
*/
int atcommand_main(
const int fd, struct map_session_data* sd,
const char* command, const char* message)
{2. Scroll down until you can see this:
sprintf(atcmd_output, msg_txt(386), sd->status.name, message);
// I use 0xFE000000 color for signalizing that this message is
// main chat message. 0xFE000000 is invalid color, same using
// 0xFF000000 for simple (not colored) GM messages. [LuzZza]
intif_announce(atcmd_output, strlen(atcmd_output) + 1, 0xFF000000, 0);3. Change the 0xFF000000 to any color you want, below are a few color example:
0x00FF00 = green
0xBA55D3 = purple
0xFF6347 = orange
0x70DBDB = cyan
is this what you need?
|
|
05-16-2007, 11:37 AM |
|
Bloody
Mmm Blood
Posts: 2,124
Threads: 205
Joined: Mar 2007
|
RE: @main: Yellow or white.
Keyword: Laptop.
Try playing on a laptop, and get the angle wrong by 1 degree and see the colors. /bigduh
|
|
05-16-2007, 11:46 AM |
|
DaN!eL
Ebil !!
Posts: 66
Threads: 3
Joined: Mar 2006
|
RE:??@main: Yellow or white.
Namine Wrote:Mr. Mardey, with main chat being yellow or white, it has nothing to do with the same green color for guild chat/exp+items... but Namine certainly understands what he means with the guild chat and all. Especially it's problematic when Mr. Ex talks about an item, and Namine is trying to look for that item at the same time. Is it just Mr. Ex mentioning the name of the item, or did she finally succeed in hunting for the item? Same green color does that...
|
|
05-16-2007, 06:05 PM |
|
|