Left 4 Dead 2

Left 4 Dead 2

Competitive-Bots+
 This topic has been pinned, so it's probably important
Omixsat  [developer] May 12, 2016 @ 12:59pm
Full list of recommended sourcemod plugins and other info
Here is a list of recommended SourceMod plugins for your convenience when combined with Competitive-Bots+. Also, a few other bits and pieces of info you'd probably need

How/where do I install sourcemod plugins?
Follow the directory structure based on your CPU instruction set and place the plugins in that folder. For x64(64-bit Windows PC client): "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\plugins" For x86(32-bit Windows PC client): "C:\Program Files\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\plugins" Some plugins may have more sets of instructions to adhere to so please check the plugin post on how to install your intended plugin that may require more steps.

How do I auto-set convars(console variables) on every start of a map in sourcemod?
Follow the directory structure based on your CPU instruction set and open sourcemod.cfg and edit the file. Don't forget to save any intended changes to be loaded onto the next map. For x64(64-bit Windows PC client): C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\cfg\sourcemod\sourcemod.cfg For x86(32-bit Windows PC client): C:\Program Files\Steam\steamapps\common\Left 4 Dead 2\left4dead2\cfg\sourcemod\sourcemod.cfg To set parameters for the next map loaded you can add a line to the very end of the sourcemod.cfg file like this: sm_cvar (insert parameter here) sm_cvar (insert another parameter here) I.E.: sm_cvar sv_consistency 0 sm_cvar sv_maxrate 8000

Recommended cvars for sourcemod.cfg
sm_cvar sv_allow_wait_command 0 sm_cvar sv_consistency 0 sm_cvar net_chan_limit_msec 40 //Prevent server lag to go beyond this value

Addtional Survivor Bot Behavior Tweaks

Exploit/Bug Fixes
Optional/Alternate fixes for exploits/bugs
  • [L4D2] Witch Precache[forums.alliedmods.net]
    INFO: Precaching the witch model to prevent server/client crashes on The Passing campaign(c6m1_riverbank) when trying to spawn a witch via z_spawn but this is not needed since there is another plugin([L4D2] Model Precacher) that has more functionality and is more customizable.

  • [L4D2] Model Precacher[forums.alliedmods.net]
    INFO: Precaching select models to prevent servers, that often use z_spawn, from crashing.

  • [L4D2] Thirdperson Shotgun sound bug fix[forums.alliedmods.net]
    INFO: Return the sound of the shotgun when using thirdpersonshoulder mode!

  • [L4D2] Upgrade packs BUG FIX[forums.alliedmods.net]
    INFO: Fixes a bug with weapon upgrade pack on servers more than 8 players. Upgrade packs will disappear only if all survivors pick up their fair share of incendiary or explosive ammo.

  • [L4D/2] TankDoorFix[forums.alliedmods.net]
    INFO: Prevent breakable doors from surviving a tank punch. This is more of a fallback just in case a breakable door cannot break.

  • [L4D(2)] AFK and Join Team Commands (1.1)[forums.alliedmods.net]
    INFO: Adds a whole lot of commands to go idle or join a team.

  • [L4D(2)] 4+ Survivor AFK Fix (1.2)[forums.alliedmods.net]
    INFO: Fixes a bug where idle players are moved to the spectate team and are unable to resume play when there are more than 4 survivors. This plugin is also a simpler and more improved version compared to [L4D(2)] AFK and Join Team Commands (1.1).

  • [L4D2] Survivor Animation Fix Pack[forums.alliedmods.net]
    INFO: Server-side animation fixes for survivors

  • [L4D2] Ghost Infected Fix[forums.alliedmods.net]
    INFO: A fallback bug fix just in case the bug still exists(and apparently it still does but only in servers with too many duplicate class spawns in VS matches such as the ones in those detestably named servers if you know what I mean). Prevent ghost charges from happening in VS servers that handle more than 8 players.

  • [L4D2 - Mutation19] Taaannnk!!Time! (v1.2, 01-09-2015)[forums.alliedmods.net]
    INFO: Balances the Taaannnk!! mutation

Versus/Scavenge plugins

Unused Content Fixes

For adding more difficulty
  • [L4D2] Nightmarish Common (Updated: 5/5/14)[forums.alliedmods.net]
    INFO: Have the option to change the properties of the horde! You can choose to make the horde become more durable, deal more damage, run faster, etc...

  • [L4D2] Monster Bots[forums.alliedmods.net]
    INFO: Imagine Tank Rush but this time a rush of various S.I. classes

OPTIONAL/Not needed fixes for Competitive-Bots+
  • [L4D/L4D2] VS Bug Fix[forums.alliedmods.net]
    INFO: For those servers(whether listen/dedicated) that have a problem with bots that don't move in Versus matches(including single player versus mutations or such alike). This plugin forces the bots to move even if there are bot command configuration complications/conflicts. This isn't needed but it's worth mentioning

  • [L4D2] Survivor Clones Hunter Pounced Warning Fix[forums.alliedmods.net]
    INFO: For servers that have duplicate survivors. This returns the generic vocalizations for pounced clones.

  • [L4D2] L4D2 - L4D1 Survivors mourn fix[forums.alliedmods.net]
    INFO: Fixes the bug where L4D1 survivors are unable to mourn each other on the L4D2 set.

Ridiculous/Fun Stuff/Adding new features to the bots
  • [L4D2] ScavengeBots [DEPRECATED][forums.alliedmods.net]
    INFO: Adds a feature to the bots by giving them the knowledge on how to scavenge and use gas cans for campaigns that require scavenge events such as in Dead Center and Scavenge game modes. Unfortunately, this mod makes the bot ignore teamwork and split up. This plugin is outdated! Pls. check below

  • [L4D2] ScavengeBotsDS (Improved) [forums.alliedmods.net]
    INFO: The bots now have extended GasCan Scavenging compatibility (and smarter/more logical behavior). An improved version done by Xanaguy.

  • [L4D2] Defib using Bots[forums.alliedmods.net]
    INFO: Self-explanatory... Bot's are able to use defibrillator(s) on dead teammates. This plugin requires either Gear Transfer or Left 4 Downtown 2 to let the bots be able to pickup defib kits.

  • [L4D2] Survivor Bots Auto Trigger [DEPRECATED][forums.alliedmods.net]
    INFO: Assist the bots in triggering crescendo events when they could not trigger it by themselves. This is a must have if you want the bots to progress through campaigns completely by themselves when the player has died. This plugin is outdated! Pls. check below

  • [L4D2] Improved and Perfected SurvivorAI AutoTrigger[forums.alliedmods.net]
    INFO: Finally, the survivor bots can now proceed through every official maps. Updated version of the auto trigger plugin of those previously made ones done by ljj[forums.alliedmods.net] & AtomicStryker[forums.alliedmods.net]

  • [L4D2] Bots Pickup T3s[forums.alliedmods.net]
    INFO: Bots will now be able to pickup the M60(Machine Gun/Big Gun) and the Grenade Launcher. This plugin however requires Left 4 Downtown 2

For L4D1 fanbois/fangurls
  • [L4D2] Restore Ragdolls (1.3.0 2014-01-10)[forums.alliedmods.net]
    INFO: Since L4D1 uses ragdolls for the deceased, this mod removes the ability to revive survivors via defib unit. Replaces the lifeless static figure of a deceased survivor with a ragdoll effect.

  • [L4D2] Tank-on-fire Speed Booster[forums.alliedmods.net]
    INFO: To ensure that the running speed of the tank while its burning is the same as L4D1. Set the cvar "l4d2_tankfire_boost_amount" to "1.3". Basis of value is determined by the duration of the tank sprint test as seen in this video which is around 12 to 13 seconds in c12m4_barn(bridge portion). As of 6/11/2016 it is confirmed that the L4D1 tank is 30% faster when set on fire(Only in coop modes such as Campaign, Single Player, Survival, etc...). The L4D1 tank in versus matches is 5% slower. In the L4D1 versus mutation, kindly set the cvar "l4d2_tankfire_boost_amount" to "0.95"

  • Incapacitated survivor(s) can commit friendly fire towards non-incapacitated survivor(s) does not exist for L4D2 but it does exist in L4D1

  • [L4D2] Bots Weapon Preferences Editor (UPDATED 09-10-2015)[forums.alliedmods.net]
    INFO: Allows some level of manipulation over what primary weapons survivor bots will use.

BONUS plugin(s) and other stuff
  • [L4D1/L4D2]Reciprocal Friendly Fire[forums.alliedmods.net]
    INFO: Reverse friendly fire to stop griefers once and for all! Just beware of molotrolls

  • [L4D2] Friendly-Fire Protection Tool (ver 1.5 r7)[forums.alliedmods.net]
    INFO: Just like [L4D1/L4D2]Reciprocal Friendly Fire plugin but this one has more customizable options.

  • [EXTENSION] Left 4 Downtown 2 (0.5.4.2)[forums.alliedmods.net]
    INFO: Updated signatures/re-compiled by Merudo[forums.alliedmods.net] to ensure that the extension works in both Windows and Linux based systems. Left 4 Downtown 2 is an extension made by the Left 4 Downtown 2 team which currently consists of ProdigySim[forums.alliedmods.net], AtomicStryker[forums.alliedmods.net], and psychonic[forums.alliedmods.net]. This plugin is a L4D2-only continuation of Downtown1's Left 4 Dead extension. It summary it adds a whole bunch of options(natives/forwards) for plugins or in other words add more functionality in L4D2.
Last edited by Omixsat; Sep 23, 2022 @ 12:25am
< >
Showing 1-15 of 20 comments
Omixsat  [developer] Jun 25, 2016 @ 12:22am 
There will be delays in editing this thread. I can't seem to save new changes as much as I want to so it may take a while to update.
kot Jan 17, 2017 @ 10:02am 
ftw Bump so I won't lose this list
Xanaguy Jan 18, 2017 @ 10:17am 
Just tried out the Scavenge bots! They carried the cans away from where they're supposed to go... Any Idea on how to fix that?

Edit: Sorry, I forgot one crucial step. It works flawlessly now!
Last edited by Xanaguy; Jan 18, 2017 @ 10:31am
Omixsat  [developer] Jan 18, 2017 @ 10:33am 
Originally posted by X.A.N.A.:
Just tried out the Scavenge bots! They carried the cans away from where they're supposed to go... Any Idea on how to fix that?

Sounds like you made the third party engine hook work. Great Job! The issue is caused by either being in a custom campaign or you did not install the scavengebots.cfg file in the proper folder.
Last edited by Omixsat; Jan 18, 2017 @ 10:33am
DreadedGhoul575 Feb 28, 2017 @ 5:21am 
left4downtown I think crashes my game. I want to install every bot mod, that fixes and allows bots to use everything if not close to that.
BluSplatKid May 22, 2017 @ 3:13am 
are some of the plugins not working??
宝玉 Jun 16, 2017 @ 5:08am 
is hard for me to download.....i have to study english...
bots don't pick gas
Omixsat  [developer] Dec 4, 2017 @ 5:03pm 
Originally posted by DreadedGhoul575:
Tried autotrigger and scavengebots.cfg, but bots just stand still.

You may have to review the installation steps as per the plugin author's instructions. It works fine for me
Omixsat  [developer] Dec 12, 2017 @ 8:08am 
Originally posted by play for story k? csgo-skins.com:
Survivor bots don't leave the saferoom even when the doors open in versus until I join their team move for a bit and go infected again, any way to fix it?

1) Are you using any plugin?

1.a) If Yes, which one?

1.b) If No, please elaborate how it happened or how it even started
Last edited by Omixsat; Dec 12, 2017 @ 8:09am
kot Dec 12, 2017 @ 8:13am 
I didn't remove my post fast enough lmao, I got it working, had to update the plugin for bots delay or just remove and install it again
ILoveChubbyWomen Jun 20, 2018 @ 1:45pm 
Mine doesn't even have a sourcemod folder
Xanaguy Oct 3, 2018 @ 12:12pm 
Plugin display request: I've made improvements to the AutoTrigger and ScavengeBots plugin. I would like to throw these up for display on this discussion just in case anyone wishes to try it with the Competitive-Bots+ addon.

ScavengeBotsDS: https://forums.alliedmods.net/showthread.php?t=311004

Improved and Perfected SurvivorAI AutoTrigger: https://forums.alliedmods.net/showthread.php?t=310638
COVID-19 Oct 3, 2018 @ 11:00pm 
recording_helpers is not working after last updates. Is it means that we cant open Competitive-Bots+ full potential?
Omixsat  [developer] Oct 5, 2018 @ 1:52am 
@Xanaguy: Wowzers! Great job on making an updated approach for those plugins. I'll add those in
Last edited by Omixsat; Oct 5, 2018 @ 1:53am
< >
Showing 1-15 of 20 comments
Per page: 1530 50