|
[Plug-ins] Installing Metamod: Source
|
| Author |
Message |
Drocona
Forum admin
      
Posts: 3,931
Group: Administrators
Joined: Mar 2005
Status:
Offline
|
[Plug-ins] Installing Metamod: Source
SRCDS.com Tutorials, “Installing Metamod: Source”
What is Metamod: Source:
Metamod: Source is a server plug-in that can intercept activities between the server and the client to be used as a base “hook” for use in other plug-ins. This means other plug-ins can be loaded onto MM:S and use “hooks” under one roof. It’s also a small plug-in manager, you can enable and disable installed plug-ins with a few simple commands.
For more information visit their website at http://www.sourcemm.net
How to get Metamod: Source:
MM:S can simply be downloaded as either an installer (.exe) or as a package (.zip), for this tutorial we need the package (.zip).
There is one installer and there are two packages on the download page ( http://www.sourcemm.net/?go=downloads ). The fist package is for games based on the original Source Engine (CS:S, DOD:S, HL2 M etc.), the second package is for the new Source engine (TF2 and other Orange Box games). In this tutorial I will be installing MM:S on a CS:S server, so I download the first package. Note: The installation process is exactly the same for all games, don’t worry.
The installation:
Now that you have the package downloaded above, we can start with the actual installation. Start by extracting the package somewhere on your computer, you should get the following out of the package:

These files have to be placed in the SRCDS\<modfolder>\, for me it’s C:\SRCDS\cstrike\, I simply copy the addons folder and upload it to my server’s cstrike folder.
My cstrike folder on the server now has an addons folder with MM:S in it.
This is what it should look like:

Now that all the files are in place, the only thing that’s left to do is make MM:S load when the server starts. This has to be done in a file called “gameinfo.txt”, It’s located in the main modfolder (So for me that’s cstrike).
Open up “gaminfo.txt” and you will find something that looks a little more complicated, but don’t worry we only have to edit one line of the file.
Find the following lines:
SearchPaths
{
Game |gameinfo_path|.
Game cstrike
Game hl2
}
}
}
Now add a line “GameBin |gameinfo_path|addons/metamod/bin”
It should look like this:
SearchPaths
{
GameBin |gameinfo_path|addons/metamod/bin
Game |gameinfo_path|.
Game cstrike
Game hl2
}
}
}
Now save the file, that’s it! Metamod:Source should now be installed on your server.
How to check if Metamod: Source is running:
Finally, check if the plug-in is actually running.
To do this start up your server, when it’s all started type “meta version” in the console. Note: If you do not have access to the console, use the RCon protocol to send the command through RCon, this can be achieved either by joining the game as a client or using programs like HLSW.
The response should be something like this (If you get an “unknown command” you did something wrong above, run through the steps again):
This tutorial:
Made by: Matts, a.k.a. “Drocona”
Made for: srcds.com, uk-gaming-servers.com
MM:S web: http://www.sourcemm.net/
Get this tutorial in .doc: Metamod Source.doc
Get this tutorial in .docx: Metamod Source.docx
Get this tutorial in .pdf: Metamod Source.pdf
Updated: 7 March 2008
Half-Life 2, Counter-Strike Source and Day of Defeat Source are trademarks and/or registered trademarks of Valve Corporation.
Copyright ©2008 SRCDS.com
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
http://srcdsgroup.black-sky.nl
Free to join, Live support! (When available)
http://forums.srcds.com/viewtopic/5114
This post was last modified: 03-07-2008 08:28 PM by Drocona.
|
|
| 03-07-2008 08:21 PM |
|
 |
blik
GTFOGaming.co.uk Founder
  
Posts: 144
Group: Registered
Joined: Feb 2006
Status:
Offline
|
RE: [Plug-ins] Installing Metamod: Source
Latest version uses .vdf to load, no gameinfo.txt needed, so you dont have to worry when you update about gameinfo.txt being over written.
|
|
| 03-07-2008 08:25 PM |
|
 |
Drocona
Forum admin
      
Posts: 3,931
Group: Administrators
Joined: Mar 2005
Status:
Offline
|
|
| 03-07-2008 08:26 PM |
|
 |
blik
GTFOGaming.co.uk Founder
  
Posts: 144
Group: Registered
Joined: Feb 2006
Status:
Offline
|
RE: [Plug-ins] Installing Metamod: Source
Uhm, why would you use an old version of the plugin?
There are two branches:
1.4 branch for original source engine - latest version can use .vdf
1.6 branch for orange box engine - latest version can use .vdf
.vdf = no worries when updating.
This post was last modified: 03-07-2008 08:54 PM by blik.
|
|
| 03-07-2008 08:53 PM |
|
 |
Drocona
Forum admin
      
Posts: 3,931
Group: Administrators
Joined: Mar 2005
Status:
Offline
|
|
| 03-07-2008 08:58 PM |
|
 |
blik
GTFOGaming.co.uk Founder
  
Posts: 144
Group: Registered
Joined: Feb 2006
Status:
Offline
|
RE: [Plug-ins] Installing Metamod: Source
I used gameinfo for years, and every now and then after updating, i was driving myself mad trying to figure out why plugins weren't loading... Then I remembered that damn gameinfo.txt got overwritten!! But I guess if you use a script for updating your servers, as I do now, you just make your gameinfo.txt elsewhere and add a line to the update script to copy it over after the update...
Either way works though
|
|
| 03-07-2008 09:01 PM |
|
 |
Spartanfrog
Super Moderator
     
Posts: 1,488
Group: Super Moderators
Joined: May 2007
Status:
Offline
Reputation: 0
|
RE: [Plug-ins] Installing Metamod: Source
|
|
| 03-08-2008 05:41 AM |
|
 |
Filoret
Zambuza
  
Posts: 57
Group: Registered
Joined: Sep 2007
Status:
Offline
|
RE: [Plug-ins] Installing Metamod: Source
blik
now with vdf you don't need to write line in gameinfo.txt every update
little addon to tutorial about *.vdf, work only with metamod 1.4.3 and 1.6.1 (1.6.0) releases
download metamod
http://www.sourcemm.net/?go=downloads
extract like Drocona say
the folder will be like that, for CS:S for example
[srcds]
-[bin]
-[cstrike]
--[addons]
---[metamod]
--[bin]
--[cfg]
--...
-[hl2]
-srcds.exe
...
generate vdf file
http://www.sourcemm.net/?go=vdf
or write it by self
metamod.vdf
for windows
"Plugin"
{
"file" "..\cstrike\addons\metamod\bin\server.dll"
}
for linux
"Plugin"
{
"file" "../cstrike/addons/metamod/bin/server_i486.so"
}
and put it to addons dir
folder will be looks like that
[srcds]
-[bin]
-[cstrike]
--[addons]
---[metamod]
---metamod.vdf
--[bin]
--[cfg]
--...
-[hl2]
-srcds.exe
-...
that is all
from Russia with love
This post was last modified: 03-20-2008 04:47 PM by Filoret.
|
|
| 03-20-2008 04:42 PM |
|
 |
Drocona
Forum admin
      
Posts: 3,931
Group: Administrators
Joined: Mar 2005
Status:
Offline
|
|
| 03-20-2008 07:12 PM |
|
 |
blik
GTFOGaming.co.uk Founder
  
Posts: 144
Group: Registered
Joined: Feb 2006
Status:
Offline
|
RE: [Plug-ins] Installing Metamod: Source
Filoret: Yup I know, hence why I mentioned the .vdf
|
|
| 03-20-2008 07:40 PM |
|
 |
Filoret
Zambuza
  
Posts: 57
Group: Registered
Joined: Sep 2007
Status:
Offline
|
RE: [Plug-ins] Installing Metamod: Source
from Russia with love
|
|
| 03-25-2008 09:54 AM |
|
 |