Difference between revisions of "Installing Metamod:Source"

From AlliedModders Wiki
Jump to: navigation, search
m
Line 32: Line 32:
 
</ol>
 
</ol>
  
 +
If your gameinfo.txt gets rewritten, your line gets removed, and metamod won't run do this. Create a text file in "counter-strike source" called sourcemm.bat and then right-click edit. put this in.
 +
 +
cd "cstrike"
 +
copy GameInfo.txt.mms GameInfo.txt
 +
cd ..
 +
hl2.exe -insecure -console -game cstrike
 +
 +
Then in "cstrike" (under folder you were just in) copy "gameinfo.txt" and rename it "gameinfo.txt.mss" ( I got this off http://www.tcwonline.org/~dvander/cssdm/ )
  
 
[[Category:Documentation (SourceMM)]]
 
[[Category:Documentation (SourceMM)]]

Revision as of 00:12, 28 February 2006

This article will guide you through a SourceMM installation.

If you don't already have Metamod:Source bundled with a plugin, you can install it manually with the directions below.

  1. Download the appropriate package for your server: there is a Linux tarball and Windows zip file. You can get this from the SourceMM Website.
  2. Open the package, you will either have "server_i486.so" or "server.dll".
  3. Find your "mod folder" on your server. This will be something like "cstrike" or "hl2mp".
  4. Make a folder in your mod folder called "addons", if it doesn't already exist. Make a folder inside addons called "metamod", and a folder inside "metamod" called "bin".
  5. Create a new, blank, text file called "metaplugins.ini".
  6. Upload the files to your server:
    • Upload the server.dll or server_i486.so file to your addons/metamod/bin Folder.
    • Upload the metaplugins.ini file to your addons/metamod folder.
    • WARNING! - Do not replace the mod's server.dll/server_i486.so (usually in "<mod>\bin"). This will cause your mod to stop working.
  7. Open the file in the mod folder called "gameinfo.txt". You will see a few lines at the bottom like this:
    SearchPaths
    {
    	Game				|gameinfo_path|. 
    	Game				cstrike
    	Game				hl2
    }
    
  8. Add a line before all of the "Game" entries that looks like this:
    GameBin				|gameinfo_path|addons/metamod/bin
    
  9. You're done! To test whether it worked, restart your game server and type "meta" in the server console. You should get a menu.
  10. For more information, documentation, and troubleshooting, see Category:Documentation (SourceMM)
  11. Optional Cvars: mm_pluginsfile - Sets the path and name of the plugins file, defaulting to "addons/metamod/metaplugins.ini". It is relative to the mod directory.

If your gameinfo.txt gets rewritten, your line gets removed, and metamod won't run do this. Create a text file in "counter-strike source" called sourcemm.bat and then right-click edit. put this in.

cd "cstrike" copy GameInfo.txt.mms GameInfo.txt cd .. hl2.exe -insecure -console -game cstrike

Then in "cstrike" (under folder you were just in) copy "gameinfo.txt" and rename it "gameinfo.txt.mss" ( I got this off http://www.tcwonline.org/~dvander/cssdm/ )