AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Round Triggers 1.10 (https://forums.alliedmods.net/showthread.php?t=81219)

MikeJS 11-30-2008 08:28

[TF2] Round Triggers 1.10
 
1 Attachment(s)
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"


DJ Tsunami 11-30-2008 17:07

Re: [TF2] FF Humiliation
 
Just edit your post, click Go Advanced and set the description there.

abelp 12-01-2008 03:47

Re: [TF2] FF Humiliation
 
Its fun to see team members kill each other at the end of the round.

abelp 12-01-2008 03:55

Re: [TF2] FF Humiliation
 
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?

MikeJS 12-01-2008 11:15

Re: [TF2] FF Humiliation
 
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.

DJ Tsunami 12-01-2008 11:43

Re: [TF2] FF Humiliation
 
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).

MikeJS 12-01-2008 16:21

Re: [TF2] FF Humiliation
 
Ok, added. I haven't tested it but it should work.

abelp 12-01-2008 19:34

Re: [TF2] FF Humiliation
 
will try it tonight.. so this will bring back the weapons? on just let pyros hadouken?

bl4nk 12-01-2008 20:48

Re: [TF2] FF Humiliation
 
This is for the bonus round, not for the end-of-game time.

DontWannaName 12-02-2008 00:30

Re: [TF2] FF Humiliation
 
At the end of a round, it stops recording stats.


All times are GMT -4. The time now is 19:01.

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