Left 4 Dead 2

Left 4 Dead 2

Bot's Acid Evasion and Item Auto Pickup
40 Comments
kurochama  [author] 8 Aug @ 1:29am 
@ trijun_heisei , it should be possible, but I still don't have a plan to make such mod, because usually some bot mods already provide features to let bots pick items (for example, on "Left 4 Bots", you can order a bot to pick an item). So, to prevent that bug of bots picking & dropping weapons continuously when using other bot mods like "Left 4 Bots", you can set the value of "Item Auto Pickup" to 2, so bots will only pick items if you hold TAB when bots are near the items.
trijun_heisei 7 Aug @ 4:49pm 
@kurochama So if you separated this addon, and then added suggestion B, would it be possible?
kurochama  [author] 7 Aug @ 4:14pm 
@trijun_heisei , you can set the value to 2. If the value is set to 2, bots only pick items automatically when player holds TAB/ SCORE button. So with this, bots won't repeatedly pick & drop weapons when using other bot mod like L4B2.
Actually the original plan back then was to set different items on each value, like 1= pills/ adrenaline only, 2= pills + medkit, 3= pills + medkit + grenade, 4= pills + medkit + grenade + weapon. But as the main feature here was acid evasion, so I just simplified the "Auto Pickup" to pick all items they don't have instead.
trijun_heisei 7 Aug @ 2:49pm 
This mod is great. However, I have an issue with the "Item Auto Pickup" feature. Especially combined with Left 4 Bots 2. It causes the bots to repeatedly drop a weapon they currently have, swap it with a new weapon that they are told to not use (in this instance the scout sniper), and picking up the weapon they had previously.

Here are some of my suggestions of fixing this issue:
A: Update this mod to have a list of weapons they use or avoid (like L4B2)
B: Make a 4th value for "ItemAutoPickup" that allows the bots to only pick up items and NOT weapons

Hope you're able to fix these issues.
kurochama  [author] 23 Jul @ 6:25pm 
@Brian , 2 or 3 is the most ideal value for "Acid Escape Timer", as higher value might cause problems in maps that have some pits or take place on the rooftop. & the reason why they stop is probably because they go into standby mode after running for certain duration set on "Acid Escape Timer" (this is also why sometimes setting the value to 3 is better than 2, as bots have 3 seconds to run from acid before they go into standby mode).
As for bots getting stuck, probably other bot mods caused that. I played "Gravitation" custom map recently, & they escaped from acid several times without getting stuck even when using "Sprint System" to allow bots to sprint.
Brian 23 Jul @ 5:49pm 
@kurochama, I understand how the Acid Escape Timer works now. That defines how far away the bots will run from Spitter Acid. I think they run too far away when I have that set at 3 instead of 2. Sometimes it looks like they get stuck in the acid and can't move at all. I'm assuming that's just a navigation problem. I've seen them get stuck in custom maps for a few seconds even if there is no Spitter Acid on the ground.
kurochama  [author] 23 Jul @ 1:14am 
@Brian , the mechanisms are like this:
- If "Acid Escape Timer" is set to 3, bots will keep running for 3 seconds before they go into standby mode. If it's set to 5, bots will run for 5 seconds.
- If "Acid Escape Timer" is set to 3 & then ""Acid Standby Timer" is set to 5, bots will keep running for 3 seconds, & then they stand still. After 5 seconds, they'll gather to player's location again.
So, if you want bots to run farther, increase the value of "Acid Escape Timer", but this shouldn't exceed "Acid Standby Timer" (the value of "Acid Standby Timer" must be bigger than "Acid Escape Timer")
Brian 23 Jul @ 12:22am 
@kurochama, Acid Escape Timer is set at 2. That causes me to think bots will stand in Spitter Acid for no longer than two seconds. Acid Standy Timer is set at 5. That makes me think bots will stand in one place for five seconds after they have avoided Spitter Acid. Are those assumptions correct?
kurochama  [author] 22 Jul @ 11:02pm 
@ Brian , the acid damage is the default L4D2 damage. I didin't change that on this mod. As for the wait time, it's controlled by "Acid Standby Time". While "Acid Escape Time" controls how long bots will run from acid, "Acid Standby Time" controls how long bots will stand still.
Brian 22 Jul @ 10:43pm 
I've had this mod installed for a while. The bot players do take less damage from the Spitter. My only advice would be for a person to increase the Acid Standby Timer to 7 or 8. Valve didn't optimize that setting. Sometimes the bot players don't wait long enough when there's Spitter Acid on the ground. They start moving again and walk into the acid before it evaporates.
kurochama  [author] 12 Jul @ 1:25am 
@Brian , I don't remember exactly, but "auto pickup" will make bots pick better/ preferres guns & items (examples: If they have T1 guns & there are some T2 guns, they'll pick T2 guns. If Coach has rifle & then there's autoshotgun, he'll pick autoshotgun. If Ellis has autoshotgun & there's a sniper nearby, he'll pick sniper). I don't remember about magnum, but I think it also works that way, like magnum is the top priority among other secondary weapons. So if you use a mod to make bots use melee, it's better to disable the "auto pickup" to prevent bot's confusion in picking items like that.
Brian 11 Jul @ 10:05pm 
@kurochama, Does this mod cause every bot player to pickup a magnum instead of pistols? I use a modified version of the Improved Bots mod. That version lets two bot players use melee weapons. I noticed that Coach picked up the magnum. I had never seen Coach pick up a magnum. He replaced the magnum with a melee weapon. Then, he picked up the magnum again. He couldn't decide which weapon to keep. That's what happened when I had the Auto Pickup feature enabled.
kurochama  [author] 11 Jul @ 9:30pm 
@Brian , yeah, item auto pickup & auto give are based on the default item slots. So, if you use a mod to change some item slots, it's better to disable item auto pickup & auto give.
Brian 11 Jul @ 8:30pm 
This mod does improve a bot player's ability to avoid Spitter Acid. Spitter Acid is actually worse than friendly fire for bots. The regular bots can't seem to avoid it that well. This mod is not compatible with certain mods. I don't think it's compatible with Ten Inventory Slots. The bots would pick up grenades, but they would not give them to me even if I didn't have a grenade. Ten Inventory Slots must be putting grenades into slots the bots can't recognize. I had to disable the Auto Pickup and Auto Give features. That's not a problem for me. I don't really need more grenades from the bot players while they are trying to kill zombies.
HazyAPI 14 Jun @ 11:12am 
appreciated
kurochama  [author] 14 Jun @ 10:11am 
@HazyAPI , start Singleplayer or start a map by hosting a local server. Then check in "Left 4 Dead/left4dead2/ems". A folder with similar name of this mod will show up there.
HazyAPI 14 Jun @ 10:01am 
its a vpk.file .;where is the cfg file?
mikecj9 22 Mar @ 10:38pm 
thanks
kurochama  [author] 22 Mar @ 10:37pm 
@mikecj9 , you can disable it from the cfg file though. Look for "Item Auto Pickup", & set it to 0.
mikecj9 22 Mar @ 10:08pm 
@kurochama can we have this but without the item auto pick up please ?
something something house 19 Oct, 2024 @ 11:37pm 
well I just think that the acid damage is a little bit much
kurochama  [author] 19 Oct, 2024 @ 5:48pm 
@something something house , bots can run from acid, so why do you need to reduce acid damage?
something something house 19 Oct, 2024 @ 10:12am 
can you add an option to change the acid damage?
Sultan Abu Al Pepsi 6 Aug, 2024 @ 8:01am 
TQ
kurochama  [author] 6 Aug, 2024 @ 7:58am 
@Sultan Abu Al Pepsi , it basically has similar feature as that on "Merciless Bots" as this mod is the standalone version of that feature on "Merciless Bots". So if you use that, you won't need to use this one.
Sultan Abu Al Pepsi 6 Aug, 2024 @ 7:43am 
If i have Merciless Bots Simple Version with the bot avoid acid cfg turned on, do i still need this mod ?
LimmyTastic 27 Jul, 2024 @ 10:34pm 
@kurochama Sweet! Thanks for the reply :)
kurochama  [author] 27 Jul, 2024 @ 8:47pm 
@Lim , it should be compatible. Last time I tested on L4B1 together with other bot mod & it worked together.
LimmyTastic 27 Jul, 2024 @ 8:18pm 
is it compatible with the L4B2 addon?
Pluvillion 13 Feb, 2024 @ 6:36am 
Thank you!
kurochama  [author] 13 Feb, 2024 @ 6:34am 
@Pluvillion , you're lucky then. I recently updated Item Drop Bonus & make the "M60 No Drop" as a toggle in the cfg file. So if you want to use only "M60 No Drop", disable all features in the cfg except that one.
Pluvillion 13 Feb, 2024 @ 6:28am 
I'll now wait for the M60 no drop one.
kurochama  [author] 13 Feb, 2024 @ 6:27am 
@Pluvillion , yeah. I made it as a standalone version so people can combine it with any mods without having to use merciless bots.
Pluvillion 13 Feb, 2024 @ 5:30am 
One of Merciless Survivor Bots' best features.
Narco 9 Feb, 2024 @ 2:51pm 
Right, just downloaded the addon and got myself dissapointed with throwing a gnome around, sorry as you referenced this mod in our post we've been talking i thought it was implemented, sorry for misunderstanding
kurochama  [author] 9 Feb, 2024 @ 2:48pm 
@Narco , that gnome turret is from my other local mod, not from this one. As for the exp system, both merciless bots & enhanced angry bots, but on that video preview, I used merciless bots (you'll also see chat commands there, & it worked. Probably in your case, there were conflicts with other mods so the chat commands didn't work). & the crazy weapons with explosion power comes from "Demolition Gunner", my another mod. Except the gnome turret, you can find them on my workshop.
Narco 9 Feb, 2024 @ 2:44pm 
Gnome feature should be mentioned in the description, otherwise amazing mod, may i ask if the XP system and crazy weapons are from merciless bots or some other mod you been working on ?
Market Pluh 5 Feb, 2024 @ 1:06am 
suggestion:teh tank next
kurochama  [author] 4 Feb, 2024 @ 10:19pm 
@GreekGod , no problem. Glad that you like it. As for making bots to crouch or get away from crosshair when bots are in your crosshair, basically it's possible by forcing bots to press either Crouch button or some buttons for movement (W, S, A, D). But probably it might need some tests first to check for bugs, as probably there could be some bugs that need some adjustments to fix them.
SHΛDOW 4 Feb, 2024 @ 9:01pm 
ty for the mod, these are very annoying stuff thats very easy to notice. suggestion: i had one idea of making when you aim close/towards the bots, they would crouch or get away from yor crosshair, as sometimes they get in very bad situations where you can only shove the infecteds from them