I started a project for a bot detonator mutator. The name sounds odd, but the mutator will actually kick all bots as soon as a defined condition is reached.
I hope this mutator will reduce the complains about servers that are running bots. The mutator gives the ability to players to vote to kick all bots. Even so can admins set values which will arrange that bots do leave if for example 4 players are present. The admin can for example put 20 initial bots on his server to attract players. Then all bots will be removed if for example 4 real players have joined.
It will also prevent that people use the bots for easy XP gaining.
If the bots are all kicked out, then they will not leave any weapons behind on the battle-field. This will prevent that players vote away the bots to get there weapons.
New console commands:
Download:
The mutator can be found here: http://forums.tripwireinteractive.com/showpost.php?p=1121822&postcount=21
Installation:
Activation:
Configuration:
The configuration can be set in ROBotDetonator.ini (see installation instructions). These are the properties:
Sources (for those that want to see the inside of the mutator):
The mutator sources can be found in on an SVN server. The SVN repository can be accessed from here: https://82.169.110.143:8443/svn/BotDetonator/trunk
Read-only account:
Username: guest
No password required!
I hope this mutator will reduce the complains about servers that are running bots. The mutator gives the ability to players to vote to kick all bots. Even so can admins set values which will arrange that bots do leave if for example 4 players are present. The admin can for example put 20 initial bots on his server to attract players. Then all bots will be removed if for example 4 real players have joined.
It will also prevent that people use the bots for easy XP gaining.
If the bots are all kicked out, then they will not leave any weapons behind on the battle-field. This will prevent that players vote away the bots to get there weapons.
New console commands:
- Mutate KickBots
This will start a vote session to kick all the bots. The command can be entered by any player. - Mutate AdminKickBots
All bots will directly be removed. Only admins can use this command. - Mutate AdminSpawnBots [<number>]
If used without parameter number, then all bots will directly be put back on the map. This will only work if MinPlayers is set to any value higher than zero and if the bots were removed because of a successful kick vote or admin kick command.
This command can only be used by admins.
If parameter number is greater than zero, then the number of bots will be added (split over both teams). The number of bots can not exceed MaxPlayers.
Download:
The mutator can be found here: http://forums.tripwireinteractive.com/showpost.php?p=1121822&postcount=21
Installation:
- Download the mutator from above location
- Extract all files from the archive
- Place the config\defaultbotdetonator.ini and config\ROBotDetonator.ini files in the rogame\config folder on your server
- Place the cookedpcserver\BotDetonator.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)
Activation:
- 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=BotDetonator.BotDetonator
- Now load the map
Code:
?mutator=BotDetonator.BotDetonator,Mutator1.Mutator1,Mutator2.Mutator2
The configuration can be set in ROBotDetonator.ini (see installation instructions). These are the properties:
- bKickBotsOnPlayerCount
If true, then players will be kicked if the number of human players is equal to or above KickBotsPlayerCount. If bAllowBotsToReturn is true, then the bots will return if the number of human players becomes less than KickBotsPlayerCount.
Default: true - KickBotsPlayerCount
If bKickBotsOnPlayerCount is true, then all bots will be kicked if the number of human players is equal to or above this value. If bAllowBotsToReturn is true, then the bots will return if the number of human players becomes less than KickBotsPlayerCount.
Default: 4 - bAllowBotsToReturn
If true and bKickBotsOnPlayerCount is also true, then the bots will return if the number of human players becomes less than KickBotsPlayerCount.
Default: true - bKickAllBotsVoteEnabled
If true, then players can vote to kick the bots.
See also KickBotsVotePercentage and VoteTimeSpan.
Default: true - KickBotsVotePercentage
If bKickAllBotsVoteEnabled is true, then all bots will be kicked if the number of votes is equal to or above this percentage.
All votes have to be made within VoteTimeSpan or else the voting is cancelled. A second vote by the same person will cancel his previous vote.
Default: 50.0 (%) - VoteTimeSpan
The time span in which all players should vote. The time span starts directly after a player initiates a vote (first kick bots vote). All votes will be cancelled if this time expires.
See also bKickAllBotsVoteEnabled and KickBotsVotePercentage.
Default: 120.0 (seconds) - bDetonateInsteadOfKick
If set to true, then the bots will detonate (the protected area animation) instead of just die when kicked out.
Default: false - bNotificationMessageEnabled
If true, then a notification message will be send to a recently spawned player. The message will give him a brief instruction on how to submit a kick all bots vote. The messages will not appear if the voting is disabled or if there are no bots.
See also MutatorNotificationMessageDelay
Default: true - MutatorNotificationMessageDelay
Delay time between player spawn time and displaying the notification message.
See also bNotificationMessageEnabled
Default: 10 seconds (minimal: 0; maximal 20) - bEnableLogging
Config variable for enabling/disabling debug info logging (for debugging purpose).
Default: false
Sources (for those that want to see the inside of the mutator):
The mutator sources can be found in on an SVN server. The SVN repository can be accessed from here: https://82.169.110.143:8443/svn/BotDetonator/trunk
Read-only account:
Username: guest
No password required!
Last edited: