Left 4 Dead 2

Left 4 Dead 2

Bot Primary Weapon Enforcer
91 Comments
Rtma Eros Paragon 9 May @ 11:59pm 
Need to confirm this but I noticed when Ellis is downed with a magnum he does not shoot it, bug?
Wulfard 22 Jan @ 4:56am 
Nevermind that comment. haha
something something house 11 Dec, 2024 @ 7:38am 
Can this work in side by side with bot ai improvements and left4bot2?
Ive read some of the discussion on left4bot2 and they recommend that you either
use left4bot2 with this or bot ai improvements and left4bot2
so far this addon kind of breaks how the bots would lead a campaign after the player survivor dies
Freeman 3 Dec, 2024 @ 1:31am 
This helps a lot !!!
askvra 2 Dec, 2024 @ 4:50am 
Thanks for the mod! There is a problem which is that sometime bots won't shoot with their primary weapon during tank fights. Maybe it is because of incompatibility with some AI mods i'm using like Left 4 Bots :steamsad:
R󠀡F  [author] 20 Oct, 2024 @ 10:41am 
Oh that, i think sourcemod is only way to do that.
lllFlashlll 20 Oct, 2024 @ 10:03am 
see i can make them pick up a free melee no one is using with the admin system idk how to prevent them from dropping it as soon as they see a pistol
lllFlashlll 20 Oct, 2024 @ 9:57am 
just to clarify i i don't want bots to pick up melee i want them to stop picking up pistols when they have a melee. its annoying when you go idle at the start of a round then you find out you have no melee because your bot
R󠀡F  [author] 20 Oct, 2024 @ 1:16am 
You can try putting "sb_max_team_melee_weapons" to above 4. Although i don't see why you would want bots to ever pick up melee.
lllFlashlll 19 Oct, 2024 @ 9:59pm 
hey is there a mod that pervents bots from taking pistols over melees?
R󠀡F  [author] 22 Aug, 2024 @ 9:19am 
I dont know.
Lenar 22 Aug, 2024 @ 8:24am 
Is it compatible with "[Advanced Bot AI] 更多生还者AI功能" ?
爪卂几 丂ㄥ卂ㄚ乇尺 5 Jul, 2024 @ 1:30pm 
should remove on shotguns
MGJ Sakazaki 7 Apr, 2024 @ 4:50pm 
Much better than "Bot AI Improvements".
tasty toxic juice 14 Feb, 2024 @ 5:47pm 
what is louis weapon
MG.Rogers 24 Jan, 2024 @ 5:28am 
,
ChadathonThe2nd 8 Jan, 2024 @ 2:42pm 
one time I was at the end of the first level on dark carnival I shot the car and immediately got charged (Ellis and Rochelle were dead) and I also got surrounded by a horde and coach only used his pistols and i got charged to death THANK YOU FOR THIS MOD
emeio 16 Nov, 2023 @ 12:21pm 
this shit should be on vanilla
Zet_Monster 28 Jun, 2023 @ 4:08am 
Nah, I let my bot teammate use melees whenever they use snipers...
R󠀡F  [author] 5 May, 2023 @ 4:03pm 
Yes, aslong you are the one hosting.
Jonatan 5 May, 2023 @ 3:41pm 
¿funciona en partidas publicas de host local sin que los jugadores deban instalarlo tambien

does it work in public local host games without players having to install it too?

sorry for my bad english
R󠀡F  [author] 6 Feb, 2023 @ 8:31pm 
Sourcemod version affects only snipers. About memory, i dont know. If you have sourcemod already installed then getting vscript versions is quite pointless.
BrounceLord 6 Feb, 2023 @ 10:16am 
:enteringsteamvr:what's the difference between vscripts version with sourcemod version, whitch gonna use more memory?
R󠀡F  [author] 1 Feb, 2023 @ 7:50pm 
@Wishad Aslong you credit properly and give contributor, go ahead.
Amainy 1 Feb, 2023 @ 6:31pm 
can i upload a version that allows switching when just the clip is empty -and also allows melee at all time.
Placeholder 11 Jan, 2023 @ 1:41pm 
Actually, I'm struggling to cause it to happen again, which is odd! I've kept trying to force a situation when I'm being pounded by a charger, but the bots don't seem to be suffering the glitch anymore or stop shoving shortly afterwards and shoot as normal... I'm guessing that maybe the glitch only persists in extremely specific situations or something! Only time I could get it to happen was when being pounded on ground somewhat below the bots and surrounded by zombies, but even then they seem to correct themselves when they reach (I assume) melee fatigue.
R󠀡F  [author] 11 Jan, 2023 @ 12:22pm 
Sounds like a conflict with something else. Are you able to show footage of that?
Placeholder 11 Jan, 2023 @ 8:47am 
I'm experiencing a glitch which causes the bots to shove more when using this, which isn't an issue until they keep trying to shove a charger to no effect. Do you know what the convar that oversees bots shoving? This glitch is likely because of another script mod I have, and so I wanna see if I can change find out which mod is causing it and change the appropriate setting! Thanks.
R󠀡F  [author] 11 Dec, 2022 @ 10:31pm 
No. Sourcemod can however.
AnkaThefool 11 Dec, 2022 @ 9:37pm 
Is that possible to make a script,to change the bot weapon preferences,likes make franis prefer to use rifle.
WHAT THE ♥♥♥♥ BOOM! 10 Dec, 2022 @ 12:15am 
Can you do it something like they still use melee if cornered? and for shotguns, they use pistols for long range?
Nick 18 Nov, 2022 @ 3:47am 
Oh, thanks for the answer!
R󠀡F  [author] 18 Nov, 2022 @ 3:30am 
Aslong it doesn't try to force secondary weapons, should be.
Nick 18 Nov, 2022 @ 3:24am 
Auhhh, stupid question, but is this compatible with Left 4 Bots?
R󠀡F  [author] 9 Nov, 2022 @ 8:53am 
most likely some other scripts are causing that.
Nicky Grimes 9 Nov, 2022 @ 4:46am 
It's been a while, but I'm getting that same problem, too. Bots aren't using their melee or any secondary weapons at all for some reason.
R󠀡F  [author] 6 Nov, 2022 @ 1:33am 
Never had that issue so dunno.
ルエンハイド 6 Nov, 2022 @ 1:20am 
My bots seem to almost never pick up ammo from ammo piles unless I tell them to once this mod is on. Games says the mod isn't conflicting with anything...is there something I can do about it?
Pachurii 13 Oct, 2022 @ 1:52am 
Really good mod that increases the dps that the sniper bots output (at least until they run out of ammo)

The only problem I have with this mod is if you give bots melee (using a cvar setting or mod) they won't use it since they are forced to use their primary until they run out of ammo

But that's fine tbh since i'd rather the bots have pistols incase they go down
OwO 4 Oct, 2022 @ 11:27am 
i remenber when i used to do some weird stuff with the bots, like giving him a sniper and infinite ammo on a high spot

but seeing him, with a fully loaded sniper, suddenly being like ''hmmm pistols goes pew pew'' was REALLY annoying
now, i wont need to worry about this anymore, thank u mate
Pluvillion 27 Sep, 2022 @ 6:25am 
@RF - ah, you've updated it already. Time to delete the recompile I did with Shadowsyn's fix haha.
R󠀡F  [author] 27 Sep, 2022 @ 5:13am 
@Shadowysn Hey thats great, well done!
Pluvillion 27 Sep, 2022 @ 3:09am 
@Shadowysn - bless you.
Shadowysn 26 Sep, 2022 @ 10:50pm 
I reduced invisible gun bug to a flicker instead of being forever invisible, here's the script file I edited.
Preview doesn't work so you have to download it:
https://drive.google.com/file/d/1OKxsqJod1D7h6Vl2D4-aaVflVND8ixwr/view?usp=sharing
Devilsnevercry216 25 Sep, 2022 @ 7:42pm 
RF is very epic:health::ppg_pumplin:
Lebo 11 Aug, 2022 @ 4:48pm 
o
R󠀡F  [author] 11 Aug, 2022 @ 4:44pm 
Its not fixable.
Lebo 11 Aug, 2022 @ 4:05pm 
when will you fix the invisable bug?
me when I smell that zaza 6 Aug, 2022 @ 7:04pm 
this broke the game bot's don't use guns anymore
R󠀡F  [author] 5 Aug, 2022 @ 6:24am 
If you had actually read the description you wouldn't be making that question.