Jump to content

Fogpal (DEF): Difference between revisions

From EDukeWiki
Fox (talk | contribs)
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
'''fogpal''' <palette number> <red> <green> <blue>
<span {{code}}>'''fogpal''' <palette number> <red> <green> <blue></span>


'''fogpal''' defines a palette a sector-based fog effect. To use it, change the pal of your sector to the pal defined with '''fogpal'''.
'''fogpal''' defines a palette a sector-based fog effect. To use it, change the pal of your sector to the pal defined with '''fogpal'''.


Intensities range from 0-63. Palettes 26, 27, 28 and 29 are pre-defined for you as white, red, green and blue respectively. Sector visibility controls fog density.
Intensities range from 0-63. Palettes 26, 27, 28 and 29 are pre-defined for you as white, red, green and blue respectively. Sector visibility controls fog density.
The [[palookup (DEF)|palookup]] token has a subtoken also named ''fogpal'' which offers the same or more functionality, but as part of an overall more powerful command.


[[Category:DEF commands]]
[[Category:DEF commands]]
[[Category:Palette editing]]

Latest revision as of 21:02, 10 March 2026

fogpal <palette number> <red> <green> <blue>

fogpal defines a palette a sector-based fog effect. To use it, change the pal of your sector to the pal defined with fogpal.

Intensities range from 0-63. Palettes 26, 27, 28 and 29 are pre-defined for you as white, red, green and blue respectively. Sector visibility controls fog density.

The palookup token has a subtoken also named fogpal which offers the same or more functionality, but as part of an overall more powerful command.