Definegametype

From EDukeWiki
Revision as of 02:44, 21 April 2008 by Jblade (talk | contribs)
Jump to navigation Jump to search

definegametype <gametypenum> <flags> <name>

Define a new game type (like Deathmatch, Coop, ...) 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 spawns

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 respawn

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.