Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Values here override the default gamemodes.txt
- "GameModes_Server.txt"
- {
- "gameTypes"
- {
- "classic"
- {
- "gameModes"
- {
- "competitive"
- {
- "maxplayers" "8" // 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"
- {
- "exec" "gamemode_competitive.cfg"
- }
- "mapgroupsMP" // List of mapgroups valid for this game mode ( competitive )
- {
- "mg_bomb" ""
- }
- }
- "casual"
- {
- "maxplayers" "12"
- "exec"
- {
- "exec" "gamemode_casual.cfg"
- }
- "mapgroupsMP" // List of mapgroups valid for this game mode ( casual )
- {
- "mg_bomb" ""
- }
- }
- }
- }
- }
- "gungame"
- {
- "value" "1"
- "nameID" "#SFUI_GameTypeGungame"
- // This is the list of game modes supported by this game type.
- "gameModes"
- {
- "deathmatch"
- {
- "value" "2"
- "nameID" "#SFUI_Deathmatch"
- "descID" "#SFUI_DeathmatchDesc"
- "matchmakingvalue" "competitive"
- "uid" "13"
- "maxplayers" "12"
- // These are the descriptive ui elements to display in the information box on.
- // These key/values should be pairs of strings. The "key" will appear in the left
- // column, the "value" will appear in the right column.
- "ui"
- {
- "0" { "label" "#SFUI_WinMatchColon" "value" "10 #SFUI_Rounds" }
- "1" { "label" "#SFUI_TimePerRoundColon" "value" "90 #SFUI_Seconds" }
- "2" { "label" "#SFUI_SpectateColon" "value" "#SFUI_SpectateTeamOnly" }
- "3" { "label" "#SFUI_BotsColon" "value" "#SFUI_BotDifficulty3" }
- }
- // These are the configs that get executed when a game mode of this type is created
- "exec"
- {
- "exec" "deathservercfg"
- "exec" "gamemode_deathmatch.cfg"
- }
- "mapgroupsMP" // List of mapgroups valid for this game mode
- {
- "mg_allclassic" "0"
- "mg_dm_other" "1"
- "mg_deathmatch" "2"
- }
- }
- }
- }
- //////////////////////////////////////////////////////////////////////////////////////////////
- // 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" // mapgroup definition
- {
- "name" "mg_bomb"
- "maps"
- {
- "cs_italy" ""
- "cs_office" ""
- "de_dust2" ""
- "de_dust" ""
- "de_aztec" ""
- "de_inferno" ""
- "de_nuke" ""
- "de_train" ""
- "cs_office" ""
- "cs_italy" ""
- }
- }
- "mg_deathmatch"
- {
- "name" "mg_deathmatch"
- "maps"
- {
- "aim_map" ""
- "aim_map_csgo" ""
- "awp_mapz" ""
- "csgo_awp_map" ""
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement