This shows you the differences between two versions of the page.
multiplayer:map_cycling [2017-03-20 09:49] – skyjake | multiplayer:map_cycling [2017-03-20 09:50] (current) – [Map cycling] skyjake | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Map cycling ====== | ||
+ | |||
+ | This page explains how to set up automatic map cycling in a multiplayer game. | ||
+ | |||
+ | Servers can set up a sequence of maps to cycle through automatically. This is done by defining the cycling rules with the console variable '' | ||
+ | |||
+ | |||
+ | ===== server-game-mapcycle ===== | ||
+ | |||
+ | |||
+ | For example: | ||
+ | server-game-mapcycle "F:10 22 23" | ||
+ | |||
+ | The cycling rules have a simple format (brackets [ and ] enclose optional sections): | ||
+ | |||
+ | (rule)[, | ||
+ | |||
+ | (rule) can be either '' | ||
+ | |||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | |||
+ | < | ||
+ | </ | ||
+ | This cycle consists of maps E1M1, E1M2, E1M3, E1M4, a random map from the second episode and E3M7 (assuming this is not Hexen or Doom II). For the first five maps the rule for changing the map is a maximum of 10 frags (defined by the '' | ||
+ | |||
+ | < | ||
+ | </ | ||
+ | The cycle consists of a completely random map, E2M5, E2M4, E2M3 and E1M1. The first four maps will end when someone gets 5 frags. The last map (E1M1) ends after one minute of gameplay. The extra spaces between the map numbers are ignored. | ||
+ | |||
+ | |||
+ | |||
+ | |||