## 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"


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

None found

### Credits

Submitter
(Creator/Co-creator)
Key Authors
Doktor haus
tutorial

?/10
Not yet rated.

Genre
Difficulty Level
Beginner

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

### Share

Embed Code
Code to use:

More embeddable images

• 8 mins ago:

• 43 mins ago:

• 54 mins ago:

• 1 hour ago:

• 1 hour ago:

• 1 hour ago:

• 2 hours ago:

• 2 hours ago:

• 2 hours ago:

• 2 hours ago:

• 3 hours ago:

• 3 hours ago:

• 3 hours ago:

• 3 hours ago:

• 3 hours ago:

• 3 hours ago:

• 3 hours ago:

• 3 hours ago:

• 4 hours ago:

• 4 hours ago:

• 4 hours ago:

• 4 hours ago:

• 4 hours ago:

• 4 hours ago:

• 5 hours ago: