View Single Post
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 01-20-2014 , 15:33   Re: [CS:GO] Deathmatch Goes Advanced (v0.2, 2014-01-19)
Reply With Quote #14

Fast answer: add in section "Configs"->"Primary Aim"->"Primary"
Code:
"weapon_awp" "-1"
But I guess this is time for me to give a practictal example of how the configuration works.
When you say "default dm" I guess you are refering to configuration loaded on de_/cs_ maps. As these maps match no entry in "Maps" section of the default configuration I provided, the loaded configuration is "Maps"->"".

Lets have a look at it
"Maps"->""
Code:
"Load"
{
    "Maps" "fy"
}
So we can see here that this section will only load "Maps"->"fy" (and we can allready conclude that fy_ maps will have the same configuration as the default ones - This is also the case for "gg" maps).

Let's have look into "Maps"->"fy"
Code:
"LoadRound"
{
    "Game Modes" "Deathmatch"
}

"LoadWarmup"
{
    "Game Modes" "Default Warmups"
}
What is done here is:
- At beginning of warmup "Game Modes"->"Default Warmups" will be loaded
- After Warmup "Game Modes"->"Deathmatch" will be loaded

Let's just look into "Game Modes"->"Deathmatch" as warmup is not our concern here.
Code:
"Load"
{
    "Configs" "Options Default"
    "Configs" "Primary Aim"
    "Configs" "Secondary Aim"
    "Configs" "Random Spawn"
}
Configuration loads4 sections here
- "Configs"->"Options Default": here stand all the standrd configuration. You can have a look at it, its just a big Cvar section.
- "Configs"->"Primary Aim": That looks like what we are searching for!
- "Configs"->"Secondary Aim": Loads the Secondary weapons
- "Configs"->"Random Spawn": Enable random spawming in the map

And then in "Configs"->"Primary Aim"
Code:
"Primary"
{
    // Weapon.         // Limit.
    "weapon_ak47"            "-1"
    "weapon_m4a1"             "-1"
    "weapon_m4a1_silencer"    "-1"
    "weapon_sg556"             "-1"
    "weapon_aug"               "-1"
    "weapon_galilar"           "-1"
    "weapon_famas"             "-1"
    "weapon_ssg08"             "-1"
}
That's what you need to modify!

A quick note on weapons name as this is not straighforward, here is the list of available weapons:
Spoiler


Hope that helped!
h3bus is offline