Raised This Month: $7 Target: $400
 1% 

Mapchooser Extended!


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Zuko
SourceMod Donor
Join Date: Sep 2006
Location: Poland
Plugin ID:
1606
Plugin Version:
1.4.1
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    7 
    Plugin Description:
    Extended version of MapChooser
    Unapprover:
    Reason for Unapproving:
    Author's request.
    Old 04-14-2010 , 16:24   Mapchooser Extended!
    Reply With Quote #1

    Please use newer (and better) version developed by Powerlord
    http://forums.alliedmods.net/showthread.php?t=156974



    As many people are looking or asking about additional features (on IRC and forums) for MapChooser. I decided to share with you my modified version.
    Below is a list of new features:

    • Sounds at the start and end of the vote
    • Players are warned before the vote (by countdown)
    • Plugin displays progress of vote
    • Custom maps are marked on the vote menu*
    • You can lock slots in vote menu
    • Additional vote when none map not reach the required number of votes
    • Percentage calculation when to start voting

    Changelog:
    • Version 1.3 (14.04.2010)
      • First Public Release
    • Version 1.4 (07.03.2011) by Powerlord
      • Fixed bugs with vote countdown. The announcer may count a little fast from time to time, but she'll no longer skip or repeat numbers.
      • Changed how vote slot blocking works. Slots 1-3 are always blocked, maps start filling at position 4. This fixes issues with random map selection when no one votes with only 2-3 maps showing, including with runoff votes.
      • Fixed some issues with English translation file, particularly where % signs were not showing.
      • Updated colors.inc to 1.0.5, the latest version on Allied Modders. Now has support for new colors, such as olive.
      • Added HL2 sounds
    • Version 1.4.1 (25.03.2011) by Powerlord
      • Fixed some issues with KillTimer being called on invalid timer handles.
      • Included TF2 Sounds
      • Included example config files to use the other sound sets

    Installation:
    • Unpack archive to game root directory eg. orangebox/tf
    • Plugin will automatically disable original MapChooser
    • If Upgrading, you only need the .smx file. The translation file is also recommended, but is not a required update.
    Known bugs:
    • The sm_mapvote_version cvar is not automatically updated... but it's fairly redundant anyway.
    • The translations file requires you to enter %%%% to display a single percent. This is due to how colors.inc processes the messages.
    Future plans: (by Powerlord)
    • Move official maps into a separate file so that the plugin doesn't have to be recompiled for every new map Valve adds.
    • Possibly make the number of maps in runoff vote its own cvar.
    New ConVars:
    • sm_mapvote_runoff
      • Default: "1"
      • Hold run of votes if winning choice is less than a certain margin
    • sm_mapvote_runoffpercent
      • Default: "50"
      • If winning choice has less than this percent of votes, hold a runoff
    • sm_mapvote_blockslots
      • Default: "1"
      • Block slots to prevent stupid votes.
    • sm_mapvote_maxrunoffs
      • Default: "1"
      • Number of run off votes allowed each map.
    • sm_mapvote_start_percent_enable
      • Default: "0"
      • Enable or Disable percentage calculations when to start vote.
    • sm_mapvote_start_percent
      • Default: "35.0"
      • Specifies when to start the vote based on percents.
    • sm_mapvote_printvotes
      • Default: "0"
      • Should the option that a player vote on get printed (1 - yes print player votes, 0 - don't print).
    • sm_mapvote_showvotes
      • Default: "3"
      • "How many vote options the hint box should show. 0 will disable it.
    • sm_mapvote_enablesounds
      • Default: "1"
      • Enable sounds to be played during vote start and end
    • sm_mapvote_sound_votestart
      • Default: "sourcemod/mapchooser/startyourvoting.mp3"
      • Sound that is being played when a vote starts.
    • sm_mapvote_sound_voteend
      • Default: "sourcemod/mapchooser/endofvote.mp3"
      • Sound that is being played when a vote ends.
    • sm_mapvote_warningtime
      • Default: "15.0"
      • Warning time in seconds.
    • sm_mapvote_enablewarningcountersounds
      • Default: "1"
      • Enable sounds to be played during warning counter
    • sm_mapvote_runoffvotewarningtime
      • Default: "5.0"
      • Warning time for runoff vote in seconds.
    • sm_mapvote_sound_warning
      • Default: "vo/announcer_warning.wav"
      • Sound file for warning start.
    • sm_mapvote_warningsound_one
      • Default: "vo/announcer_ends_1sec.wav"
      • Sound file for warning counter: one.
    • sm_mapvote_warningsound_two
      • Default: "vo/announcer_ends_2sec.wav"
      • Sound file for warning counter: two.
    • sm_mapvote_warningsound_three
      • Default: "vo/announcer_ends_3sec.wav"
      • "Sound file for warning counter: three.
    • sm_mapvote_warningsound_four
      • Default: "vo/announcer_ends_4sec.wav"
      • Sound file for warning counter: four.
    • sm_mapvote_warningsound_five
      • Default: "vo/announcer_ends_5sec.wav"
      • Sound file for warning counter: five.
    • sm_mapvote_warningsound_six
      • Default: "vo/announcer_ends_6sec.wav"
      • Sound file for warning counter: six.
    • sm_mapvote_warningsound_seven
      • Default: "vo/announcer_ends_7sec.wav"
      • Sound file for warning counter: seven.
    • sm_mapvote_warningsound_eight
      • Default: "vo/announcer_ends_8sec.wav"
      • Sound file for warning counter: eight.
    • sm_mapvote_warningsound_nine
      • Default: "vo/announcer_ends_9sec.wav"
      • Sound file for warning counter: nine.
    • sm_mapvote_warningsound_ten
      • Default: "sourcemod/mapchooser/tf2/tf_10s.mp3"
      • Sound file for warning counter: ten.
    • sm_mapvote_warningsound_twenty
      • Default: "sourcemod/mapchooser/tf2/tf_20s.mp3"
      • Sound file for warning counter: twenty.
    • sm_mapvote_warningsound_thirty
      • Default: "sourcemod/mapchooser/tf2/tf_30s.mp3"
      • Sound file for warning counter: thirty.
    • sm_mapvote_warningsound_sixty
      • Default: "sourcemod/mapchooser/tf2/tf_60s.mp3"
      • Sound file for warning counter: sixty.
    • sm_mapvote_warningsound_runoffvotestart
      • Default: "vo/announcer_do_not_fail_this_time.wav"
      • Sound file for run off vote start.

    Credits:
    * - For Team Fortress 2, Counter-Strike: Source, Day of Defeat: Source and Half-Life 2: Deathmatch
    Attached Files
    File Type: zip mapchooser_extended_1.3.zip (413.5 KB, 5042 views)
    File Type: zip mapchooser_extended_1.4.zip (799.4 KB, 1703 views)
    File Type: zip mapchooser_extended_1.4.1.zip (804.9 KB, 9059 views)
    __________________

    Last edited by Zuko; 08-11-2011 at 05:53. Reason: new version
    Zuko is offline
    Send a message via ICQ to Zuko
    gaissi
    Senior Member
    Join Date: Sep 2009
    Old 04-15-2010 , 01:09   Re: Mapchooser Extended!
    Reply With Quote #2

    Nice plugin...

    I have one request:

    Look at this old unapproved plugin:

    http://forums.alliedmods.net/showthread.php?t=56714

    Quote:
    sm_mapchooser_file
    • Specify a map list to use for MapChooser. This is relative to the Sourcemod folder
    • Default is "configs/maps.ini" (That is, addons/sourcemod/configs/maps.ini)
    This would be useful for these server which use several maplists... So you can set at the evening another maplist file as in the morning without a server restart....
    In the moment you must go to the server change the path in the maplist.cfg and restart the server. That's not very comfortable.

    I hope you understand now what i mean..^^

    Greetings gaissi
    gaissi is offline
    Kudjo
    Junior Member
    Join Date: Jan 2010
    Old 04-15-2010 , 03:02   Re: Mapchooser Extended!
    Reply With Quote #3

    [0] Line 298, mapchooser_extended/VoteWarning.sp::WarningHintMsg()
    L 04/15/2010 - 10:49:18: [SM] Native "KillTimer" reported: Invalid timer handle b500ad (error 1)
    L 04/15/2010 - 10:49:18: [SM] Displaying call stack trace for plugin "mapchooser_extended.smx":
    L 04/15/2010 - 10:49:18: [SM] [0] Line 298, mapchooser_extended/VoteWarning.sp::WarningHintMsg()
    L 04/15/2010 - 10:49:19: [SM] Native "KillTimer" reported: Invalid timer handle b500ad (error 3)
    L 04/15/2010 - 10:49:19: [SM] Displaying call stack trace for plugin "mapchooser_extended.smx":
    Kudjo is offline
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 04-15-2010 , 05:29   Re: Mapchooser Extended!
    Reply With Quote #4

    gaissi: maybe one day ;]

    Kudjo: I don't know how you did it, because I use this plugin without any errors for long time.
    __________________

    Last edited by Zuko; 04-15-2010 at 12:07.
    Zuko is offline
    Send a message via ICQ to Zuko
    shustas
    SourceMod Donor
    Join Date: May 2007
    Location: London
    Old 04-15-2010 , 09:39   Re: Mapchooser Extended!
    Reply With Quote #5

    Another attempt to make mapchooser act like mani? Hope its better than previous unapproved ones
    __________________
    shustas is offline
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 04-15-2010 , 11:50   Re: Mapchooser Extended!
    Reply With Quote #6

    Quote:
    Originally Posted by shustas View Post
    Hope its better than previous unapproved ones
    Try it!

    BTW. I don't know how it looks in Mani ;]
    __________________
    Zuko is offline
    Send a message via ICQ to Zuko
    gaissi
    Senior Member
    Join Date: Sep 2009
    Old 04-15-2010 , 12:41   Re: Mapchooser Extended!
    Reply With Quote #7

    Another request:

    Can you set a command that you can make a custom vote which the possibility to change the map at the end of round, at the end of map or immediately...

    greetings
    gaissi is offline
    mats
    Senior Member
    Join Date: Jan 2005
    Old 04-18-2010 , 06:38   Re: Mapchooser Extended!
    Reply With Quote #8

    With this plugin installed rtv is not working? Can you make it work?
    __________________
    mats is offline
    Sillium
    AlliedModders Donor
    Join Date: Sep 2008
    Location: Germany
    Old 04-19-2010 , 02:03   Re: Mapchooser Extended!
    Reply With Quote #9

    Is it possible to disable some or all sounds? Or can I just leave the sound cvars empty?
    __________________
    brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

    www.unterwasserpyromanen.de
    Sillium is offline
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 04-19-2010 , 06:12   Re: Mapchooser Extended!
    Reply With Quote #10

    You can leave cvars empty.
    __________________
    Zuko is offline
    Send a message via ICQ to Zuko
    Reply


    Thread Tools
    Display Modes

    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 04:56.


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