GAMEMODE: Difference between revisions

165 bytes removed ,  1 January 2023
Reword opening paragraph
(Updated GAMEMODE lump information up to 3.2-alpha.)
Tag: Source edit
(Reword opening paragraph)
Tag: Source edit
Line 1: Line 1:
This special lump allows the current SkullTag game modes to be reconfigured.  Such game modes can be Deathmatch, Duel, SkullTag, Capture the Flag, Possession, etc....
'''GAMEMODE''' is a special lump that allows mods to change the attributes of [[Zandronum]]'s existing [[Game modes|game modes]], and initialise and enforce certain settings when certain game modes are in use.
The hard coded game modes internally use a bunch of flags to configure certain stuff and to share code. The GAMEMODE lump allows you to alter the flags a game mode uses so that you can combine game mode traits. The syntax for the lump is as follows:
 
The full syntax of the lump is as such:
 
  GAMEMODENAME
  GAMEMODENAME
  {
  {