Setgamepalette: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
This command allows CON coders to switch between the palettes that Duke Nukem 3D uses. The palettes are located in LOOKUP.DAT. This command can take values between 0 and 6. An example of this would be;
'''setgamepalette <pal_ID>'''


setgamepalette 0
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.


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)
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)
[[Category:EDuke32 specific commands]]
[[Category:Game manipulation]]

Revision as of 10:21, 31 August 2008

setgamepalette <pal_ID>

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.

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)