Automatic Bot Names version 1.1
Alright, I've updated this plugin to work with the new auto-fill TF2 bots, but the solution is not as nice as I'd like.
Basically, these bots are renamed by Valve's code after they join a team, and this rename is not
affected by name change limits. My code is, though. All I can do right now is wait long enough after a team join and rename the bots again.
Simply put, auto-fill bots will be renamed 10 seconds after they are created. All other bots (and CS:S bots) should continue to be named appropriately right when they're created.
As a technicality, the "announce" feature has been dumbed down and will no longer print out bot names with the message. Since this is kinda dumb, I've also set sm_botnames_announce
to "0" by default, and I recommend you change this setting on your server as well.
I've only tested this alone on my private TF2 server, so I'm interested to know how this works (especially in CS:S). In the meantime, I'll try to figure out a better way to do this. If anyone knows how to completely block name changes, I'd like to know.