How to turn on Team Deathmatch in Half-Life 2: Deathmatch
Type mp_teamplay 1, then changelevel dm_lockdown in the Console tab; add mp_teamplay 1 to hl2mp/cfg/server.cfg to keep it.
mp_teamplay
Switches between free-for-all Deathmatch (0) and Team Deathmatch, Combine against Rebels (1). 0 by default.
mp_teamplay <0|1> Examples
mp_teamplay 1 Team Deathmatch from the next map.
mp_teamplay 0 Free-for-all, the default.
Values
| Value | What it does |
|---|---|
| 0Default | Deathmatch |
| 1 | Team Deathmatch |
Arguments
0|1Required- 0 deathmatch, 1 team deathmatch.
What it does
The game mode is read when a map loads, so change it and then change the map.
Good to know
- It applies at the next map: type
mp_teamplay 1, thenchangelevel dm_lockdown. - To keep it after a restart, add
mp_teamplay 1tohl2mp/cfg/server.cfgin the file manager (Advanced, then Files).
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 hl2mp/cfg/server.cfg. New to this? Start a HL2DM server first.
Your own
HL2DM server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.