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 57: Line 57:
! Flag !! Value !! Dukematch !! Cooperative !! Dukematch (no spawn) !! Team Dukematch !! Team Dukematch (no spawn)
! Flag !! Value !! Dukematch !! Cooperative !! Dukematch (no spawn) !! Team Dukematch !! Team Dukematch (no spawn)
|- align=center valign=top
|- align=center valign=top
|1
| 1
|1
| 1
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|- align=center valign=top
|- align=center valign=top
|2
| 2
|2
| 2
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|- align=center valign=top
|- align=center valign=top
|3
| 3
|4
| 4
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|- align=center valign=top
|- align=center valign=top
|4
| 4
|8
| 8
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|- align=center valign=top
|- align=center valign=top
|5
| 5
|16
| 16
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|- align=center valign=top
|- align=center valign=top
|6
| 6
|32
| 32
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|- align=center valign=top
|- align=center valign=top
|7
| 7
|64
| 64
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|- align=center valign=top
|- align=center valign=top
|8
| 8
|128
| 128
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|- align=center valign=top
|- align=center valign=top
|9
| 9
|256
| 256
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|- align=center valign=top
|- align=center valign=top
|10
| 10
|512
| 512
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|- align=center valign=top
|- align=center valign=top
|11
| 11
|1024
| 1024
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|- align=center valign=top
|- align=center valign=top
|12
| 12
|2048
| 2048
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|- align=center valign=top
|- align=center valign=top
|13
| 13
|4096
| 4096
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|- align=center valign=top
|- align=center valign=top
|14
| 14
|8192
| 8192
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|- align=center valign=top
|- align=center valign=top
|15
| 15
|16384
| 16384
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|- align=center valign=top
|- align=center valign=top
|16
| 16
|32768
| 32768
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|- align=center valign=top
|- align=center valign=top
|17
| 17
|65536
| 65536
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|?
| ?
|}
|}


<!--[[Category:EDuke32 specific commands]]
<!--[[Category:EDuke32 specific commands]]
[[Category:Game manipulation]]-->
[[Category:Game manipulation]]-->

Revision as of 00:59, 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 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 ? ? ? ? ?