Guest User

Untitled

a guest
Dec 18th, 2016
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 KB | None | 0 0
  1. //made by Tubbymuffin224
  2. //gamemodes_server.txt
  3.  
  4. /////////////////////////////
  5. //RiS custom gamemode
  6. /////////////////////////////
  7.  
  8.  
  9. //code start!
  10.  
  11. "GameModes_Server.txt"
  12. {
  13. "gameTypes"
  14. {
  15. "classic"
  16. {
  17. "gameModes"
  18. {
  19. "custom"
  20. {
  21. "maxplayers" "20" //maxplayers doesnt go in the convar block. Another way to set maxplayers is to add -maxplayers_override XX to the cmd line.
  22. "exec"
  23. "mp_round_restart_delay" "3"
  24. { // Any config files listed here will be executed after the ones in gamemodes.txt.
  25. "exec" "gamemode_ris_awp.cfg"
  26. }
  27. "mapgroupsMP"
  28. { // List of mapgroups valid for this game mode ( competitive )
  29. "mg_active" ""
  30. }
  31. }
  32.  
  33. "casual"
  34. {
  35. "maxplayers" "20" //maxplayers doesnt go in the convar block. Another way to set maxplayers is to add -maxplayers_override XX to the cmd line.
  36. "exec"
  37. "mp_round_restart_delay" "3"
  38. { // Any config files listed here will be executed after the ones in gamemodes.txt.
  39. "exec" "gamemode_ris_awp.cfg"
  40. }
  41. "mapgroupsMP"
  42. { // List of mapgroups valid for this game mode ( casual )
  43. "mg_active" ""
  44. }
  45. }
  46. }
  47. }
  48. }
  49. }
  50. //end code.
  51.  
  52.  
  53.  
  54. /////////////////////////////
  55. //RiS custom map group
  56. /////////////////////////////
  57.  
  58. //////////////////////////////////////////////////////////////////////////////////////////////
  59. // Map groups
  60. //
  61. // To use a mapgroup, it needs to be defined in a keyvalues
  62. // block such as the example below, as well as listed in the
  63. // 'mapgroupsMP' block within the game mode that will run it,
  64. // such as the example above.
  65. //
  66. // Then launch the server with '+mapgroup MAPGROUPNAME'
  67. //
  68. // Example:
  69. //
  70. // srcds -game csgo +game_mode 1 +mapgroup mg_bomb_se +map de_nuke_se
  71. //
  72. //
  73. // Check the developer wiki for updated community info
  74. // https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers
  75. //////////////////////////////////////////////////////////////////////////////////////////////
  76.  
  77. //code start!
  78.  
  79. "mapgroups"
  80. {
  81. "mg_active" //name of the map group
  82. {
  83. "grouptype" "active"
  84. "name" "mg_active"
  85. "maps"
  86. {
  87. "awp_infamous" ""
  88. "awp_arena_vlgbeta2" ""
  89. "awp_boostex2" ""
  90. "awp_buildings_fix" ""
  91. "awp_closequarters_v2" ""
  92. "awp_fort_fix" ""
  93. "awp_gamma_ris_test_11" ""
  94. "awp_infinite_v2" ""
  95. "awp_lego_2011" ""
  96. "awp_lego_3" ""
  97. "awp_lego_asia" ""
  98. "awp_lego_fort" ""
  99. "awp_manor" ""
  100. "awp_minecraft" ""
  101. "awp_nitros" ""
  102. "awp_slaughter" ""
  103. "awp_taj_heaven" ""
  104. "awp_thequad" ""
  105. "awp_veneza" ""
  106. }
  107. }
  108. }}
  109. //end code.
Advertisement
Add Comment
Please, Sign In to add comment