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

Mapchooser Extended!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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:
    6 
    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, 5062 views)
    File Type: zip mapchooser_extended_1.4.zip (799.4 KB, 1711 views)
    File Type: zip mapchooser_extended_1.4.1.zip (804.9 KB, 9076 views)
    __________________

    Last edited by Zuko; 08-11-2011 at 05:53. Reason: new version
    Zuko is offline
    Send a message via ICQ to Zuko
     



    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 13:34.


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