View Single Post
Author Message
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 01-02-2013 , 23:05   [TF2] Better Vote Scramble
Reply With Quote #1

[TF2] Better Vote Scramble

v1.2.0

Description:
The stock TF2 vote scramble system scrambles the teams immediately when a vote passes. This plugin utilizes the stock scrambler to scramble teams when the round following a successful vote begins.

Players type !votescramble or votescramble, and once the command has been typed enough times (specified by a cvar), a menu-based vote appears. If the vote succeeds, the team scrambler will be scheduled for the beginning of the next round.

Cvars:
better_votescramble_version - plugin version
better_votescramble_percentage - percent of Yes votes required for a vote to pass (defaults to 0.6)
better_votescramble_votes_required - number of times the !votescramble command must be typed for the vote to appear (defaults to 3)
better_votescramble_auto_update - enables automatic updating (has no effect if Updater is not installed) (defaults to 1)

Installation:
Put votescramble.smx into /addons/sourcemod/plugins, and reboot your server or type "sm plugins load votescramble" into your console or rcon.

Auto Update:
Install Updater. The plugin will be auto-updated according to your Updater settings. It'll work without Updater.

Overrides:
If you want to restrict access to the !votescramble and votescramble commands, override 'votescramble' in admin_overrides.cfg.

Changelog:
  • v1.2.0 (8/3/13)
    • Moved scramble time to end of the round instead of the start of the next one, to prevent the round from starting twice
  • v1.1.0 (1/3/13)
    • Added ability to restrict access to !votescramble by overriding 'votescramble'
  • v1.0.0 (1/2/13)
    • Initial release

Download Plugin (votescramble.smx)
View Source (votescramble.sp)
__________________

Last edited by Dr. McKay; 07-14-2020 at 04:27.
Dr. McKay is offline