User:Fox/test/Definegametype: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
No edit summary
Fox (talk | contribs)
Line 55: Line 55:


{| {{simpletable}}
{| {{simpletable}}
! Flag !! Value !! Dukematch !! Cooperative !! Dukematch (no spawn) !! Team Dukematch !! Team Dukematch (no spawn)
! Flag !! Description !! Value !! Dukematch !! Cooperative !! Dukematch (no spawn) !! Team Dukematch !! Team Dukematch (no spawn)
|- align=center valign=top
|- align=center valign=top
| 1
| 1
| align=left | Gametype is Cooperative like
| 1
| 1
| ?
| ?
Line 66: Line 67:
|- align=center valign=top
|- align=center valign=top
| 2
| 2
| align=left | Weapons stay (like coop)
| 2
| 2
| ?
| ?
Line 74: Line 76:
|- align=center valign=top
|- align=center valign=top
| 3
| 3
| align=left | Show frag bar (on top of the screen)
| 4
| 4
| ?
| ?
Line 82: Line 85:
|- align=center valign=top
|- align=center valign=top
| 4
| 4
| align=left | Show scoresheet (in statusbar)
| 8
| 8
| ?
| ?
Line 90: Line 94:
|- align=center valign=top
|- align=center valign=top
| 5
| 5
| align=left | Spawn the Deathmatch switches (switches with a spritepal other than 0)
| 16
| 16
| ?
| ?
Line 98: Line 103:
|- align=center valign=top
|- align=center valign=top
| 6
| 6
| align=left | Use coop spawns
| 32
| 32
| ?
| ?
Line 106: Line 112:
|- align=center valign=top
|- align=center valign=top
| 7
| 7
| align=left | Spawn accesscard sprites
| 64
| 64
| ?
| ?
Line 114: Line 121:
|- align=center valign=top
|- align=center valign=top
| 8
| 8
| align=left | Allow coopview
| 128
| 128
| ?
| ?
Line 122: Line 130:
|- align=center valign=top
|- align=center valign=top
| 9
| 9
| align=left | Activate coop sounds
| 256
| 256
| ?
| ?
Line 130: Line 139:
|- align=center valign=top
|- align=center valign=top
| 10
| 10
| align=left | Show other players in map
| 512
| 512
| ?
| ?
Line 138: Line 148:
|- align=center valign=top
|- align=center valign=top
| 11
| 11
| align=left | Items can respawn
| 1024
| 1024
| ?
| ?
Line 146: Line 157:
|- align=center valign=top
|- align=center valign=top
| 12
| 12
| align=left | Enable markers option
| 2048
| 2048
| ?
| ?
Line 154: Line 166:
|- align=center valign=top
|- align=center valign=top
| 13
| 13
| align=left | Enable friendly fire option
| 4096
| 4096
| ?
| ?
Line 162: Line 175:
|- align=center valign=top
|- align=center valign=top
| 14
| 14
| align=left | Fixed respawn
| 8192
| 8192
| ?
| ?
Line 170: Line 184:
|- align=center valign=top
|- align=center valign=top
| 15
| 15
| align=left | Players have all accesscards at spawn
| 16384
| 16384
| ?
| ?
Line 178: Line 193:
|- align=center valign=top
|- align=center valign=top
| 16
| 16
| align=left | Players keep their inventory even if they die
| 32768
| 32768
| ?
| ?
| ?
| ?
| ?
|- align=center valign=top
| 16
| align=left | Gametype is Team Deathmatch like
| 65536
| ?
| ?
| ?
| ?
Line 186: Line 211:
|- align=center valign=top
|- align=center valign=top
| 17
| 17
| 65536
| align=left | Use TDM spawns
| 131072
| ?
| ?
| ?
| ?

Revision as of 01:10, 6 December 2009

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 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 ? ? ? ? ?