First of all, gamemodes_server.txt isnt all that bad once you start seeing what they done, they put in all the cvars that will load with whatever gamemode you have it set to, so that it is somewhat easy to change between, casual, competitive, and Arms Race. but what i also found out, is that you can have your gamemodes_server.txt basically empty besides the gamemodes and mapgroups and maps.
Code: Select all
// To use this file, rename it to GameModes_Server.txt
//
// Values here override the default gamemodes.txt
"GameModes_Server.txt"
{
"gameTypes"
{
"classic"
{
"gameModes"
{
"competitive"
{
"convars"
{
}
"mapgroupsMP" // List of mapgroups valid for this game mode
{
"mg_bomb_se" ""
}
}
}
}
}
//////////////////////////////////////////////////////////////////////////////////////////////
// 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"
{
"ar_infinity" ""
"fy_iceworld" ""
"ar_shoots" ""
"ar_blood_anarchy" ""
"ar_deagle" ""
"ar_baggage" ""
"ar_crash_bandicoot" ""
"ar_churches" ""
}
}
}
}
and (dont hate me for this, i was just testing it out to see if it worked and plus, i missed somewhat real gungame) i use this for SM Gungame. the server itself runs around with me leaving this like so just fine, but to get sm gungame working properly, i had to manually disable some cvars in my server.cfg. the server.cfg also overrides the gamemodes_server.txt. and here is what my server.cfg is currently as
Code: Select all
rcon_password "#######"
hostname "Infinite Tactics | SM:GunGame | Revese Turbo | NO RESPAWN!"
sv_downloadurl "http://www.infinite-tactics.clanservers.com/csgo-ds/csgo"
"bot_auto_vacate" "1"
"bot_quota_mode" "fill"
"bot_quota" "4"
"bot_difficulty" "1"
"sv_alltalk" "1"
"sv_deadtalk" "1"
"mp_freezetime" "5"
"mp_forcecamera" "0"
"mp_maxrounds" "99"
"mp_halftime" "0"
"mp_timelimit" "0"
"mp_roundtime" "5"
"mp_do_warmup_period" "0"
but with the gamemodes.txt as it says at the top of it <DO NOT MODIFY THIS FILE> the reason behind it is this...if something is missing from gamemodes_server.txt that it needs, it will pull from it. the main reason i found this out was because trying to get arms race to work before i ever tried sm gungame, i was trying to make it as customizable as possible...different gun order was about all you could do on it...but yet changing the gun order in gamemodes_server.txt done absolutely nothing...so just to test, i deleted the entire gun order, and it still ran, so i was looking around and edited the gamemodes.txt 's gun order, and it switched...thats the most i ever edited out of the gamemodes.txt. but when i was trying to customize the arms race somewhat, i read, but not fully tested what d1zzy from the steam forums posted...a strict limit to only 27 guns, it will end no matter what after the 27th kill...knifegg at any level will end the game, zeus will not work...those were what he listed, the only thing i tried was the zeus, but it didnt work. but what i found out is that you can give grenade levels (including molitov) but they wont have guns with them, and you can knife past any level, including grenade.
and to edit the map rotation, you have to edit your gamemodes_server.txt as i done above in mine...you have to make sure you have the right mapgroup matched with your command line for any of it to work
you can use any mapgroup you want for any group of maps as i used mg_bomb_se for my ar maps (proved 2 support tech guys wrong about this......was quite funny)
and i believe that is almost everything...i'll post again if i left something out. nice to meet you all, and i hope i can become a part of this as much as possible


sorry for long post XD