Template:ChatColor

From Unofficial Homecoming Wiki
Revision as of 18:07, 2 August 2007 by imported>Konoko (+wip and more notes on transparency)
Jump to navigation Jump to search

This could use a revamp/rewrite

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 tranparency.

HEX values follow the format of #RRGGBB or #RRGGBBTT.
 #33CC00 would be a solid color. #12345678 would be a semi-transparent color, with 78 being how transparent the color is.
#FF0000 is bright red. #FFFF0033 combines bright red and bright green to make bright yellow, and the 33 makes it slightly translucent.

HEX digits are 0123456789abcdef where 0 corresponds to darker in the scale and f to lighter (darker=transparent, lighter=opaque)