AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Talk Tools v0.1 (3/2) (https://forums.alliedmods.net/showthread.php?t=86786)

chundo 03-02-2009 15:18

Talk Tools v0.1 (3/2)
 
2 Attachment(s)
Talk Tools v0.1 (3/2)

This plugin allows players to use all-talk (a.k.a UberTalk) when sv_alltalk is off on the server. This allows teams to chat with each other without sacrificing the teamwork and strategizing that comes with team-only chat.

CVars:

sm_talktools_version - Plugin version.
sm_talktools_enable - 1 is on, 0 is off. (default 1)
sm_talktools_teamtalk - When enabled, a player's team will always be able to hear them, even when dead (Ventrilo-style). 1 is on, 0 is off. (default 1)
sm_talktools_alltalk - When enabled, UberTalk is activated, which allows players to bind a key for alltalk when sv_alltalk is 0. 1 is on, 0 is off. (default 1)
sm_talktools_alltalk_admin - To restrict UberTalk to admins only, set this to a command name (i.e. "sm_kick"). Only admins that can execute that command will be able to use alltalk.
sm_talktools_welcome - Display a welcome message when a player connects, instructing them how to use UberTalk and TeamTalk. (default 1)

Commands:

+voiceall - Activate UberTalk while the button is pressed. Should be used in conjunction with "+voicerecord" to be useful (see Usage Instructions below.)
talkhelp - Public command to display a help menu with keybinding instructions. Can be called as !talkhelp in chat.

Usage Instructions:

Setting up a keybinding for ubertalk is a little more complicated than you would expect since voice chat (+voicerecord) cannot be detected server-side. To use UberTalk, players should add the following lines to their autoexec.cfg:

Code:

alias +alltalk "+voiceall; +voicerecord"
alias -alltalk "-voicerecord; -voiceall"
bind <key> +alltalk

This will allow them to use alltalk with <key> (I use "f") even when sv_alltalk is off. The standard voice chat key ("v" by default in TF2) will still be team-only chat.

Bugs:

Using this plugin breaks client-side muting functionality, so that USERS WILL NO LONGER BE ABLE TO MUTE EACH OTHER. This is an unfortunate side effect that I have not been able to work around. A bug report for the issue is here. If anyone knows of a solution to this problem, please let me know.

Installing:

talktools.smx -> addons/sourcemod/plugins/
talktools.sp -> addons/sourcemod/scripting/
plugin.talktools.cfg (optional) -> cfg/sourcemod/

If Custom Votes is installed:
talktools.vote.cfg -> addons/sourcemod/configs/customvotes/

Changelog:

0.1 - Initial release

flubber 03-02-2009 19:56

Re: Talk Tools v0.1 (3/2)
 
You should add a translation file for the "welcome explain message". I'll try this one tomorrow.

chundo 03-04-2009 02:32

Re: Talk Tools v0.1 (3/2)
 
I had the keybind commands wrong, try again if you didn't get it to work.

strontiumdog 03-04-2009 09:34

Re: Talk Tools v0.1 (3/2)
 
http://forums.alliedmods.net/showthread.php?p=648899 ?

chundo 03-05-2009 00:42

Re: Talk Tools v0.1 (3/2)
 
Yeah, pretty much the same thing, with a few other features. I made this for our server a year or so ago (before that one existed), but never published it - I just posted it now because a few people had asked me for it.

chundo 03-05-2009 15:01

Re: Talk Tools v0.1 (3/2)
 
Oh, cool. When was that added? I don't remember it in 1.0.

chundo 03-05-2009 15:21

Re: Talk Tools v0.1 (3/2)
 
strontiumdog - I see we use slightly different mechanisms for alltalk. Do you have an issue with client-side muting being broken with your plugin?

alinayg 08-04-2009 12:36

Re: Talk Tools v0.1 (3/2)
 
Would there be a way to reverse the way this works? Could it be that all talk is on and you add a new button for Team Talk?

USSNUKE9 09-09-2009 18:32

Re: Talk Tools v0.1 (3/2)
 
Quote:

Originally Posted by alinayg (Post 890113)
Would there be a way to reverse the way this works? Could it be that all talk is on and you add a new button for Team Talk?

try http://forums.alliedmods.net/showpos...71&postcount=9

Wyrda Ebrithil 01-03-2010 22:25

Re: Talk Tools v0.1 (3/2)
 
This is really cool... and it works too :)

you should have the binds be displayed in console in addition to in a menu... so they can copy what they need to put into the auto exec

you should also make a way to differentiate between players talking to their team or talking to everyone... i.e. making it so that whenever they talk to everyone their mic name thing is grey instead of red of blue... or adding a A at the beginning of their name

i was actually going to make this mod myself.. now i dont have to

+rep


All times are GMT -4. The time now is 00:41.

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