Setgamepalette: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
One (talk | contribs)
No edit summary
prettytable, content update
Line 1: Line 1:
'''setgamepalette''' <pal_ID>
'''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.
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.


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)
{| {{prettytable}}
 
!Name!!Number!!Notes!!
palette<br/>
|-
0 - normal<br/>
|Normal
1 - under water<br/>
|align="right"|'''0'''
2 - night vision<br/>
|
3 - 3D Realms screen - looks horrible with tiles made for standard palette<br/>
|-
4 - title screen - similar to normal with fullbright colors changed<br/>
|Underwater
5 - episode 1 ending - looks horrible with tiles made for standard palette<br/>
|align="right"|'''1'''
6 - ??? - looks horrible with tiles made for standard palette<br/>
|Has a slight blue tint.
 
|-
note:  the last palettes are used for the title screen and ending screens
|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]]

Revision as of 17:14, 6 August 2009

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.

Name Number Notes
Normal 0
Underwater 1 Has a slight blue tint.
Night Vision / Slime 2 Has a slight green tint.
3D Realms Screen 3 Looks horrible with tiles made for standard palette. This varies between different versions of the game.
Title Screen 4 Similar to normal, with yellow, purple, and fullbright colors changed.
Episode 1 Ending 5 Looks horrible with tiles made for standard palette.
Intro Animation 6 Looks horrible with tiles made for standard palette.