Jump to content

Palette (environment): Difference between revisions

From EDukeWiki
Line 38: Line 38:
! ID !! Image !! Effect !! Description
! ID !! Image !! Effect !! Description
|- valign=top
|- valign=top
| 0, 3, 9, 26+
| 0 <br /> 3 <br /> 9 <br /> 26+
| [[image:pala.png|48px]]
| [[image:pala.png|48px]]
| Normal
| Normal

Revision as of 01:10, 3 January 2011

Global Palettes

For use with setgamepalette:

ID Palette Image
0 Normal Error creating thumbnail: Unable to save thumbnail to destination
1 Underwater Error creating thumbnail: Unable to save thumbnail to destination
2 Night Vision Goggles
Submersible Slime
Error creating thumbnail: Unable to save thumbnail to destination
3 3D Realms Logo
(changed in v1.4)
Error creating thumbnail: Unable to save thumbnail to destination Error creating thumbnail: Unable to save thumbnail to destination
4 Title Screen Error creating thumbnail: Unable to save thumbnail to destination
5 Episode 1 Ending Error creating thumbnail: Unable to save thumbnail to destination
6 Intro Nuke Logo Animation Error creating thumbnail: Unable to save thumbnail to destination

Palette Swaps

For use with spritepal, pal, et cetera:

ID Image Effect Description
0
3
9
26+
Error creating thumbnail: Unable to save thumbnail to destination Normal Default color
Player 1 (ID 9)
1 Error creating thumbnail: Unable to save thumbnail to destination All blue Frozen creatures
Unavailable menu option
Blue lights
2 Error creating thumbnail: Unable to save thumbnail to destination All red Blood pool
Red lights
4 Error creating thumbnail: Unable to save thumbnail to destination Full black, even fullbrights Shadows
5 Error creating thumbnail: Unable to save thumbnail to destination Red to brown Brown Team (Duke-Tag) Exit Level Nuke
6 Error creating thumbnail: Unable to save thumbnail to destination All reverse green Night Vision Goggles heat
Protozoid Slimer, Protector Drone, and Alien Queen gibs
7 Error creating thumbnail: Unable to save thumbnail to destination All yellow Slime splash
Yellow/Brown lights
8 Error creating thumbnail: Unable to save thumbnail to destination All green Green lights
10 Error creating thumbnail: Unable to save thumbnail to destination Blue to dark red Player 2
11
22
Error creating thumbnail: Unable to save thumbnail to destination Blue to green Player 3 (ID 11)
Assault Trooper (ID 22)
12
18
Error creating thumbnail: Unable to save thumbnail to destination Blue to gray Player 4 (ID 12)
13 Error creating thumbnail: Unable to save thumbnail to destination Blue and red to dark gray Player 5
14 Error creating thumbnail: Unable to save thumbnail to destination Blue and red to dark green Player 6
Secret Exit Level Nuke
15 Error creating thumbnail: Unable to save thumbnail to destination Blue to brown Player 7
16 Error creating thumbnail: Unable to save thumbnail to destination Blue to dark blue Player 8
17 Error creating thumbnail: Unable to save thumbnail to destination Brown, green, orange and purple to blue
Blue to green
19 Error creating thumbnail: Unable to save thumbnail to destination Brown, green, orange and purple to red
Blue to green
20 Error creating thumbnail: Unable to save thumbnail to destination Brown, green, orange and purple to blue
Blue to gray
21 Error creating thumbnail: Unable to save thumbnail to destination Blue to red Red Key Card
Assault Captain
Mini Battlelord
23 Error creating thumbnail: Unable to save thumbnail to destination Blue to yellow Yellow Key Card
24 Error creating thumbnail: Unable to save thumbnail to destination Gray to red
Red to gray
25 Error creating thumbnail: Unable to save thumbnail to destination Green to red

EDuke32 Native

EDuke32 includes four fog palettes starting at palette index 26.

Note that lookup.dat can be modified to support more than 25 palette remaps for 8-bit sprites; in this case, the included fog palettes start wherever the first unused palette position is. For example, a modified copy of lookup.dat with 30 remaps instead of 25 would result in the fog palettes occupying indexes 31, 32, 33, and 34 instead of 26, 27, 28, and 29.

They are:

fogpal 26 63 63 63
fogpal 27 63 0 0
fogpal 28 0 63 0
fogpal 29 0 0 63

This gives the fog colors of white (26), red (27), green (28) and blue (29).