Raised This Month: $51 Target: $400
 12% 

[UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)


Post New Thread Reply   
 
Thread Tools Display Modes
Jimback
New Member
Join Date: Jun 2012
Old 06-17-2012 , 07:33   Re: [UMC3] Ultimate Mapchooser 3.3.2 (Updated 3/4/2012)
Reply With Quote #2691

How to set maps which are nominate for the first places in end vote?
Jimback is offline
StrikerMan780
AlliedModders Donor
Join Date: Jul 2009
Location: Canada
Old 06-17-2012 , 23:47   Re: [UMC3] Ultimate Mapchooser 3.3.2 (Updated 3/4/2012)
Reply With Quote #2692

umc-mapcommands doesn't seem to be working at all for me. (As in, the commands don't get executed at all.)

This is my umc_mapcycle.cfg

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"                                                            //
// {                                                                         //
//      "GROUPNAME1" //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.  //
//          //Note: The string "{MAP}" will be replaced by the map's name.   //
//          // (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"                               //
//                                                                           //
//          "MAP1" //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.           //
//              //Note: The string "{MAP}" will be replaced by the map's     //
//              //      name.                                                //
//              // (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"                                //
//          }                                                                //
//                                                                           //
//          "MAP2"                                                           //
//          {                                                                //
//              ...                                                          //
//          }                                                                //
//                                                                           //
//          ...                                                              //
//                                                                           //
//          "MAPN"                                                           //
//          {                                                                //
//              ...                                                          //
//          }                                                                //
//      }                                                                    //
//                                                                           //
//      "GROUPNAME2"                                                         //
//      {                                                                    //
//          ...                                                              //
//      }                                                                    //
//                                                                           //
//      ...                                                                  //
//                                                                           //
//      "GROUPNAMEN"                                                         //
//      {                                                                    //
//          ...                                                              //
//      }                                                                    //
// }                                                                         //
//***************************************************************************//
//*                      ^YOU MAY DELETE THIS SECTION^                      *//
///////////////////////////////////////////////////////////////////////////////

"umc_mapcycle"
{
    "Casual Maps"
    {
        "command"   "exec config_casual.cfg"

        "dm_mariokart2_b3" {}
        "mario_kart_cp_a11f" {}
        "mario_kart_2011_v3" {}
        "MARIO_KART_2012_b3_winter" {}
        "MARIO_KART" {}
        "trade_plaza_boxing_rc4" {}
        "trade_riverwood_b6" {}
        "surf_utopia_v3" {}
        "ghz_dm_beta1" {}
        "surf_horizon_v3" {}
    }

    "Team Deathmatch"
    {
        "command"    "exec config_deathmatch.cfg"

        "dm_hangumhigh_tf2"
        {
            "command"    "exec sniper_match.cfg"
        }

        "dm_q3dm17_b1"
        {
            "command"    "exec rocket_arena.cfg"
        }

        "dm_quake_castle_b2"
        {
            "command"    "exec rocket_arena.cfg"
        }

        "DM_abds_map_V4" {}
        "dm_blockfort" {}
        "dm_boostertower" {}
        "dm_morpheus_v2_pak" {}
        "qmirror_b2" {}
        "against_all_odds_b2" {}
        "dm_ravine_v1" {}
        "trade_clocktown_b1" {}
    }

    "Capture Point"
    {
        "command"    "exec config_capturepoint.cfg"

        "cp_colourful_space_neon_arena" {}
        "cp_Blackmesa" {}
        "cp_blackmesa_final" {}
        "cp_breakout_a8" {}
        "cp_clue_b1" {}
        "cp_falselegacy_b1" {}
        "cp_snowbridge_thallus_2" {}
        "cp_lushbowl_final" {}
        "cp_kakariko_a3" {}
        "cp_mario_bros_beta8" {}
        "cp_pacman_plus_wtf" {}
        "cp_piratelife_b6" {}
        "cp_sacred_pa02" {}
        "cp_ship" {}
        "cp_twisted_courtyard_b_night" {}
        "toystore" {}
        "rats_tequila_b01" {}

        "cp_toys_v2"
        {
            "command"    "sm_jetpack 1"
        }

        "cp_hotelhell_v2"
        {
            "command"    "sm_cvar tf_sentrygun_damage 6"
        }

        "balloon_race_v2b"
        {
            "command"    "sm_cvar tf_sentrygun_damage 4"
        }

        "cp_manor_event"
        {
            "command"    "tf_forced_holiday 2"
        }

        "ravenholmcapturetf2" {}
        "cp_egypt_final" {}
        "cp_junction_final" {}
        "cp_foundry" {}
        "cp_gullywash_final1" {}
        "cp_coldfront" {}
        "cp_mountainlab" {}
        "cp_5gorge" {}
        "cp_gorge" {}
        "cp_yukon_final" {}
        "cp_steel" {}
        "cp_badlands" {}
        "cp_fastlane" {}
        "cp_well" {}
        "cp_granary" {}
        "cp_dustbowl" {}
        "cp_gravelpit" {}
        "cp_freight_final1" {}
        "tc_hydro" {}
    }

    "Capture the Flag"
    {
        "command"    "exec config_ctf.cfg"

        "assault_horusc_pak" {}
        "ctf_mercy" {}

        "ctf_bedrooms3"
        {
            "command"    "sm_jetpack 1"
        }

        "ctf_facing_worlds" {}
        "ctf_nordhaven_special_b3" {}
        "ctf_2fort_3rdoct_a5" {}
        "ctf_outset_dewdleb6" {}
        "ctf_vikings_final" {}
        "ctf_yard" {}
        "ctf_2fort" {}
        "ctf_well" {}
        "ctf_turbine" {}
        "ctf_sawmill" {}
        "ctf_doublecross" {}
    }

    "Payload"
    {
        "command"    "exec config_payload.cfg"

        "pl_donkeykong_final" {}
        "pl_jungle_a1c" {}
        "pl_metropolis_b2" {}
        "pl_minepit" {}
        "pl_moonlit_b2" {}
        "pl_redship_rc3" {}
        "pl_goldrush" {}
        "pl_badwater" {}
        "pl_upward" {}
        "pl_thundermountain" {}
        "pl_frontier_final" {}
        "pl_barnblitz" {}
        "pl_hoodoo_final" {}
        "plr_pipeline" {}
        "plr_hightower" {}
        "plr_nightfall_final" {}
    }

    "King of the Hill"
    {
        "command"    "exec config_koth.cfg"

        "koth_dead_simple_classic"
        {
            "command"    "sm_cvar tf_sentrygun_damage 8"
        }

        "koth_mansionrats_rc1"
        {
            "command"    "sm_jetpack 1"
        }

        "koth_harvest_event"
        {
            "command"    "tf_forced_holiday 2"
        }

        "koth_campground_v2" {}
        "koth_aperture_science_iiia" {}
        "koth_blueberries_b1b" {}
        "koth_diabolical_final1" {}
        "koth_drogentote_1" {}
        "koth_king_of_the_pyramid_b2" {}
        "koth_megaman6_b5" {}
        "koth_mineland_v2" {}
        "koth_namicott_b7a" {}
        "koth_nightclub_b6" {}
        "koth_partyisland_v10" {}
        "koth_twisted_v5" {}
        "koth_sollytude" {}
        "koth_spaaaace_beta_01" {}
        "koth_sawmill" {}
        "koth_nucleus" {}
        "koth_viaduct" {}
        "koth_harvest_final" {}
        "koth_lakeside_final" {}
        "koth_badlands" {}
        "koth_viaduct_event" {}
    }

    "Medieval"
    {
        "command"    "exec config_medieval.cfg"

        "pl_morrigan_alley_b1" {}
        "cp_degrootkeep" {}
        "koth_iwasbored_medieval" {}
        "koth_haunted_fall_event" {}
    }

    "Arena"
    {
        "command"    "exec config_arena.cfg"

        "arena_badlands" {}
        "arena_granary" {}
        "arena_lumberyard" {}
        "arena_ravine" {}
        "arena_well" {}
        "arena_offblast_final" {}
        "arena_watchtower" {}
        "arena_sawmill" {}
        "arena_nucleus" {}
    }
}

Last edited by StrikerMan780; 06-17-2012 at 23:48.
StrikerMan780 is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 06-18-2012 , 02:29   Re: [UMC3] Ultimate Mapchooser 3.3.2 (Updated 3/4/2012)
Reply With Quote #2693

Quote:
umc-mapcommands doesn't seem to be working at all for me. (As in, the commands don't get executed at all.)
I got same Problem.

In some cases the configs are gettin exec. In other cases they wont take effect.
__________________

Last edited by micazoid; 06-18-2012 at 02:29.
micazoid is offline
StrikerMan780
AlliedModders Donor
Join Date: Jul 2009
Location: Canada
Old 06-18-2012 , 06:44   Re: [UMC3] Ultimate Mapchooser 3.3.2 (Updated 3/4/2012)
Reply With Quote #2694

Quote:
Originally Posted by micazoid View Post
I got same Problem.

In some cases the configs are gettin exec. In other cases they wont take effect.
Yeah, seems to be 50/50.
StrikerMan780 is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 06-20-2012 , 10:22   Re: [UMC3] Ultimate Mapchooser 3.3.2 (Updated 3/4/2012)
Reply With Quote #2695

Quote:
Originally Posted by Sc00by22 View Post
This might have been asked before but is there a way to get UMC to choose a random map if there are no players on the server to vote in the end of map vote?
Use the Random Mapcycle module; if a vote fails (or no vote takes place), then at the end of the map the next map will be selected randomly.
__________________
Steell is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 06-20-2012 , 10:23   Re: [UMC3] Ultimate Mapchooser 3.3.2 (Updated 3/4/2012)
Reply With Quote #2696

Quote:
Originally Posted by StrikerMan780 View Post
umc-mapcommands doesn't seem to be working at all for me. (As in, the commands don't get executed at all.)
Quote:
Originally Posted by micazoid View Post
I got same Problem.

In some cases the configs are gettin exec. In other cases they wont take effect.
I will investigate why this might be happening.
__________________
Steell is offline
Sc00by22
Junior Member
Join Date: Mar 2009
Old 06-20-2012 , 17:52   Re: [UMC3] Ultimate Mapchooser 3.3.2 (Updated 3/4/2012)
Reply With Quote #2697

Quote:
Originally Posted by Steell View Post
Use the Random Mapcycle module; if a vote fails (or no vote takes place), then at the end of the map the next map will be selected randomly.
Much appreciated, thanks! Do the map rate weights apply to the random selection?

Also I seem to have run into a problem where the map never ends due to no players being on so the random map selection never gets called, an example being on ctf_turbine:

Time left shows
Quote:
[SM] This is the last round!!
When I join the empty server we get "Waiting for players" and then when that has finished, we hit a stalemate and the map then finishes.

The only possible workaround to this I think would be setting,:
mp_match_end_at_timelimit 1

EDIT: This didn't work either

Last edited by Sc00by22; 06-28-2012 at 13:06.
Sc00by22 is offline
sipster19
Senior Member
Join Date: Mar 2011
Old 06-22-2012 , 12:40   Re: [UMC3] Ultimate Mapchooser 3.3.2 (Updated 3/4/2012)
Reply With Quote #2698

Steell,

There is a problem with nominations. I was on ge_facility_backzone and I typed into chat nominate a. It responded with:

[UMC] Troy has nominated a.

In my UMC log I found:

L 06/22/2012 - 02:06:41: [umc-nominate.smx] Troy has nominated 'a' from group 'ge_facility_backzone'

I think it's suppose to say:

[UMC] Could not find map
sipster19 is offline
PMAvers
Member
Join Date: Sep 2009
Old 06-22-2012 , 21:46   Re: [UMC3] Ultimate Mapchooser 3.3.2 (Updated 3/4/2012)
Reply With Quote #2699

Huh.

Been having a weird problem where the mod isn't doing votes for the first round. Instead, it's just going to whatever map is next in the original mapcycle.txt.

I'm assuming it's a strange configuration error.
PMAvers is offline
Helvetica
Senior Member
Join Date: Nov 2011
Location: U.S.
Old 06-23-2012 , 21:33   Re: [UMC3] Ultimate Mapchooser 3.3.2 (Updated 3/4/2012)
Reply With Quote #2700

How do you make it so the End of Map vote only triggers itself after a certain amount of rounds have been played? I've gone through every cvar like 50 times and cannot find a way to make it ignore timelimit.

None of my maps use timelimit so I just get:

[umc-endvote.smx] Unable to create end of map vote time-trigger, trigger time already passed.

Over, and over, and over again.

EDIT: Nevermind, solution was to just delete the mp_timelimit cvar out of the server.cfg file altogether.

Last edited by Helvetica; 06-26-2012 at 09:45.
Helvetica is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:06.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode