30 ratings
How to Play Multiplayer in Half Life 2
By Jenny/Siobhan
Just like in Portal 1, you can create a multiplayer server like you did in Portal 1. But this guide will show the community how you can play cooperative with other players online.

Half Life 2 has Cooperative just like Synergy. But it has Friendly Fire, So you have to be careful while killing bad NPCs.
If you wanted to play multiplayer in GoldSource singleplayer games, this will also work just for you.

Just read the instructions and you're good to go!
   
Award
Favorite
Favorited
Unfavorite
Getting Started
If you want to play Co-op in Half-Life: Source, you will have to install the fixed version, because that is the only version that has working multiplayer.

Valve has hidden Multiplayer mechanics in single player games running Source 1 (Source 2013 and older only). You can play Cooperative with your friends or other people online.

Because of how HL2 was intended to only be a single player game, it may not always work correctly. For instance, some map features may not work correctly without modification, it may cause the game to crash or not work correctly at all. Example: Going near the end of the level in d1_trainstation_02 crashes the game.

Join a Server

Enable Developer Console by going to options,

https://steamuserimages-a.akamaihd.net/ugc/1010438039195856995/4F7EFF9061E8B55BCF370A8FA5E09F1D84F1935E/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false

Open up advanced options, and check the box that says "Enable Developer Console". Make sure you apply the new options and click the OK button.

https://steamuserimages-a.akamaihd.net/ugc/1010438039195859901/34495DEC75DC2DDC0ED151F1FEF3194644778608/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false

Press the "`" key, and type this command in console.

gamemenucommand openserverbrowser

https://steamuserimages-a.akamaihd.net/ugc/1010438039195863568/614A696717D00CEDEF18C1536E61F3C03A823FAC/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false

And you should be able to find a public server that you can join in.

Creating a Server

This method is simple and you can easily do it in console.

You need to disconnect from the background map first. To do that, type
disconnect
in console.

In console, type this command.
https://steamuserimages-a.akamaihd.net/ugc/1010438039195868031/1D7782B9D81A7771B9B87213299BB6F8BE739B0A/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false


maxplayers 32

and then type this other command.
https://steamuserimages-a.akamaihd.net/ugc/1010438039195869264/45CC3C71AABE8BC11C89F94D906738BC61532C67/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false


coop 1

You can set the map to any map you want. Type this final command in console.
https://steamuserimages-a.akamaihd.net/ugc/1010438039195872067/FFBF6E24913DC901698936CB74B28A94CEF0577D/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false


map mapname

The server should be on. For other players to join their game can automatically download the map file from the server owner's computer.

After you've set the map, you must heartbeat the server, by typing this command in console.

heartbeat

If you have port forwarded, you're good to go! Players should now be able to join your server with this method of Cooperative. Just remember, try not to shoot your teammates!

You can also set the server's name! Type this command in console.
hostname server name you want it to be

Chatting

Unlike in portal, you can do text chat, but in Half-Life 2 and it's episodes, you can't because the chat itself is hidden from regular gameplay, but you can do voice chat.

Type this command in console and you'll be able to voice chat.

bind "key" "+voicerecord"
Problems
No bullet holes? No Problem! This can be fixed by disabling predicted weapons via console.

cl_predictweapons 0

Be careful of using the SMG1 Grenade! Shooting it at a zombie can crash the server.

You can hear other people's voice chat, but they can't hear you if you are the server host.
26 Comments
bluem0nkey 23 Feb @ 10:16am 
heartbeat command no longer exists. renamed?
Jenny/Siobhan  [author] 12 Feb @ 3:06am 
no lol
bbpoltergeist 11 Feb @ 8:00pm 
is this better than lambda on garrys mod
Wiktormisiek 22 Nov, 2024 @ 6:07am 
why do the npcs not work
OzTheCarbonWizard 18 Nov, 2024 @ 8:57am 
heartbeat command doesnt work :(
Blue 03 7 Oct, 2023 @ 8:45pm 
Prestino, the GMod multiplayer version of Half-Life 2 sucks compared to this. You can't accelerated backhop, and the physics are so buggy with you being able to die by just walking onto a prop, and stuff like that.
Prestino 30 Jul, 2023 @ 5:18pm 
just play gmod it is literally half life 2 but multiplayer
ShoeBox23 27 Jul, 2023 @ 1:56am 
it didnt wokr
):
():
Jenny/Siobhan  [author] 20 Jul, 2023 @ 11:49pm 
Told ya
ced555 20 Jul, 2023 @ 11:21pm 
what the fuck