Hello everyone~
I used Ulmate Mapchooser 3.4.6 for this link:
https://forums.alliedmods.net/showpo...postcount=4137
And....How can I make it work with TF2 Workshop?
this is my umc_mapcycle.txt:
Code:
// Mapcycle definition for Ultimate Mapchooser v3.1 by Steell
///////////////////////////////////////////////////////////////////////////////
//***************************************************************************//
//** ULTIMATE MAPCHOOSER **//
//***************************************************************************//
// The format of this file is as specified in the following example: //
// //
// "umc_mapcycle" //
// { //
// "GROUPNAME-1" //Name of the group, used by group votes. //
// { //
// //Text to display for maps from this group in the vote. If left //
// //blank or omitted, the map's name will be used as the default. //
// //The following string will be replaced when parsed: //
// // {MAP} = The map's name //
// // {NOMINATED} = If nominated, a string determined by the //
// // "sm_umc_nomination_display" cvar in //
// // "ultimate-mapchooser.cfg" //
// // {MIN_PLAYERS} //
// // {MAX_PLATERS} = The "min_players" and "max_players" //
// // settings for the map. //
// // {MIN_TIME} //
// // {MAX_TIME} = The "min_time" and "max_time" settings //
// // for the map. //
// // (Default value: "{MAP}") //
// "display-template" "any value" //
// //Defined in "umc-core.smx" //
// //
// //Number of maps to include from this group in a vote. //
// // (Default value: 1) //
// "maps_invote" "int >= 0" //
// //Defined in "umc-core.smx" //
// //
// //The weight of this group for random picking. Higher numbers //
// //mean the group is more likely to be picked. 0 means the group //
// //can never be picked randomly. //
// // (Default value: 1) //
// "group_weight" "float > 0" //
// //Defined in "umc-weight.smx" //
// //
// //If a map from this group is picked randomly or via vote, the //
// //next time a map is chosen randomly, it will be from the group //
// //specified in this setting. If "" then a random group is picked.//
// // (Default value: "") //
// "next_mapgroup" "Group Name" //
// //Defined in "umc-randomcycle.smx" //
// //
// //Used as defaults if "min_players" or "max_players" is //
// //not defined for a map in this group. //
// // (Default value: 0) //
// "default_min_players" "int >= 0" //
// // (Default value: Player limit of the server) //
// "default_max_players" "int >= 0" //
// //Defined in "umc-playerlimits.smx" //
// //
// //Used as defaults if "min_time" or "max_time" is not defined //
// //for a map in this group. //
// // (Default value: "0000") //
// "default_min_time" "HHMM, where HH is the hour and MM is the //
// minute" //
// // (Default value: "2359") //
// "default_max_time" "HHMM" //
// //Defined in "umc-timelimits.smx" //
// //
// //Used as default if "allow_every" is not defined for a map in //
// //this group. //
// // (Default value: 0) //
// "default_allow_every" "int >= 0" //
// //Defined in "umc_postexclude.smx" //
// //
// //The command specified here is performed at the start of all //
// //maps in this group. //
// // (Default value: "") //
// "command" "any valid console command" //
// //Defined in "umc-mapcommands.smx" //
// //
// //Players need to have at least one admin flag specified in this //
// //string in order to nominate this map. //
// // (Default value: "") //
// "nominate_flags" "sequence of admin flags" //
// //Defined in "umc-nominate.smx" //
// //
// //Admins need to have at least one admin flag specified in this //
// //string in order to see this map in the admin menu. //
// // (Default value: "") //
// "adminmenu_flags" "sequence of admin flags" //
// //Defined in "umc-adminmenu.smx" //
// //
// "MAP-1" //Name of a map, must be a valid map. //
// { //
// //Text to display for this map in the vote. If left blank //
// //or omitted, the map's name will be used instead. //
// // (Default value: "{MAP}") //
// "display" "any value" //
// //Defined in "umc-core.smx" //
// //
// //The weight of this map with reference to other maps //
// //in this category. This number affect how likely the //
// //map will appear in a vote, as well as how likely this //
// //map will be chosen randomly (assuming this group has //
// //already been chosen.) //
// // (Default value: 1) //
// "weight" "float > 0" //
// //Defined in "umc-weight.smx" //
// //
// //Overrides the option of the same name in the group level. //
// // (Default value: "") //
// "next_mapgroup" "Group Name" //
// //Defined in "umc-randcycle.smx" //
// //
// //Defines the number of players required to be on the //
// //server in order for this map to be used. //
// // (Default values: see "default_min_players" and //
// // "default_max_players") //
// "min_players" "int >= 0" //
// "max_players" "int >= 0" //
// //Defined in "umc-playerlimits.smx" //
// //
// //Defines the minimum and maximum times that UMC will pick //
// //this map to be played. //
// "min_time" "HHMM" //
// "max_time" "HHMM" //
// //Defined in "umc-timelimits.smx" //
// //
// //Defines an amount of time in minutes that a map is to be //
// //excluded from selection after it has been played. //
// "allow_every" "int >= 0" //
// //Defined in "umc-postexclude.smx" //
// //
// //This command is performed at the start of this map. Note: //
// //The command specified here is performed AFTER the one //
// //specified for the group, and does not override it. //
// // (Default value: "") //
// "command" "any valid console command" //
// //Defined in "umc-mapcommands.smx" //
// //
// //Players need to have at least one admin flag specified in //
// //this string in order to nominate this map. This overrides //
// //the option specified by this group for this map. //
// // (Default value: "") //
// "nominate_flags" "sequence of admin flags" //
// //Defined in "umc-nominate.smx" //
// //
// //Admins need to have at least one admin flag specified in //
// //this string in order to see this map in the admin menu. //
// //This overrides the option specified by this group for this //
// //map. //
// // (Default value: "") //
// "adminmenu_flags" "sequence of admin flags" //
// //Defined in "umc-adminmenu.smx" //
// //
// //When this map is nominated, it is associated with the group//
// //specified by this setting, overriding the group that it's //
// //physically located in within this definition file. If blank//
// //it uses the group it's currently located in. //
// // (Default value: "") //
// "nominate_group" "Group Name" //
// //Defined in "umc-core.smx" //
// } //
// //
// "MAP-2" //
// { //
// ... //
// } //
// //
// ... //
// //
// "MAP-N" //
// { //
// ... //
// } //
// } //
// //
// "GROUPNAME-2" //
// { //
// ... //
// } //
// //
// ... //
// //
// "GROUPNAME-N" //
// { //
// ... //
// } //
// } //
//***************************************************************************//
//* ^YOU MAY DELETE THIS SECTION^ *//
///////////////////////////////////////////////////////////////////////////////
"umc_mapcycle"
{
"Attack & Defend(攻擊 & 防禦)"
{
"command" "exec AD.cfg"
"cp_dustbowl" {}
"cp_egypt_final" {}
"cp_gorge" {}
"cp_granary" {}
"cp_gravelpit" {}
"cp_junction_final" {}
"cp_mountainlab" {}
"cp_steel" {}
}
"Control Point(控制點)"
{
"command" "exec cap.cfg"
"cp_5gorge" {}
"cp_badlands" {}
"cp_coldfront" {}
"cp_fastlane" {}
"cp_foundry" {}
"cp_freight_final1" {}
"cp_granary" {}
"cp_gullywash_final1" {}
"cp_powerhouse" {}
"cp_process_final" {}
"cp_snakewater_final1" {}
"cp_standin_final" {}
"cp_well" {}
"cp_yukon_final" {}
}
"Capture the Flag(搶奪情報箱)"
{
"command" "exec ctf.cfg"
"ctf_2fort" {}
"ctf_doublecross" {}
"ctf_sawmill" {}
"ctf_turbine" {}
"ctf_well" {}
}
"King of the Hill(山丘之王)"
{
"command" "exec KOTH.cfg"
"koth_badlands" {}
"koth_harvest_event" {}
"koth_harvest_final" {}
"koth_king" {}
"koth_lakeside_event" {}
"koth_lakeside_final" {}
"koth_nucleus" {}
"koth_sawmill" {}
"koth_suijin" {}
"koth_viaduct" {}
"koth_viaduct_event" {}
}
"Payload(彈頭車)"
{
"command" "exec PL.cfg"
"pl_badwater" {}
"pl_barnblitz" {}
"pl_borneo" {}
"pl_cactuscanyon" {}
"pl_frontier_final" {}
"pl_goldrush" {}
"pl_hoodoo_final" {}
"pl_thundermountain" {}
"pl_upward" {}
}
"Payload Race(彈頭車競賽)"
{
"command" "exec PLR.cfg"
"plr_hightower" {}
"plr_hightower_event" {}
"plr_nightfall_final" {}
"plr_pipeline" {}
}
"Medieval(中世紀)"
{
"command" "exec medieval.cfg"
"cp_degrootkeep" {}
}
"Freeze Tag(凍結救人)"
{
"command" "exec freezetag.cfg"
"arena_badlands" {}
"arena_granary" {}
"arena_lumberyard" {}
"arena_nucleus" {}
"arena_offblast_final" {}
"arena_ravine" {}
"arena_sawmill" {}
"arena_watchtower" {}
"arena_well" {}
}
"The Hidden(潛行者)"
{
"command" "exec hidden.cfg"
"arena_badlands" {}
"arena_granary" {}
"arena_lumberyard" {}
"arena_nucleus" {}
"arena_offblast_final" {}
"arena_ravine" {}
"arena_sawmill" {}
"arena_watchtower" {}
"arena_well" {}
}
"Randomizer(隨機武器大亂鬥)"
{
"command" "exec random.cfg"
"koth_badlands" {}
"koth_harvest_event" {}
"koth_harvest_final" {}
"koth_king" {}
"koth_lakeside_event" {}
"koth_lakeside_final" {}
"koth_nucleus" {}
"koth_sawmill" {}
"koth_suijin" {}
"koth_viaduct" {}
"koth_viaduct_event" {}
}
"Mann vs Tank!(曼恩對決坦克)"
{
"command" "exec mannvstank.cfg"
"pl_barnblitz" {}
"pl_frontier_final" {}
"pl_upward" {}
"pl_goldrush" {}
"pl_thundermountain" {}
"pl_hoodoo_final" {}
"plr_pipeline" {}
"plr_nightfall_final" {}
"pl_cactuscanyon" {}
"plr_hightower" {}
"plr_hightower_event" {}
"pl_badwater" {}
"pl_borneo" {}
"workshop/454262056" {}
"pl_beerbowl_b6c" {}
"pl_borax_rc2" {}
"workshop/456799153" {}
"pl_cliffhanger_b1" {}
"pl_donkeykong_final" {}
"workshop/464739486" {}
"workshop/454619737" {}
"pl_repository_rc3" {}
"pl_volcanic_a26" {}
"pl_poodoo_v3" {}
"pl_promotion_b5" {}
"pl_dbheights_b5" {}
"pl_badwater_snowy" {}
"pl_bedwetter" {}
"pl_great_heights_b3" {}
"pl_jungle_a1c" {}
"workshop/481737043" {}
"workshop/454225330" {}
"workshop/454116894" {}
"workshop/454304371" {}
"workshop/478997719" {}
}
"Other Gamemode(其他遊戲模式)"
{
"command" "exec othergamemode.cfg"
"1up_granary"
{
"command" "exec coins.cfg"
}
"rd_asteroid"
{
"command" "exec rdrobot.cfg"
}
"tc_hydro"
{
"command" "exec TC.cfg"
}
"sd_doomsday"
{
"command" "exec SD.cfg"
}
"sd_doomsday_event"
{
"command" "exec SD.cfg"
}
"pl_redship_dc_rc3"
{
"command" "exec ship.cfg"
}
"cp_snowplow"
{
"command" "exec endoftheline.cfg"
}
"ctf_foundry"
{
"command" "exec mannpower.cfg"
}
"ctf_gorge"
{
"command" "exec mannpower.cfg"
}
"ctf_thundermountain"
{
"command" "exec mannpower.cfg"
}
"pass_warehouse"
{
"command" "exec passtime.cfg"
}
}
"Funny Map(趣味地圖)"
{
"command" "exec funnymap.cfg"
"koth_skybox_a1"
{
"command" "exec wallhack.cfg"
}
"koth_pacman_wtf_b2"
{
"command" "exec pacman.cfg"
}
"cp_pacman_reg_wtf"
{
"command" "exec pacman.cfg"
}
"ctf_trains_b2"
{
"command" "exec train.cfg"
}
"cp_degrootkeep_nomed"
{
"command" "exec notmedieval.cfg"
}
"koth_foolsgrid"
{
"command" "exec nyancat.cfg"
}
}
}
(Sorry for my bad english...)