Raised This Month: $ Target: $400
 0% 

[CS:GO] GameModes_Server.txt is not working


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hellomoto
Member
Join Date: Sep 2006
Old 01-08-2014 , 06:40   [CS:GO] GameModes_Server.txt is not working
Reply With Quote #1

Let me first start off by saying I rent a server through NFo and I don't have access to the command line to set the command line parameters like -game csgo +game_mode 1, etc. Is that a requirement that that be done after setting up the gamemodes_server.txt file? If so, I might have to contact their support department to do it for me. Anywho, they have their own control panel with cs:go specific options like game mode/type and map group.

So here's what I did. I copied a sample configuration of gamemodes_server.txt from another thread on the forums (the default one in my csgo folder doesn't have the options I want) and uploaded it via FTP to my csgo folder. I then went to the NFo control panel to the csgo specific options and set the game type to Classic Casual and the game mode to random_classic and restarted my server. This did not work as the first thing I noticed when I joined my server was a different amount of bots than I specified in the .txt file. What am I doing wrong and how can I correct it?

Here's my .txt file:
Code:
// To use this file, rename it to GameModes_Server.txt
//
// Values here override the default gamemodes.txt

"GameModes_Server.txt"
{
"gameTypes"
{
"classic"
{
"gameModes"
{
"casual"
{
"maxplayers" "20"
"convars"
{
"mp_solid_teammates" "1" // Determines whether teammates are solid or not.
"mp_free_armor" "0" // Determines whether armor and helmet are given automatically.
"mp_halftime" "0" // Determines whether or not the match has a team-swapping halftime event.
"mp_startmoney" "800"
"mp_maxmoney" "16000"
"mp_afterroundmoney" "0"
"mp_friendlyfire" "0"
"sv_deadtalk" "1"
"sv_alltalk" "1"
"sv_voiceenable" "1"
"sv_allow_votes" "0"
"mp_join_grace_time" "25"
"mp_autoteambalance" "1"
"mp_autokick" "0"
"mp_timelimit" "45"
"mp_maxrounds" "0"
"mp_forcecamera" "1"
"mp_buytime" "45"
"mp_freezetime" "3"
"mp_limitteams" "2"
"mp_roundtime" "3"
"mp_win_panel_display_time" "3"
"bot_quota_mode" "fill"
"bot_quota" "8"
"bot_defer_to_human_items" "0"
"bot_defer_to_human_goals" "0"
"bot_difficulty" "3"
"bot_dont_shoot" "0"
"bot_chatter" "off"
}

"mapgroupsMP" // List of mapgroups valid for this game mode
{
"random_classic" ""
}
}
}
}
}

//////////////////////////////////////////////////////////////////////////////////////////////
// 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/...icated_Servers
//////////////////////////////////////////////////////////////////////////////////////////////


"mapgroups"
{
"random_classic" // mapgroup definition
{
"name" "random_classic"
"maps"
{
"de_inferno" ""
"cs_assault" ""
"cs_italy" ""
"de_dust" ""
"de_nuke" ""
"de_train" ""
"de_dust2" ""
"cs_office" ""
}
}
}
}
and this is what the NFo control panel looks like:

Last edited by hellomoto; 01-08-2014 at 06:42.
hellomoto is offline
 



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 19:36.


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