AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Spy Talk (https://forums.alliedmods.net/showthread.php?t=140334)

Xsinthis 10-10-2010 21:25

[TF2] Spy Talk
 
1 Attachment(s)
ABOUT
I'm a big fan of alltalk in a community, though one of the complaints i consistently get is the little bubble that appears when you're talking and you're a cloaked or disguised spy. Since the bubble is client side and untouchable, this plugin blocks alltalk on spies while they are cloaked and/or disguised. This works for sv_alltalk servers and servers using specific player alltalk

INSTALLATION
Just plop the .smx into your plugins directory

CREDITS
Thanks to Azelphur for the base code to hook spy cloak/decloak and disguise/undisguise.
Thanks to psychonic for the seemingly endless stream of questions he has answered for me while learning SourcePawn
Thanks to everyone else in #sourcemod that has helped me with coding

Changelog
1.0.2
-Fixed problems when server had sv_alltalk 1
-Cleaned up more code
-Added a message the first time a player stealth's while speaking to server
-Hooked alltalk change

1.0.1
-Fixed major errors with detecting cloak/disguise
-Cleaned up code

1.0.0 - Initial Release

MjrNuT 10-11-2010 12:02

Re: [TF2] Spy Talk
 
Nice! have you successfully tested? I believe my Community would like this.

Xsinthis 10-11-2010 12:54

Re: [TF2] Spy Talk
 
yes i've successfully tested this with https://forums.alliedmods.net/showthread.php?t=73835

msleeper 10-11-2010 18:32

Re: [TF2] Spy Talk
 
So this blocks Spies from talking while cloaked?

Xsinthis 10-11-2010 18:55

Re: [TF2] Spy Talk
 
it blocks them from broadcasting to the enemy team while cloaked/disguised. Their team will still be able to hear them

MjrNuT 10-12-2010 11:48

Re: [TF2] Spy Talk
 
Well, I tried this last night and the spy bubble was showing for cloaked and disguised spy. Think it's related to version of SM I'm running? (in sig)

Xsinthis 10-12-2010 13:17

Re: [TF2] Spy Talk
 
Whats your sv_alltalk setting? Do you use any toggle-able player specific alltalk?

I tested and compiled with a 1.3.5 release

MjrNuT 10-12-2010 13:20

Re: [TF2] Spy Talk
 
Quote:

Originally Posted by Xsinthis (Post 1323058)
Whats your sv_alltalk setting? Do you use any toggle-able player specific alltalk?

I tested and compiled with a 1.3.5 release

ALL talk is enabled, sv_alltalk 1

and No other player talk plugins used.

Xsinthis 10-12-2010 13:22

Re: [TF2] Spy Talk
 
well i'll double check my code an replicate your scenario and get back to you on this

Geit 10-12-2010 18:40

Re: [TF2] Spy Talk
 
tf_show_voice_icons >.>


All times are GMT -4. The time now is 08:20.

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