Quote:
Originally Posted by daveyboye
Oh my, I can't wait to start using this plugin. Finally got rid of mani. However, it is so extensive and no matter how much I read, I am getting totally confused. I am running a 16 slot hl2dm server and wanted to see if anybody had a sample umc_mapcycle.txt they can show me. Basically, I want just three groups: Small maps, Large Maps, and Teamplay Maps. Nothing too difficult. Any help would be greatly appreciated!
|
I am making an assumption that by Small, Medium, and Large maps that you intend to make sure only small maps are played when there are fewer players, and larger maps will only be played with more players.
Technically, the correct way to do this would be to have 1 group, and each map in it would have a "min_players" and/or "max_players" option defined. This would allow for a much less rigid structure, but the downside is that you can't use "default_min_players" and "default_max_players" to set multiple maps to the same player limits.
What this would look like is as follows:
Code:
"umc_mapcycle"
{
"Maps"
{
"maps_invote" "5" //Set this to whatever you want
//First we will define our small maps. Because they're small, we will limit the maximum number of players.
"small_map1" //You would replace this with an actual map name, such as "dm_lockdown"
{
"max_players" "8"
}
"small_map2"
{
"max_players" "10"
}
"small_map3"
{
"max_players" "8"
}
//Next, some examples of medium maps. We will limit the minimum and maximum number of players.
"med_map1"
{
"min_players" "6"
"max_players" "14"
}
"med_map2"
{
"min_players" "8"
"max_players" "15"
}
//Next, large maps. Only minimum players are limited.
"large_map1"
{
"min_players" "10"
}
"large_map2"
{
"min_players" "12"
}
"large_map3"
{
"min_players" "14"
}
}
}
All numbers used are completely arbitrary and are only to serve as an example. In reality, you can use any number of maps, and they can all have whatever minimum and maximum players you want.
__________________