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

[TF2] Spy Talk


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Xsinthis
Senior Member
Join Date: Oct 2008
Location: Canadia, eh?
Plugin ID:
2000
Plugin Version:
1.0.2
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Turns off a spy's alltalk when cloaked and/or disguised
    Old 10-10-2010 , 22:25   [TF2] Spy Talk
    Reply With Quote #1

    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
    Attached Files
    File Type: sp Get Plugin or Get Source (SpyTalk.sp - 1401 views - 2.9 KB)
    __________________

    Last edited by Xsinthis; 12-08-2010 at 13:58.
    Xsinthis is offline
    MjrNuT
    SourceMod Donor
    Join Date: Feb 2008
    Location: Under the Beaming CA Sun
    Old 10-11-2010 , 13:02   Re: [TF2] Spy Talk
    Reply With Quote #2

    Nice! have you successfully tested? I believe my Community would like this.
    __________________
    Flames and Ash Gaming
    Addon: SM v1.4.0-dev MM 1.8.5-dev
    Plugins: Advertisements, Webshortcuts, spray tracer, SBans, RTD, gScramble Balance, misc
    MjrNuT is offline
    Xsinthis
    Senior Member
    Join Date: Oct 2008
    Location: Canadia, eh?
    Old 10-11-2010 , 13:54   Re: [TF2] Spy Talk
    Reply With Quote #3

    yes i've successfully tested this with https://forums.alliedmods.net/showthread.php?t=73835
    __________________
    Xsinthis is offline
    msleeper
    Veteran Member
    Join Date: May 2008
    Location: Atlanta, Jawjuh
    Old 10-11-2010 , 19:32   Re: [TF2] Spy Talk
    Reply With Quote #4

    So this blocks Spies from talking while cloaked?
    __________________
    msleeper is offline
    Xsinthis
    Senior Member
    Join Date: Oct 2008
    Location: Canadia, eh?
    Old 10-11-2010 , 19:55   Re: [TF2] Spy Talk
    Reply With Quote #5

    it blocks them from broadcasting to the enemy team while cloaked/disguised. Their team will still be able to hear them
    __________________
    Xsinthis is offline
    MjrNuT
    SourceMod Donor
    Join Date: Feb 2008
    Location: Under the Beaming CA Sun
    Old 10-12-2010 , 12:48   Re: [TF2] Spy Talk
    Reply With Quote #6

    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)
    __________________
    Flames and Ash Gaming
    Addon: SM v1.4.0-dev MM 1.8.5-dev
    Plugins: Advertisements, Webshortcuts, spray tracer, SBans, RTD, gScramble Balance, misc
    MjrNuT is offline
    Xsinthis
    Senior Member
    Join Date: Oct 2008
    Location: Canadia, eh?
    Old 10-12-2010 , 14:17   Re: [TF2] Spy Talk
    Reply With Quote #7

    Whats your sv_alltalk setting? Do you use any toggle-able player specific alltalk?

    I tested and compiled with a 1.3.5 release
    __________________
    Xsinthis is offline
    MjrNuT
    SourceMod Donor
    Join Date: Feb 2008
    Location: Under the Beaming CA Sun
    Old 10-12-2010 , 14:20   Re: [TF2] Spy Talk
    Reply With Quote #8

    Quote:
    Originally Posted by Xsinthis View Post
    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.
    __________________
    Flames and Ash Gaming
    Addon: SM v1.4.0-dev MM 1.8.5-dev
    Plugins: Advertisements, Webshortcuts, spray tracer, SBans, RTD, gScramble Balance, misc
    MjrNuT is offline
    Xsinthis
    Senior Member
    Join Date: Oct 2008
    Location: Canadia, eh?
    Old 10-12-2010 , 14:22   Re: [TF2] Spy Talk
    Reply With Quote #9

    well i'll double check my code an replicate your scenario and get back to you on this
    __________________
    Xsinthis is offline
    Geit
    Senior Member
    Join Date: Oct 2009
    Location: Home
    Old 10-12-2010 , 19:40   Re: [TF2] Spy Talk
    Reply With Quote #10

    tf_show_voice_icons >.>
    Geit is offline
    Reply


    Thread Tools
    Display Modes

    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 10:25.


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