Raised This Month: $32 Target: $400
 8% 

[TF2] Round Triggers 1.10


Post New Thread Reply   
 
Thread Tools Display Modes
Author
MikeJS
Senior Member
Join Date: Nov 2008
Plugin ID:
654
Plugin Version:
1.10
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    17 
    Plugin Description:
    Execute server commands on round start/end.
    Old 11-30-2008 , 08:28   [TF2] Round Triggers 1.10
    Reply With Quote #1

    Fires a list of commands at the start and end of a round and when sudden death begins.

    Thanks to Milo|/Chris-_- for the sudden death fix.

    Installation:
    Put the .smx in the plugins folder with all your other plugins.

    Cvars:
    sm_rtrigs "1" - Enable/disable plugin
    sm_rtrigs_start "" - Commands to execute when a round starts.
    sm_rtrigs_end "" - Commands to execute when a round ends.
    sm_rtrigs_sd "" - Commands to execute when sudden death starts.
    sm_rtrigs_wfp "" - Commands to execute when the waiting for players period begins.
    sm_rtrigs_mapend "" - Commands to execute on map end.
    sm_rtrigs_notify "sv_tags" - Cvars to remove the FCVAR_NOTIFY flag from

    Commands:
    sm_printca <msg> - Print a message to chat.
    sm_printct <msg> - Print a center text message.
    sm_rtrigs_cvar <cvar> <value> - Changes <cvar> to <value>. (server only)

    Changes:
    21/8/09 - 1.10 Will exec sm_rtrigs_mapend in OnMapEnd if needed
    14/6/09 - 1.9 Added sm_rtrigs_mapend (code from here)
    31/3/09 - 1.8 Added sm_rtrigs_cvar
    29/3/09 - 1.7 Adds sm_rtrigs_wfp and makes sm_rtrigs_notify update cvars when it changes
    27/2/09 - 1.6 Adds TrimString for convenience
    21/2/09 - 1.5 Changes convar flags on map change
    1/2/09 - 1.4 Sudden death fix
    14/12/08 - 1.3 Added removal of notify tags to specified cvars and added sm_printca
    4/12/08 - 1.2 Renamed to Round Triggers and changed plugin to execute a list of commands
    1/12/08 - 1.1 Added option to enable during sudden death
    30/11/08 - 1.0 Initial release

    Example:
    Code:
    sm_rtrigs_end "mp_friendlyfire 1, tf_weapon_criticals 1, sm_printca FF and crits enabled for end of round rampage!"
    sm_rtrigs_start "mp_friendlyfire 0, tf_weapon_criticals 0; sm_rtrigs_cvar tf_avoidteammates 1"
    sm_rtrigs_notify "sv_tags, mp_friendlyfire, tf_weapon_criticals"
    sm_rtrigs_wfp "sm_rtrigs_cvar tf_avoidteammates 0"
    Attached Files
    File Type: sp Get Plugin or Get Source (rtrigs.sp - 4355 views - 5.3 KB)

    Last edited by MikeJS; 08-21-2009 at 09:22.
    MikeJS is offline
    DJ Tsunami
    DJ Post Spammer
    Join Date: Feb 2008
    Location: The Netherlands
    Old 11-30-2008 , 17:07   Re: [TF2] FF Humiliation
    Reply With Quote #2

    Just edit your post, click Go Advanced and set the description there.
    __________________
    Advertisements | REST in Pawn - HTTP client for JSON REST APIs
    Please do not PM me with questions. Post in the plugin thread.
    DJ Tsunami is offline
    abelp
    Senior Member
    Join Date: May 2008
    Old 12-01-2008 , 03:47   Re: [TF2] FF Humiliation
    Reply With Quote #3

    Its fun to see team members kill each other at the end of the round.
    abelp is offline
    abelp
    Senior Member
    Join Date: May 2008
    Old 12-01-2008 , 03:55   Re: [TF2] FF Humiliation
    Reply With Quote #4

    I have alot of surf maps and in order to end the round i have to use the Stalemate, or else the maps wont change.
    If you update it can you make it so if its an end of round stalemate your plugin turns on and allows everyone to kill each other, then turns off at the beginning of a new round?
    abelp is offline
    MikeJS
    Senior Member
    Join Date: Nov 2008
    Old 12-01-2008 , 11:15   Re: [TF2] FF Humiliation
    Reply With Quote #5

    AFAIK everyone loses their weapons when the round ends with a stalemate, so the most that would happen is a few pyros would hadouken each other. I'll add it if that's want you want.

    Last edited by MikeJS; 04-01-2009 at 11:16.
    MikeJS is offline
    DJ Tsunami
    DJ Post Spammer
    Join Date: Feb 2008
    Location: The Netherlands
    Old 12-01-2008 , 11:43   Re: [TF2] FF Humiliation
    Reply With Quote #6

    Err, no, stalemate is with weapons. what you're talking about is if no one wins the round. That happens when the map doesn't support stalemate (for example attack/defend maps) or when mp_stalemate_enable is set to 0 (which it is by default).
    __________________
    Advertisements | REST in Pawn - HTTP client for JSON REST APIs
    Please do not PM me with questions. Post in the plugin thread.

    Last edited by DJ Tsunami; 12-01-2008 at 11:45.
    DJ Tsunami is offline
    MikeJS
    Senior Member
    Join Date: Nov 2008
    Old 12-01-2008 , 16:21   Re: [TF2] FF Humiliation
    Reply With Quote #7

    Ok, added. I haven't tested it but it should work.
    MikeJS is offline
    abelp
    Senior Member
    Join Date: May 2008
    Old 12-01-2008 , 19:34   Re: [TF2] FF Humiliation
    Reply With Quote #8

    will try it tonight.. so this will bring back the weapons? on just let pyros hadouken?
    abelp is offline
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 12-01-2008 , 20:48   Re: [TF2] FF Humiliation
    Reply With Quote #9

    This is for the bonus round, not for the end-of-game time.
    bl4nk is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 12-02-2008 , 00:30   Re: [TF2] FF Humiliation
    Reply With Quote #10

    At the end of a round, it stops recording stats.
    __________________

    DontWannaName 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 16:20.


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