Raised This Month: $51 Target: $400
 12% 

Map-specific config in CS:GO


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FireAnt
SourceMod Donor
Join Date: Nov 2010
Old 10-03-2012 , 10:04   Map-specific config in CS:GO
Reply With Quote #1

I tried to make a map-specific config in csgo but it wont work, i want to have only deagle on aim_deagle7k and tried with this aim_deagle7k.cssdm.equip.txt in the csgo/cfg/cssdm/maps folder.

Code:
"Equipment"
{
    "Settings"
    {
        // Allow clients to say "guns" to restore their menu.
        // This is disabled if the menu isn't drawn.
        //
        "guns_command"        "yes"
    }

    //
    // Enable or disable menus here.
    // For the primary and secondary gun menus, you can use:
    //    "no"     - Completely disable the menus
    //    "yes"    - Enable the menus
    //    "random" - Pick a random weapon from the menus automatically for players
    //
    "Menus"
    {
        // Primary gun menu
        "primary"        "no"
        
        // Secondary gun menu
        "secondary"        "no"
        
        // Normal CS:S buy menu/commands
        // If enabled, the main equipment menu will be disabled.
        "buy"            "no"
    }
    
    //
    // Automatic things to give on spawn.
    //
    "AutoItems"
    {
        // Health amount to give (0 to use default from game/other plugin)
        "health"        "100"

        // Armor amount to give
        "armor"            "0"
        
        // Whether to give a helmet.  If you want to disable armor, you must 
        // set this to "no" as well as setting armor to 0.
        "helmet"        "yes"
        
        // Number of flashbangs to give
        "flashbangs"    "0"
        
        // Whether to give a smoke grenade
        "smokegrenade"    "no"
        
        // Whether to give an HE grenade
        "hegrenade"        "no"

        // Whether to give defusekits to CTs
        "defusekits"    "no"
        
        // Whether to give nightvision
        "nightvision"    "no"

        //CS:GO Items
        
        //Whether to give a decoy grenade
        "decoy"        "no"
        
        //Whether to give a taser
        "taser"        "no"
    }
    
    //
    // Items listed here will be automatically given to bots. 
    // If multiple weapons exist from one category (primary/secondary),
    // then a random item will be chosen from that category.  If the same
    // weapon is added more than once, it increases its chances of being 
    // picked.  No more than 32 weapons can be added to either the secondary
    // or the primary pool.
    //
    "BotItems"
    {
        "weapon"        "deagle"
        "health"        "100"
        "armor"            "0"
        "helmet"        "yes"
        "flashbangs"    "0"
        "smokegrenade"    "no"
        "hegrenade"        "no"
        "defusekits"    "no"
        "decoy"        "no"
        "taser"        "no"
    }
    
    //
    // If no items exist, the menu will be skipped.
    // If only one item exists, the menu will be skipped
    // and players will receive the item automatically.
    //
    "SecondaryMenu"
    {
        "weapon"    "deagle"
    }
    
    //
    // If no items exist, the menu will be skipped.
    // If only one item exists, the menu will be skipped
    // and players will receive the item automatically.
    //
    "PrimaryMenu"
    {

    }
}
You still got to choose every weapon in the meny.

Last edited by FireAnt; 10-03-2012 at 10:08.
FireAnt is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 10-04-2012 , 06:47   Re: Map-specific config in CS:GO
Reply With Quote #2

You named the file incorrectly it should be aim_deagle7k.equip.txt
Dr!fter is offline
FireAnt
SourceMod Donor
Join Date: Nov 2010
Old 10-04-2012 , 09:01   Re: Map-specific config in CS:GO
Reply With Quote #3

Thanks, keep up the good work.
FireAnt is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:52.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode