Palette (environment): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 150: | Line 150: | ||
==EDuke32 Native== | ==EDuke32 Native== | ||
EDuke32 includes four [[DEF Language#fogpal|fog palettes]] starting at palette index 26. | EDuke32 includes four [[DEF Language#fogpal|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: | They are: |
Revision as of 12:43, 7 February 2010
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).