Guest User

Untitled

a guest
Aug 29th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.39 KB | None | 0 0
  1. // Mapcycle definition for Ultimate Mapchooser v3.1 by Steell
  2.  
  3. ///////////////////////////////////////////////////////////////////////////////
  4. //***************************************************************************//
  5. //** ULTIMATE MAPCHOOSER **//
  6. //***************************************************************************//
  7. // The format of this file is as specified in the following example: //
  8. // //
  9. // "umc_mapcycle" //
  10. // { //
  11. // "GROUPNAME-1" //Name of the group, used by group votes. //
  12. // { //
  13. // //Text to display for maps from this group in the vote. If left //
  14. // //blank or omitted, the map's name will be used as the default. //
  15. // //The following string will be replaced when parsed: //
  16. // // {MAP} = The map's name //
  17. // // {NOMINATED} = If nominated, a string determined by the //
  18. // // "sm_umc_nomination_display" cvar in //
  19. // // "ultimate-mapchooser.cfg" //
  20. // // {MIN_PLAYERS} //
  21. // // {MAX_PLATERS} = The "min_players" and "max_players" //
  22. // // settings for the map. //
  23. // // {MIN_TIME} //
  24. // // {MAX_TIME} = The "min_time" and "max_time" settings //
  25. // // for the map. //
  26. // // (Default value: "{MAP}") //
  27. // "display-template" "any value" //
  28. // //Defined in "umc-core.smx" //
  29. // //
  30. // //Number of maps to include from this group in a vote. //
  31. // // (Default value: 1) //
  32. // "maps_invote" "int >= 0" //
  33. // //Defined in "umc-core.smx" //
  34. // //
  35. // //The weight of this group for random picking. Higher numbers //
  36. // //mean the group is more likely to be picked. 0 means the group //
  37. // //can never be picked randomly. //
  38. // // (Default value: 1) //
  39. // "group_weight" "float > 0" //
  40. // //Defined in "umc-weight.smx" //
  41. // //
  42. // //If a map from this group is picked randomly or via vote, the //
  43. // //next time a map is chosen randomly, it will be from the group //
  44. // //specified in this setting. If "" then a random group is picked.//
  45. // // (Default value: "") //
  46. // "next_mapgroup" "Group Name" //
  47. // //Defined in "umc-randomcycle.smx" //
  48. // //
  49. // //Used as defaults if "min_players" or "max_players" is //
  50. // //not defined for a map in this group. //
  51. // // (Default value: 0) //
  52. // "default_min_players" "int >= 0" //
  53. // // (Default value: Player limit of the server) //
  54. // "default_max_players" "int >= 0" //
  55. // //Defined in "umc-playerlimits.smx" //
  56. // //
  57. // //Used as defaults if "min_time" or "max_time" is not defined //
  58. // //for a map in this group. //
  59. // // (Default value: "0000") //
  60. // "default_min_time" "HHMM, where HH is the hour and MM is the //
  61. // minute" //
  62. // // (Default value: "2359") //
  63. // "default_max_time" "HHMM" //
  64. // //Defined in "umc-timelimits.smx" //
  65. // //
  66. // //Used as default if "allow_every" is not defined for a map in //
  67. // //this group. //
  68. // // (Default value: 0) //
  69. // "default_allow_every" "int >= 0" //
  70. // //Defined in "umc_postexclude.smx" //
  71. // //
  72. // //The command specified here is performed at the start of all //
  73. // //maps in this group. //
  74. // // (Default value: "") //
  75. // "command" "any valid console command" //
  76. // //Defined in "umc-mapcommands.smx" //
  77. // //
  78. // //Players need to have at least one admin flag specified in this //
  79. // //string in order to nominate this map. //
  80. // // (Default value: "") //
  81. // "nominate_flags" "sequence of admin flags" //
  82. // //Defined in "umc-nominate.smx" //
  83. // //
  84. // //Admins need to have at least one admin flag specified in this //
  85. // //string in order to see this map in the admin menu. //
  86. // // (Default value: "") //
  87. // "adminmenu_flags" "sequence of admin flags" //
  88. // //Defined in "umc-adminmenu.smx" //
  89. // //
  90. // "MAP-1" //Name of a map, must be a valid map. //
  91. // { //
  92. // //Text to display for this map in the vote. If left blank //
  93. // //or omitted, the map's name will be used instead. //
  94. // // (Default value: "{MAP}") //
  95. // "display" "any value" //
  96. // //Defined in "umc-core.smx" //
  97. // //
  98. // //The weight of this map with reference to other maps //
  99. // //in this category. This number affect how likely the //
  100. // //map will appear in a vote, as well as how likely this //
  101. // //map will be chosen randomly (assuming this group has //
  102. // //already been chosen.) //
  103. // // (Default value: 1) //
  104. // "weight" "float > 0" //
  105. // //Defined in "umc-weight.smx" //
  106. // //
  107. // //Overrides the option of the same name in the group level. //
  108. // // (Default value: "") //
  109. // "next_mapgroup" "Group Name" //
  110. // //Defined in "umc-randcycle.smx" //
  111. // //
  112. // //Defines the number of players required to be on the //
  113. // //server in order for this map to be used. //
  114. // // (Default values: see "default_min_players" and //
  115. // // "default_max_players") //
  116. // "min_players" "int >= 0" //
  117. // "max_players" "int >= 0" //
  118. // //Defined in "umc-playerlimits.smx" //
  119. // //
  120. // //Defines the minimum and maximum times that UMC will pick //
  121. // //this map to be played. //
  122. // "min_time" "HHMM" //
  123. // "max_time" "HHMM" //
  124. // //Defined in "umc-timelimits.smx" //
  125. // //
  126. // //Defines an amount of time in minutes that a map is to be //
  127. // //excluded from selection after it has been played. //
  128. // "allow_every" "int >= 0" //
  129. // //Defined in "umc-postexclude.smx" //
  130. // //
  131. // //This command is performed at the start of this map. Note: //
  132. // //The command specified here is performed AFTER the one //
  133. // //specified for the group, and does not override it. //
  134. // // (Default value: "") //
  135. // "command" "any valid console command" //
  136. // //Defined in "umc-mapcommands.smx" //
  137. // //
  138. // //Players need to have at least one admin flag specified in //
  139. // //this string in order to nominate this map. This overrides //
  140. // //the option specified by this group for this map. //
  141. // // (Default value: "") //
  142. // "nominate_flags" "sequence of admin flags" //
  143. // //Defined in "umc-nominate.smx" //
  144. // //
  145. // //Admins need to have at least one admin flag specified in //
  146. // //this string in order to see this map in the admin menu. //
  147. // //This overrides the option specified by this group for this //
  148. // //map. //
  149. // // (Default value: "") //
  150. // "adminmenu_flags" "sequence of admin flags" //
  151. // //Defined in "umc-adminmenu.smx" //
  152. // //
  153. // //When this map is nominated, it is associated with the group//
  154. // //specified by this setting, overriding the group that it's //
  155. // //physically located in within this definition file. If blank//
  156. // //it uses the group it's currently located in. //
  157. // // (Default value: "") //
  158. // "nominate_group" "Group Name" //
  159. // //Defined in "umc-core.smx" //
  160. // } //
  161. // //
  162. // "MAP-2" //
  163. // { //
  164. // ... //
  165. // } //
  166. // //
  167. // ... //
  168. // //
  169. // "MAP-N" //
  170. // { //
  171. // ... //
  172. // } //
  173. // } //
  174. // //
  175. // "GROUPNAME-2" //
  176. // { //
  177. // ... //
  178. // } //
  179. // //
  180. // ... //
  181. // //
  182. // "GROUPNAME-N" //
  183. // { //
  184. // ... //
  185. // } //
  186. // } //
  187. //***************************************************************************//
  188. //* ^YOU MAY DELETE THIS SECTION^ *//
  189. ///////////////////////////////////////////////////////////////////////////////
  190.  
  191. "umc_mapcycle"
  192. {
  193. "A Group" //Name this whatever you like
  194. {
  195. "maps_invote" "5"
  196. //...other settings...
  197.  
  198. //Place maps here using the following format://
  199. //-------------------------------------------//
  200. //"MAPNAME" //
  201. //{ //
  202. // ...settings... //
  203. //} //
  204. //-------------------------------------------//
  205. }
  206. }
Add Comment
Please, Sign In to add comment