Raised This Month: $51 Target: $400
 12% 

[TF2] mute all players


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mordicus
Junior Member
Join Date: Feb 2012
Old 03-17-2012 , 05:37   [TF2] mute all players
Reply With Quote #1

Hi,
Is there a plugin or a way to do that ?
I mean when an admin need to say something, he mute all players on the server, then speak, then unmute all players.

Thx in advance.
mordicus is offline
mau5
Member
Join Date: Feb 2012
Old 03-17-2012 , 07:51   Re: [TF2] mute all players
Reply With Quote #2

sm_mute @!me, speak , sm_unmute @!me
mau5 is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 03-17-2012 , 10:46   Re: [TF2] mute all players
Reply With Quote #3

I asked this one time before I think for another idea/request but it never went anywhere. Nothing exists to the point you press a button to talk (v key is default) so as soon as you start talking it auto mutes everyone else till you release the press to talk button.

what mau5 suggested does work but requires you to use that command.. I guess you could bind two keys to go along with the push to talk but not exactly what I think you or I were wanting.
Horsedick is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 03-18-2012 , 22:11   Re: [TF2] mute all players
Reply With Quote #4

alias +stfuImTalking "+voicerecord; sm_mute @!me"
alias -stfuImTalking "-voicerecord; sm_unmute @!me"
bind <key> +stfuImTalking


Although, if you have muted anyone manually for being annoying/being a kid/etc, they will be unmuted.
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 03-19-2012 , 11:43   Re: [TF2] mute all players
Reply With Quote #5

Quote:
Originally Posted by MasterOfTheXP View Post
alias +stfuImTalking "+voicerecord; sm_mute @!me"
alias -stfuImTalking "-voicerecord; sm_unmute @!me"
bind <key> +stfuImTalking


Although, if you have muted anyone manually for being annoying/being a kid/etc, they will be unmuted.
wait... so let me get this straight - you insert these lines into console then bind to the push to talk key and it just adds that till you release it as in doing exactly what I posted about above?
Horsedick is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 03-19-2012 , 11:46   Re: [TF2] mute all players
Reply With Quote #6

Quote:
Originally Posted by Horsedick View Post
wait... so let me get this straight - you insert these lines into console then bind to the push to talk key and it just adds that till you release it as in doing exactly what I posted about above?
Yep. I'd put 'em into autoexec.cfg, though. Aliases are lost upon quit.
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 03-19-2012 , 13:25   Re: [TF2] mute all players
Reply With Quote #7

Quote:
Originally Posted by MasterOfTheXP View Post
Yep. I'd put 'em into autoexec.cfg, though. Aliases are lost upon quit.
Ok I added both alias lines to the autoexec.cfg...restarted server. Went in and did a bind v +stfuImTalking

It would then just say unknown command each time pushed so does the bind <key> +stfuImTalking need to be also entered in the autoexec.cfg? Not every admin uses the same push to talk button would that require adding other key binds as needed if this is the case?
Horsedick is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 03-19-2012 , 13:28   Re: [TF2] mute all players
Reply With Quote #8

Quote:
Originally Posted by Horsedick View Post
Ok I added both alias lines to the autoexec.cfg...restarted server. Went in and did a bind v +stfuImTalking

It would then just say unknown command each time pushed so does the bind <key> +stfuImTalking need to be also entered in the autoexec.cfg? Not every admin uses the same push to talk button would that require adding other key binds as needed if this is the case?
You put it all in autoexec.cfg on your client, not server. You can give the script to every admin and they can change the key if they want.
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 03-19-2012 , 16:01   Re: [TF2] mute all players
Reply With Quote #9

Quote:
Originally Posted by MasterOfTheXP View Post
You put it all in autoexec.cfg on your client, not server. You can give the script to every admin and they can change the key if they want.

Ok I follow you now... ok problem then - I don't wish this to be enabled while on a diff server I do play on that I am an admin of. Solution?

Also its applying a [SM] Muted all players. and [SM] UnMuted all players on the screen in the chat area for all to see. --- can't have this either.

Last edited by Horsedick; 03-19-2012 at 16:06.
Horsedick is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 03-19-2012 , 16:05   Re: [TF2] mute all players
Reply With Quote #10

Quote:
Originally Posted by Horsedick View Post
Ok I follow you now... ok problem then - I don't wish this to be enabled while on a diff server I do play on that I am an admin of. Solution?
Only real way to disable it is to type in bind <key> +voicerecord again and switch between the two when needed. You can set up another alias script to make it easier: (vs = voice script)

alias vson "bind <key> +stfuImTalking"
alias vsoff "bind <key> +voicerecord"
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP 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 07:21.


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