View Single Post
Author Message
Mr. Zero
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 02-14-2010 , 14:29   [L4D2] No Infected Bots
Reply With Quote #1

No Infected Bots

About:
Due to another of Valve updates we now get infected bots. Thanks Valve, I needed that for my RQ matches.

However I also tent to play friends only matches. And one of my firends always seems to crash / disconnect / have to care of girl in the basement and what not.
During that time we all agree to wait, but it seems the director have his own idea of waiting.

And of course was Valve smart enough to leave in a cvar to disable the infected bots, so you wouldn't need this plugin at all...

No wait. They didn't. Really Valve? Oh well, good thing we got SourceMod right?

Description:
Kick special infected bots.

Known Problems / Things to Notice:
  • This is active on all gamemodes. May I recommend Game Mode Config Loader to disable this plugin in coop/survival and what not.

Commands:
  • sm_infbots
    Toggles infected bots, requires BAN flag.

Cvars:
A configuration file will be automatically created for you upon first run, in /cfg/sourcemod/ called NoInfectedBots.cfg
Code:
// Blocks infected bots from joining the game
// -
// Default: "1"
l4d2_noinfectedbots_enabled "1"

// Allow 1 AI infected when tank spawns (not the tank itself, but the player can spawn a AI infected first before taking control of the tank)
// -
// Default: "1"
l4d2_noinfectedbots_allowtankbot "1"
Changelog:
Code:
Version 0.91
+ Added the "infbots" toggle command
+ Added a timer to tank spawn to prevent "late" bots to spawn

Version 0.90
Initial release
Version Tracking:
v0.90 - 117 views
Attached Files
File Type: sp Get Plugin or Get Source (NoInfectedBots.sp - 5238 views - 2.7 KB)

Last edited by Mr. Zero; 03-05-2010 at 10:16.
Mr. Zero is offline