Cleanup is going to take awhile, so the site is back up but editing has been disabled.

Half-Life 2 Multiplayer Faq

From HalfLife 2 Knowledge Base

Jump to: navigation, search

This FAQ explains how to create multiplayer servers and begin making maps designed for hl2 multiplayer.

Creating a Non-Dedicated Multiplayer server for Half-Life 2

To create a server Half-life 2 is a very simple process. Just follow these simple steps and you'll be fraging in half-life 2 sooner than Lamarr can hump head.

Step 1 
Navigate to the directory containing Steam.exe
Step 2 
Then goto SteamApps\YourUserName\half-life 2\hl2\cfg
Step 3 
Create a new text file and name it servermode.cfg
Step 4 
Open servermode.cfg and add the following lines:
net_start
sv_lan 0
deathmatch 1
maxplayers (whatever you want)
Step 5 
Save the file and load up Half-life 2
Step 6 
Open the console and type exec servermode.cfg
Step 7 
Now in the console type map <mapname of your choice>
Step 8 
When it loads up open console up and type restart

Creating a Dedicated Multiplayer Server for Half-Life 2

1. Acquire the dedicated server files

2. Copy your /hl2/ folder from steam/steamapps/username/half-life/hl2/ to sourceds/hl2

  • Note: Make sure you have your half-life 2 gcf files extracted into your hl2 folder! You can extract the files from the half-life 2.gcf by using GCFScape.

3. Make a shortcut with a commandline that looks like this

  • C:\sourceds\srcds.exe -game hl2 -maxplayers 128 +map hl2deathmatch -console

4. Run the shortcut and you have a hl2 dedicated server!

Personal tools