Dedicated Server Setup 2
Note: At the time of writing, no binaries are publicly available for Linux and Mac OS.
Warning: Do not update your server content or you will have to struggle with SteamPipe bugs. Please.
- 1 Prerequisites
- 2 Base Server Install
- 2.1 Step 1: Download The HLDS Update Tool
- 2.2 Step 2: Install The HLDS Update Tool
- 2.3 Step 3: Download The Base Server Files
- 2.4 Step 4: Setting Up The Folder Structure
- 2.5 Step 5: Setting Up the campaign content
- 2.5.1 Manual method:
- 18.104.22.168 Half-Life: Source
- 22.214.171.124 Half-Life Deathmatch: Source
- 126.96.36.199 Half-Life 2
- 188.8.131.52 Half-Life 2: Lost Coast
- 184.108.40.206 Half-Life 2: Episode One
- 220.127.116.11 Half-Life 2: Episode Two
- 18.104.22.168 Half-Life 2: Episode Three
- 2.5.2 Automatic method:
- 2.5.3 Additional Game Content
- 2.5.1 Manual method:
- 3 Downloading And Installing Obsidian
- 4 Mounting Content
- 5 Installing, configuring the server plugins and running the server
- A basic understanding of filesystem paths (i.e. orangebox/hl2 refers to the folder hl2 inside orangebox, not both the folders), and the different path representations between Windows and *nix (i.e. \ in Windows is the same as / in UNIX[-like] operating systems).
- A basic understanding of the operating system's command-line interface (i.e. Command Prompt for Windows and Terminals for Linux and Mac OS).
- A fast broadband connection (preferably one without a data transfer limit) to prevent premature aging waiting for the uploads to complete.
Base Server Install
Don't use SteamCMD for OC, use only HLDS Update Tool as that's the only one providing the non-vpk content.
Step 1: Download The HLDS Update Tool
Step 2: Install The HLDS Update Tool
Step 3: Download The Base Server Files
Step 4: Setting Up The Folder Structure
After Step 3 completes, you should end up with something like this:
Now, because Valve didn't set up the files properly on their server, you'll need to fix it yourself.
Step 5: Setting Up the campaign content
Campaign content is stored only in GCFs downloadable only via the Steam client, so be prepared to upload the extracted files to your server. You will need this application in order to proceed.
Things are a little easier for Windows server operators with Remote Desktop access to their servers since they can simply install Steam on their servers and do everything directly there.
Half-Life Deathmatch: Source
Half-Life 2: Lost Coast
Half-Life 2: Episode One
Half-Life 2: Episode Two
Half-Life 2: Episode Three
Download the Campaign Extract, and select the content of the games that you want for your server.
NOTE: You will need the content of Half-Life 2 if you want the content of Half-Life 2: Lost Coast.
Additional Game Content
Note: If you download any of the following (sans Portal) using the HLDS Update Tool after downloading orangebox, you will be forced to download a new set of engine binaries incompatible with the current release of Obsidian Conflict. A telltale sign that this has occurred is when you see an engine error along the lines of SetupArrayProps_R: array prop '(null)' is at index zero or Host_Error: IDLLFunctions::DLLInit returned false when you try to start the server. To workaround that, simply rename the bin folder (inside orangebox) to something else (e.g. bin_se2007) before downloading the game's files. On completion, delete the newly created bin folder and rename the old one back to bin.
And don´t let the game content overwrite the HL2 folder, or you will forced to download again orangebox to fix it.
For the curious, the reason for this is that almost all official Valve games now run on Source Engine 2009, but most mods (sans Garry's Mod) continue to run on the older Source Engine 2007 (Source SDK Base 2007). These two versions are incompatible with each other, and Valve has yet to release a version of Source SDK Base for Source Engine 2009.
Day of Defeat: Source
Team Fortress 2
Downloading And Installing Obsidian
Copy the obsidian folder from a fresh install of Obsidian Conflict into your dedicated server's orangebox folder. While installing Obsidian Conflict, remember install ONLY the server files without the Sourcemod extension (because those are outdated), not the client files.
After putting the obsidian folder inside the orangebox folder, install the available server hotfixes of your current version.
Download the Sourcemod extension for Obsidian Conflict here.
In case you installed the SM extension during installing OC, go to sourcemod/gamedata And do the following:
-In core.games, delete the custom folder.
-In sdktools.games, delete the custom folder.
Content mounts are controlled by a set of files in the obsidian/mount folder. Each file determines whether or not the respective game's content is mounted. These files are merely blank files without any extensions - their contents do not matter since the mod merely checks if the file is there, mounting the content if the file is present. Valid file names are:
At the end, the file structure inside your orangebox folder must be like this:
Installing, configuring the server plugins and running the server
Now, after configure the server, it´s time to install and configure the server plugins for the basic admin options.
Installing Metamod: Source
Go to the website of Metamod: Source and download the last version.
You will have to extract the files and put them in orangebox/obsidian/addons (don´t confuse with the add-ons folder, that is where the files of the mounted content are).
Now, go here and generate a .VDF file. It must look inside like this:
Put this file in the addons folder.
Visit the Sourcemod homepage and download the last version.
Put the addons and cfg folders inside the obsidian folder.
Since Metamod only needs to be put inside the addons folder and have their .VDF file to be loaded automatically by the server, you only need to configure Sourcemod:
To add admins, go to addons/sourcemod/config and open admins_simple.ini.
If you want enable rtv, nominations and more, go to addons/sourcemod/plugins/disabled, and move them outside of that folder (to /plugins).
To configure the different options that have Sourcemod, go to /cfg/sourcemod and open sourcemod.cfg. NOTE: The options of the different plugins that have/will load Sourcemod like rtv, only will appear after start the server and load both Metamod and Sourcemod.
Running the server
To finish, start your server (you can use the GUI by clicking the srcds.exe file, but it needs more resources) opening a command window and typing (after being in the folder where is the srcds.exe file):
srcds.exe -console -game obsidian -port 27015 +map oc_lobby +maxplayers 8
(you can make also a .bat file to avoid this).
If apart of the lines about the soundscapes, the func_door and two lines related with Steam that comes before "VAC is enabled", you dont see nothing more, congratulations, your server works fine.
Now, it´s up to you configure the server as you want/need.