Advertisement
Alvmarken

gamemodes_server.txt

May 12th, 2014
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.37 KB | None | 0 0
  1. // Values here override the default gamemodes.txt
  2.  
  3. "GameModes_Server.txt"
  4. {
  5. "gameTypes"
  6. {
  7. "classic"
  8. {
  9. "gameModes"
  10. {
  11. "competitive"
  12. {
  13.  
  14. "maxplayers" "8" // Note that maxplayers doesn't go in the convar block.
  15. // Another way to set maxplayers is to add -maxplayers_override XX to the cmd line.
  16.  
  17. "exec"
  18. {
  19. "exec" "gamemode_competitive.cfg"
  20. }
  21.  
  22. "mapgroupsMP" // List of mapgroups valid for this game mode ( competitive )
  23. {
  24. "mg_bomb" ""
  25. }
  26. }
  27.  
  28. "casual"
  29. {
  30.  
  31. "maxplayers" "12"
  32.  
  33. "exec"
  34. {
  35. "exec" "gamemode_casual.cfg"
  36. }
  37.  
  38. "mapgroupsMP" // List of mapgroups valid for this game mode ( casual )
  39. {
  40. "mg_bomb" ""
  41. }
  42. }
  43.  
  44. }
  45. }
  46. }
  47. "gungame"
  48. {
  49. "value" "1"
  50. "nameID" "#SFUI_GameTypeGungame"
  51.  
  52. // This is the list of game modes supported by this game type.
  53. "gameModes"
  54. {
  55. "deathmatch"
  56. {
  57. "value" "2"
  58. "nameID" "#SFUI_Deathmatch"
  59. "descID" "#SFUI_DeathmatchDesc"
  60. "matchmakingvalue" "competitive"
  61. "uid" "13"
  62. "maxplayers" "12"
  63.  
  64. // These are the descriptive ui elements to display in the information box on.
  65. // These key/values should be pairs of strings. The "key" will appear in the left
  66. // column, the "value" will appear in the right column.
  67. "ui"
  68. {
  69.  
  70. "0" { "label" "#SFUI_WinMatchColon" "value" "10 #SFUI_Rounds" }
  71. "1" { "label" "#SFUI_TimePerRoundColon" "value" "90 #SFUI_Seconds" }
  72. "2" { "label" "#SFUI_SpectateColon" "value" "#SFUI_SpectateTeamOnly" }
  73. "3" { "label" "#SFUI_BotsColon" "value" "#SFUI_BotDifficulty3" }
  74. }
  75.  
  76. // These are the configs that get executed when a game mode of this type is created
  77. "exec"
  78. {
  79. "exec" "deathservercfg"
  80. "exec" "gamemode_deathmatch.cfg"
  81. }
  82.  
  83. "mapgroupsMP" // List of mapgroups valid for this game mode
  84. {
  85. "mg_allclassic" "0"
  86. "mg_dm_other" "1"
  87. "mg_deathmatch" "2"
  88.  
  89. }
  90. }
  91. }
  92. }
  93.  
  94. //////////////////////////////////////////////////////////////////////////////////////////////
  95. // Map groups
  96. //
  97. // To use a mapgroup, it needs to be defined in a keyvalues
  98. // block such as the example below, as well as listed in the
  99. // 'mapgroupsMP' block within the game mode that will run it,
  100. // such as the example above.
  101. //
  102. // Then launch the server with '+mapgroup MAPGROUPNAME'
  103. //
  104. // Example:
  105. //
  106. // srcds -game csgo +game_mode 1 +mapgroup mg_bomb_se +map de_nuke_se
  107. //
  108. //
  109. // Check the developer wiki for updated community info
  110. // https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers
  111. //////////////////////////////////////////////////////////////////////////////////////////////
  112.  
  113.  
  114. "mapgroups"
  115. {
  116. "mg_bomb" // mapgroup definition
  117. {
  118. "name" "mg_bomb"
  119. "maps"
  120. {
  121. "cs_italy" ""
  122. "cs_office" ""
  123. "de_dust2" ""
  124. "de_dust" ""
  125. "de_aztec" ""
  126. "de_inferno" ""
  127. "de_nuke" ""
  128. "de_train" ""
  129. "cs_office" ""
  130. "cs_italy" ""
  131. }
  132. }
  133. "mg_deathmatch"
  134. {
  135. "name" "mg_deathmatch"
  136. "maps"
  137. {
  138. "aim_map" ""
  139. "aim_map_csgo" ""
  140. "awp_mapz" ""
  141. "csgo_awp_map" ""
  142. }
  143. }
  144. }
  145. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement