gScramble, a Comprehensive Team Manager for TF2
Requirements
- Optional HlxCE api Plugin for HlxCE sorting
- Optional gameME plugin for the gameME sorting
Thanks
- BrutalGoerge Original author of this plugin
- Antithasys for all the help every time i bugged him when I didn't know what i was doing, letting me use his project site, and approving the plugin!
- MikeJS for help with team-score manipulation and Auto-Update
- GameMe for adding the native functions for querying the DB
- Psychonic for all his help and HLX Community
- Everyone for making suggestions and finding my dumb bugs so this could be such a useful script
Features(most features have a corresponding ConVar in
cfg/sourcemod/plugin.gscramble.cfg)
Scramble-Modes- 14 Sort Modes
- 1 = Random
- 2 = Scoreboard Scores
- 3 = A ratio of score and connection time
- 4 = Player kill/death ratios
- 5 = Swap the top players on each team
- 6 = Use GameMe rank
- 7 = Use GameMe Skill
- 8 = Use GameMe Global Rank
- 9 = Use GameMe Global Skill
- 10 = Use GameME session skill change
- 11 = Use HlxCE Rank
- 12 = Use HlxCE Skill
- 13 = Sort players by player class
- 14 = Plugin randomly chooses a mode from all the available
- Make admins, medics, or engineers immune from scramble
- Respawn everyone after scramble depending on time and setting
- Charge medic ubercannon if scramble occurs during setup
- Reset setup timer if scramble occurs during setup
Auto-Scramble - scramble when one team is over-powered
- can trigger a vote instead of scrambling
Auto-Balance
- Dueling players immune from auto-balance
- Balance valid players (admin, engineers, top scoring players, players helping their team (cp captures, flag touching, sentry destroying), and medics all can be made immune)
- Force balance after teams have been imbalanced too long
Force-Balance - Admin can execute force-balance command
- Force-balance can happen between rounds
- Force-balance can happen if teams become too imbalanced
General
- Admin menu integration
- Force clients to accept their new team by blocking join team commands (detect reconnecting with clientprefs)
- RTV-style votescramble starting
- Admin commands for starting a scramble vote
- Allow clients to choose what team they'd prefer to be on (overrides auto-balance)
- Native bool gs_isBlocked(client) to see if the plugin is blocking someone from swapping teams
- (Experimental) Ask clients recently swapped if they want to rejoin their old team when someone reconnects and gets forced onto a team
- If enabled, block clients from changing to spectate if it will cause an imbalance
- If enabled, allow clients to choose a buddy to protect themselves from auto-balance and scramble.
- If enabled, block public voting when admins are present.
- If enabled, block clients from changing teams when mp_forceautoteam is enabled
- If enabled, select spectators during scramble and force-balance. (People who have recently connected, and people who have chosen spectator)
Commands
Code:
sm_cancel admin Cancels any active scramble. Blocks auto-scramble check if run during bonusround
sm_forcebalance admin Forces a team balance if an imbalance exists.
sm_preference console Allows clients to choose what team they prefer
sm_resetvotes admin Resets all public votes.
sm_scramble admin sm_scramble <delay> <respawn> <mode>
sm_scrambleround admin Scrambles at the beginning of the next round
sm_scramblevote admin Start a vote. sm_scramblevote <now/end>
sm_addbuddy console add a buddy
Changelog:
Code:
2010-01-13 (v3.0.14)
* Fixed deprecated warnings.
* Included the latest gameme include file to fix the gameme errors.
* Added a new convar "gs_onescrambleperround" to enable/disable only allowing one scramble per round.
Old Changelog:
http://pastebin.com/beSRbgE7
Translations
French Translation:
Cadav0r -- COMPLETE
Danish Translation:
OziOn -- NOT COMPLETE
Russian Translation:
krolus -- NOT COMPLETE
Spanish Translation:
jack_wade -- COMPLETE
Hungarian Translation:
KhyrOO-- NOT COMPLETE
German Translation:
Guggie-- NOT COMPLETE
Italian Translation:
Dagon-- NOT COMPLETE
Polish Translation:
Mariano-- NOT COMPLETE
Install
unzip to tf dir
the plugin will auto-make the cfg if it's not there, but the one included is cleaner and organized better.
Attachment 122126