Description:
This plugin checks whether the current map is incompatible with bots and limits their classes to snipers, spies and engineers. Maps like plr_ dont have proper bot support so only 3 classes work on them (other classes just stand in spawn).
How does it work?
If it detects a map, that isnt one of the supported, it changes cvar tf_bot_force_class to one of the randomly selected classes - sniper/spy/engineer. The cvar is randomly changed each player spawn.
On some maps, it disables engies as well.
Does it do anything else?
Yes, it also removes bows/crossbows on cp_degrootkeep.
Cvars:
PHP Code:
sm_mbf_enabled 1 //enable/disable the plugin. default - 1
sm_mbf_removefirstslot 0 //enable/disable removing the first weapon(the bow) on degrootkeep. default - 0
sm_mbf_version //version cvar - dont touch
Changelog:
Known issues:
- dont use plugins that use/change the cvar tf_bot_force_class for obvious reasons
- if engies arent getting killed(they might be building sentries right in front of spawn), you'll end up with a team full of engies -> thats why I decreased the chances of engies being picked as the next class