|CSGO| Проблема с гранатами и настройкой Casual

Petrovich

Участник
Сообщения
204
Реакции
49
Прошу помочь с парой вопросов (гугл не помог):

1. Установил DM 2.1.6 снапшот, который рекомендован на этом форуме и настроил как положено, но, дает бесконечные гранаты. Сам сервер запускаю в режиме Casual (если это конечно поможет), хотя настройки в конфиге gamemode_casual.cfg полностью скопированы от gamemode_deathmatch.cfg как он есть.
gamemodes_server
C-подобный:
// To use this file, rename it to GameModes_Server.txt
//
// Values here override the default gamemodes.txt 

"GameModes_Server.txt"{"gameTypes"{"classic"{"gameModes"{

/////////////////////////////////////////
// COMPETITIVE
/////////////////////////////////////////
"competitive"{

        
        "maxplayers"        "11"            // Note that maxplayers doesn't go in the convar block.
                                            // Another way to set maxplayers is to add -maxplayers_override XX to the cmd line.
        "exec"
        {
                                            // Any config files listed here will be executed after the ones in gamemodes.txt.
            
            "exec"                    "server_last.cfg" 
        }

        "mapgroupsMP"                        // List of mapgroups valid for this game mode ( competitive )
        {
            "mg_bomb_se"        ""
        }


}
/////////////////////////////////////////
// CASUAL
/////////////////////////////////////////
"casual"{



        "maxplayers"        "22"

        "exec"
        {
            "exec"                    "server.cfg"
        }

        "mapgroupsMP"                        // List of mapgroups valid for this game mode ( casual )
        {
            "mg_twos"                "0"    
            {
            "mg_$2000$_csgo"        "1"
            "mg_aim_2000"           "2"
            "mg_$2000$csgo$v2"      "3"
            "mg_$2000$csgo$v3"      "4"
            }
        }
}


}}}"gungame"{"gameModes"{

/////////////////////////////////////////
// ARMS RACE
/////////////////////////////////////////
"gungameprogressive"{



        "maxplayers"            "10"

        // These are the configs that get executed when a game mode of this type is created
        "exec"
        {
            "exec"                    "server_last.cfg"
        }
                    
        "mapgroupsMP"
        {
            "mg_armsrace"    ""
        }

        "weaponprogression_ct"
        {
            "deagle"        { "kills"    "5" }
            "awp"            { "kills"    "5" }
            "knifegg"        { "kills"    "1" }
        }
                    
        "weaponprogression_t"
        {
            "deagle"        { "kills"    "5" }
            "awp"            { "kills"    "5" }
            "knifegg"        { "kills"    "1" }
        }



/////////////////////////////////////////
// DEMOLITION
/////////////////////////////////////////
"gungametrbomb"
{


        "maxplayers"            "10"

        // These are the configs that get executed when a game mode of this type is created
        "exec"
        {
            "exec"                    "server_last.cfg"
        }

        "mapgroupsMP"
        {
            "mg_demolition"        ""
        }

        "weaponprogression_ct"
        {
            "m4a1"            { "kills"    "1" }
            "awp"            { "kills"    "1" }
            "Scar20"        { "kills"    "1" }
        }
            
        "weaponprogression_t"
        {
            "ak47"            { "kills"    "1" }
            "awp"            { "kills"    "1" }
            "g3sg1"            { "kills"    "1" }
        }


}}}}

//////////////////////////////////////////////////////////////////////////////////////////////
// Map groups
//
// To use a mapgroup, it needs to be defined in a keyvalues
// block such as the example below, as well as listed in the 
// 'mapgroupsMP' block within the game mode that will run it,
// such as the example above.
//
// Then launch the server with '+mapgroup MAPGROUPNAME'
//
// Example:
//
// srcds -game csgo +game_mode 1 +mapgroup mg_bomb_se +map de_nuke_se
//
//
// Check the developer wiki for updated community info
// https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers
//////////////////////////////////////////////////////////////////////////////////////////////


    "mapgroups"
    {
        "mg_bomb_se"                                    // mapgroup definition
        {
            "name"            "mg_bomb_se"
            "maps"
            {
                "de_dust_se"        ""
                "de_dust2_se"        ""
                "de_nuke_se"        ""
                "de_train_se"        ""
                "de_inferno_se"        ""
                "de_aztec_se"        ""
            }
        }
    }
}


gamemode_casual.cfg
C-подобный:
bot_autodifficulty_threshold_high                    0.0    // Value between -20.0 and 20.0 (Amount above avg human contribution score, above which a bot should lower its difficulty)
bot_autodifficulty_threshold_low                    -2.0    // Value between -20.0 and 20.0 (Amount below avg human contribution score, below which a bot should raise its difficulty)
bot_chatter                                            off
bot_defer_to_human_goals                            0
bot_defer_to_human_items                            1
bot_difficulty                                        2
bot_quota                                            10
bot_quota_mode                                        fill
cash_player_bomb_defused                            0
cash_player_bomb_planted                            0
cash_player_damage_hostage                            0
cash_player_interact_with_hostage                    0
cash_player_killed_enemy_default                    0
cash_player_killed_enemy_factor                        0
cash_player_killed_hostage                            0
cash_player_killed_teammate                            0
cash_player_rescued_hostage                            0
cash_team_elimination_bomb_map                        0
cash_team_elimination_hostage_map_t                    0
cash_team_elimination_hostage_map_ct                0
cash_team_hostage_alive                                0
cash_team_hostage_interaction                        0
cash_team_loser_bonus                                0
cash_team_loser_bonus_consecutive_rounds            0
cash_team_planted_bomb_but_defused                    0
cash_team_rescued_hostage                            0
cash_team_terrorist_win_bomb                        0
cash_team_win_by_defusing_bomb                        0
cash_team_win_by_hostage_rescue                        0
cash_team_win_by_time_running_out_bomb                0
cash_team_win_by_time_running_out_hostage            0
ff_damage_reduction_bullets                            0.0
ff_damage_reduction_grenade                            0.0
ff_damage_reduction_grenade_self                    0
ff_damage_reduction_other                            0.0
mp_afterroundmoney                                    0
mp_buytime                                            0
mp_buy_anywhere                                        1
mp_buy_during_immunity                                1
mp_death_drop_defuser                                0    
mp_death_drop_grenade                                0            // 0=none, 1=best, 2=current or best
mp_death_drop_gun                                    0            // 0=none, 1=best, 2=current or best
mp_defuser_allocation                                0            // 0=none, 1=random, 2=everyone
mp_force_pick_time                                    15
mp_forcecamera                                        0            // Set to 1 for team only spectating
mp_free_armor                                        0            
mp_freezetime                                        0
mp_friendlyfire                                        0
mp_win_panel_display_time                            0
mp_ggprogressive_round_restart_delay                 15
mp_ggtr_bomb_defuse_bonus                            0
mp_ggtr_bomb_detonation_bonus                        0
mp_ggtr_bomb_pts_for_flash                            0
mp_ggtr_bomb_pts_for_he                                0
mp_ggtr_bomb_pts_for_molotov                        0
mp_ggtr_bomb_pts_for_upgrade                        0
mp_ggtr_bomb_respawn_delay                            0
mp_ggtr_end_round_kill_bonus                        0
mp_ggtr_halftime_delay                                0.0
mp_ggtr_last_weapon_kill_ends_half                    0
mp_respawn_immunitytime                                0
mp_halftime                                            0
mp_match_can_clinch                                    0            // 0=No mercy rule, 1=team can clinch match win early if they win > 1/2 total rounds
mp_maxmoney                                            0
mp_maxrounds                                        0
mp_molotovusedelay                                    0
mp_playercashawards                                    0
mp_roundtime                                        0
mp_roundtime_hostage                                0
mp_roundtime_defuse                                    0
mp_solid_teammates                                    0
mp_startmoney                                        0
mp_teamcashawards                                    0
mp_timelimit                                        30
mp_ignore_round_win_conditions                      1
mp_warmuptime                                        0
mp_weapons_allow_zeus                                1
spec_freeze_panel_extended_time                        0
spec_freeze_time                                    0
sv_allow_votes                                        0        // Voting allowed in this mode
sv_alltalk                                            1
sv_arms_race_vote_to_restart_disallowed_after        26
sv_deadtalk                                            1
sv_ignoregrenaderadio                                1
mp_warmup_pausetimer                                0
mp_halftime_pausetimer                                0
mp_randomspawn                                        0
mp_randomspawn_los                                    0
sv_infinite_ammo                                    2
tv_delay                                            30
ammo_grenade_limit_default                          1
ammo_grenade_limit_flashbang                        0
ammo_grenade_limit_total                            1
//
mp_weapons_allow_map_placed                            0
mp_weapons_glow_on_ground                            0
mp_display_kill_assists                                1
mp_respawn_on_death_t                                1
mp_respawn_on_death_ct                                1
mp_ct_default_melee                                    weapon_knife
mp_ct_default_secondary                                weapon_hkp2000
mp_ct_default_primary                                ""
mp_t_default_melee                                    weapon_knife
mp_t_default_secondary                                weapon_glock
mp_t_default_primary                                ""
mp_default_team_winner_no_objective                    -1        // 2 == CTs, 3 == Ts
mp_buy_allow_grenades                                0
Не помогло.

2. Дайте пожалуйста рабочий gamemodes_server.txt для casual сервера с рандомной мап-группой, без лишних настроек других модов.
 
Сверху Снизу