]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - Docs/mapping.txt
Restore yet another weird path in SDL lib configs
[xonotic/xonotic.git] / Docs / mapping.txt
index 98dac9a0cdaebdd0c7bd8cfe0fc8e95b7d66a4a1..5ab3e356c2a97148bf875803a0aba3c7bb16772a 100644 (file)
@@ -8,10 +8,8 @@ there's much more available.
 \r
 Table of Contents\r
 -----------------\r
-I        Map Lists & Scripts\r
+I        Map Settings\r
          (get your map listed and working)\r
-  i.     mapinfo\r
-  ii.    mapname.cfg\r
 \r
 II       Map Image\r
 \r
@@ -31,24 +29,14 @@ Appendix B - Helpful extras
 \r
 Appendix C - Advanced Darkplaces shaders\r
 \r
-========================\r
-=I. Map Lists & Scripts=\r
-========================\r
+=================\r
+=I. Map Settings=\r
+=================\r
 \r
-There now is just a single script/cfg file available to you, containing all map\r
-specific settings:\r
+All map specific settings goes in a single file:\r
 \r
 mapname.mapinfo\r
 \r
-The mapinfo is actually required - however, the game is so nice that it\r
-automatically generates a draft of it for you.\r
-\r
-------------------\r
--The mapinfo file-\r
-------------------\r
-\r
-*cue even more scary music*\r
-\r
 The mapinfo file is basically what gets your map listed in the menu, and sets\r
 up the options needed to change to it. If no mapinfo file exists, the menu\r
 will automatically generate a rough draft for you on game startup. It will get\r
@@ -69,14 +57,13 @@ data/data/wazat1.mapinfo for me. The file may look like:
     _diameter 1966.839355\r
     _spawnpoints 5\r
     has weapons\r
-       cdtrack 5\r
+    cdtrack 5\r
     gametype dm // defaults: timelimit=20 pointlimit=30 leadlimit=0\r
     gametype dom // defaults: timelimit=20 pointlimit=200 teams=2 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, last man standing and arena. But I want the map to be played in\r
+domination, last man standing and keepaway. But I want the map to be played in\r
 domination, deathmatch, team deathmatch only, and I also want different\r
 timelimits/fraglimits, so I will change the "gametype" lines to:\r
 \r
@@ -97,7 +84,7 @@ the right game modes and with the right description in the menu.
 \r
 Also, note the "has weapons" line. If this line is not there (which happens if\r
 the map contains no weapon entities other than the Nex), the map will run in\r
-MinstaGib only and not be shown in the menu normally. So if you look for your\r
+InstaGib only and not be shown in the menu normally. So if you look for your\r
 map and don't find it, add "has weapons" to the mapinfo file, and make sure you\r
 have weapon entities placed.\r
 \r
@@ -110,7 +97,6 @@ Team Deathmatch | gametype tdm [timelimit=...] [pointlimit=...] [teams=...] [lea
 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=...] [caplimit=...] [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
@@ -392,9 +378,9 @@ mapinfo file.
 \r
 To do this, I can add the following lines to my mapinfo file:\r
 \r
-    settemp_for_type ctf g_balance_laser_primary_force 200\r
-    settemp_for_type all g_start_weapon_shotgun 0\r
-    settemp_for_type all g_start_weapon_uzi 1\r
+    settemp_for_type ctf g_balance_blaster_primary_force 200\r
+    settemp_for_type all g_balance_shotgun_weaponstart 0\r
+    settemp_for_type all g_balance_machinegun_weaponstart 1\r
     settemp_for_type all sv_cullentities_trace 0\r
 \r
 These "settemp" settings are automatically removed when the map is left and\r