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