Left 4 Dead 2

Left 4 Dead 2

Bots T3
68 Comments
Mohammed Adolphus El Blanco 1 Jan @ 10:05pm 
wtf did you change it
reina 25 Mar, 2024 @ 6:24am 
pardon for asking a simple question but can't try it out rn - does the max ammo affect only bots or also for us picking up the weapon?
smilzo  [author] 2 Jan, 2024 @ 8:04am 
@Zero_hunter idk to be honest, maybe it's another mod
Zero_hunter 2 Jan, 2024 @ 6:04am 
I had to use vocalizer to make them pick up the GL but the bot changed back to SMG after a moment. I guess that this is due to Vanilla AI?
Zero_hunter 2 Jan, 2024 @ 6:03am 
@smilzo I see. I thought that was the case because you mentioned about the M60 and GL in the weapon preference file in the previous comments. I tested on my end again where I had all bots have T2 weapons like SMG and Pump shotgun. I then spawned both M60 and GL. All bots rushed for the M60 (example: bot Nick ditch SMG for M60), but they are not bothered about the GL.
smilzo  [author] 2 Jan, 2024 @ 4:56am 
@Zero_hunter there is no such a thing as preference file. This mod changes the tier of the GL and M60 from 3 to 2 so the vanilla bots will consider picking them up like any other T2 weapon but whether the bots will pick them up or not is up to their vanilla AI.
Zero_hunter 30 Dec, 2023 @ 6:22am 
Hi, can you tell where is the file for weapon preference in this mod? The bots usually don't automatically pick up the M60 or Grenade Launcher, unless I use vocalizer to make them pick up.
尼古拉斯-厚礼蟹 1 Oct, 2023 @ 5:50am 
电脑可以拿M60和榴弹发射器:steamthumbsup:
smilzo  [author] 16 Sep, 2023 @ 6:13am 
@joerider2002 if you want to use the bot cvar improvements from other bot mods and still have these 3 lines you can make a convars.txt file with only these 3 lines removing all the others and keep load_convars to 1.
Chef Boyardee 15 Sep, 2023 @ 4:34pm 
Found the answer to my question. I had load_convars set to 0 in the settings.txt file when I followed NasCoz's video on this mod.
Chef Boyardee 15 Sep, 2023 @ 4:12pm 
I did hit save before starting a round.
Chef Boyardee 15 Sep, 2023 @ 4:12pm 
I added the ammo lines to the "ems\left4bots\cfg\convars.txt" file, but nothing is happening.
smilzo  [author] 26 Aug, 2023 @ 1:47am 
@Meraru this is not needed with L4B2. As long as the M60 and the GL are in the weapon preference files, they will pick them up.
Meraru 25 Aug, 2023 @ 1:47am 
will this be included in left 4 bots 2?
Sillyish Doctor 30 May, 2023 @ 1:46am 
why doesnt it work@!?!@?
Nicky Grimes 29 Mar, 2023 @ 5:16am 
Still works perfectly. Thank you for making this mod!
smilzo  [author] 17 Mar, 2023 @ 1:09am 
@vlad8599 sv_consistency 0 disables the server's consistency check so the other players who connect to you don't get disconnected if the check fails.

@Sunako なかはら if the folder does not exist you just create it. Btw another way to do that (if you have Left 4 Bots) is to add/replace the lines:
ammo_m60_max 900
ammo_grenadelauncher_max 60
into your "ems\left4bots\cfg\convars.txt" file
Solomon Kane 16 Mar, 2023 @ 1:23pm 
@Sequoia - There is no VSCRIPT folder to put that coop.nut you suggested. Should I make one ?? your just kidding right !
vlad8599 16 Mar, 2023 @ 3:13am 
sv_consistency 0

What exactly its doing?

And how can I change number of ammo in reserve? NOT clip sizes, just ammo in reserve(for reloading)
Pluvillion 14 Mar, 2023 @ 7:29pm 
Is it normal for them to not pick them up by themselves should they already been holding their preferred weapons? For example, Nick picks up the M60 if he's holding an SMG but not if he's holding any T2 weapons. I have to command him to pick the gun up.
Fozy 14 Mar, 2023 @ 3:56am 
@Secoya I don't have the vscripts folder
Placeholder 12 Jan, 2023 @ 7:51am 
I love this! I also love that they ditch the T3 for their main preference too, keeping the bots in line with character canon preferences! It's great!
Sequoia 5 Jan, 2023 @ 2:44am 
@Sunako Nakahara

Create a txt file and copy this in it, you can change the values as you like:

Convars.SetValue("ammo_m60_max", 900);
Convars.SetValue("ammo_grenadelauncher_max", 60);

Save it and change the file's name to "coop.nut".

Put "coop.nut" in "Left 4 Dead 2\left4dead2\scripts\vscripts\"
Dr.Gaming98 29 Dec, 2022 @ 11:16am 
yeah I'm having the same issue as @Courier 6-μ can you fix it?
Axl™ 30 Nov, 2022 @ 10:13pm 
Great Mod!
:steamthumbsup:
客家蝠婆 13 Nov, 2022 @ 8:32am 
Don't work.
Courier 6-μ 8 Nov, 2022 @ 11:12pm 
I think the bots only can obtain the GL/M60 if it's on official campaign, can you fix this?
AverageChan 19 Oct, 2022 @ 10:17pm 
@Sunako Nakahara

Max Ammo means your max reserve, not your mag size.
SparkeySparkySparks 17 Oct, 2022 @ 8:08pm 
can able to Pick Up M60 and Grenade Launcher but it seems rare and uncommon but still a great mod.
Solomon Kane 5 Oct, 2022 @ 12:29pm 
I played Survival with bot ai but this doesn't work also changing the max ammo "ammo_m60_max 450" won't work either its still 150 for me when I'm using it:steamfacepalm::steamsad::steambored:
darkpassenger 4 Oct, 2022 @ 6:46am 
my bots dont take m60 or gl
Junior 4 Feb, 2022 @ 7:46pm 
@nicky grimes, it change the weapons to tier 2, and i dont know anything about how map spawn works, i coded some sourcemod plug-ins but I never looked at mapping stuff, so I had no idea if weapons spawned based on tiers, and aparently it dont affect the spawns, it was just a question I had.
Nicky Grimes 4 Feb, 2022 @ 7:15pm 
@Andy - It doesn't change anything else. It just enables the bots to pick up these weapons.
smilzo  [author] 20 Jan, 2022 @ 2:43am 
@Andy no it doesn't change the spawns
Junior 18 Jan, 2022 @ 9:33am 
since this changes the weapon tiers to 2, does it affect spawning on maps or it don't affect?
Nicky Grimes 17 Dec, 2021 @ 5:42pm 
This works perfectly with Left 4 Bots and the Admin System! Thank you very much for this!
ViscariaBlackline 8 Dec, 2021 @ 7:31am 
@Goben i just realize that and i'm stupid to notice that.
Harry Osporn Nobel Prize 8 Dec, 2021 @ 5:09am 
ok thank you so much
smilzo  [author] 8 Dec, 2021 @ 5:03am 
@Harry Osporn And Nobel Prize no, the anti auto drop thing is in Left 4 Fun addon, so you need that addon for the feature. I said the reason why they had to be 2 separate addons.
Harry Osporn Nobel Prize 8 Dec, 2021 @ 4:29am 
@Goben so if im using T3 then i dont have to sub left 4 fun...right
And my lmg still not drop on empty mag
smilzo  [author] 8 Dec, 2021 @ 4:07am 
Guys i found a way to prevent the auto drop of the m60 via vscript but i added it to the Left 4 Fun addon.
Reason why i didn't add it here is that this addon makes the bots use the T3 weapons. If you don't want the bots to use such weapons but you still want the anti auto drop feature, then they have to be 2 separate addons.
Harry Osporn Nobel Prize 7 Dec, 2021 @ 6:38am 
@Goben Thanks for replying, or maybe a mod that make sound when you're almost empty mag that would be great
smilzo  [author] 7 Dec, 2021 @ 6:31am 
@Harry Osporn And Nobel Prize i'll see if i can do it via vscript, apparently there is no cvar for that.
smilzo  [author] 7 Dec, 2021 @ 6:29am 
@dorcelessness yes.
Banice 7 Dec, 2021 @ 4:58am 
is this addon compatible with Left 4 bots?
Harry Osporn Nobel Prize 4 Dec, 2021 @ 10:10pm 
is there a way to prevent dropping the M60 on empty mag but still have reserve ammo ?
PlayGamer 2 Dec, 2021 @ 2:11pm 
Hey, I wanted to ask where you got all the knowledge to create scripts in Left for Dead 2? Are you a programmer for which you need previous knowledge or how did you learn that?
PlayGamer 1 Dec, 2021 @ 1:51am 
Alright, thanks.
smilzo  [author] 30 Nov, 2021 @ 11:45pm 
@PlayGamer no beacuse the vanilla AI will always switch to their preferred weapon when they see it. The bots weapon preference is hardcoded so it's not possible to prevent that via addons, unless the TLS team make the preferences moddable.
smilzo  [author] 30 Nov, 2021 @ 11:41pm 
@NoOneLost do they switch to other tier 2 weapons or also to tier 1 weapons? If they have a tier 1 weapon they should automatically switch to gl or m60 because they see them as T2 weapons. Different story if there are only tier 2 weapons, then they will probably pickup the one they prefer or the one with more ammo idk.