Difference between revisions of "Manual:color.lua"
From DoomRL Wiki
Game Hunter (Talk | contribs) m (new default colors based on 0994 settings) |
Game Hunter (Talk | contribs) 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]] | ||
− | |- | + | |- |
|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]] | ||
− | |- | + | |- |
|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]] | ||
− | |- | + | |- |
|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]] | ||
− | |- | + | |- |
|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]] | ||
− | |- | + | |- |
|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]] | ||
− | |- | + | |- |
|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]] | ||
− | |- | + | |- |
|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.