Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

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

From PCGamingWiki, the wiki about fixing PC games
m (removed double macos compatibility warning)
 
(43 intermediate revisions by 22 users not shown)
Line 5: Line 5:
 
|publishers  =  
 
|publishers  =  
 
|engines      =  
 
|engines      =  
{{Infobox game/row/engine|Source}}
+
{{Infobox game/row/engine|Source|Original|name=Source 2004}}
 +
{{Infobox game/row/engine|Source|Current|name=Source 2013 Multiplayer}}
 
|release dates=  
 
|release dates=  
{{Infobox game/row/date|Windows|November 30, 2004}}
+
{{Infobox game/row/date|Windows|November 30, 2004|ref=<ref>{{Refurl|url=https://store.steampowered.com/oldnews/364|title=News - Half-Life 2: Deathmatch and SDK Update|date=2023-07-02}}</ref>}}
 
{{Infobox game/row/date|OS X|September 30, 2010}}
 
{{Infobox game/row/date|OS X|September 30, 2010}}
 
{{Infobox game/row/date|Linux|March 16, 2013}}
 
{{Infobox game/row/date|Linux|March 16, 2013}}
Line 24: Line 25:
 
|hltb        = 4249
 
|hltb        = 4249
 
|igdb        = half-life-2-deathmatch
 
|igdb        = half-life-2-deathmatch
 +
|lutris      = half-life-2-deathmatch
 +
|mobygames    = 29092
 
|strategywiki = Half-Life 2: Deathmatch
 
|strategywiki = Half-Life 2: Deathmatch
|mobygames    = half-life-2-deathmatch
 
 
|wikipedia    = Half-Life 2: Deathmatch
 
|wikipedia    = Half-Life 2: Deathmatch
 
|winehq      = 2095
 
|winehq      = 2095
 
|license      = commercial
 
|license      = commercial
 +
}}
 +
 +
{{Introduction
 +
|introduction      =
 +
 +
|release history  =
 +
 +
|current state    =
 
}}
 
}}
  
 
'''General information'''
 
'''General information'''
{{mm}} [http://combineoverwiki.net/wiki/Main_Page Unofficial Half-Life Wiki]
 
 
{{mm}} [https://github.com/ValveSoftware/Source-1-Games/issues GitHub Issue Tracker for Half-Life 2: Deathmatch] and other Source-based games
 
{{mm}} [https://github.com/ValveSoftware/Source-1-Games/issues GitHub Issue Tracker for Half-Life 2: Deathmatch] and other Source-based games
 
{{mm}} [https://steamcommunity.com/app/320/discussions/ Steam Community Discussions]
 
{{mm}} [https://steamcommunity.com/app/320/discussions/ Steam Community Discussions]
Line 38: Line 47:
 
==Availability==
 
==Availability==
 
{{Availability|
 
{{Availability|
{{Availability/row| Steam | 320 | Steam | |  | Windows, OS X, Linux }}
+
{{Availability/row| Retail |  | Steam | Included with retail copies of [[Half-Life 2: Episode One]] and [[Counter-Strike: Source]]. |  | Windows }}
 +
{{Availability/row| Steam | 320 | Steam | Initially could not be purchased separately and was instead given for free to all owners of [[Half-Life 2]]. Received a standalone digital release later. |  | Windows, OS X, Linux }}
 
}}
 
}}
 
{{ii}} All versions require {{DRM|Steam}}.
 
{{ii}} All versions require {{DRM|Steam}}.
Line 45: Line 55:
 
===Skip intro videos===
 
===Skip intro videos===
 
{{Fixbox|description=Use <code>-novid</code> [[Glossary:Command line arguments|command line argument]]|ref={{cn|date=July 2016}}}}
 
{{Fixbox|description=Use <code>-novid</code> [[Glossary:Command line arguments|command line argument]]|ref={{cn|date=July 2016}}}}
 +
 +
===Increase performance===
 +
{{ii}} 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.
 +
{{Fixbox|description=Install HL2DM Community Patch Autoexec|ref={{cn|date=August 2021}}|fix=
 +
#Backup your current configuration files (<code>config.cfg</code> & <code>autoexec.cfg</code>)
 +
#Copy the text from the latest HL2DM Community Patch from [https://github.com/Xeogin/xeogin.github.io/blob/master/autoexec.cfg Xeogin's GitHub]
 +
#Create a file named <code>autoexec.cfg</code> in <code>{{p|game}}\hl2mp\cfg</code>
 +
#Paste the text from the GitHub to  the newly created <code>autoexec.cfg</code>
 +
#Create <code>overrides.cfg</code> inside <code>{{p|game}}\hl2mp\cfg</code>, and add anything you'd put normally place inside your <code>autoexec.cfg</code> into <code>overrides.cfg</code> instead
 +
{{ii}} 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===
 +
{{Fixbox|description=Modify configuration file||fix=
 +
# 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>.
 +
# 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
 +
'''Notes'''
 +
{{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
 +
}}
  
 
==Game data==
 
==Game data==
Line 57: Line 87:
 
===[[Glossary:Save game cloud syncing|Save game cloud syncing]]===
 
===[[Glossary:Save game cloud syncing|Save game cloud syncing]]===
 
{{Save game cloud syncing
 
{{Save game cloud syncing
|discord               =  
+
|discord                   =  
|discord notes         =  
+
|discord notes             =  
|epic games store       =  
+
|epic games launcher       =  
|epic games store notes =  
+
|epic games launcher notes =  
|gog galaxy             =  
+
|gog galaxy               =  
|gog galaxy notes       =  
+
|gog galaxy notes         =  
|origin                 =  
+
|origin                   =  
|origin notes           =  
+
|origin notes             =  
|steam cloud           = unknown
+
|steam cloud               = unknown
|steam cloud notes     =  
+
|steam cloud notes         =  
|uplay                  =  
+
|ubisoft connect          =  
|uplay notes           =  
+
|ubisoft connect notes     =  
|xbox cloud             =  
+
|xbox cloud               =  
|xbox cloud notes       =  
+
|xbox cloud notes         =  
 
}}
 
}}
  
 
==Video==
 
==Video==
{{Image|Half Life 2 Deathmatch General Video.png|In-game general video settings.}}
+
{{Image|Half Life 2 Deathmatch General Video.png|General video settings}}
{{Image|Half Life 2 Deathmatch Advanced Video.png|In-game advanced video settings.}}
+
{{Image|Half Life 2 Deathmatch Advanced Video.png|Advanced video settings}}
 
{{Video
 
{{Video
 
|wsgf link                  = https://www.wsgf.org/dr/half-life-2-deathmatch/en
 
|wsgf link                  = https://www.wsgf.org/dr/half-life-2-deathmatch/en
Line 91: Line 121:
 
|4k ultra hd notes          =  
 
|4k ultra hd notes          =  
 
|fov                        = false
 
|fov                        = false
|fov notes                  =  
+
|fov notes                  = Default FOV is 90 Hor+
 
|windowed                  = true
 
|windowed                  = true
 
|windowed notes            =  
 
|windowed notes            =  
Line 99: Line 129:
 
|anisotropic notes          =  
 
|anisotropic notes          =  
 
|antialiasing              = true
 
|antialiasing              = true
|antialiasing notes        = Up to 8x [[MSAA]].
+
|antialiasing notes        = Up to 8x [[MSAA]]. [[SGSSAA]] available with flag <code>0x000000C1</code>.
 +
|upscaling                  = unknown
 +
|upscaling tech            =
 +
|upscaling notes            =
 
|vsync                      = true
 
|vsync                      = true
|vsync notes                =  
+
|vsync notes                = Double buffered <ref>{{Refurl|url=https://www.youtube.com/watch?v=qShOm6pwUbA|title=Black mesa vsync is double buffered|date=2024}}</ref>
 
|60 fps                    = true
 
|60 fps                    = true
 
|60 fps notes              =  
 
|60 fps notes              =  
 
|120 fps                    = true
 
|120 fps                    = true
|120 fps notes              = No frame rate or refresh rate cap.<ref>[http://120hz.net/showthread.php?3258-New-120Hz-Games-Report New 120Hz Games Report]</ref>
+
|120 fps notes              = Frame rate cap can be changed by changing <code>fps_max</code> in the [[#Enabling the console|developer console]].
 
|hdr                        = false
 
|hdr                        = false
 
|hdr notes                  = Rendered image uses {{term|SDR}} color space. In-game {{term|HDR}} option refers only to {{term|HDR Rendering}}.
 
|hdr notes                  = Rendered image uses {{term|SDR}} color space. In-game {{term|HDR}} option refers only to {{term|HDR Rendering}}.
Line 111: Line 144:
 
|color blind notes          =  
 
|color blind notes          =  
 
}}
 
}}
 +
{{ii}} HBAO available with flag <code>0x0000002C</code>.
  
 
===[[Glossary:Borderless fullscreen windowed|Borderless fullscreen windowed]]===
 
===[[Glossary:Borderless fullscreen windowed|Borderless fullscreen windowed]]===
Line 124: Line 158:
  
 
==Input==
 
==Input==
{{Image|Half Life 2 Deathmatch Remapping.png|In-game key map settings.}}
+
{{Image|Half Life 2 Deathmatch Remapping.png|Key map settings}}
{{Image|Half Life 2 Deathmatch Mouse Gamepad.png|In-game mouse/gamepad settings.}}
+
{{Image|Half Life 2 Deathmatch Mouse Gamepad.png|Mouse/gamepad settings}}
 
{{Input
 
{{Input
 
|key remap                = true
 
|key remap                = true
Line 149: Line 183:
 
|invert controller y-axis  = true
 
|invert controller y-axis  = true
 
|invert controller y-axis notes=  
 
|invert controller y-axis notes=  
|xinput controllers        = unknown
+
|xinput controllers        = true
 
|xinput controllers notes  =  
 
|xinput controllers notes  =  
|xbox prompts              = unknown
+
|xbox prompts              = false
 
|xbox prompts notes        =  
 
|xbox prompts notes        =  
|impulse triggers          = unknown
+
|impulse triggers          = false
 
|impulse triggers notes    =  
 
|impulse triggers notes    =  
 
|dualshock 4              = unknown
 
|dualshock 4              = unknown
 
|dualshock 4 notes        =  
 
|dualshock 4 notes        =  
|dualshock prompts        = unknown
+
|dualshock prompts        = false
 
|dualshock prompts notes  =  
 
|dualshock prompts notes  =  
 
|light bar support        = unknown
 
|light bar support        = unknown
Line 169: Line 203:
 
|other controllers        = unknown
 
|other controllers        = unknown
 
|other controllers notes  =  
 
|other controllers notes  =  
|other button prompts      = unknown
+
|other button prompts      = false
 
|other button prompts notes=  
 
|other button prompts notes=  
|button prompts            = false
 
|button prompts notes      =
 
 
|controller hotplug        = false
 
|controller hotplug        = false
 
|controller hotplug notes  =  
 
|controller hotplug notes  =  
Line 192: Line 224:
  
 
==Audio==
 
==Audio==
{{Image|Half Life 2 Deathmatch Audio.png|In-game audio settings.}}
+
{{Image|Half Life 2 Deathmatch Audio.png|Audio settings}}
 
{{Audio
 
{{Audio
 
|separate volume          = true
 
|separate volume          = true
 
|separate volume notes    = Over-all game volume and separate music slider.
 
|separate volume notes    = Over-all game volume and separate music slider.
 
|surround sound          = true
 
|surround sound          = true
|surround sound notes    = 7.1, 5.1 surround sound, 4 speaker surround.
+
|surround sound notes    = 4, 5.1 & 7.1 speaker options, though not true surround sound
 
|subtitles                = true
 
|subtitles                = true
 
|subtitles notes          =  
 
|subtitles notes          =  
Line 205: Line 237:
 
|mute on focus lost notes = "Silence the audio while the game window is in the background" check box.
 
|mute on focus lost notes = "Silence the audio while the game window is in the background" check box.
 
|eax support              =  
 
|eax support              =  
|eax support notes       =  
+
|eax support notes         =
 +
|royalty free audio      = always on
 +
|royalty free audio notes =  
 
}}
 
}}
  
Line 216: Line 250:
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
 +
}}
 +
{{L10n/switch
 +
|language  = Belarusian
 +
|interface = hackable
 +
|audio    = false
 +
|subtitles = hackable
 +
|notes    = Fan translation, [https://steamcommunity.com/sharedfiles/filedetails/?id=2838046895 Steam Guides]. In testing stage.
 +
|fan      = true
 
}}
 
}}
 
}}
 
}}
  
 
==Network==
 
==Network==
{{Image|Half Life 2 Deathmatch Multiplayer.png|In-game multiplayer settings.}}
+
{{Image|Half Life 2 Deathmatch Multiplayer.png|Multiplayer settings}}
 
{{ii}} For more information, see the [[Engine:Source#Source Dedicated Server|"Source Dedicated Server" section of our Source engine article]].
 
{{ii}} For more information, see the [[Engine:Source#Source Dedicated Server|"Source Dedicated Server" section of our Source engine article]].
  
 
{{Network/Multiplayer
 
{{Network/Multiplayer
 
|local play          = hackable
 
|local play          = hackable
|local play players  =  
+
|local play players  = 16
 
|local play modes    = Versus
 
|local play modes    = Versus
|local play notes    = Use [https://github.com/lucasassislar/nucleuscoop/releases Nucleus Coop] & [https://github.com/ZeroFox5866/nucleuscoop/releases Unofficial mod].
+
|local play notes    = Use [https://github.com/SplitScreen-Me/splitscreenme-nucleus/releases Nucleus Co-op].
 
|lan play            = true
 
|lan play            = true
 
|lan play players    = 16
 
|lan play players    = 16
Line 235: Line 277:
 
|online play players  = 16
 
|online play players  = 16
 
|online play modes    = Versus
 
|online play modes    = Versus
|online play notes    =  
+
|online play notes    = 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
 
|asynchronous        =  
 
|asynchronous        =  
 
|asynchronous notes  =  
 
|asynchronous notes  =  
Line 279: Line 321:
 
|htc vive notes              =  
 
|htc vive notes              =  
 
|oculus rift                = true
 
|oculus rift                = true
|oculus rift notes          = Available under Video Settings.
+
|oculus rift notes          = Shows under Video Settings, but requires a launch option to fully enable. Uses 0.4 API which is no longer supported on current firmware.
 
|osvr                        = unknown
 
|osvr                        = unknown
 
|osvr notes                  =  
 
|osvr notes                  =  
Line 305: Line 347:
 
===Purple and black broken textures===
 
===Purple and black broken textures===
 
{{ii}} A generic fix for this issue can be found [[Engine:Source#Broken textures|on our Source engine page]].
 
{{ii}} A generic fix for this issue can be found [[Engine:Source#Broken textures|on our Source engine page]].
 +
 +
===SteamVR launches automatically when attempting to enter Options===
 +
{{Fixbox|description=Modify the gameinfo.txt file|ref=<ref>{{Refurl|url=https://steamcommunity.com/app/290930/discussions/2/2826511721278755116/|title=Steam Community|date=26 May 2023}}</ref>|fix=
 +
# Navigate to <code>{{P|game}}/hl2/</code> and open <code>gameinfo.txt</code> with a text editor of your choice.
 +
# Find the value of <code>supportsvr</code> and change it from <code>1</code> to <code>0</code>.
 +
'''Notes'''
 +
{{ii}} 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===
 +
{{ii}} The player's character model influences their starting weapon.
 +
{{Fixbox|description=Install a client-side mod|fix=
 +
# Download the [https://gamebanana.com/mods/35036 fix player model change] on Gamebanana.
 +
# Open the archive and add the <code>fix_model_change</code> folder to <code>{{p|game}}\hl2mp\custom</code>.
 +
}}
 +
 +
{{Fixbox|description=Manually change your playermodel and team using aliases |fix=
 +
# Add the following to <code>{{p|game}}\hl2mp\cfg\autoexec.cfg</code>
 +
<pre>
 +
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
 +
</pre>
 +
 +
}}
  
 
==Other information==
 
==Other information==
 
===API===
 
===API===
 
{{API
 
{{API
|direct3d versions      = 6, 7, 8, 8.1, 9
+
|direct3d versions      = 9
 
|direct3d notes        =  
 
|direct3d notes        =  
 
|directdraw versions    =  
 
|directdraw versions    =  
Line 329: Line 402:
 
|windows 32-bit exe    = true
 
|windows 32-bit exe    = true
 
|windows 64-bit exe    = false
 
|windows 64-bit exe    = false
 +
|windows arm app        = unknown
 
|windows exe notes      =  
 
|windows exe notes      =  
|mac os x powerpc app  =  
+
|mac os x powerpc app  = unknown
 
|macos intel 32-bit app = true
 
|macos intel 32-bit app = true
 
|macos intel 64-bit app = false
 
|macos intel 64-bit app = false
 +
|macos arm app          = unknown
 
|macos app notes        = {{CN|date=August 2015}}
 
|macos app notes        = {{CN|date=August 2015}}
 
|linux 32-bit executable= unknown
 
|linux 32-bit executable= unknown
 
|linux 64-bit executable= true
 
|linux 64-bit executable= true
 +
|linux arm app          = unknown
 
|linux executable notes = {{CN|date=August 2015}}
 
|linux executable notes = {{CN|date=August 2015}}
 
}}
 
}}
Line 347: Line 423:
 
|interface        =  
 
|interface        =  
 
|interface notes  =  
 
|interface notes  =  
|input            =  
+
|input            = SDL
 
|input notes      =  
 
|input notes      =  
 
|cutscenes        = Bink Video
 
|cutscenes        = Bink Video

Latest revision as of 14:01, 20 January 2024

Half-Life 2: Deathmatch
Half-Life 2: Deathmatch cover
Developers
Valve Corporation
Engines
Original Source 2004
Current Source 2013 Multiplayer
Release dates
Windows November 30, 2004[1]
macOS (OS X) September 30, 2010
Linux March 16, 2013
Taxonomy
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 mods and fangames (series)
Half-Life 1998
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
Half-Life: Alyx 2020

Warnings

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.

Half-Life 2: Deathmatch is a multiplayer first-person shooter game in the Half-Life series.

General information

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

Availability

Source DRM Notes Keys OS
Retail
Icon overlay.png
Included with retail copies of Half-Life 2: Episode One and Counter-Strike: Source.
Windows
Steam
Icon overlay.png
Initially could not be purchased separately and was instead given for free to all owners of Half-Life 2. Received a standalone digital release later.
Windows
macOS (OS X)
Linux
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

Notes

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

Video

General video settings
General video settings
Advanced video settings
Advanced video settings

Graphics feature State WSGF Notes
Widescreen resolution
Multi-monitor
Ultra-widescreen
4K Ultra HD
Field of view (FOV)
Default FOV is 90 Hor+
Windowed
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)
Double buffered [2]
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

Input

Key map settings
Key map settings
Mouse/gamepad settings
Mouse/gamepad settings

Audio

Audio settings
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
Subtitles
Closed captions
Mute on focus lost
"Silence the audio while the game window is in the background" check box.
Royalty free audio

Localizations

Language UI Audio Sub Notes
English
Belarusian
Fan translation, Steam Guides. In testing stage.

Network

Multiplayer settings
Multiplayer settings
For more information, see the "Source Dedicated Server" section of our Source engine article.

Multiplayer types

Type Native Players Notes
Local play
16 Versus
Use Nucleus Co-op.
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
Matchmaking
Peer-to-peer
Dedicated
Self-hosting
Direct IP
Use connect [IP address here] in the console.

Ports

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 State Notes
Native 3D
Nvidia 3D Vision
TriDef 3D
iZ3D
Headsets
SteamVR
This game might be playable with the Revive Compatibility Layer (compatibility list).
Oculus VR (LibOVR)
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.
Devices
Tracked motion controllers
Traditional controller
See Input for details.
Keyboard/Mouse

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[3]
  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.

Notes

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

API

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

Middleware

Middleware Notes
Physics Havok Heavily modified variant.
Audio Miles Sound System
Input SDL
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

Notes

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

Windows
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)
Minimum
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


Notes

  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).

References

  1. News - Half-Life 2: Deathmatch and SDK Update - last accessed on 2023-07-02
  2. Black mesa vsync is double buffered - last accessed on 2024
  3. Steam Community - last accessed on 26 May 2023