Setgamepalette: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
Fox (talk | contribs)
No edit summary
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
'''setgamepalette <pal_ID>'''
{{Deprecated}}


Switches between the palettes that Duke Nukem 3D uses. The palettes are located in LOOKUP.DAT. This command can take values between 0 and 6.
'''setgamepalette''' <pal_ID>


It sets the palette that the game uses to 0, the normal game palette. (Remember that these palettes include underwater palette, night vision palette etc. so this can be used to block them)
Switches between the special palettes that Duke Nukem 3D uses. The palettes are located in LOOKUP.DAT. This command can take values between 0 and 6.


palette
See the [[Palette (environment)#Global Palettes|palette listing]] for previews and [[palette]] for the player structure member that this command modifies.
0          normal
 
1          under water
== Values ==
2          night vision
 
3          looks horrible with tiles made for standard palette
{{Basepals}}
4          similar to normal with some colors changed
5          looks horrible with tiles made for standard palette
6          looks horrible with tiles made for standard palette


[[Category:EDuke32 specific commands]]
[[Category:EDuke32 specific commands]]
[[Category:Game manipulation]]
[[Category:Game manipulation]]

Latest revision as of 03:17, 29 August 2020

This feature is deprecated.
It's recommend not to use this feature.

setgamepalette <pal_ID>

Switches between the special palettes that Duke Nukem 3D uses. The palettes are located in LOOKUP.DAT. This command can take values between 0 and 6.

See the palette listing for previews and palette for the player structure member that this command modifies.

Values

Base palettes. Not to be confused with lookup palettes (such as sprite palette)

Exposed Value Label Description
No 0 BASEPAL
No 1 WATERPAL
No 2 SLIMEPAL
No 3 DREALMSPAL
No 4 TITLEPAL
No 5 ENDINGPAL
No 6 ANIMPAL
Defines
define BASEPAL                          0
define WATERPAL                         1
define SLIMEPAL                         2
define DREALMSPAL                       3
define TITLEPAL                         4
define ENDINGPAL                        5
define ANIMPAL                          6