Color255: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(acrolboctrcn)
m (Reverted edit of ElcamOnbas, changed back to last version by JeffLane)
Line 1: Line 1:
calich
{{note|This is not a C++ variable.}}
{{note|This is not a C++ variable.}}



Revision as of 01:22, 29 February 2008

Note.pngNote:This is not a C++ variable.

A string of three bytes (0-255) separated by spaces: RED GREEN BLUE

Examples

Red = "255 0 0"
Green = "0 255 0"
Blue = "0 0 255"
Orange = "255 128 0"

Hammer allows for integers (possibly strings and floats too) to be appended to the color255. This is used by light entities to store their brightness.