[TF2] Map Bot Fix (19.08.2016)
1 Attachment(s)
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:
Known issues: - dont use plugins that use/change the cvar tf_bot_force_class for obvious reasons :nono: - 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 |
Re: [TF2] Map Bot Fix (19.08.2016)
I noticed that maps without bot support don't actually have any nav meshes. You should definitely put in something to check if a map has a nav mesh and run nav_generate if it's needed.
(after a little fiddling i realised you can do this with rcon nav_generate easy :p) |
Re: [TF2] Map Bot Fix (19.08.2016)
Quote:
|
Re: [TF2] Map Bot Fix (19.08.2016)
How does it check which map supports bots, which don't?
|
Re: [TF2] Map Bot Fix (19.08.2016)
Quote:
|
All times are GMT -4. The time now is 14:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.