Palette (environment): Difference between revisions
Jump to navigation
Jump to search
Line 38: | Line 38: | ||
! ID !! Image !! Effect !! Description | ! ID !! Image !! Effect !! Description | ||
|- valign=top | |- valign=top | ||
| 0 | | 0 <br /> 3 <br /> 9 <br /> 26+ | ||
| [[image:pala.png|48px]] | | [[image:pala.png|48px]] | ||
| Normal | | Normal |
Revision as of 00:10, 3 January 2011
Global Palettes
For use with setgamepalette:
ID | Palette | Image |
---|---|---|
0 | Normal | |
1 | Underwater | |
2 | Night Vision Goggles Submersible Slime |
|
3 | 3D Realms Logo (changed in v1.4) |
|
4 | Title Screen | |
5 | Episode 1 Ending | |
6 | Intro Nuke Logo Animation |
Palette Swaps
For use with spritepal, pal, et cetera:
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).