User:Fox/test/Definegametype: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
No edit summary
Fox (talk | contribs)
No edit summary
Line 17: Line 17:
| align=left | Gametype is Cooperative like
| align=left | Gametype is Cooperative like
| 1
| 1
| ?
| No
| ?
| Yes
| ?
| No
| ?
| No
| ?
| No
|- align=center valign=top
|- align=center valign=top
| 2
| 2
| align=left | Weapons stay (like coop)
| align=left | Weapons stay (like coop)
| 2
| 2
| ?
| No
| ?
| Yes
| ?
| No
| ?
| No
| ?
| No
|- align=center valign=top
|- align=center valign=top
| 3
| 3
| align=left | Show frag bar (on top of the screen)
| align=left | Show frag bar (on top of the screen)
| 4
| 4
| ?
| Yes
| ?
| No
| ?
| Yes
| ?
| Yes
| ?
| Yes
|- align=center valign=top
|- align=center valign=top
| 4
| 4
| align=left | Show scoresheet (in statusbar)
| align=left | Show scoresheet (in statusbar)
| 8
| 8
| ?
| Yes
| ?
| No
| ?
| Yes
| ?
| Yes
| ?
| Yes
|- align=center valign=top
|- align=center valign=top
| 5
| 5
| align=left | Spawn the Deathmatch switches (switches with a spritepal other than 0)
| align=left | Spawn the Deathmatch switches (switches with a spritepal other than 0)
| 16
| 16
| ?
| Yes
| ?
| No
| ?
| Yes
| ?
| Yes
| ?
| Yes
|- align=center valign=top
|- align=center valign=top
| 6
| 6
| align=left | Use coop spawns
| align=left | Use coop spawns
| 32
| 32
| ?
| No
| ?
| Yes
| ?
| No
| ?
| No
| ?
| No
|- align=center valign=top
|- align=center valign=top
| 7
| 7
| align=left | Spawn accesscard sprites
| align=left | Spawn accesscard sprites
| 64
| 64
| ?
| No
| ?
| Yes
| ?
| No
| ?
| No
| ?
| No
|- align=center valign=top
|- align=center valign=top
| 8
| 8
| align=left | Allow coopview
| align=left | Allow coopview
| 128
| 128
| ?
| No
| ?
| Yes
| ?
| No
| ?
| No
| ?
| No
|- align=center valign=top
|- align=center valign=top
| 9
| 9
Line 90: Line 90:
| 256
| 256
| ?
| ?
| ?
| Yes
| ?
| ?
| ?
| ?
Line 98: Line 98:
| align=left | Show other players in map
| align=left | Show other players in map
| 512
| 512
| ?
| No
| ?
| Yes
| ?
| No
| ?
| No
| ?
| No
|- align=center valign=top
|- align=center valign=top
| 11
| 11
| align=left | Items can respawn
| align=left | Items can respawn
| 1024
| 1024
| ?
| Yes
| ?
| No
| ?
| No
| ?
| Yes
| ?
| No
|- align=center valign=top
|- align=center valign=top
| 12
| 12
| align=left | Enable markers option
| align=left | Enable markers option
| 2048
| 2048
| ?
| Yes
| ?
| Yes
| ?
| No
| ?
| Yes (?)
| ?
| Yes (?)
|- align=center valign=top
|- align=center valign=top
| 13
| 13
| align=left | Enable friendly fire option
| align=left | Enable friendly fire option
| 4096
| 4096
| ?
| No
| ?
| Yes
| ?
| No
| ?
| Yes
| ?
| Yes
|- align=center valign=top
|- align=center valign=top
| 14
| 14
Line 143: Line 143:
| align=left | Players have all accesscards at spawn
| align=left | Players have all accesscards at spawn
| 16384
| 16384
| ?
| Yes
| ?
| No
| ?
| Yes
| ?
| Yes
| ?
| Yes
|- align=center valign=top
|- align=center valign=top
| 16
| 16
Line 161: Line 161:
| align=left | Gametype is Team Deathmatch like
| align=left | Gametype is Team Deathmatch like
| 65536
| 65536
| ?
| No
| ?
| No
| ?
| No
| ?
| Yes
| ?
| Yes
|- align=center valign=top
|- align=center valign=top
| 17
| 17
| align=left | Use TDM spawns
| align=left | Use TDM spawns
| 131072
| 131072
| ?
| No
| ?
| No
| ?
| No
| ?
| Yes
| ?
| Yes
|}
|}



Revision as of 01:31, 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>

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 spawns 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 ? Yes ? ? ?
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 (?) Yes (?)
13 Enable friendly fire option 4096 No Yes No Yes Yes
14 Fixed respawn 8192 ? ? ? ? ?
15 Players have all accesscards at spawn 16384 Yes No Yes Yes Yes
16 Players keep their inventory even if they die 32768 ? ? ? ? ?
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.