User:Fox/test/Definegametype
< User:Fox
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>
| Flag | Description | Value | Dukematch | Cooperative | Dukematch (no spawn) | Team Dukematch | Team Dukematch (no spawn) |
|---|---|---|---|---|---|---|---|
| 1 | Gametype is Cooperative like | 1 | ? | ? | ? | ? | ? |
| 2 | Weapons stay (like coop) | 2 | ? | ? | ? | ? | ? |
| 3 | Show frag bar (on top of the screen) | 4 | ? | ? | ? | ? | ? |
| 4 | Show scoresheet (in statusbar) | 8 | ? | ? | ? | ? | ? |
| 5 | Spawn the Deathmatch switches (switches with a spritepal other than 0) | 16 | ? | ? | ? | ? | ? |
| 6 | Use coop spawns | 32 | ? | ? | ? | ? | ? |
| 7 | Spawn accesscard sprites | 64 | ? | ? | ? | ? | ? |
| 8 | Allow coopview | 128 | ? | ? | ? | ? | ? |
| 9 | Activate coop sounds | 256 | ? | ? | ? | ? | ? |
| 10 | Show other players in map | 512 | ? | ? | ? | ? | ? |
| 11 | Items can respawn | 1024 | ? | ? | ? | ? | ? |
| 12 | Enable markers option | 2048 | ? | ? | ? | ? | ? |
| 13 | Enable friendly fire option | 4096 | ? | ? | ? | ? | ? |
| 14 | Fixed respawn | 8192 | ? | ? | ? | ? | ? |
| 15 | Players have all accesscards at spawn | 16384 | ? | ? | ? | ? | ? |
| 16 | Players keep their inventory even if they die | 32768 | ? | ? | ? | ? | ? |
| 16 | Gametype is Team Deathmatch like | 65536 | ? | ? | ? | ? | ? |
| 17 | Use TDM spawns | 131072 | ? | ? | ? | ? | ? |
<name>
Define the gametype name.