Difference between revisions of "Manual:color.lua"

From DoomRL Wiki

Jump to: navigation, search
(still need to add more, but a good start)
 
m (link to sIDs)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
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.
+
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 [[Modding:sID|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.
 
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.

Revision as of 03:16, 15 September 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 Associated With:
BLUE water (dark), combat shotgun, phase device, former commando, nightmare variants, John Carmack
GREEN acid (dark), envirosuit pack
CYAN plasma rifle, power cell
RED blood, bloodstone, lava (dark), chaingun, large med-pack, Large Health Globe, Berserk Pack, former captain, cacodemon, baron of hell, Angel of Death, Cyberdemon
MAGENTA unused
BROWN door, rocket launcher, rocket, pain elemental, mancubus
LIGHTGRAY wall/floor (light), pistol, 10mm ammo, former human
DARKGRAY wall/floor (dark), shotgun, shotgun shell, former sergeant
LIGHTBLUE water (light), homing phase device, Supercharge Globe
LIGHTGREEN acid (light), unique equipment, Arena Master
LIGHTCYAN teleporter, assembled equipment
LIGHTRED small med-pack, Small Health Globe, demon, bruiser brother
LIGHTMAGENTA exotic equipment, agony elemental
YELLOW lava (light), lost soul, arch-vile, lava elemental
WHITE lever, double shotgun, Invulnerability Globe, revenant, shambler
Personal tools