AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   Mapchooser Extended! (https://forums.alliedmods.net/showthread.php?t=124280)

Zuko 04-14-2010 16:24

Mapchooser Extended!
 
3 Attachment(s)
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

gaissi 04-15-2010 01:09

Re: Mapchooser Extended!
 
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

Kudjo 04-15-2010 03:02

Re: Mapchooser Extended!
 
[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":

Zuko 04-15-2010 05:29

Re: Mapchooser Extended!
 
gaissi: maybe one day ;]

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

shustas 04-15-2010 09:39

Re: Mapchooser Extended!
 
Another attempt to make mapchooser act like mani? Hope its better than previous unapproved ones

Zuko 04-15-2010 11:50

Re: Mapchooser Extended!
 
Quote:

Originally Posted by shustas (Post 1151002)
Hope its better than previous unapproved ones

Try it! :grrr:

BTW. I don't know how it looks in Mani ;]

gaissi 04-15-2010 12:41

Re: Mapchooser Extended!
 
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

mats 04-18-2010 06:38

Re: Mapchooser Extended!
 
With this plugin installed rtv is not working? Can you make it work?

Sillium 04-19-2010 02:03

Re: Mapchooser Extended!
 
Is it possible to disable some or all sounds? Or can I just leave the sound cvars empty?

Zuko 04-19-2010 06:12

Re: Mapchooser Extended!
 
You can leave cvars empty.


All times are GMT -4. The time now is 07:10.

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