Difference between revisions of "Manual:color.lua"

From DoomRL Wiki

Jump to: navigation, search
m (new default colors based on 0994 settings)
m (added color ID #s)
Line 7: Line 7:
 
{|
 
{|
 
! scope="col" align="left"                  | Color
 
! scope="col" align="left"                  | Color
 +
! scope="col" align="left"                  | ID #
 
! scope="col" align="left" cell-padding="2ex"| Associated With:
 
! scope="col" align="left" cell-padding="2ex"| Associated With:
|-style="background:#333"
+
|- style="background:#333"
 +
|BLACK
 +
|0
 +
|Background color for every object
 +
|-
 
|BLUE
 
|BLUE
 +
|1
 
|[[Fluids|water]] (dark), [[combat shotgun]], [[phase device]], [[former commando]], [[enemies#nightmare enemies|nightmare variants]], [[John Carmack]]
 
|[[Fluids|water]] (dark), [[combat shotgun]], [[phase device]], [[former commando]], [[enemies#nightmare enemies|nightmare variants]], [[John Carmack]]
|-
+
|- style="background:#333"
 
|GREEN
 
|GREEN
 +
|2
 
|[[Fluids|acid]] (dark), [[envirosuit pack]]
 
|[[Fluids|acid]] (dark), [[envirosuit pack]]
|-style="background:#333"
+
|-
 
|CYAN
 
|CYAN
 +
|3
 
|[[plasma rifle]], [[power cell]]
 
|[[plasma rifle]], [[power cell]]
|-
+
|- style="background:#333"
 
|RED
 
|RED
 +
|4
 
|blood, bloodstone, [[Fluids|lava]] (dark), [[large med-pack]], [[Large Health Globe]], [[Berserk Pack]],  [[cacodemon]], [[Angel of Death]]
 
|blood, bloodstone, [[Fluids|lava]] (dark), [[large med-pack]], [[Large Health Globe]], [[Berserk Pack]],  [[cacodemon]], [[Angel of Death]]
|-style="background:#333"
+
|-
 
|MAGENTA
 
|MAGENTA
 +
|5
 
|unused
 
|unused
|-
+
|- style="background:#333"
 
|BROWN
 
|BROWN
 +
|6
 
|door, [[rocket launcher]], [[rocket]], [[pain elemental]], [[mancubus]], [[Cyberdemon]]
 
|door, [[rocket launcher]], [[rocket]], [[pain elemental]], [[mancubus]], [[Cyberdemon]]
|-style="background:#333"
+
|-
 
|LIGHTGRAY
 
|LIGHTGRAY
 +
|7
 
|wall/floor (light), [[pistol]], [[10mm ammo]], [[former human]]
 
|wall/floor (light), [[pistol]], [[10mm ammo]], [[former human]]
|-
+
|- style="background:#333"
 
|DARKGRAY
 
|DARKGRAY
 +
|8
 
|wall/floor (dark), [[shotgun]], [[shotgun shell]], [[former sergeant]]
 
|wall/floor (dark), [[shotgun]], [[shotgun shell]], [[former sergeant]]
|-style="background:#333"
+
|-
 
|LIGHTBLUE
 
|LIGHTBLUE
 +
|9
 
|[[Fluids|water]] (light), [[homing phase device]], [[Supercharge Globe]]
 
|[[Fluids|water]] (light), [[homing phase device]], [[Supercharge Globe]]
|-
+
|- style="background:#333"
 
|LIGHTGREEN
 
|LIGHTGREEN
 +
|10
 
|[[Fluids|acid]] (light), [[Specials|unique equipment]], [[Arena Master]]
 
|[[Fluids|acid]] (light), [[Specials|unique equipment]], [[Arena Master]]
|-style="background:#333"
+
|-
 
|LIGHTCYAN
 
|LIGHTCYAN
 +
|11
 
|teleporter, [[Assemblies|assembled equipment]]
 
|teleporter, [[Assemblies|assembled equipment]]
|-
+
|- style="background:#333"
 
|LIGHTRED
 
|LIGHTRED
 +
|12
 
|[[chaingun]], [[small med-pack]], [[Small Health Globe]], [[former captain]], [[bruiser brother]]
 
|[[chaingun]], [[small med-pack]], [[Small Health Globe]], [[former captain]], [[bruiser brother]]
|-style="background:#333"
+
|-
 
|LIGHTMAGENTA
 
|LIGHTMAGENTA
 +
|13
 
|[[Specials|exotic equipment]], [[demon]], [[baron of hell]], [[agony elemental]]
 
|[[Specials|exotic equipment]], [[demon]], [[baron of hell]], [[agony elemental]]
|-
+
|- style="background:#333"
 
|YELLOW
 
|YELLOW
 +
|14
 
|[[Fluids|lava]] (light), [[lost soul]], [[arch-vile]], [[lava elemental]]
 
|[[Fluids|lava]] (light), [[lost soul]], [[arch-vile]], [[lava elemental]]
|-style="background:#333"
+
|-
 
|WHITE
 
|WHITE
 +
|15
 
|lever, [[double shotgun]], [[Invulnerability Globe]], [[revenant]], [[shambler]]
 
|lever, [[double shotgun]], [[Invulnerability Globe]], [[revenant]], [[shambler]]

Revision as of 19:02, 11 October 2011

All game tiles are associated with a particular color. While these are automatically set on a per-object basis, color.lua grants you the option to customize these tiles however you like, using the sID.

As color.lua itself is rather small (given that all objects have a predetermined color in the source code), this page seeks to fully explain as much about color customization as possible.

Color Definitions

Color ID # Associated With:
BLACK 0 Background color for every object
BLUE 1 water (dark), combat shotgun, phase device, former commando, nightmare variants, John Carmack
GREEN 2 acid (dark), envirosuit pack
CYAN 3 plasma rifle, power cell
RED 4 blood, bloodstone, lava (dark), large med-pack, Large Health Globe, Berserk Pack, cacodemon, Angel of Death
MAGENTA 5 unused
BROWN 6 door, rocket launcher, rocket, pain elemental, mancubus, Cyberdemon
LIGHTGRAY 7 wall/floor (light), pistol, 10mm ammo, former human
DARKGRAY 8 wall/floor (dark), shotgun, shotgun shell, former sergeant
LIGHTBLUE 9 water (light), homing phase device, Supercharge Globe
LIGHTGREEN 10 acid (light), unique equipment, Arena Master
LIGHTCYAN 11 teleporter, assembled equipment
LIGHTRED 12 chaingun, small med-pack, Small Health Globe, former captain, bruiser brother
LIGHTMAGENTA 13 exotic equipment, demon, baron of hell, agony elemental
YELLOW 14 lava (light), lost soul, arch-vile, lava elemental
WHITE 15 lever, double shotgun, Invulnerability Globe, revenant, shambler
Personal tools