GAMEMODE: Difference between revisions
These changes aren't actually available in 3.2 yet. To save any confusion, I will remove them from this page until they are officially added.
DrinkyBird (talk | contribs) No edit summary Tag: Source edit |
(These changes aren't actually available in 3.2 yet. To save any confusion, I will remove them from this page until they are officially added.) Tag: Source edit |
||
Line 11: | Line 11: | ||
flagname1 = <true/false> | flagname1 = <true/false> | ||
flagname2 = <true/false> | flagname2 = <true/false> | ||
} | } | ||
Line 31: | Line 19: | ||
} | } | ||
=Flags = | =Flags= | ||
*''COOPERATIVE'' | *''COOPERATIVE'' | ||
Cooperative is a flag that distinguishes the coop modes ([[Game_Modes#Cooperative|Cooperative]], [[Game_Modes#Cooperative_Survival|Survival]], [[Game_Modes#Invasion|Invasion]]) from others game modes. | Cooperative is a flag that distinguishes the coop modes ([[Game_Modes#Cooperative|Cooperative]], [[Game_Modes#Cooperative_Survival|Survival]], [[Game_Modes#Invasion|Invasion]]) from others game modes. | ||
*''DEATHMATCH'' | *''DEATHMATCH'' | ||
Players are spawned at deathmatch starts (needs Zandronum 3.0 to work properly). | Players are spawned at deathmatch starts (needs Zandronum 3.0 to work properly). | ||
*''TEAMGAME'' | *''TEAMGAME'' | ||
Players are spawned at team starts (needs Zandronum 3.0 to work properly). | Players are spawned at team starts (needs Zandronum 3.0 to work properly). | ||
*''USEFLAGASTEAMITEM'' | *''USEFLAGASTEAMITEM'' | ||
Line 49: | Line 37: | ||
*''DONTSPAWNMAPTHINGS'' | *''DONTSPAWNMAPTHINGS'' | ||
Items and weapons aren't spawned (monsters are still spawned) | Items and weapons aren't spawned (monsters are still spawned) | ||
* ''MAPRESETS'' | *''MAPRESETS'' | ||
*''DEADSPECTATORS'' | *''DEADSPECTATORS'' | ||
*''PLAYERSONTEAMS'' | *''PLAYERSONTEAMS'' | ||
Display the team selection menu when pressing the spacebar (joining) | Display the team selection menu when pressing the spacebar (joining) | ||
*''USEMAXLIVES'' | *''USEMAXLIVES'' | ||
Line 60: | Line 48: | ||
=Properties= | =Properties= | ||
*''Name'' | *''Name'' | ||
The name of the game mode as it appears on the scoreboard, countdown screen, and server console window. | The name of the game mode as it appears on the scoreboard, countdown screen, and server console window. | ||
*''ShortName'' | *''ShortName'' | ||
Line 77: | Line 65: | ||
*[[LMSFlags#LMSAllowedWeapons|LMSAllowedWeapons]] | *[[LMSFlags#LMSAllowedWeapons|LMSAllowedWeapons]] | ||
*[[LMSFlags#LMSSpectatorSettings|LMSSpectatorSettings]] | *[[LMSFlags#LMSSpectatorSettings|LMSSpectatorSettings]] | ||
There are two different blocks that are used to initialize these flags, with different attributes: | There are two different blocks that are used to initialize these flags, with different attributes: | ||
Line 113: | Line 73: | ||
'''Note:''' loading another '''DefaultGameSettings''' or '''DefaultLockedGameSettings''' block in a subsequent GAMEMODE lump will reset all the flags and their attributes back to zero. | '''Note:''' loading another '''DefaultGameSettings''' or '''DefaultLockedGameSettings''' block in a subsequent GAMEMODE lump will reset all the flags and their attributes back to zero. | ||
This also works if you add these sub-blocks inside the '''DefaultGameSettings''' or '''DefaultLockedGameSettings''' blocks, which apply to all game modes. | This also works if you add these sub-blocks inside the '''DefaultGameSettings''' or '''DefaultLockedGameSettings''' blocks, which apply to all game modes. | ||
Line 127: | Line 81: | ||
*[[Game_Modes#Cooperative_Survival|Survival]] | *[[Game_Modes#Cooperative_Survival|Survival]] | ||
*[[Game_Modes#Invasion|Invasion]] | *[[Game_Modes#Invasion|Invasion]] | ||
* [[Game_Modes#Deathmatch|Deathmatch]] | *[[Game_Modes#Deathmatch|Deathmatch]] | ||
*[[Game_Modes#Team_Deathmatch|Teamplay]] | *[[Game_Modes#Team_Deathmatch|Teamplay]] | ||
*[[Game_Modes#Duel|Duel]] | *[[Game_Modes#Duel|Duel]] | ||
Line 136: | Line 90: | ||
*[[Game_Modes#Team_Possession|TeamPossession]] | *[[Game_Modes#Team_Possession|TeamPossession]] | ||
*[[Game_Modes#Team_Game|TeamGame]] | *[[Game_Modes#Team_Game|TeamGame]] | ||
*[[Game_Modes#Capture_the_Flag|CTF]] | *[[Game_Modes#Capture_the_Flag|CTF]] | ||
*[[Game_Modes#One_Flag_Capture_the_Flag|OneFlagCTF]] | *[[Game_Modes#One_Flag_Capture_the_Flag|OneFlagCTF]] | ||
*[[Game_Modes#Skull_Tag|Skulltag]] | *[[Game_Modes#Skull_Tag|Skulltag]] |