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
TDog
New Member
Join Date: Aug 2011
Old 08-16-2011 , 19:09   Re: [UMC3] Ultimate Mapchooser 3.2.2 (Updated 8/11/2011)
Reply With Quote #1611

Thanks after racking my brain for hours it dawn on me after your post. I was unloading all plugins after each map change and reloading them it didn't carry the command upon reload it.
TDog is offline
Nightbox
Senior Member
Join Date: Apr 2008
Old 08-17-2011 , 11:28   Re: [UMC3] Ultimate Mapchooser 3.2.2 (Updated 8/11/2011)
Reply With Quote #1612

Hey, any chance for this ?

http://forums.alliedmods.net/showthread.php?t=162164
__________________
Nightbox is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 08-17-2011 , 11:42   Re: [UMC3] Ultimate Mapchooser 3.2.2 (Updated 8/11/2011)
Reply With Quote #1613

Quote:
Originally Posted by Nightbox View Post
I have been closely following progress on that extension. Once it is in a more complete state with less things likely to be changed, I will definitely be implementing it into UMC.
__________________
Steell is offline
Nightbox
Senior Member
Join Date: Apr 2008
Old 08-17-2011 , 11:45   Re: [UMC3] Ultimate Mapchooser 3.2.2 (Updated 8/11/2011)
Reply With Quote #1614

Quote:
Originally Posted by Steell View Post
I have been closely following progress on that extension. Once it is in a more complete state with less things likely to be changed, I will definitely be implementing it into UMC.
Good, because people usually spam 1-2-3-4-5-w/e until they get rid of that without watching.
__________________
Nightbox is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 08-17-2011 , 11:49   Re: [UMC3] Ultimate Mapchooser 3.2.2 (Updated 8/11/2011)
Reply With Quote #1615

Quote:
Originally Posted by Nightbox View Post
Good, because people usually spam 1-2-3-4-5-w/e until they get rid of that without watching.
As a temporary solution, you can experiment with sm_umc_menu_esc (in ultimate-mapchooser.cfg) which makes players have to press ESC before being able to vote.
__________________
Steell is offline
Nightbox
Senior Member
Join Date: Apr 2008
Old 08-17-2011 , 11:50   Re: [UMC3] Ultimate Mapchooser 3.2.2 (Updated 8/11/2011)
Reply With Quote #1616

Quote:
Originally Posted by Steell View Post
As a temporary solution, you can experiment with sm_umc_menu_esc (in ultimate-mapchooser.cfg) which makes players have to press ESC before being able to vote.
thanks for suggestion, but I'm afraid people will no longer vote if they have to make too many steps So I'm waiting for the tf2 votes which should look and work the best.
__________________
Nightbox is offline
Nightbox
Senior Member
Join Date: Apr 2008
Old 08-17-2011 , 15:57   Re: [UMC3] Ultimate Mapchooser 3.2.2 (Updated 8/11/2011)
Reply With Quote #1617

one more question, how do I set the min and max players for a group ?

default_min_players or min_players ?
__________________
Nightbox is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 08-17-2011 , 16:36   Re: [UMC3] Ultimate Mapchooser 3.2.2 (Updated 8/11/2011)
Reply With Quote #1618

Quote:
Originally Posted by Nightbox View Post
one more question, how do I set the min and max players for a group ?

default_min_players or min_players ?
"default_min_players" and "default_max_players"
__________________
Steell is offline
Dravu
Senior Member
Join Date: May 2010
Old 08-17-2011 , 21:56   Re: [UMC3] Ultimate Mapchooser 3.2.2 (Updated 8/11/2011)
Reply With Quote #1619

Quote:
Originally Posted by Steell View Post
I need to see your umc_mapcycle.txt and I need to see your umc-nominate.cfg file.
It's ever-changing, but here it is currently:
Code:
// Mapcycle definition for Ultimate Mapchooser v3.0 by Steell

///////////////////////////////////////////////////////////////////////////////
//***************************************************************************//
//**                           ULTIMATE MAPCHOOSER                         **//
//***************************************************************************//
// The format of this file is as specified in the following example:         //
//                                                                           //
// "umc_rotation"                                                            //
// {                                                                         //
//      "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"          "int > 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 any 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 any 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"                              //
//                                                                           //
//          //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"                             //
//                                                                           //
//          "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"        "int > 0"                                    //
//                //Defined in "umc-weight.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 the plugin will pick //
//              //this map to be played.                                     //
//              "min_time"      "HHMM"                                       //
//              "max_time"      "HHMM"                                       //
//                //Defined in "umc-timelimits.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"                         //
//          }                                                                //
//                                                                           //
//          "MAP2"                                                           //
//          {                                                                //
//              ...                                                          //
//          }                                                                //
//                                                                           //
//          ...                                                              //
//                                                                           //
//          "MAPN"                                                           //
//          {                                                                //
//              ...                                                          //
//          }                                                                //
//      }                                                                    //
//                                                                           //
//      "GROUPNAME2"                                                         //
//      {                                                                    //
//          ...                                                              //
//      }                                                                    //
//                                                                           //
//      ...                                                                  //
//                                                                           //
//      "GROUPNAMEN"                                                         //
//      {                                                                    //
//          ...                                                              //
//      }                                                                    //
// }                                                                         //
//***************************************************************************//
///////////////////////////////////////////////////////////////////////////////

"umc_rotation"
{
    "Control Point (AD)"
    {
        "maps_invote" "1"
        "default_min_players" "16"

        "cp_boulder_v5" {}
        "cp_castle4" {}
        "cp_corporation_b3" {}
        "cp_degrootkeep" {}
        "cp_desperados_a17" {}
        "cp_dustbowl"
        {
            "min_players" "0"
        }
        "cp_egypt_final" {}
        "cp_furnace_rc" {}
        "cp_glacier_rc6" {}
        "cp_gravelpit"
        {
            "min_players" "0"
        }
        "cp_gydan" {}
        "cp_manor_event" {}
        "cp_mountainlab" {}
        "cp_redfort_b3" {}
        "cp_steel"
        {
            "min_players" "0"
        }
        "cp_vector_v1" {}
        "cp_vertigo_beta3" {}
    }
 
    "Control Point (Push)"
    {
        "maps_invote" "1"
        "default_min_players" "16"
        
        "cp_5gorge"    {}
        "cp_badlands"
        {
            "min_players" "8"
        }
        "cp_coldfront" {}
        "cp_fastlane" {}
        "cp_follower" {}
        "cp_freight_final1" {}
        "cp_gorge"
        {
            "min_players" "0"
        }
        "cp_granary"
        {
            "min_players" "0"
        }
        "cp_mainline_rc5" {}
        "cp_photic_a11" {}
        "cp_stag" {}
        "cp_well"
        {
            "min_players" "0"
        }
        "cp_yukon_final"
        {
            "min_players" "0"
        }
    }
 
    "Capture The Flag"
    {
        "maps_invote" "1"
        "default_min_players" "16"
        
        "ctf_atrophy_b4" {}
        "ctf_aurora_rc" {}
        "ctf_chaos"    {}
        "ctf_doublecross" {}
        "ctf_haarp_b2" {}
        "ctf_impact2" {}
        "ctf_snowdrift_b4a"    {}
        "ctf_turbine"
        {
            "min_players" "4"
        }
        "ctf_well"
        {
            "min_players" "4"
        }
    }
 
    "King of the Hill"
    {
        "maps_invote" "1"
        "default_min_players" "16"

        "koth_harvest_event" {}
        "koth_harvest_final" {}
        "koth_lakeside_final" {}
        "koth_lolcano_b2" {}
        "koth_lumberyard_rc3" {}
        "koth_moonshine_v2" {}
        "koth_nucleus"
        {
            "min_players" "0"
            "weight" "3"
        }
        "koth_sawmill"
        {
            "min_players" "0"
            "weight" "3"
        }
        "koth_viaduct"
        {
            "min_players" "0"
            "weight" "3"
        }
    }
 
    "Payload"
    {
        "maps_invote" "1"
        "default_min_players" "16"

        "plr_pipeline" {}
        "pl_badwater"
        {
            "min_players" "0"
            "weight" "2"
        }
        "pl_barnblitz" {}
        "pl_beerbowl_b5a" {}
        "pl_borax_rc2" {}
        "pl_cashworks_rc2" {}
        "pl_cliffsedge_b1" {}
        "pl_dbheights_b2" {}
        "pl_deadwood" {}
        "pl_everest_v3_b4" {}
        "pl_frontier_final" {}
        "pl_goldrush"
        {
            "min_players" "0"
        }
        "pl_great_heights_b3" {}
        "pl_halfacre" {}
        "pl_metropolis_b2" {}
        "pl_mill_b5" {}
        "pl_outback_rc4" {}
        "pl_pharaoh" {}
        "pl_repository_rc3" {}
        "pl_rivercrossing_rc2a" {}
        "pl_swiftwater_frc12" {}
        "pl_thundermountain" {}
        "pl_upward"
        {
            "min_players" "0"
        }
        "pl_waste_b4" {}
    }
}
Code:
// This file was auto-generated by SourceMod (v1.3.7)
// ConVars for plugin "umc-nominate.smx"

//////////////////////////////////////////////////////////////////////////////////////
// Full Documentation for the Nominations module is located at:                     //
//      http://code.google.com/p/sourcemod-ultimate-mapchooser/wiki/ModuleNominate  //
//////////////////////////////////////////////////////////////////////////////////////


// File to use for Ultimate Mapchooser's map rotation.
// -
// Default: "umc_mapcycle.txt"
sm_umc_nominate_cyclefile "umc_mapcycle.txt"

// Flags necessary for a player to nominate a map, if flags are not specified by a map in the mapcycle. If empty, all players can nominate.
// -
// Default: ""
sm_umc_nominate_defaultflags "a"

// Specifies whether players have the ability to nominate maps for votes.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_umc_nominate_enabled "1"

// Specifies how many past map groups to exclude from nominations.
// -
// Default: "0"
// Minimum: "0.000000"
sm_umc_nominate_groupexclude "1"

// Specifies how many past maps to exclude from nominations.
// -
// Default: "3"
// Minimum: "0.000000"
sm_umc_nominate_mapexclude "5"

// Determines the order of maps in the nomination menu.
//  0 - Same as mapcycle,
//  1 - Alphabetical
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_umc_nominate_sorted "1"

// Organizes the nomination menu so that users select a group first, then a map.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_umc_nominate_tiermenu "1"
Also, is there anyway to make the nominations replace the randomly selected maps instead of only adding onto the amount?
Dravu is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 08-17-2011 , 22:19   Re: [UMC3] Ultimate Mapchooser 3.2.2 (Updated 8/11/2011)
Reply With Quote #1620

Quote:
Originally Posted by Dravu View Post
Also, is there anyway to make the nominations replace the randomly selected maps instead of only adding onto the amount?
Nominations should replace the randomly selected maps, and if there are more nominations than the "maps_invote" for a group, then whether or not the nominations will exceed that setting is if the nominate_strict cvar is enabled for whichever module you are using for voting.

If this is not what's happening, it may be a bug which I will have to look into.
__________________
Steell 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 09:11.


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