Setgamepalette: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
prettytable, content update
Fox (talk | contribs)
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Deprecated}}
'''setgamepalette''' <pal_ID>
'''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.
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.


{| {{prettytable}}
See the [[Palette (environment)#Global Palettes|palette listing]] for previews and [[palette]] for the player structure member that this command modifies.
!Name!!Number!!Notes!!
 
|-
== Values ==
|Normal
 
|align="right"|'''0'''
{{Basepals}}
|
|-
|Underwater
|align="right"|'''1'''
|Has a slight blue tint.
|-
|Night Vision / Slime
|align="right"|'''2'''
|Has a slight green tint.
|-
|3D Realms Screen
|align="right"|'''3'''
|Looks horrible with tiles made for standard palette. This varies between different versions of the game.
|-
|Title Screen
|align="right"|'''4'''
|Similar to normal, with yellow, purple, and fullbright colors changed.
|-
|Episode 1 Ending
|align="right"|'''5'''
|Looks horrible with tiles made for standard palette.
|-
|Intro Animation
|align="right"|'''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