Template:ChatColor: Difference between revisions
imported>Konoko (historical) (→Colors) |
imported>Rugiel (historical) m (Added sample transparency image) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>__NOTOC__</noinclude> | |||
<!-- add noinclude for issue 13 changes --><noinclude> | |||
== Chat Colors == | == Chat Colors == | ||
All [[:Category:Communication Commands|communication commands]] will display a chat bubble, though not always for the sender. These chat bubbles can be customized using the ingame options, or on a per-message basis. | All [[:Category:Communication Commands|communication commands]] will display a chat bubble, though not always for the sender. These chat bubbles can be customized using the ingame options, or on a per-message basis. | ||
Line 4: | Line 6: | ||
To modify the default chat bubble colors, open the in game menu, then click on Options, then goto the Graphics and Audio tab. Scroll to the bottom and you will find the options for chat bubble text and background. Modify those sliders until you get the colors you like. | To modify the default chat bubble colors, open the in game menu, then click on Options, then goto the Graphics and Audio tab. Scroll to the bottom and you will find the options for chat bubble text and background. Modify those sliders until you get the colors you like. | ||
=== Per Message === | === Per Message === | ||
*<scale ''float''> or <s ''float''> | *<scale ''float''> or <s ''float''> | ||
**size of the chat bubble, from 0.5 to 2.0 (default is 1) | **size of the chat bubble, from 0.5 to 2.0 (default is 1) | ||
Line 18: | Line 19: | ||
''color'' can be practically any color name you can think of. The colors seem to follow the HTML naming scheme, and as such can be any of the colors listed on [http://www.w3schools.com/tags/ref_colornames.asp this color chart] (http://www.w3schools.com/). | ''color'' can be practically any color name you can think of. The colors seem to follow the HTML naming scheme, and as such can be any of the colors listed on [http://www.w3schools.com/tags/ref_colornames.asp this color chart] (http://www.w3schools.com/). | ||
The color chart also has the HEX values for those colors. If you add an extra set of hex characters, you can enable | [[Image:ChatBubbleGhostly.png|thumb|right]] The color chart also has the HEX values for those colors. If you add an extra set of hex characters, you can enable transparency. | ||
HEX values follow the format of #RRGGBB or # | HEX values follow the format of #RRGGBB or #RRGGBBAA. RR is the red value, GG is the green, and BB is blue, with AA being optional alpha (that is, transparency).<br /> | ||
{{color|#33CC00|#33CC00}} would be a solid color. {{color|#123456|#12345678}} would be a semi-transparent color, with 78 being how transparent the color is. | |||
HEX digits are 0123456789abcdef where 0 corresponds to darker in the scale and f to lighter | HEX digits are 0123456789abcdef where 0 corresponds to darker in the scale and f to lighter (darker=transparent, lighter=opaque) | ||
{{clr}} | {{clr}}<!-- add noinclude --></noinclude><noinclude> | ||
{{documentation}} | |||
</noinclude> |
Latest revision as of 23:14, 18 January 2009
Chat Colors
All communication commands will display a chat bubble, though not always for the sender. These chat bubbles can be customized using the ingame options, or on a per-message basis.
In Game Options
To modify the default chat bubble colors, open the in game menu, then click on Options, then goto the Graphics and Audio tab. Scroll to the bottom and you will find the options for chat bubble text and background. Modify those sliders until you get the colors you like.
Per Message
- <scale float> or <s float>
- size of the chat bubble, from 0.5 to 2.0 (default is 1)
- <bgcolor color> or <bg color> or <b color>
- background color
- <color color> or <c color>
- text color
- <bordercolor color> or <border color> or <bo color>
- border color
- <duration float> or <d float>
- Duration of the chat bubble in seconds, 1.0 to 20.0 (default is 7)
Colors
color can be practically any color name you can think of. The colors seem to follow the HTML naming scheme, and as such can be any of the colors listed on this color chart (http://www.w3schools.com/).
The color chart also has the HEX values for those colors. If you add an extra set of hex characters, you can enable transparency.
HEX values follow the format of #RRGGBB or #RRGGBBAA. RR is the red value, GG is the green, and BB is blue, with AA being optional alpha (that is, transparency).
#33CC00 would be a solid color. #12345678 would be a semi-transparent color, with 78 being how transparent the color is.
HEX digits are 0123456789abcdef where 0 corresponds to darker in the scale and f to lighter (darker=transparent, lighter=opaque)
Usage
For use on communication command articles.
ALERT!
Chat bubble color changes are broken as of Issue 13 launch
- From one of the programmers:
- The new SMF code converts < and > to < and > (which show as < and > in displayed text but don't get recognised as meaning 'this is a tag' internally in order to stop players from breaking other people's clients with bad tags or whatever. Unfortunately this means the text colouring doesn't work any more. Probably needs a better solution but not a high priority until the start of next year
See also
This article is a stub. You can help the Wiki by expanding it.