Description
This plugin turns alltalk on at the end of the round and back off after a set amount of time after the next round starts.
Special Thanks
Thor - For their help in irc
psychonic - For their help in irc
Hipster - For their help in irc
Martin_ - For their help in irc
I started with bl4nk's code from this
topic
ConVars
Code:
// This file was auto-generated by SourceMod (v1.4.0)
// ConVars for plugin "smacktalk_2.smx"
// The amount of time in seconds to extend alltalk after Round Start
// -
// Default: "15"
// Minimum: "0.000000"
// Maximum: "60.000000"
sm_extendalltalk "15"
// Enable/Disable suppression of the server cvar sv_alltalk has changed messages, 1 = ON 0 = OFF
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_smackcvarsuppress "0"
// Set the time befor alltalk is turned off to print a warning
// -
// Default: "5"
// Minimum: "0.000000"
// Maximum: "59.000000"
sm_smackwarntime "5"
// Enable/Disable alltalk during the Waiting for players round, 1 = ON 0 = OFF
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_waitroundalltalk "0"
Adjust convars in cfg/sourcemod/plugin.tf2smacktalk.cfg
Setting sm_smackwarntime to 0 or setting it equal to or greater then sm_extendalltalk will disable the print warning.
Notes
I know there are other plugins that do the same thing the problem I had was we have alltalk as a vote so every time the round restarted it would turn alltalk off. This plugin will take into account if alltalk was already on before the round ends and will do nothing if it was already on.
REQUIRES Sourcemod 1.4 or Newer
This is my first plugin please go easy
Alternate support topic
http://tinyurl.com/34md5lh
History
1.1.0
Initial Release
1.1.1
Fixed timer issues
1.5.0
Added waiting for players round alltalk
2.0.0
Added version cvar tf2smacktalk_version
Added a option to suppress the "sv_alltalk" has changed server messages "sm_smackcvarsuppress"
Added some new SM 1.4 api functionality
Added extend alltalk time after waiting for players
Auto creates config file cfg/sourcemod/plugin.tf2smacktalk.cfg