How to let bots play on their own in L4D2
Type sv_cheats 1, then sb_all_bot_game 1 in the Console tab of the server page.
sb_all_bot_game
With 1, the game keeps running on a server with nothing but bots. Off by default.
sb_all_bot_game <0|1> Examples
sb_all_bot_game 1 Allow an all-bot game.
Values
| Value | What it does |
|---|---|
| 0Default | Off |
| 1 | On |
Arguments
0|1Required1turns it on,0off.
What it does
Use it for testing, or to let the bots play a round on their own.
Good to know
- Needs
sv_cheats 1on the server. Turning sv_cheats off resets it to its default, so a server.cfg line only sticks belowsv_cheats 1, which opens every cheat to every player.
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.