Skip to content
/SLASHPLAY

How to turn off infected bots in L4D2

Add +director_allow_infected_bots 0 to the srcds_run line in .slashplay/boot.sh and click Restart.

director_allow_infected_bots

Lets bots fill empty slots on the infected team. On by default.

+director_allow_infected_bots <0|1>

Examples

+director_allow_infected_bots 0

Only human infected.

Values

ValueWhat it does
0 Off
1Default On

Arguments

0|1Required
0 keeps bots off the infected team.

What it does

Turn it off in Versus to keep the infected side to human players only.

Good to know

  • Left 4 Dead 2 hides this setting from the server console, so the Console tab and server.cfg can't change it. Add +director_allow_infected_bots 0 to the srcds_run line in .slashplay/boot.sh (Terminal tab, under Advanced) and click Restart.

Run it on your server

On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to left4dead2/cfg/server.cfg. New to this? Start a L4D2 server first.

Your own
L4D2 server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.