SRCDS Steam group


URGENT PLEASE HELP!
#1
Exclamation 
Ok i recently tried o install metamod and im getting a error cause i fucked my gameinfo.txt up, so would some one pleaseeeeeeeee copy and paste the code of a default gameinfo.txt or even one that is metamod ready for me. please!!!!!!!!!!!!!!!!Sad
Reply
#2
Here's a link that will tell you how to install metamod source on your server.

http://wiki.alliedmods.net/index.php/Installing_SourceMM

Here's a copy of an original/default gameinfo.txt before being edited to have metamod source installed.

Code:
"GameInfo"
{
    game    "Counter-Strike Source"
    title    "COUNTER-STRIKE'"
    title2    "source"
    type multiplayer_only
    nomodels 1
    nohimodel 1
    nocrosshair 0
    hidden_maps
    {
        "test_speakers"        1
        "test_hardware"        1
    }
    nodegraph 0


    FileSystem
    {
        SteamAppId                240        // This will mount all the GCFs we need (240=CS:S, 220=HL2).
        ToolsAppId                211        // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc.
        
        //
        // The code that loads this file automatically does a few things here:
        //
        // 1. For each "Game" search path, it adds a "GameBin" path, in <dir>\bin
        // 2. For each "Game" search path, it adds another "Game" path in front of it with _<langage> at the end.
        //    For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it.
        // 3. For the first "Game" search path, it adds a search path called "MOD".
        // 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH".
        //

        //
        // Search paths are relative to the base directory, which is where hl2.exe is found.
        //
        // |gameinfo_path| points at the directory where gameinfo.txt is.
        // We always want to mount that directory relative to gameinfo.txt, so
        // people can mount stuff in c:\mymod, and the main game resources are in
        // someplace like c:\program files\valve\steam\steamapps\<username>\half-life 2.
        //
        SearchPaths
        {
            Game                |gameinfo_path|.
            Game                cstrike
            Game                hl2
        }
    }
}

Here's how you install metamod source....and input code into gameinfo.txt.

Downloads metamod source and entract into your /cstrike of your server. Then open gameinfo.txt and input this code.

Code:
GameBin                |gameinfo_path|addons/metamod/bin

Like this...

Code:
"GameInfo"
{
    game    "Counter-Strike Source"
    title    "COUNTER-STRIKE'"
    title2    "source"
    type multiplayer_only
    nomodels 1
    nohimodel 1
    nocrosshair 0
    hidden_maps
    {
        "test_speakers"        1
        "test_hardware"        1
    }
    nodegraph 0


    FileSystem
    {
        SteamAppId                240        // This will mount all the GCFs we need (240=CS:S, 220=HL2).
        ToolsAppId                211        // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc.
        
        //
        // The code that loads this file automatically does a few things here:
        //
        // 1. For each "Game" search path, it adds a "GameBin" path, in <dir>\bin
        // 2. For each "Game" search path, it adds another "Game" path in front of it with _<langage> at the end.
        //    For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it.
        // 3. For the first "Game" search path, it adds a search path called "MOD".
        // 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH".
        //

        //
        // Search paths are relative to the base directory, which is where hl2.exe is found.
        //
        // |gameinfo_path| points at the directory where gameinfo.txt is.
        // We always want to mount that directory relative to gameinfo.txt, so
        // people can mount stuff in c:\mymod, and the main game resources are in
        // someplace like c:\program files\valve\steam\steamapps\<username>\half-life 2.
        //
        SearchPaths
        {
            GameBin                |gameinfo_path|addons/metamod/bin
            Game                |gameinfo_path|.
            Game                cstrike
            Game                hl2
        }
    }
}

Also even if you messed up the gameinfo.txt....you could have deleted it and run the hldsupater tool to download the default file again.
Earn Points, get Free Rewards with your Amazon Points!
Points2Shop

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)