Left 4 Dead 2

Left 4 Dead 2

87 ratings
Cruel Bots
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts, Miscellaneous
Game Modes: Single Player, Co-op
File Size
Posted
Updated
169.567 KB
12 Apr, 2024 @ 9:11am
21 Nov, 2024 @ 12:19pm
15 Change Notes ( view )

Subscribe to download
Cruel Bots

In 1 collection by kurochama
Useful "Side-Dish" Mods (Especially for Bots)
46 items
Description
So..., I decided to make this... & I'm still too lazy to create a cover image, so I used the existing templates from my other mod.

This is probably the youngest brother of all bot mods I made (the twin eldest brothers Merciless Bots (Complete Ver) & Merciless Bots (Simple Ver), & elder brother Enhanced Angry Bots).

To put it simply as the youngest brother, features on this mod are so simple that people only need few seconds to configure (or they can leave the settings as the default ones). For now, there are only few features available in "cruel bots.txt" cfg file:
  1. Cruel Level: This controls bot's cruel (difficulty) level. There are 4 levels. 0= default L4D2 (if you want to use other bot mods' settings for this). 1= Bots shoot on sight (default setting of this mod). Max value 4= Bots shoot on sight, semi berserk mode, & auto zombie scan every second.

  2. Berserk Mode: How long bots keep shooting when certain conditions are triggered (taking damage from zombies, shoving common infected, detecting special infected's abilities). The value is equal to second.

  3. Threat Detection Level: This will automatically configure certain cvars that affect bot's "cruelty" & how far bots can detect zombies. The value works as multiplier. Max value is 20 (20= bots can detect zombies 20x farther than the default L4D2 bots).

  4. Ability Detection Level: This controls whether bots can detect special infected's abilities (tongue, charge, ride etc) or not. When enabled, special infected will automatically aggro survivor bots & make them attack the special infected using the ability. Value affects whether tank (rock throwing ability) is included or not.

  5. Auto Self Defense: When taking damage or shoving common infected, bots have certain chance to stumble common infected nearby in melee range. The percentage of chance is affected by the value. Max value= 100 (100% chance).

  6. Auto Taunt: When killing common infected & special infected, bots have certain chance to taunt & show their arrogance & superiority via talkers (if they say good things, they're being sarcastic). The chance is controlled by the value.

  7. Emergency Warp: Depending on the value set, bots will warp to player's location immediately either when pressing "TAB + E" on any interactive objects (items, doors, weapons, switches etc), or when certain conditions are met (examples: Value 1= Warp when stepping on acid, 2= Warp to a location where a survivor's caught by SI, 4= Warp when bots are too close to tank, etc). & bots get "Temporary Friendlyfire Disabler" for 5 seconds after warp.

  8. Auto Retreat From Tank: Bots will retreat from tank immediately based on certain conditions set on each value.

  9. Assassin Mode: When enabled, bots will go into "Assassin Mode" in 5 seconds under certain conditions set on each value (either after they detect special infected's abilities, tank's rock, or witch's rage). During the duration of "Assassin Mode", bots deal more damage on certain zombies. based on value set.

  10. Prioritize Primary Gun: When enabled, anytime bots try to use secondary, they will switch back to primary gun until the primary is low on ammo clip (less than 3 ammo clip). Bots also won't reload too early when ammo clip is still plenty. Value affects whether chainsaw & melee are excluded or not.

  11. Auto Health Regen: Depending on the value set, bots can regenerate health buffer each time they kill a zombie or in every second. Each value has slightly different conditions.

  12. Sabotage Tank Rock: Bots can lower tank's rock throwing accuracy as long as they keep shooting him when he's trying to throw a rock.

  13. (New) Auto Lead Mode: This controls whether bots will continue the game after player's death or not. Default value is 1. 0= Auto Suicide (bots go suicide in 15 seconds after there's no single survivor player alive). 1= Semi Auto (bots lead the way after a survivor player dies). 2= Auto (bots will lead the way from the beginning of map).

Available Chat Commands:
  • bots lead on: This makes bots lead the way.
  • bots regroup: This makes bots return after leading the way.
  • dead bots: Kill all survivor bots.

NEW FEATURE: "Grenadier Bots", available on a new cfg file located in "...\steamapps\common\Left 4 Dead 2\left4dead2\ems\cruel bots cfg\specific cfg\grenadier bots.txt"
  1. Grenadier Bots: When enabled, bots can pick grenades nearby & throw them automatically. It's much simpler than that on Left 4 Bots, with only few settings & simple scripts. Bot's throwing accuracy is based on the zombie bots are looking at when they prepare to throw a grenade. (NOTE: This feature is disabled by default to prevent a bug where 2 mods with grenade feature are active together, so, you need to manually enable it via cfg file if you want to use this version of bots throwing grenade)

  2. Mob Size To Throw Grenade: How many zombies in a group until bots decide to throw grenades. Min= 1. max= no limit. Default value is 6 (6 zombies in a group).

  3. Use Pipe Bomb: When enabled, bots will pick pipe bombs nearby when they have no grenade & this allows bots to throw pipe bomb. Setting this to 0 will make bots refuse to pick & throw pipe bomb.

  4. Use Molotov: Same as pipe bomb above, but this is for molotov. The value also affects which types of target the bots will throw molotovs at. 1= common only, 2= tank only, 3= common & tank.

  5. Use Vomitjar: same as the molotov above, but this is for bile bombs.

With this mod, probably bots will start to look down on you, as they may kill zombies fast enough like main characters, while you'll look more like a supporting character if you're not active enough in killing zombies (like what I did on the video preview, becoming a supporting character for my bots lol).

Notes:
  • A video preview will be added later, about how bots cleared map 2 of The Parish without taking damage & how I became a supporting character.

  • 2nd video later is a preview about combination of this mod & L4B1 during scavenge finale on "Dead Center" (with me as a supporting character & bots as the main characters).

  • In case if you're curious of the cfg settings I used on the video preview:
    CruelLevel 1 BerserkMode 1 ThreatDetectionLevel 10 AbilityDetectionLevel 1

  • This mod should be able to be used together with other bot mods, as it's a very simple mod with very simple vscripts (See 2nd video about how this mod was used together with Left 4 Bots 1).

  • More features will be added later. & it's open to suggestions for new features on a discussion thread as long as they're bot-related & not complicated enough.
Popular Discussions View All (4)
52
9 Jul @ 7:49am
PINNED: Cruel Bots Suggestions
kurochama
7
14 Jul, 2024 @ 8:55pm
PINNED: Cruel Bots Bug Reports
kurochama
0
5 May, 2024 @ 2:33pm
PINNED: Cruel Bots Questions about Features
kurochama
32 Comments
kurochama  [author] 25 Jul @ 5:55am 
@BakerBochMod , you can try to modify the cvars related to bots ("sb_" cvars). Afaik, some of the cvars that affect how fast bots react to zombies are cvars related to range (like "sb_threat_medium_range" etc, "sb_near_hearing_range" & other range-related cvars). If you modify those cvars, you can reduce bot's response speed on zombies.
There are also bots cvars started with "nb_", & I think the headshot rate can be found on "nb_" cvars.
BakerBochMod 25 Jul @ 5:35am 
Hi, I've been studying some of the AI behavior in L4D2 recently, and I noticed a pretty serious but often overlooked issue — the bots seem to have a kind of built-in "aim assist" during combat.
This is especially noticeable when using L4B2-style mods and engaging enemies at close to mid range — they can almost instantly lock onto targets and land perfect headshots.

In high difficulty or realism-focused gameplay, this kind of behavior really breaks immersion and throws off the balance of team dynamics.

I'm just an amateur modder with limited skills, but I wanted to ask:
Do you think it would be technically possible to create a mod that disables or at least reduces the bots' auto-aim, assuming someone had enough time, energy, and skill to tackle it?
君を三年待つ. 6 Jul @ 7:26am 
Brother, may I ask if you can add a function to increase the bot's movement speed? In Left 4 Bot 2, there is a command that allows the bot to prioritize focusing fire on the position of your crosshair, but the bot moves really too slowly. I hope you can add a function to increase the bot's movement speed.
Mickey Adaptus 22 Jun @ 12:45pm 
@kurochama sorry for the reply. I tested it and i did indeed disable instructor hints, so it works now. The reason i asked is because in the complete merciless survivor bots addon, with the grenadier and medic things being features in there, it used the chat window to display the numbers on how much items you stored.

It might be a nice option to add that for the notification system, incase people prefer to play with hte instructor hints off.
君を三年待つ. 7 Jun @ 3:34am 
I was wondering how long it will take for the "Angry Bots" update to go live?
kurochama  [author] 6 Jun @ 3:50pm 
@Mickey Adaptus , did you disable instructor hints? On Paramedic Survivors & Grenadier Mode, the notification is via instructor hint. As bots can't display instructor hint, the number of medkit/ grenade bots have isn't visible either. But players can see their items in virtual inventory as long as instructor hint is enabled.
Mickey Adaptus 6 Jun @ 12:37pm 
Ahhh thanks that is good to know. I think the notification option on the paramedic survivors and grenadier survivors mod are bugged tough, i couldn't get either of them to display the notifications when bots or i pick up items. I think i saw someone else mention this bug as well.

The notification options do work on the complete merciless bots mod tough, since i remember seeing those notifications when using the mod.
kurochama  [author] 6 Jun @ 11:35am 
@Mickey Adaptus , I'm glad to know that you like this mod. For Grenadier Mode & Paramedic Survivors, they should work well with this mod. I also often use those 2 mods along with either Merciless Bots, Enhanced Angry Bots or this Cruel Bots when testing some custom campaigns, & they could work without problem.
Mickey Adaptus 6 Jun @ 11:14am 
Hey there, so i saw you integrated the grenadier mode thing into this mod as a feature. I tend to use your mods quite a bit (merciless bots in particiluar), but i want to use cruel bots now since its more lightweight and works more smoothly with other bot mods, but i also tend to use Grenadier mode and Paramedic survivors.

So if i use the seperate Grenadier mode and Paramedic survivor mods, will the features work well alongside the Cruel Bots mod? I was using those 2 mods alongside simple merciless survivors a while ago, but i couldn't quite figure out if the bots were picking up those extra medkits and grenades etc. The notification option did not seem to work fo those mods either, despite it being turned on.

I do really like your mods, they are some of the best on the entire workshop in my oppinion, alongside left 4 bots 2
kurochama  [author] 27 Mar @ 9:23am 
@菠萝游侠 , yes. If you use a mod with 8 survivors, bots will kill many zombies faster than just with 4 survivors.