Dynamic map vote list
In map vote game mode, you have the possibility to setup the maps containt in the map vote list depending on the players numbers connected on the server by using the configuration file named mapvoteplayerscount.cfg
.
The file is available here.
To use this feature, you have to place the configuration file under fs_homepath
root (see Path-and-File-Structure)
If the config file doesn't exist in the fs_homepath
, all the map are listed by default.
With this file, you could list the different map to show in the list depending on a minimum and maximum players counts.
An entry take a number of 3 parameters (fields) and work as following :
map min max
- map : the map name
- min : the minimum players required to show the map
- min : the maximum players required to show the map
NOTE: The file is limited to a maximum of 256 entries. All other entries will be skipped
If the map doesn't exist in the config file, the map will appear in the list by default.
If the condition are reached, the map will be displayed. Otherwise, the map is dismissed from the list. There is no limit for minimum / maximum values
-
oasis 8 24
A minimum of 8 players and a maximum of 24 players are required
If the minimum / maximum values is < 0, one or both condition is not take into account
-
oasis -1 24
A maximum of 24 is required -
oasis 8 -1
A minimum of 8 players is required -
oasis -1 -1
No min/max players number required -
oasis -1489 -1187
No min/max players number required
© ET: Legacy Team