CMPGNINFO
From ZDoom Wiki
(Redirected from CMPGNINF)
| | Warning: This feature is Skulltag specific, and is not compatible with ZDoom! To see all of Skulltag's specific features, see Skulltag features. |
CMPGNINF is a lump that lets the coder tell Skulltag what to do when it loads a certain map. It should be used in conjunction with MAPINFO. As with all Skulltag's special lumps, it requires opening and closing braces:
{
Properties...
}
Properties
The following properties can be used with CMPGNINF
- mapname
- The map name of the map you wish to define.
- fraglimit
- The default frag limit.
- timelimit
- The default time limit.
- pointlimit
- The default point (CTF etc) limit.
- duellimit
- The default amount of duels in a duel game.
- winlimit
- The default amount of wins required to end the map in a duel game.
- wavelimit
- The amount of waves in an invasion map.
- gamemode
- The game mode of the map. Can be either cooperative, survival, invasion, deathmatch, teamplay, duel, terminator, lastmanstanding, teamlms, possession, teampossession, teamgame, ctf, oneflagctf or skulltag.
- dmflags
- The set DMFlags of the map.
- dmflags2
- The set DMFlags2 of the map.
- compatflags
- The set Compatibility options of the map.
- playerteam
- The team the player is set to (Singleplayer only).
- mustwinallduels
- If non-zero the player has to win all duels to proceed to the next map.
- possessionholdtime
- The time the Possession Sphere has to be held in order to score a point.
- instagib
- If non-zero the game will be an Instagib match.
- buckshot
- If non-zero the game will be an Buckshot match.
- botteam
- botteam[<botnum>] = <integer> (0 = blue, 1 = red)
- bot
- bot[<botnum>] = <string> (bot name)
Example
| Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated. |

