Skip to content
/SLASHPLAY

How to change the game mode in L4D2

Type map c5m1_waterfront versus in the Console tab of the server page: the map loads in Versus. Swap versus for coop, realism, survival or scavenge.

mp_gamemode

The current game mode, coop by default. Left 4 Dead 2 hides it from the console: change modes with map <map> <mode>.

map <map> <mode>

Examples

map c5m1_waterfront versus

The Parish in Versus.

map c1m1_hotel realism

Dead Center in Realism.

map c5m1_waterfront coop

Back to a normal campaign.

Values

ValueWhat it does
coopDefault Campaign
realism Realism
versus Versus
survival Survival
scavenge Scavenge

Arguments

mapRequired
Map to load, such as c5m1_waterfront.
modeRequired
The game mode.

What it does

The mode sets the rules: Campaign (coop), Realism, Versus, Survival or Scavenge. Typing mp_gamemode versus doesn't work on a Left 4 Dead 2 server, so load a map with the mode after its name.

Good to know

  • SLASHPLAY starts the server on c5m1_waterfront in coop, and a Restart goes back to that.
  • To start in another mode every time, put the mode after the map in the srcds_run line of .slashplay/boot.sh (Terminal tab, under Advanced): +map c5m1_waterfront versus.

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.