Final release of DynamicMapRotator mutator (Feb 9, 2012)
This mutator is replaced as of Jun 22, 2012. For that reason it has been removed from the white-list. A newer white-listed version is available. The newer version can be downloaded here.
On request I wrote a mutator to have a more dynamical map rotation without interaction of an admin (the development discussions can be found here).
The mutator allows a server admin to set up some rules to filter out maps depending on the number of players. This is how the mutator will do for you:
This will give the map rotation are more dynamic behavior depending on the number of players on the server. The goal for this is to skip the larger maps in case the number of players is limited and to skip the smaller maps in case there are a lot of players.
The configuartion:
Remark: The mutator can not be used together with map voting enabled!
Cients (players) do not need to install or download the mutator!!!
Where to download the mutator (for server admins):
The mutator can be downloaded from this location: http://forums.tripwireinteractive.com/showthread.php?t=80801
How to install the mutator (for server admins):
How to activate the mutator (for server admin):
If you have more than one mutator running on your server, then you can load them with
How to configure the settings (for server admins):
If you did it correctly, then DynamicMapRotator.DynamicMapRotator should be visible on the Current Game page of the web-admin tool.
This mutator is replaced as of Jun 22, 2012. For that reason it has been removed from the white-list. A newer white-listed version is available. The newer version can be downloaded here.
On request I wrote a mutator to have a more dynamical map rotation without interaction of an admin (the development discussions can be found here).
The mutator allows a server admin to set up some rules to filter out maps depending on the number of players. This is how the mutator will do for you:
- At round end it looks up the number of players on the server
- Next it looks in the active Map Cycle list (the one set in the web-admin tool) to see what the next map would be
- After this it searches in the mutators filter list (can be set-up in the mutators ini file) for that map and it checks if the current number of players is in range of the MinPlayersCount and MaxPlayersCount for that map
- If it is, then the map will be loaded. If it isn't, then it will repeat from step 2.
This will give the map rotation are more dynamic behavior depending on the number of players on the server. The goal for this is to skip the larger maps in case the number of players is limited and to skip the smaller maps in case there are a lot of players.
The configuartion:
The next settings are the configuration settings of the mutator. The admin can play with it to set-up the server to his liking.
- bRandomOrder:
If set to True, then the mutator will not step from top to bottom through the active Map Cycle list, but it will step randomly through that list. The map order will be more random preventing that players will leave the server if they know that the next map will be a map that they do not like.
Values: Default: false; Minimum: false; Maximum: true - bAlsoCountBots:
If this is set to True, then the mutator will not only count the total number of human players but also the total number of bots. I introduced this option to make it easier to test the mutator.
Values: Default: false; Minimum: false; Maximum: true - AdditionalUrlVariables:
The mutator will cause the maps to be loaded with the URL variables as they are set in the actice Map Cycle. You can add additional URL variables to those map URLs by adding them to this AdditionalUrlVariables variable.
Example: AdditionalUrlVariables=?MinPlayers=10?MaxPlayers=40 - LastMapIndex:
This is actually not a setting, but more a temporar storage for the mutator. It should not be tounched by the admins. - MapFilters:
With these you can setup the filterring. Each entry has 3 variables:- MinPlayerCount: Default: 0; Minimum: 0; Maximum: 64
- MaxPlayerCount: Default: 64; Minimum: MinPlayerCount; Maximum: 64
- MapUrl: The URL of the map
With the above settings you can define a filter for each map in which you specify the minimum number of players for that map (MinPlayerCount) and the maximum number of players for that map (MaxPlayerCount). In MapUrl you specify for which map these settings are valid. The next is an example for a filter for three maps:
Code:MapFilters=(MinPlayerCount=0,MaxPlayerCount=40,MapURL="TE-Apartments") MapFilters=(MinPlayerCount=0,MaxPlayerCount=64,MapURL="TE-Barracks") MapFilters=(MinPlayerCount=40,MaxPlayerCount=64,MapURL="TE-CommissarsHouse")
It's also possible to use the same map more than once, but with different URL variables. Here is an example:
Code:MapFilters=(MinPlayerCount=0,MaxPlayerCount=10,MapURL="TE-Ogledow_B9?MinPlayers=10") MapFilters=(MinPlayerCount=11,MaxPlayerCount=64,MapURL="TE-Ogledow_B9")
Or if you want to select any of the three map variants (small, medium or large) depending on the number of players, then you could for example use:
Code:MapFilters=(MinPlayerCount=0,MaxPlayerCount=14,MapURL="TE-RedOctoberFactory?MaxPlayers=16") MapFilters=(MinPlayerCount=15,MaxPlayerCount=30,MapURL="TE-RedOctoberFactory?MaxPlayers=32") MapFilters=(MinPlayerCount=31,MaxPlayerCount=64,MapURL="TE-RedOctoberFactory?MaxPlayers=64")
Cients (players) do not need to install or download the mutator!!!
Where to download the mutator (for server admins):
The mutator can be downloaded from this location: http://forums.tripwireinteractive.com/showthread.php?t=80801
How to install the mutator (for server admins):
- Download the mutator from above location
- Extract all files from the archive
- Place the config\defaultdynamicmaprotator.ini and config\RODynamicMapRotator.ini files in the rogame\config folder on your server
- Place the cookedpcserver\DynamicMapRotator.u file in the rogame\cookedpcserver folder on your server
- Restart your server(you need to do this or else the server will not find the mutator)
How to activate the mutator (for server admin):
- Open your servers web-admin tool
- Go to the Change Map page
- Select your game type and map
- At the Additional URL variables field you add ?mutator=DynamicMapRotator.DynamicMapRotator
- Now load the map
If you have more than one mutator running on your server, then you can load them with
Code:
?mutator=DynamicMapRotator.DynamicMapRotator,Mutator1.Mutator1,Mutator2.Mutator2
- Go to the rogame\config folder on your server
- Open the RODynamicMapRotator.ini file with a text editor
- Make your changes and save the file
- Restart your RO2 server
If you did it correctly, then DynamicMapRotator.DynamicMapRotator should be visible on the Current Game page of the web-admin tool.
Last edited: