Definegametype - EDukeWiki

# Definegametype

From EDukeWiki

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 (on top of the screen)
  8 - Show scoresheet (in statusbar)
  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 - Enable friendly fire option
  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)

Retrieved from "http://wiki.eduke32.com/w/index.php?title=Definegametype&oldid=11663"
Categories:

- EDuke32 specific commands
- Game manipulation