Wanna make the bots more useful? Do you want to watch them throw grenades like you wanted to? Did you expect them to...... Naaahh, you already get the point.
No convars, commands, or anything unnecessary. Just simple drag and drop.
Bugs:
Bots are stuck with the "ready to throw" animation once they got picked. [FIXED]
Throwing boomer biles at tanks may sometimes miss. [FIXED]
Bots are unresponsive during hordes. [FIXED]
A bot being picked as the same chosen thrower. [FIXED]
Longer wait time to the point where the plugin is rendered useless. [FIXED]
The ones stated by mightmagix. [FIXED]
Errors about client not in game. [FIXED]
Notes:
(L4D)
Gear Transfer is needed to make the bots grab grenades. Also, the options where bots can give grenades must be disabled.
(L4D2)
Do not use this along with Gear Transfer as it conflicts with the Left 4 Downtown 2 method.
Bots will not pick-up grenades without the extension unless you have the Gear Transfer plugin installed but expect bugs.
Changelog:
04-14 2017: First release.
04-16-2017: Separated into two versions for compatibility. Also, minor tweaks and bug fixes.
04-27-2017: Limited the checking to tanks only as we all know they are the most powerful of all Special Infected.
: Implemented Windy Wind's Common Infected check with several improvements.
: Temporarily disabled the visible check and replaced by distance check.
: When there's an equal of near and far common infected (especially when surrounded and a mob spawns), the chosen thrower will throw molotov or bile at his feet along with a random bot to throw pipebomb at the incoming mob.
05-01-2017: Made bots responsive to hordes.
: Sharply reduced the amount of failed times the chosen thrower has.
: Sharply increased the cool down of both checks.
05-08-2017: Fixed some bugs that I missed.
: Gave credits to the coder and friend of mine who originally came with this idea, a user who helped said coder for common infected, and another friend who advised me when checking stuff on certain conditions.
06-23-2017: Much more improvement.
: Hooked L4D_OnSpawnMob for horde detection and "player_hurt" event as a replacement for the messy AtTroubleTimes timer.
: Visibility check is back and functioning.
07-17-17: Improvement in throwing mechanism, reduction of cooldown, and (hilarious?)
behavior of bots during hordes.