Template:ChatColor

From Homecoming Wiki
Revision as of 18:10, 2 August 2007 by imported>Konoko (historical) (→‎Colors: better colors)
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. RR is the red value, GG is the green, and BB is blue, with TT being optional 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)