Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
game: add map vote auto filtering by players count
By declaring a map with minimum and maximum required player in "mapvoteplayerscount.cfg", the map vote list will be automaticly filtered depending of players count. (Including specs and bots)
- Loading branch information
Showing
4 changed files
with
140 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Map Vote Player Count | ||
// config file used for listing maps depending of players number in map vote mod | ||
// if the config file doesn't exist, all the map are listed | ||
// if the map doesn't exist in the config file, the map will appear in the map vote list | ||
// if the minimum / maximum values is < 0, one or both condition is not take into account | ||
// there is no limit for minimum / maximum values | ||
// | ||
// map min max | ||
"oasis" -1 -1 | ||
"battery" -1 -1 | ||
"goldrush" -1 -1 | ||
"radar" -1 -1 | ||
"railgun" -1 -1 | ||
"fueldump" -1 -1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
128b9a8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
refs #1318
128b9a8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouah, I didn't even know a ticket was existing for that. Thanks you very much !