User:Fox/test/Definegametype

From EDukeWiki
Revision as of 00:58, 6 December 2009 by Fox (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.

Default values

Flag Value Dukematch Cooperative Dukematch (no spawn) Team Dukematch Team Dukematch (no spawn)
1 1 ? ? ? ? ?
2 2 ? ? ? ? ?
3 4 ? ? ? ? ?
4 8 ? ? ? ? ?
5 16 ? ? ? ? ?
6 32 ? ? ? ? ?
7 64 ? ? ? ? ?
8 128 ? ? ? ? ?
9 256 ? ? ? ? ?
10 512 ? ? ? ? ?
11 1024 ? ? ? ? ?
12 2048 ? ? ? ? ?
13 4096 ? ? ? ? ?
14 8192 ? ? ? ? ?
15 16384 ? ? ? ? ?
16 32768 ? ? ? ? ?
17 65536 ? ? ? ? ?