Arthur Don
Участник
- Сообщения
- 1,696
- Реакции
- 256
Как заблокировать покупку электрошокера?
Эм,помогите тоже самое!Прошу сильно не пинать. Начал заниматься сервером CS:GO и столкнулся с проблемой. Нет голосования за следующую карту в конце последнего раунда.
P.S. Играл с ботами. С реальными игроками не проверял.
Строка запуска:
gamemodes_server.txt:C-подобный:-game csgo -console -port 27015 -usercon +game_type 0 +game_mode 0 +mapgroup mg_all +map de_dust2 -tickrate 128 +fps_max 120
sm plugins list: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" "30" "exec" { "exec" "server_last.cfg" } "mapgroupsMP" // List of mapgroups valid for this game mode ( casual ) { "mg_all" "" } }}}"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" "" } } "mg_all" // mapgroup definition { "name" "mg_all" "maps" { "de_dust" "" "de_dust2" "" "de_nuke" "" "de_train" "" "de_inferno" "" "de_aztec" "" "cs_office" "" "cs_italy" "" "cs_assault" "" "cs_backalley" "" "cs_militia" "" } } } }
gamemode_casual.cfg:C-подобный:sm plugins list [SM] Listing 18 plugins: 01 "Admin File Reader" (1.7.2) by AlliedModders LLC 02 "Admin Help" (1.7.2) by AlliedModders LLC 03 "Admin Menu" (1.7.2) by AlliedModders LLC 04 "Anti-Flood" (1.7.2) by AlliedModders LLC 05 "Basic Chat" (1.7.2) by AlliedModders LLC 06 "Basic Comm Control" (1.7.2) by AlliedModders LLC 07 "Basic Commands" (1.7.2) by AlliedModders LLC 08 "Basic Info Triggers" (1.7.2) by AlliedModders LLC 09 "Basic Votes" (1.7.2) by AlliedModders LLC 10 "Client Preferences" (1.7.2) by AlliedModders LLC 11 "Fun Commands" (1.7.2) by AlliedModders LLC 12 "Fun Votes" (1.7.2) by AlliedModders LLC 13 "HLstatsX CE Ingame Plugin" (1.6.19) by psychonic 14 "Player Commands" (1.7.2) by AlliedModders LLC 15 "Reserved Slots" (1.7.2) by AlliedModders LLC 16 "Sound Commands" (1.7.2) by AlliedModders LLC 17 "SourceBans" (1.4.9) by SourceBansDev.Team + mod.Leg.for_rus 18 "SourceComms" (0.9.262) by Alex
Читал мануал, перечитывал, но так и не понял, где у меня ошибка...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 normal bot_defer_to_human_goals 0 bot_defer_to_human_items 1 bot_difficulty 1 bot_quota 6 bot_quota_mode fill cash_player_bomb_defused 200 cash_player_bomb_planted 200 cash_player_damage_hostage -30 cash_player_interact_with_hostage 300 cash_player_killed_enemy_default 200 cash_player_killed_enemy_factor 0.5 cash_player_killed_hostage -1000 cash_player_killed_teammate -300 cash_player_rescued_hostage 1000 cash_team_elimination_bomb_map 2700 cash_team_elimination_hostage_map_t 2000 cash_team_elimination_hostage_map_ct 2300 cash_team_hostage_alive 0 cash_team_hostage_interaction 500 cash_team_loser_bonus 2400 cash_team_loser_bonus_consecutive_rounds 0 cash_team_planted_bomb_but_defused 200 cash_team_rescued_hostage 0 cash_team_terrorist_win_bomb 2700 cash_team_win_by_defusing_bomb 2700 cash_team_win_by_hostage_rescue 3000 cash_team_win_by_time_running_out_hostage 2000 cash_team_win_by_time_running_out_bomb 2700 ff_damage_reduction_bullets 0 ff_damage_reduction_grenade 0 ff_damage_reduction_grenade_self 0 ff_damage_reduction_other 0 mp_afterroundmoney 0 mp_buytime 45 mp_buy_anywhere 0 mp_buy_during_immunity 0 mp_death_drop_defuser 1 mp_death_drop_grenade 2 // 0=none, 1=best, 2=current or best mp_death_drop_gun 1 // 0=none, 1=best, 2=current or best mp_defuser_allocation 2 // 0=none, 1=random, 2=everyone mp_force_pick_time 15 mp_forcecamera 0 // Set to 1 for team only spectating. mp_free_armor 1 mp_freezetime 1 mp_friendlyfire 1 mp_win_panel_display_time 3 mp_ggprogressive_round_restart_delay 15 mp_ggtr_bomb_defuse_bonus 1 mp_ggtr_bomb_detonation_bonus 1 mp_ggtr_bomb_pts_for_flash 4 mp_ggtr_bomb_pts_for_he 3 mp_ggtr_bomb_pts_for_molotov 5 mp_ggtr_bomb_pts_for_upgrade 2 mp_ggtr_bomb_respawn_delay 0 mp_ggtr_end_round_kill_bonus 1 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 1 // 0=No mercy rule, 1=team can clinch match win early if they win > 1/2 total rounds mp_match_end_changelevel 1 mp_endmatch_votenextmap 1 mp_endmatch_votenextleveltime 15 mp_match_end_restart 0 mp_endmatch_votenextmap_keepcurrent 1 mp_maxmoney 16000 mp_maxrounds 10 mp_molotovusedelay 0 mp_playercashawards 1 mp_roundtime 3 mp_roundtime_hostage 2 mp_roundtime_defuse 2.25 // Typical ValveOfficial Casual defuse rounds are 90-100 seconds. mp_solid_teammates 0 mp_startmoney 16000 mp_teamcashawards 1 mp_timelimit 0 mp_warmuptime 90 mp_weapons_allow_zeus 1 spec_freeze_panel_extended_time 0 spec_freeze_time 5.0 sv_allow_votes 1 // Voting allowed in this mode sv_vote_issue_restart_game_allowed 0 sv_alltalk 1 sv_arms_race_vote_to_restart_disallowed_after 0 sv_vote_to_changelevel_before_match_point 1 sv_deadtalk 0 sv_ignoregrenaderadio 0 tv_delay 30 mp_warmup_pausetimer 0 mp_halftime_pausetimer 0 mp_randomspawn 0 mp_randomspawn_los 0 sv_infinite_ammo 0 ammo_grenade_limit_flashbang 1 ammo_grenade_limit_total 3 // // mp_weapons_allow_map_placed 1 mp_weapons_glow_on_ground 0 mp_display_kill_assists 1 mp_respawn_on_death_t 0 mp_respawn_on_death_ct 0 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
Окау,спасибо.Snickersi, с ботами не срабатывает голосование, а вот с реальными игроками работает. + немного подредачил конфиги
поставь 0cash_team_elimination_bomb_map
а как изменить карты при голосование которые в *(ESC f1 f2) и в конце раунда выбор карты! хочу поставить на выбор авп лего!
если у тебя стандартное голосования то карты добавлять ты можешь в gamemodes или же gamemodes_server
"GameModes_Server.txt"
{
"gameTypes"
{
"custom"
{
"gameModes"
{
"custom"
{
"maxplayers" "25"
"exec"
{
"exec" "gamemode_custom_server.cfg"
}
"mapgroupsMP"
{
"all_maps" ""
}
}
}
}
}
"mapgroups"
{
"all_maps"
{
"imagename" "mapgroup-custom1"
"nameID" "#SFUI_Mapgroup_all_maps"
"name" "all_maps"
"maps"
{
"de_dust2" ""
"de_dust" ""
"de_nuke" ""
"de_inferno" ""
"de_aztec" ""
"de_vertigo" ""
"cs_italy" ""
"cs_office" ""
"de_mirage" ""
"de_bank" ""
"de_castle" ""
"de_cache" ""
}
}
}
}