2dcol (DEF): Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
No edit summary
Fox (talk | contribs)
No edit summary
 
Line 1: Line 1:
'''2dcol''' <colornum> <red> <green> <blue>
<span {{code}}>'''2dcol''' <colornum> <red> <green> <blue><span>


'''2dcol''' is a definition of a color to be used in the 2D mode of [[Mapster32]], in conjunction with '''spritecol''' that works similarly to '''tint''' and '''definetint'''. <colornum> is a unique identifier, similar to [[define|defines]] and [[gamevar|gamevars]]. <red>, <green>, and <blue> are the RGB color values that are mixed together to get your custom color.
'''2dcol''' is a definition of a color to be used in the 2D mode of [[Mapster32]], in conjunction with '''spritecol''' that works similarly to '''tint''' and '''definetint'''. <colornum> is a unique identifier, similar to [[define|defines]] and [[gamevar|gamevars]]. <red>, <green>, and <blue> are the RGB color values that are mixed together to get your custom color.

Latest revision as of 06:43, 23 February 2020

2dcol <colornum> <red> <green> <blue>

2dcol is a definition of a color to be used in the 2D mode of Mapster32, in conjunction with spritecol that works similarly to tint and definetint. <colornum> is a unique identifier, similar to defines and gamevars. <red>, <green>, and <blue> are the RGB color values that are mixed together to get your custom color.

Certain low values are already hard-coded, and redefining them will change colors of the default layout. If you know the correct value, you can replace the default colors used for all the sprites. You truly have the power to customize Mapster32. Lime green 2D mode background, anyone?

See also spritecol.