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

[TF2] ESEA-esque Match Plugin (v1.0.7, 2019-02-15)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
DeDstar
New Member
Join Date: Feb 2019
Plugin ID:
6417
Plugin Version:
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Unapprover:
Reason for Unapproving:
No source code / plugin, upload source and use the Report Post button for a new review.
Old 02-01-2019 , 13:21   [TF2] ESEA-esque Match Plugin (v1.0.7, 2019-02-15)
Reply With Quote #1

ESEA-esque Plugin For Competitive Servers

What this plugin is
  • This plugin imitates the features and functions on TF2 ESEA servers used for official 6s matches, with additional features that can accomodate a variety of Competitive game modes in TF2 (e.g. 4s, 6s, Prolander, Highlander, Ultiduo, BBall). Code heavily based on MatchMod plugin by Hawkeye-.

Dependency
Features
  • ESEA features:
    • Individual ready up for players.
    • "Ready:" and "Not Ready:" HUD for all players.
    • 3-time live restarts (only on cp and koth maps for this plugin).
    • Round status text on each round.
    • Ability to ready own team and start with 1-man down.

    Missing ESEA feature:
    • Players type red or blu to join their team during going live period. (Not planning to add anytime soon)

    New features:
    • Ability to switch to different game modes : 4v4, 6v6 (default), 7v7 (Prolander), 9v9 (Highlander).
    • Ultiduo and BBALL support.
    • Auto-detect ultiduo and bball maps and change the game mode accordingly.
    • Hostname update when game is not live and live ("yourhostname | Warm-up" during pre-game, "yourhostname | LIVE" when game is live).
    • Round status text uses team name instead of only default BLU/RED.
    • Automatically reset variables to default when mp_tournament_restart is used.
    • "Available commands" menu when players join during pre-game, and game status text when player joins (Game is live/not live, score, timeleft).

Plugin cvars
None.
Player commands
  • sm_status - check server status (whether game is live or not, shows gamemode, score and timeleft (if match is live))
  • sm_help - open "Available commands" menu
  • .notready - list yourself as not ready.
  • .4s - change to 4v4 mode.
  • .6s - change to 6v6 mode.
  • .7s - change to Prolander mode.
  • .9s - change to Highlander mode.
  • .start - start the game with 1-man down.
  • .abort - abort the game within the first 5 seconds before the game goes live.

Installation
"ESEA only" is matchplugin without the new features, "ESEA + new features" is the full version
  1. Extract the content of zip file to a folder
  2. matchplugin.smx goes into tf/addons/sourcemod/plugins and restart your server or "sm plugins load matchplugin" in console to use the plugin.
  3. cfg folder goes into tf/ (the two files inside are essentially renamed soap_live.cfg and soap_notlive.cfg).
matchplugin.sp is the plugin's source code.

For BBall mode to work properly you have to install TF2 Respawn System plugin (https://forums.alliedmods.net/showthread.php?p=611953).

Changelog
  • v1.0.0 (2018-02-01)
    • Initial release.
ESEA + new features
  • v1.0.1 (2018-02-03)
    • Fixed score count for capture the flag game mode.
    • Fixed game end behavior for bball.
    • Added mp_tournament_restart to bball game end to fix logstf and demostf thinking the game is still ongoing.
    • Fixed status text print to all when player joins.
  • v1.0.2 (2018-02-04)
    • Fixed BBALL tournament restart hook.
    • Fixed live hud not fading in and out.
  • v1.0.3 (2018-02-12)
    • Edited IsValidClient
    • Changed OTHER to PUSH for default iMapType
    • Added ClearSyncHud to player disconnect
    • Moved hud parameters into !b_matchStarted in player disconnect
    • Fixed empty server function
  • v1.0.4 (2018-02-12)
    • Fixed join message
  • v1.0.5 (2018-02-13)
    • Fixed i_iReadyBluStatus name
  • v1.0.6 (2018-02-14)
    • Fixed client index 0 is invalid
  • v1.0.7 (2018-02-15)
    • Updated player join text
    • Now use GetTeamClientCount for teamCount instead of "for" loop
    • Removed excess i_teamRedCount and i_teamBluCount integers
    • Removed c_redName and c_bluName reset in ResetAllValues
    • Removed excess hostname FormatEx lines
    • Updated hostname update behavior, now only changes to warmup when a player joins
    • Renamed event hooks
    • Added currently not live and game mode status text for player joins during warmup

ESEA only
  • v1.0.1 (2018-02-12)
    • Edited IsValidClient
    • Added ClearSyncHud to player disconnect
    • Moved hud parameters into !b_matchStarted in player disconnect
    • Fixed empty server function
  • v1.0.2 (2018-02-13)
    • Fixed i_iReadyBluStatus name
  • v1.0.3 (2018-02-14)
    • Fixed client index 0 is invalid
  • v1.0.4 (2018-02-15)
    • Now use GetTeamClientCount for teamCount instead of "for" loop

Credits

Last edited by DarkDeviL; 07-03-2019 at 22:09. Reason: Restore to previous version.
DeDstar is offline
Reply



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 07:42.


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