Advertisement
Guest User

GameModes_Server.txt

a guest
Jun 27th, 2014
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.24 KB | None | 0 0
  1. // To use this file, rename it to GameModes_Server.txt
  2. //
  3. // Values here override the default gamemodes.txt
  4.  
  5. "GameModes_Server.txt"{"gameTypes"{"classic"{"gameModes"{
  6.  
  7. /////////////////////////////////////////
  8. // COMPETITIVE
  9. /////////////////////////////////////////
  10. "competitive"{
  11.  
  12.  
  13. "maxplayers" "11" // Note that maxplayers doesn't go in the convar block.
  14. // Another way to set maxplayers is to add -maxplayers_override XX to the cmd line.
  15. "exec"
  16. {
  17. // Any config files listed here will be executed after the ones in gamemodes.txt.
  18.  
  19. "exec" "server_last.cfg"
  20. }
  21.  
  22. "mapgroupsMP" // List of mapgroups valid for this game mode ( competitive )
  23. {
  24. "mg_bomb_se" ""
  25. }
  26.  
  27.  
  28. }
  29. /////////////////////////////////////////
  30. // CASUAL
  31. /////////////////////////////////////////
  32. "casual"{
  33.  
  34.  
  35.  
  36. "maxplayers" "30"
  37.  
  38. "exec"
  39. {
  40. "exec" "server_last.cfg"
  41. }
  42.  
  43. "mapgroupsMP" // List of mapgroups valid for this game mode ( casual )
  44. {
  45. "mg_zombie" ""
  46. }
  47.  
  48.  
  49.  
  50. }}}"gungame"{"gameModes"{
  51.  
  52. /////////////////////////////////////////
  53. // ARMS RACE
  54. /////////////////////////////////////////
  55. "gungameprogressive"{
  56.  
  57.  
  58.  
  59. "maxplayers" "10"
  60.  
  61. // These are the configs that get executed when a game mode of this type is created
  62. "exec"
  63. {
  64. "exec" "server_last.cfg"
  65. }
  66.  
  67. "mapgroupsMP"
  68. {
  69. "mg_armsrace" ""
  70. }
  71.  
  72. "weaponprogression_ct"
  73. {
  74. "deagle" { "kills" "5" }
  75. "awp" { "kills" "5" }
  76. "knifegg" { "kills" "1" }
  77. }
  78.  
  79. "weaponprogression_t"
  80. {
  81. "deagle" { "kills" "5" }
  82. "awp" { "kills" "5" }
  83. "knifegg" { "kills" "1" }
  84. }
  85.  
  86.  
  87.  
  88. /////////////////////////////////////////
  89. // DEMOLITION
  90. /////////////////////////////////////////
  91. "gungametrbomb"
  92. {
  93.  
  94.  
  95. "maxplayers" "10"
  96.  
  97. // These are the configs that get executed when a game mode of this type is created
  98. "exec"
  99. {
  100. "exec" "server_last.cfg"
  101. }
  102.  
  103. "mapgroupsMP"
  104. {
  105. "mg_demolition" ""
  106. }
  107.  
  108. "weaponprogression_ct"
  109. {
  110. "m4a1" { "kills" "1" }
  111. "awp" { "kills" "1" }
  112. "Scar20" { "kills" "1" }
  113. }
  114.  
  115. "weaponprogression_t"
  116. {
  117. "ak47" { "kills" "1" }
  118. "awp" { "kills" "1" }
  119. "g3sg1" { "kills" "1" }
  120. }
  121.  
  122.  
  123. }}}}
  124.  
  125. //////////////////////////////////////////////////////////////////////////////////////////////
  126. // Map groups
  127. //
  128. // To use a mapgroup, it needs to be defined in a keyvalues
  129. // block such as the example below, as well as listed in the
  130. // 'mapgroupsMP' block within the game mode that will run it,
  131. // such as the example above.
  132. //
  133. // Then launch the server with '+mapgroup MAPGROUPNAME'
  134. //
  135. // Example:
  136. //
  137. // srcds -game csgo +game_mode 1 +mapgroup mg_bomb_se +map de_nuke_se
  138. //
  139. //
  140. // Check the developer wiki for updated community info
  141. // https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers
  142. //////////////////////////////////////////////////////////////////////////////////////////////
  143.  
  144.  
  145. "mapgroups"
  146. {
  147. "mg_zombie" // mapgroup definition
  148. {
  149. "name" "mg_zombie"
  150. "maps"
  151. {
  152. "de_dust2" ""
  153. "zm_lila_panic_2013" ""
  154. "de_nuke" ""
  155. "de_train" ""
  156. "de_inferno" ""
  157. "de_aztec" ""
  158. }
  159. }
  160. }
  161. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement