Installing MetaMod:Source + SourceMod

Instructions on installing and running MetaMod: Source and SourceMod.

Installation

Download HLDS (Half-Life Dedicated Server Update Tool) and run through the installation process, leaving everything as it is. Once you reach the part that says "Please select from your region...", choose the region of the world in which you are located. If you're in the Eastern United States for example, go with United States - East Coast.

Create a new text document and paste this inside:

C:\Program Files (x86)\Valve\HLServer\HldsUpdateTool" -command update -game "left4dead2" -dir "c:\srcds" -verify_all -retry
pause

Note: The "-game" parameter specifies which game files to download. Others include "cstrike" (CS:S), "tf" (TF2) and "dods" (DOD:S).

Choose "save as" from the file menu and under file types, "all file types". Name it whatever, but make sure you add ".bat" to the filename and save.

Double-click the new batch file that appears and you'll see a command prompt. HLDSUpdateTool will now begin downloading and updating your server files as needed. When it's finished, you'll see 100% and then something like "your server is up to date." This will probably take a long time the first time you run it, but whenever a game is updated through Steam, run the batch file and only the updates will be downloaded.

Download Metamod: Source and extract the contents to your base srcds game folder. For example, c:\srcds\left4dead2\left4dead2, or c:\srcds\cstrike. You should now have an addons folder. Then download SourceMod and extract its contents (addons and cfg) to the same directory.

Go ahead and open up the srcds addons folder. You should see "metamod" and "sourcemod" folders, as well as "metamod.vdf". Open it with a text editor. The path inside should look like this:

"file"  "../left4dead2/addons/metamod

Now enter the metamod folder and edit "sourcemod.vdf". Inside the brackets it should look like this:

"alias"     "sourcemod"
"file"      "addons/sourcemod/bin/sourcemod_mm"

That's it. MetaMod and SourceMod should start automatically when you start up your server. To make sure they're working, type "meta" and "sm" in the server console. These should give you a list of commands. If you get "unknown command" instead, it's most likely a directory problem with the two VDFs I explained earlier. Further documentation on configuring SourceMod can be found at the AlliedModders' wiki.

Oh noes! You're not a Member!

Want access to cool stuff? As a member you can:

  • Post. Give the submitter your thoughts on this Tutorial.
  • Say Thanks. Show your appreciation by sending the submitter points.
  • Stamp Posts. Let other posters know what you think of their posts.
  • Rate. Give this Tutorial a rating out of 10.
  • Flag. Alert moderators and warn members of a problem with this Tutorial.
  • Vote. Vote the submitter for the Monthly Awards.
  • Subscribe. Get notified when this submitter submits again.

Interested? Register or Login

Comments

None found

Credits

Submitter
Doktor Haus's Levels
  • P3: Peasant
    Points: 7,638
  • E1: Helper
    EF: 5
  • C2: Treehouse Member
  • A4: Graduate
    Account Age: 2 years
Username
Doktor Haus
(Creator/Co-creator)
Key Authors
Doktor haus
tutorial

Rating

?/10
Not yet rated.

Additional Info

Genre
Server Administration
Difficulty Level
Beginner

Stats

Post Count
0
ViewCount
1,986
Date Added
11 months ago
Date Modified
11 months ago

Share

Embed Code
Code to use:

More embeddable images

Bookmark and Share