Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
Editing Quake palette
From Quake Wiki
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | [[Image:Qpalette.png|right|thumb|The Quake palette.]] | + | __NOTOC__[[Image:Qpalette.png|right|thumb|The Quake palette.]] |
− | |||
− | |||
− | |||
− | |||
− | |||
{|style="color:white;font-weight:bold;font-size:8pt;text-align:center;" cellspacing="0" cellpadding="2" | {|style="color:white;font-weight:bold;font-size:8pt;text-align:center;" cellspacing="0" cellpadding="2" | ||
|- | |- | ||
Line 297: | Line 292: | ||
|} | |} | ||
+ | Color 255 is transparent for sprites, 2d lmps, and gfx.wad entries (excluding [[conchars]], in which case it is black (color 0) that's made transparent). It is important that palette index 0 is black. The parameters for the [[color]] console command are the row #, but is restricted to rows 0 - 13. | ||
+ | It is important that the latter 8 palette rows are "backwards" (light-to-dark instead of dark-to-light). It appears that the [[id Software|ID]] artists did this for no good reason in the original Quake palette, and the engine programmers were forced to add a hack to accommodate it (along with the comment "the artists made some backwards ranges. sigh"). The only area this affects is player shirt/pants color translation (where one palette row must be mapped to another). | ||
=== palette.lmp === | === palette.lmp === |