Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

Difference between revisions of "cl color"

From Quake Wiki

(New page: {{Infobox Console variable |name=_cl_color |default-value=0 |saved-to-config=yes }} This cvar holds the client's colors, as set by the color command. It is sent to the server on signo...)
 
m
Line 1: Line 1:
 +
{{underscore-lowercase-underscores}}
 
{{Infobox Console variable
 
{{Infobox Console variable
 
|name=_cl_color
 
|name=_cl_color

Revision as of 23:53, 30 October 2007

Template:underscore-lowercase-underscores

_cl_color
Default value: "0"
Saved to config.cfg: yes

This cvar holds the client's colors, as set by the color command. It is sent to the server on signon, and should never be set directly by the user. Use the color command instead. _cl_color is actually the combined value of both the pants and shirt color, using an equations similar to this:

color = shirtcolor * 16 + pantscolor;

This combined color value is the same used for the SVC_UPDATECOLORS message.


Console
List of console variables | List of console commands