Register forum user name Search FAQ

Gammon Forum

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 ➜ Color Changes to Smaug 1.6

Color Changes to Smaug 1.6

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Dralnu   USA  (277 posts)  Bio
Date Fri 03 Jun 2005 01:48 AM (UTC)
Message
in color.c and color.h, it list alot of colors and their relastion to the game, but some won't work. Need I add the AT_SAY or whatever to the start of the code, i.e. do_say(ch, int, AT_SAY) or something like that to get it to use the respective color?
Top

Posted by Samson   USA  (683 posts)  Bio
Date Reply #1 on Fri 03 Jun 2005 02:08 AM (UTC)
Message
The color codes all work. It's just a matter of using them where they need to be used. Most of which already are. Stuff like AT_SAY is used in the calls to act() where the actual say message is sent to the people in a room.

Used like so:

act( AT_SAY, "You ask $N '$t'", ch, drunk_speech( argument, ch ), vic, TO_CHAR );
Top

Posted by Dralnu   USA  (277 posts)  Bio
Date Reply #2 on Fri 03 Jun 2005 02:11 AM (UTC)
Message
colors for the channels don't seem to change, though. I've changed AT_SAY twice, remade, rebooted, ect., and its still the same color, and I want to be able to change the default colors for the whole mud instead of just my char.
Top

Posted by Samson   USA  (683 posts)  Bio
Date Reply #3 on Fri 03 Jun 2005 11:28 AM (UTC)
Message
The color system in 1.6 is not setup to affect everyone on the mud. It's setup to affect each user according to their own preferences.
Top

Posted by Dralnu   USA  (277 posts)  Bio
Date Reply #4 on Fri 03 Jun 2005 03:25 PM (UTC)
Message
I understand that, but I want to alter the default colors to make them a little more defined. Alot of the colors look the same, and I'd just like to change default to look a little more like the original light blue/cyan.
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.


17,468 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.