So I was thinking when I read this thread on the Steam forums:
it was kinda doable.
Basically, people were asking for an extra button that can be pressed allowing a player to talk to the other side, yet still be able to use team voice chat
for normal play and team strategy.
This plugin allows a player to switch on all talk, which only affects him. His voice will then be heard by the other team.
However, he will not be able to hear them talking back unless someone from their team switches on their alltalk....
So team chat is still maintained and only those players wishing to talk to the whole server can be heard.
The plugin also has a feature where it will do tag recognition, so only members of a clan can use the alltalk. Simply fill in the text file with a clan tag and turn on the tags cvar.
Servers with this plugin: http://www.game-monitor.com/search.p...&type=variable
A toggle command.Installation
A player should bind a key to this...e.g. bind "i" "voiceall"
When activated, the player can be heard by the whole server if he presses his normal voice comms key.
When deactivated, he only can be heard by his team.
- Copy sm_playeralltalk.smx to addons/sourcemod/plugins
- Copy sm_playeralltalk_data.txt to addons/sourcemod/configs
When enabled, it reads a txt file (sm_playeralltalk_data.txt) for clan tags, only allowing those players to use the command. This was added, because some griefers and pubbers may/can/will abuse the feature...
- sm_alltalk_messages <0 or 1>
When enabled, clients can see if the all talk feature is on via a message in the chat area
- sm_alltalk_default <0 or 1>
Sets whether the default for the client is teamtalk or alltalk
Has been tested with TF2, DoDS, CSS and PVKii
If you are already using the adminsentinel
plugin, this plugin will conflict with admin listening abilities. Admins should use the talk-to-server feature in that plugin, only.
If you wish to provide your players with a single button to talk, like the "V" button, they will need to add a couple of commands to their config.cfg, courtesy of Skoll
. Pressing "h", in this case, will have the same effect as pressing "v" except the player will be speaking to the whole server
alias +alltalk "voiceall; +voicerecord"
alias -alltalk "-voicerecord; voiceall"
bind h +alltalk
Added Cvar to remove messages
Added Cvar to set default status (thanks RM Hamster)
for adding the useful CVAR to define how the plugin starts.