Definegametype
definegametype <gametypenum> <flags> <name>
Define a new game type available in multiplayer.
<gametypenum>
Define the gametype number. Numbers 0-4 are already defined. Maximum is 16.
<flags>
- 1 - Gametype is Cooperative like
- 2 - Weapons stay (like coop)
- 4 - Show frag bar (in statusbar)
- 8 - Show scoresheet (when a deathmatch game ends)
- 16 - Spawn the Deathmatch switches (switches with a spritepal other than 0)
- 32 - Use coop player start points
- 64 - Spawn accesscard sprites
- 128 - Allow coopview
- 256 - Activate coop sounds
- 512 - Show other players in map
- 1024 - Items can respawn
- 2048 - Enable markers option
- 4096 - All players are considered friendly
- 8192 - Fixed player start position
- 16384 - Players have all accesscards at spawn
- 32768 - Players keep their inventory even if they die
- 65536 - Gametype is Team Deathmatch like
- 131072 - Use TDM spawns
<name>
Define the gametype name.
Default values
- definegametype 0 19480 Dukematch
- definegametype 1 46051 Cooperative
- definegametype 2 16410 Dukematch (no spawn)
- definegametype 3 216088 Team Dukematch
- definegametype 4 213018 Team Dukematch (no spawn)