Left 4 Dead 2

Left 4 Dead 2

Bot's Acid Evasion and Item Auto Pickup
40 kommenttia
kurochama  [tekijä] 8.8. klo 1.29 
@ 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.8. klo 16.49 
@kurochama So if you separated this addon, and then added suggestion B, would it be possible?
kurochama  [tekijä] 7.8. klo 16.14 
@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.8. klo 14.49 
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  [tekijä] 23.7. klo 18.25 
@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.7. klo 17.49 
@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  [tekijä] 23.7. klo 1.14 
@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.7. klo 0.22 
@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  [tekijä] 22.7. klo 23.02 
@ 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.7. klo 22.43 
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  [tekijä] 12.7. klo 1.25 
@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.7. klo 22.05 
@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  [tekijä] 11.7. klo 21.30 
@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.7. klo 20.30 
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.6. klo 11.12 
appreciated
kurochama  [tekijä] 14.6. klo 10.11 
@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.6. klo 10.01 
its a vpk.file .;where is the cfg file?
mikecj9 22.3. klo 22.38 
thanks
kurochama  [tekijä] 22.3. klo 22.37 
@mikecj9 , you can disable it from the cfg file though. Look for "Item Auto Pickup", & set it to 0.
mikecj9 22.3. klo 22.08 
@kurochama can we have this but without the item auto pick up please ?
something something house 19.10.2024 klo 23.37 
well I just think that the acid damage is a little bit much
kurochama  [tekijä] 19.10.2024 klo 17.48 
@something something house , bots can run from acid, so why do you need to reduce acid damage?
something something house 19.10.2024 klo 10.12 
can you add an option to change the acid damage?
Sultan Abu Al Pepsi 6.8.2024 klo 8.01 
TQ
kurochama  [tekijä] 6.8.2024 klo 7.58 
@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.8.2024 klo 7.43 
If i have Merciless Bots Simple Version with the bot avoid acid cfg turned on, do i still need this mod ?
LimmyTastic 27.7.2024 klo 22.34 
@kurochama Sweet! Thanks for the reply :)
kurochama  [tekijä] 27.7.2024 klo 20.47 
@Lim , it should be compatible. Last time I tested on L4B1 together with other bot mod & it worked together.
LimmyTastic 27.7.2024 klo 20.18 
is it compatible with the L4B2 addon?
Pluvillion 13.2.2024 klo 6.36 
Thank you!
kurochama  [tekijä] 13.2.2024 klo 6.34 
@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.2.2024 klo 6.28 
I'll now wait for the M60 no drop one.
kurochama  [tekijä] 13.2.2024 klo 6.27 
@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.2.2024 klo 5.30 
One of Merciless Survivor Bots' best features.
Narco 9.2.2024 klo 14.51 
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  [tekijä] 9.2.2024 klo 14.48 
@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.2.2024 klo 14.44 
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.2.2024 klo 1.06 
suggestion:teh tank next
kurochama  [tekijä] 4.2.2024 klo 22.19 
@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.2.2024 klo 21.01 
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