Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ Changing the Default Colour Scheme - Help?
|
Changing the Default Colour Scheme - Help?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Seifz
(24 posts) Bio
|
| Date
| Fri 20 Feb 2004 04:13 AM (UTC) |
| Message
| I am currently using the 1.4a release of SMAUG and I haven't changed anything in the code except for adding two #defines to mud.h so that I could compile in Cygwin. Now, I want to change the default colour scheme because the one that SMAUG uses is... ugly. I know I can use the colorize module, but that only changes it for me and I want the defaults to change for everyone. So, I opened up mud.h and edited the following section to look like this:
#define AT_MAXCOLOR (AT_TOPCOLOR-AT_COLORBASE)
#if 0
#define AT_PLAIN AT_GREY
#define AT_ACTION AT_GREY
#define AT_SAY AT_LBLUE
#define AT_GOSSIP AT_DGREY
#define AT_YELL AT_LBLUE
#define AT_TELL AT_WHITE
#define AT_WHISPER AT_WHITE
#define AT_HIT AT_WHITE
#define AT_HITME AT_YELLOW
#define AT_IMMORT AT_BLUE
#define AT_HURT AT_RED
#define AT_FALLING AT_WHITE + AT_BLINK
#define AT_DANGER AT_RED + AT_BLINK
#define AT_MAGIC AT_BLUE
#define AT_CONSIDER AT_GREY
#define AT_REPORT AT_GREY
#define AT_POISON AT_GREEN
#define AT_SOCIAL AT_CYAN
#define AT_DYING AT_YELLOW
#define AT_DEAD AT_RED
#define AT_SKILL AT_GREY
#define AT_CARNAGE AT_BLOOD
#define AT_DAMAGE AT_WHITE
#define AT_FLEE AT_YELLOW
#define AT_RMNAME AT_WHITE
#define AT_RMDESC AT_GREY
#define AT_OBJECT AT_GREEN
#define AT_PERSON AT_PINK
#define AT_LIST AT_GREY
#define AT_BYE AT_GREEN
#define AT_GOLD AT_YELLOW
#define AT_GTELL AT_WHITE
#define AT_NOTE AT_GREEN
#define AT_HUNGRY AT_ORANGE
#define AT_THIRSTY AT_BLUE
#define AT_FIRE AT_RED
#define AT_SOBER AT_WHITE
#define AT_WEAROFF AT_YELLOW
#define AT_EXITS AT_BLUE
#define AT_SCORE AT_LBLUE
#define AT_RESET AT_DGREEN
#define AT_LOG AT_PURPLE
#define AT_DIEMSG AT_WHITE
#define AT_WARTALK AT_RED
#define AT_RACETALK AT_DGREEN
#define AT_IGNORE AT_GREEN
#define AT_DIVIDER AT_PLAIN
#define AT_MORPH AT_GREY
#endif
It's a long list, and those are the colours that I would like to use. So, I did a 'make clean' and then I did a 'make'. But the default colours are still the same ugly ones (for instance, Gossip is lblue instead of dgrey).
Am I skipping a step somewhere? Any help would be most appreciated.
Thanks in advance,
Seifz | | Top |
|
| Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Fri 20 Feb 2004 06:21 AM (UTC) |
| Message
| | I think there is a file in the system folder that it reads. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Seifz
(24 posts) Bio
|
| Date
| Reply #2 on Fri 20 Feb 2004 06:50 AM (UTC) |
| Message
| I had been looking at colors.dat but in Notepad, it looks like a big mess of... stuff. I opened it in vi though and I think that'll do what I want. Thanks again.
-Seifz | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
12,526 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top