Setgamepalette: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
XTHX2 (talk | contribs)
No edit summary
Fox (talk | contribs)
No edit summary
 
(13 intermediate revisions by 7 users not shown)
Line 1: Line 1:
This command allows CON coders to switch between the palettes that Duke Nukem 3D uses. The palettes are located in TABLES.DAT. This command can take values between 0 and 6. An example of this would be;
{{Deprecated}}


setgamepalette 0
'''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.
 
See the [[Palette (environment)#Global Palettes|palette listing]] for previews and [[palette]] for the player structure member that this command modifies.
 
== Values ==
 
{{Basepals}}
 
[[Category:EDuke32 specific commands]]
[[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