Difference between revisions of "Half-Life 2: Deathmatch"

From PCGamingWiki, the wiki about fixing PC games
m (API: updated template usage)
(Updated red screen fix install instructions to reflect the updated version.)
Line 61: Line 61:
# Download the [https://community.pcgamingwiki.com/files/file/2243-half-life-2-deathmatch-red-screen-flash-reduction/ Red Screen Flash Reduction Mod]
# Download the [https://community.pcgamingwiki.com/files/file/2243-half-life-2-deathmatch-red-screen-flash-reduction/ Red Screen Flash Reduction Mod]
# Navigate to <code>{{p|game}}\hl2mp\custom</code>.
# Navigate to <code>{{p|game}}\hl2mp\custom</code>.
# Move the <code>red_screen_fix</code> folder from the zip file to the <code>custom</code> folder
# Move either the <code>red_screen_fix_minimal</code> or <code>red_screen_fix_off</code> folder from the archive to the <code>custom</code> folder
{{ii}} If you install a custom HUD, you will need to delete the <code>red_screen_fix</code> folder in order for it to work
{{ii}} If you install a custom HUD, you will need to delete the <code>red_screen_fix</code> folder in order for it to work

Revision as of 00:46, 26 October 2021

Half-Life 2: Deathmatch
Half-Life 2: Deathmatch cover
Valve Corporation
Release dates
Windows November 30, 2004
macOS (OS X) September 30, 2010
Linux March 16, 2013
Modes Multiplayer
Pacing Real-time
Perspectives First-person
Controls Direct control
Genres Shooter
Art styles Realistic
Themes Eastern Europe, Post-apocalyptic, Sci-fi
Series Half-Life
Half-Life 2: Deathmatch on HowLongToBeat
Half-Life 2: Deathmatch on IGDB
Half-Life 2: Deathmatch guide on StrategyWiki
Half-Life 2: Deathmatch on MobyGames
Half-Life 2: Deathmatch on Wikipedia
Half-Life 1998
Sven Co-op (unofficial mod) 1999
Half-Life: Opposing Force 1999
Half-Life: Blue Shift 2001
Codename: Gordon 2004
Half-Life: Source 2004
Half-Life 2 2004
Half-Life 2: Deathmatch 2004
Half-Life 2: Lost Coast 2005
Half-Life Deathmatch: Source 2006
Half-Life 2: Episode One 2006
Half-Life 2: Episode Two 2007
Portal (series)
Half-Life: Decay (unofficial port) 2008
Black Mesa (unofficial remake) 2020
Half-Life: Alyx 2020


The macOS (OS X) version of this game does not work on macOS Catalina (version 10.15) or later due to the removal of support for 32-bit-only apps.

General information

GitHub Issue Tracker for Half-Life 2: Deathmatch and other Source-based games
Steam Community Discussions


Source DRM Notes Keys OS
Icon overlay.png
Included with retail copies of Half-Life 2: Episode 1, and Counter-Strike: Source.
Icon overlay.png
macOS (OS X)
All versions require Steam DRM.

Essential improvements

Skip intro videos

Use -novid command line argument[citation needed]

Increase performance

HL2DM's default settings are generally not optimized for most users. Therefore, it is generally recommended to use a performance config, such as Xeogin's HL2DM Community Patch.
Install HL2DM Community Patch Autoexec[citation needed]
  1. Backup your current configuration files (config.cfg & autoexec.cfg)
  2. Copy the text from the latest HL2DM Community Patch from Xeogin's GitHub
  3. Create a file named autoexec.cfg in <path-to-game>\hl2mp\cfg
  4. Paste the text from the GitHub to the newly created autoexec.cfg
  5. Create overrides.cfg inside <path-to-game>\hl2mp\cfg, and add anything you'd put normally place inside your autoexec.cfg into overrides.cfg instead
If another version of the community patch is released, simply overwrite the existing autoexec.cfg to update it

Reduce red opacity from the HUD when hit

Modify configuration file
  1. Download the Red Screen Flash Reduction Mod
  2. Navigate to <path-to-game>\hl2mp\custom.
  3. Move either the red_screen_fix_minimal or red_screen_fix_off folder from the archive to the custom folder


If you install a custom HUD, you will need to delete the red_screen_fix folder in order for it to work

Game data

Configuration file(s) location

System Location
Windows <path-to-game>\hl2mp\cfg[Note 1]
macOS (OS X)
Linux <path-to-game>/
It's unknown whether this game follows the XDG Base Directory Specification on Linux. Please fill in this information.

Save game cloud syncing

System Native Notes
Steam Cloud


In-game general video settings.
In-game general video settings.
In-game advanced video settings.
In-game advanced video settings.

Graphics feature State WSGF Notes
Widescreen resolution
4K Ultra HD
Field of view (FOV)
Borderless fullscreen windowed
See Borderless fullscreen windowed.
Anisotropic filtering (AF)
Anti-aliasing (AA)
Up to 8x MSAA. SGSSAA available with flag 0x000000C1.
Vertical sync (Vsync)
60 FPS and 120+ FPS
Frame rate cap can be changed by changing fps_max in the developer console.
High dynamic range display (HDR)
Rendered image uses SDR color space. In-game HDR option refers only to HDR Rendering.
HBAO available with flag 0x0000002C.

Borderless fullscreen windowed

-window -noborder[citation needed]
  1. Find Half-Life 2: Deathmatch in your Steam Library
  2. Right-click the game name
  3. Select Properties
  4. Select Set Launch Options...
  5. Input -window -noborder
  6. Press OK
  7. Launch the game


In-game key map settings.
In-game key map settings.
In-game mouse/gamepad settings.
In-game mouse/gamepad settings.


In-game audio settings.
In-game audio settings.

Audio feature State Notes
Separate volume controls
Over-all game volume and separate music slider.
Surround sound
4, 5.1 & 7.1 speaker options, though not true surround sound
Closed captions
Mute on focus lost
"Silence the audio while the game window is in the background" check box.


Language UI Audio Sub Notes


In-game multiplayer settings.
In-game multiplayer settings.
For more information, see the "Source Dedicated Server" section of our Source engine article.

Multiplayer types

Type Native Players Notes
Local play
Use Nucleus Coop & Unofficial mod.
LAN play
16 Versus
Online play
16 Versus
Player count can exceed 16 with an add-on; but there can be problems on maps with limited spawnpoints, especially if there's not some form of no-block and the scoreboard can only handle having so many players before it no longer fits on the screen
The max player limit can be increased externally (32 players)

Connection types

Type Native Notes
Direct IP
Use connect [IP address here] in the console.


Protocol Port(s) and/or port range(s)
TCP 27015
UDP 27005, 27015, 27020, 51840
Universal Plug and Play (UPnP) support status is unknown.

VR support

3D modes Native Notes
Native 3D
Nvidia 3D Vision
TriDef 3D
Headsets Native Notes
HTC Vive
This game might be playable with the Revive Compatibility Layer (compatibility list).
Oculus Rift
Shows under Video Settings, but requires a launch option to fully enable. Uses 0.4 API which is no longer supported on current firmware.
Windows Mixed Reality
This game might be playable with the Revive Compatibility Layer (compatibility list).
Devices Native Notes
Tracked motion controllers
Traditional controller
See Input for details.

Issues fixed

Purple and black broken textures

A generic fix for this issue can be found on our Source engine page.

SteamVR launches automatically when attempting to enter Options

Modify the gameinfo.txt file[1]
  1. Navigate to <path-to-game>/hl2/ and open gameinfo.txt with a text editor of your choice.
  2. Find the value of supportsvr and change it from 1 to 0.


If you reinstall the game or verify the integrity of the files, this change will be reverted.

Chosen Player model is forgotten after joining a new map

The player's character model influences their starting weapon.
Install a client-side mod
  1. Download the fix player model change on Gamebanana.
  2. Open the archive and add the fix_model_change folder to <path-to-game>\hl2mp\custom.
Manually change your playermodel and team using aliases
  1. Add the following to <path-to-game>\hl2mp\cfg\autoexec.cfg
cl_playermodel            "models/humans/Group03/male_03.mdl"
alias  "rebelModel"            "cl_playermodel models/humans/Group03/male_03.mdl"
alias  "combineModel"          "cl_playermodel models/combine_soldier.mdl"

bind  "F1"  "timeleft"          // Uses console command instead of game chat
bind  "F2"  "rebelModel;jointeam 3;say_team Either joined team red, or will change to a rebel player on next spawn."    //Jointeam 3 + change to designated (aliased) rebel skin
bind  "F3"  "combineModel;jointeam 2;say_team Either joined team blue, or will change to a combine player on next spawn."  //Jointeam 2 + change to designated (aliased) combine skin

bind  "F4" "jointeam 1" // Spectator

Other information


Technical specs Supported Notes
Direct3D 6, 7, 8, 8.1, 9
OpenGL 2.1 OS X and Linux only.
Shader Model support 2, 3
Executable 32-bit 64-bit Notes
macOS (OS X)
[citation needed]
[citation needed]


Middleware Notes
Physics Havok Heavily modified variant.
Audio Miles Sound System
Cutscenes Bink Video Used for startup videos and in-game movies.
Multiplayer Steamworks

Console commands

Games running on the Source engine can utilize Source Engine Console Commands for various tasks.
Enabling the console in Source games[citation needed]
  1. Launch the game
  2. From the main menu select Options
  3. Select the Keyboard tab
  4. Click the Advanced button
  5. Check the box next to Enable developer console (~)
  6. Click Apply


Press ~ to open the console.
Some commands may first require you enabling sv_cheats. You can do so with sv_cheats 1.
Many servers will not allow you to play with cheats enabled, or will disable them upon entering the server.
Users without a US keyboard may experience some problems.

Launch options

View this Steam Support Article regarding launch options as well as the relevant Valve Developer wiki page for further information and a list of useful Source engine launch options.
Enabling a launch parameter[citation needed]
  1. Find the game in your Steam Library
  2. Right-click the game name
  3. Select Properties
  4. Select Set Launch Options...
  5. Input your selected launch options and separate each command with a space
  6. Press OK
  7. Launch the game

System requirements

Minimum Recommended
Operating system (OS) XP
Processor (CPU) 1.2 GHz
System memory (RAM) 256 MB
Hard disk drive (HDD) 2.8 GB
Video card (GPU) DirectX 7 compatible
macOS (OS X)
Operating system (OS) Leopard 10.5.8, Snow Leopard 10.6.3
Processor (CPU) 1.2 GHz
System memory (RAM) 1 GB
Hard disk drive (HDD)
Video card (GPU) Nvidia GeForce 8
ATI Radeon X1600
Intel HD 3000


  1. When running this game without elevated privileges (Run as administrator option), write operations against a location below %PROGRAMFILES%, %PROGRAMDATA%, or %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore on Windows Vista and later (more details).