_spawnpoints 5\r
has weapons\r
cdtrack 5\r
- type dm 30 20\r
- type dom 200 20\r
- type rune 200 20\r
- type lms 9 20\r
- type arena 10 20\r
+ gametype dm // defaults: timelimit=20 pointlimit=30 leadlimit=0\r
+ gametype dom // defaults: timelimit=20 pointlimit=200 teams=2 leadlimit=0\r
+ gametype rune // defaults: timelimit=20 pointlimit=200 leadlimit=0\r
+ gametype lms // defaults: timelimit=20 lives=9 leadlimit=0\r
+ gametype arena // defaults: timelimit=20 pointlimit=10 leadlimit=0\r
\r
As I see, the menu autodetected that my map may be suitable for deathmatch,\r
domination, runematch, last man standing and arena. But I want the map to be\r
played in domination, deathmatch, team deathmatch, runematch only, and I also\r
-want different timelimits/fraglimits, so I will change the "type" lines to:\r
+want different timelimits/fraglimits, so I will change the "gametype" lines to:\r
\r
- type dom 100 15\r
- type rune 1000 25\r
- type dm 40 15\r
- type tdm 50 0 2\r
+ gametype dom pointlimit=100 timelimit=15\r
+ gametype rune pointlimit=1000 timelimit=25\r
+ gametype dm pointlimit=40 timelimit=15\r
+ gametype tdm pointlimit=50 timelimit=0 teams=2\r
\r
Also, while I am at it, I should fix the placeholders in the map description lines:\r
\r
\r
There's much more power in a mapinfo file. See Appendix A for more details.\r
\r
-Gametype | Syntax | Notes\r
-----------------+-------------------------------------------------------------------------------------+-------------------------------------------------------\r
-Deathmatch | type dm <fraglimit> <timelimit> |\r
-Team Deathmatch | type tdm <fraglimit> <timelimit> <teams> | 2, 3, or 4 teams\r
-Domination | type dom <pointlimit> <timelimit> | teams are set by the map's entities\r
-CTF | type ctf <pointlimit> <timelimit> <caplimit> | pointlimit if g_ctf_win_mode is 2, otherwise caplimit\r
-Runematch | type rune <pointlimit> <timelimit> |\r
-LMS | type lms <lives> <timelimit> |\r
-Arena | type arena <fraglimit> <timelimit> |\r
-Key Hunt | type kh <pointlimit> <timelimit> <teams> | 2, 3, or 4 teams\r
-Assault | type as <timelimit> | never uses points\r
-Onslaught | type ons <timelimit> | never uses points\r
-Race | type rc <timelimit> <qualifyingtimelimit> <laplimit> <teamlaplimit> | g_race_teams: teamlaplimit is used instead of laplimit\r
-CTS | type cts <timelimit> <skill> | never uses points\r
+Gametype | Syntax | Notes\r
+----------------+----------------------------------------------------------------------------------------------------------+-------------------------------------------------------\r
+Deathmatch | gametype dm [timelimit=...] [pointlimit=...] [leadlimit=...] |\r
+Team Deathmatch | gametype tdm [timelimit=...] [pointlimit=...] [teams=...] [leadlimit=...] | 2, 3, or 4 teams\r
+Domination | gametype dom [timelimit=...] [pointlimit=...] [teams=...] [leadlimit=...] | 2, 3, or 4 teams, only if map has no dom_team ents\r
+CTF | gametype ctf [timelimit=...] [pointlimit=...] [caplimit=...] [leadlimit=...] | pointlimit if g_ctf_win_mode is 2, otherwise caplimit\r
+Runematch | gametype rune [timelimit=...] [pointlimit=...] [leadlimit=...] |\r
+LMS | gametype lms [timelimit=...] [lives=...] [leadlimit=...] |\r
+Arena | gametype arena [timelimit=...] [pointlinit=...] [leadlimit=...] |\r
+Key Hunt | gametype kh [timelimit=...] [pointlimit=...] [teams=...] [leadlimit=...] | 2, 3, or 4 teams\r
+Assault | gametype as [timelimit=...] | never uses points\r
+Onslaught | gametype ons [timelimit=...] | never uses points\r
+Race | gametype rc [timelimit=...] [qualifying_timelimit=...] [laplimit=...] [teamlaplimit=...] [leadlimit=...] | g_race_teams: teamlaplimit is used instead of laplimit\r
+CTS | gametype cts [timelimit=...] [skill=...] | never uses points\r
+CA | gametype ca [timelimit=...] [pointlimit=...] [leadlimit=...] |\r
+Nexball | gametype dm [timelimit=...] [pointlimit=...] [leadlimit=...] |\r
\r
\r
===============\r
If your map contains the required entities for Domination, the menu will\r
automatically detect it for supporting Domination. To force the map to get\r
re-detected after you add such entities, delete the data/data/mapname.mapinfo\r
-file - or simply edit it to add the "type dom" line.\r
+file - or simply edit it to add the "gametype dom" line.\r
\r
\r
=========\r
If your map contains the required entities for CTF, the menu will automatically\r
detect it for supporting CTF. To force the map to get re-detected after you add\r
such entities, delete the data/data/mapname.mapinfo file - or simply edit it to\r
-add the "type ctf" line.\r
+add the "gametype ctf" line.\r
\r
==============\r
=V. Runematch=\r
If your map contains the required entities for Runematch, the menu will automatically\r
detect it for supporting Runematch. To force the map to get re-detected after you add\r
such entities, delete the data/data/mapname.mapinfo file - or simply edit it to\r
-add the "type rune" line.\r
+add the "gametype rune" line.\r
\r
==============\r
=VI. Race/CTS=\r
If your map contains the required entities for Race, the menu will automatically\r
detect it for supporting Race. To force the map to get re-detected after you add\r
such entities, delete the data/data/mapname.mapinfo file - or simply edit it to\r
-add the "type rc" line.\r
+add the "gametype rc" line.\r
\r
CTS maps do not use checkpoints with race_place set, so you can leave them out\r
for CTS maps.\r