Raised This Month: $ Target: $400
 0% 

[TF2] Warmup Round Mini Games


Post New Thread Reply   
 
Thread Tools Display Modes
Author
simoneaolson
Member
Join Date: Sep 2009
Plugin ID:
1519
Plugin Version:
1.20
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    A variety of fun, short mini games at the beginning of every map
    Unapprover:
    Reason for Unapproving:
    Author Unresponsive, unfixed code issues.
    Old 03-12-2010 , 23:03   [TF2] Warmup Round Mini Games
    Reply With Quote #1

    TF2 Warmup Round Mini Games v1.20

    Description:

    Bored of round after round of the same old gameplay? This plugin adds a new on take on the same old fun in Team Fortress 2, hosting 4 fun games that can be played X number of times at the start of every map by both teams. Teams compete for the best score.

    Modes:

    (1) Free For All - Friendly fire and Instant respawn, compete for the most kills!
    (2) Fire! Fire! Fire! - Several Pyros are sent to the enemy base with buffed health, the other team must remove them from their base
    (3) Melee Maddness - Friendly fire and Instant respawn, Melee weapons only
    (4) Heavy Bloodbath - All players spawn as a heavy, no respawning. Compete to be the last man standing on your team


    CVARS:

    tf2_minigames_enabled - Enabled/Disable TF2 Mini-Games (bool) Def: 1
    tf2_minigames_time - Time in seconds to play each mini-game, Def: 50
    tf2_minigames_rounds - Number of Mini Games to play before round start, Def: 2
    tf2_minigames_mode - How to select mini-game to be played: (1 = Sequentially) (2 = Randomly), Def: 1
    tf2_minigames_crits - Enable/Disable Crits during a Mini Game Round (bool), Def: 1
    tf2_minigames_minplayers - Fires TF2 Minigames ONLY when there are less than/equal X many players on the server (0 = Disable) Def: 0
    tf2_minigames_explode - Explode players on death in mini games (bool) Def: 1
    tf2_minigames_waiting - Time to wait for players to join the server Def:13.0
    tf2_minigames_party_off - Disable party mode when the minigames end (bool) Def:1

    Notes:

    * Suggestions, comments are very much appreciated
    * If you find any bugs with this plugin please post them here
    * This plugin changes the warmup round time to (tf2_minigames_time * tf2_minigames_rounds) to allow enough time for each game
    * Thanks to the Sourcemod community for all of your help!

    Requirements:
    Sourcemod 1.3.4
    Metamod Source 1.8.3
    (as of August 2010)

    Changelog:

    v1.02 -
    (1) New CVAR (tf2_minigames_minplayers)
    (2) Fixed the issue with the spies not going back from invisibility
    (3) Fixed kills not being displayed in HUD

    v1.03 -
    (1) On spawn, all clients are returned to visibility

    v1.04 -
    (1) Added teamkill meter to hint text
    (2) Added a CVAR to control if players explode on death
    (3) Tweaked respawn times
    (5) Now displays a message when the client enters the server

    v1.05 -
    (1) Polished the round-end stats
    (2) More than one player can now win the friendly-fire mini games
    (3) Fixed a PrintToChat crash, led to players being stuck in the game
    (4) Added a 'Ding' sound to whenever a client kills another in the friendly-fire mini games

    v1.06 -
    (1) Added functionality to wait for players to join the server (tf2_minigames_waiting)
    (2) Minor fixes

    v1.10 -
    (1) Added more announcer sound clips, including First blood
    (2) Random players no longer win the mode: Heavy Bloodbath if there were no kills
    (3) Fixed friendly fire not turning on in Heavy Bloodbath
    (4) Lowered one of the offsets of the particle effects in friendly fire mode
    (5) Players now switch back to their original class/team after Heavy Bloodbath
    (6) Removed mode: Spy in the Base
    (7) Enabled birthday mode during minigames
    (8 ) Fixed language phrase error

    v 1.11
    (1) Removed colorize function
    (2) Added config file (AutoExecConfig)
    (3) Fixed PrintToChat formatting error (thanks Onedda)

    v 1.12
    (1) Fixed major bug with players being stuck
    (2) Optimized plugin

    v1.13
    (1) Fixed "achieved" particle not being displayed
    (2) Added "mini_fireworks" effect
    (3) Added buffed condition

    v1.14
    (1) Waiting for players is now canceled if there aren't enough players (tf2_minigames_minplayers)

    v1.15
    (1) Added client id checking system (fewer client id-related bugs)

    v1.20
    (1) Major bugfixes regarding how the mingames start/stop
    (2) Added a Waiting For Players coutdown
    (3) Now functions properly on Linux SRCDS
    Attached Files
    File Type: txt tf2minigames.phrases.txt (1.3 KB, 420 views)
    File Type: sp Get Plugin or Get Source (tf2_minigames.sp - 973 views - 31.8 KB)

    Last edited by simoneaolson; 08-08-2010 at 01:22. Reason: New version
    simoneaolson is offline
    Mecha the Slag
    Veteran Member
    Join Date: Jun 2009
    Location: Denmark
    Old 03-13-2010 , 05:26   Re: [TF2] Warmup Round Mini Games
    Reply With Quote #2

    It looks like a nice concept, but too much of it is just mindless killing. If it's meant to be real minigames, it needs something extraordinary!

    Also I dunno if this can even be played before warmup ends since it usually isn't more than 10 seconds for me.
    Mecha the Slag is offline
    crazydog
    AlliedModders Donor
    Join Date: Jan 2006
    Old 05-04-2010 , 21:32   Re: [TF2] Warmup Round Mini Games
    Reply With Quote #3

    Not sure why, but as long as this plugin is enabled on our server, kills do not show up in the HUD or in console. Ever.

    Also, I'd like to see a minimum players setting.
    i.e. If there are less than x players, only do free for all / melee madness

    Another bug:
    A guy who was an invisible spy was still invisible when the real game started.

    Also, when it moved the dead invisible spy to spec, he got kicked by our AFK kicker immediately (this one: https://forums.alliedmods.net/showthread.php?p=708265). The problem with that is that he is an admin (and we have admins set to be immune), and we require that they be afk in spec for 2 minutes before being kicked.

    I'd like to use this plugin, as what we are doing now (Always FF + melee only) gets a little tired, but these bugs kill it right now.

    Last edited by crazydog; 05-04-2010 at 21:40.
    crazydog is offline
    simoneaolson
    Member
    Join Date: Sep 2009
    Old 05-04-2010 , 22:32   Re: [TF2] Warmup Round Mini Games
    Reply With Quote #4

    Quote:
    Originally Posted by crazydog View Post
    Not sure why, but as long as this plugin is enabled on our server, kills do not show up in the HUD or in console. Ever.

    Also, I'd like to see a minimum players setting.
    i.e. If there are less than x players, only do free for all / melee madness

    Another bug:
    A guy who was an invisible spy was still invisible when the real game started.

    Also, when it moved the dead invisible spy to spec, he got kicked by our AFK kicker immediately (this one: https://forums.alliedmods.net/showthread.php?p=708265). The problem with that is that he is an admin (and we have admins set to be immune), and we require that they be afk in spec for 2 minutes before being kicked.

    I'd like to use this plugin, as what we are doing now (Always FF + melee only) gets a little tired, but these bugs kill it right now.

    Ok, I made a couple of changes in v1.02

    (1) New CVAR (tf2_minigames_minplayers)
    (2) Fixed the issue with the spies not going back from invisibility
    (3) Fixed kills not being displayed in HUD (however, not tested)

    What i need clarification on is what exactly are the circumstances in which the invisible spy is kicked by the AFK manager, I don't seem to understand what caused this to happen (from what you have described).
    simoneaolson is offline
    WGSXFrank
    Member
    Join Date: Apr 2010
    Old 05-04-2010 , 22:58   Re: [TF2] Warmup Round Mini Games
    Reply With Quote #5

    I'll give this a try on my server tomorrow for an event. I'll be sure to write back with some feedback afterward.

    EDIT: It won't compile >_<
    Quote:
    SourcePawn Compiler 1.3.2
    Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC

    tf2_minigames.sp(38 ) : error 020: invalid symbol name ""
    tf2_minigames.sp(293) : error 017: undefined symbol "ChatMessage"
    tf2_minigames.sp(293) : error 017: undefined symbol "ChatMessage"
    tf2_minigames.sp(293) : error 029: invalid expression, assumed zero
    tf2_minigames.sp(293) : fatal error 127: too many error messages on one line

    Compilation aborted.
    5 Errors.

    Last edited by WGSXFrank; 05-04-2010 at 23:10.
    WGSXFrank is offline
    simoneaolson
    Member
    Join Date: Sep 2009
    Old 05-05-2010 , 02:40   Re: [TF2] Warmup Round Mini Games
    Reply With Quote #6

    simple syntax error xD
    simoneaolson is offline
    crazydog
    AlliedModders Donor
    Join Date: Jan 2006
    Old 05-05-2010 , 19:33   Re: [TF2] Warmup Round Mini Games
    Reply With Quote #7

    The AFK manager thing was the afk manager iteslf. For some reason it was kicking as soon as someone went spectate, but i think I figured that out.

    We just had to stick on a backup of SM on our server, so some things weren't working right. heh.

    Thanks for the update. I'll try it out some time later this week.
    crazydog is offline
    crazydog
    AlliedModders Donor
    Join Date: Jan 2006
    Old 05-10-2010 , 20:34   Re: [TF2] Warmup Round Mini Games
    Reply With Quote #8

    I noticed that you have this logic:
    Code:
    if (GetClientCount() <= GetConVarInt(Cvar_TF2_MINIGAMES_MIN)) miniGames = true
    Shouldn't it be
    Code:
    if (GetClientCount() >= GetConVarInt(Cvar_TF2_MINIGAMES_MIN)) miniGames = true
    crazydog is offline
    simoneaolson
    Member
    Join Date: Sep 2009
    Old 05-10-2010 , 20:42   Re: [TF2] Warmup Round Mini Games
    Reply With Quote #9

    I believe i misunderstood your request. I thought you wanted it to initiate the mini games if there are less than, equal to X players. lol * Corrects
    simoneaolson is offline
    crazydog
    AlliedModders Donor
    Join Date: Jan 2006
    Old 05-10-2010 , 21:25   Re: [TF2] Warmup Round Mini Games
    Reply With Quote #10

    Here's another bug: Free for all didn't have instant respawn.

    Also, kill notifications do work. Thanks for the fix.
    crazydog 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 11:13.


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