Raised This Month: $7 Target: $400
 1% 

[DoD:S] All Chat


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Root_
Veteran Member
Join Date: Jan 2012
Location: ryssland
Plugin ID:
3325
Plugin Version:
3.0
Plugin Category:
General Purpose
Plugin Game:
Day of Defeat: Source
Plugin Dependencies:
    Servers with this Plugin:
    4 
    Plugin Description:
    Provides a support to relay chat messages of dead players, spectators or a team chat to alive players
    Old 10-26-2012 , 17:24   [DoD:S] All Chat
    Reply With Quote #1

    Unfourdately DoD:S doesn't support usermessage 'SayText2' (and probably will never support it) so that was hard to implement relaying dead chat without issues...
    I investigated another method to relay chat messages, is that a 'SayText' usermessage.
    It has less functions for chat messages, and I though it wasnt supporting chat colors... but I fixed that!
    As you expected, this plugin prints the chat messages of dead players (including spectators) to alive players.
    Plugin also displays the chat messages to team mates.

    ConVars:
    dod_allchat <0/1> = Whether or not relay messages of death players to alive
    dod_teamchat <0/1> = Determines who can see team messages: 0 = All players or 1 = Only team members

    Plugin will create a configuration file (cfg/sourcemod/dod_allchat.cfg)
    This plugin may be similar to this plugin, but DoD:S All Chat is having separate team chat settings and, obviously, support team colors!

    Servers with this plugin

    Download plugin
    Browse source code
    __________________


    dodsplugins.com - Plugins and Resources for Day of Defeat
    http://twitch.tv/zadroot

    Last edited by Root_; 01-21-2014 at 11:27. Reason: 3.0 Update
    Root_ is offline
    Root_
    Veteran Member
    Join Date: Jan 2012
    Location: ryssland
    Old 07-09-2013 , 08:03   Re: [DoD:S] All Chat (2.0)
    Reply With Quote #2

    Updated to 2.0
    Added proper support for relaying chat (via SayText usermessage), so it gives a:
    • Fix for chat triggers like %t or %h
    • Fix for silent chat triggers like /command or !command
    • Fix for color codes in client's console
    • It gives at fully identical support as SayText2 in other games!
    __________________


    dodsplugins.com - Plugins and Resources for Day of Defeat
    http://twitch.tv/zadroot
    Root_ is offline
    phit
    Junior Member
    Join Date: Apr 2013
    Location: Germany
    Old 10-06-2013 , 12:00   Re: [DoD:S] All Chat
    Reply With Quote #3

    working in hidden: source b4 [strike]without any problems![/strike]
    thanks for this plugin

    edit: mirroring teamchat in allchat even though "dod_teamchat" is set to 1
    any chance to get a fix for that?

    sm 1.5.0
    __________________
    EuropePublic Hidden: Source Servers

    Last edited by phit; 10-06-2013 at 12:35.
    phit is offline
    Root_
    Veteran Member
    Join Date: Jan 2012
    Location: ryssland
    Old 10-06-2013 , 15:40   Re: [DoD:S] All Chat
    Reply With Quote #4

    Good to know that is working in other games
    I have no idea why 'teamchat' thingy is working not properly, probably because I havent really tested it with implemented OnClientSayCommand forward...
    Well you can re-download a plugin and test again, now it should work fine.
    __________________


    dodsplugins.com - Plugins and Resources for Day of Defeat
    http://twitch.tv/zadroot
    Root_ is offline
    phit
    Junior Member
    Join Date: Apr 2013
    Location: Germany
    Old 10-07-2013 , 13:28   Re: [DoD:S] All Chat
    Reply With Quote #5

    okay, thanks for the help.
    i just tested
    messages in the teamchat get still doubled in allchat (no matter if the player is dead or alive), but the other team can't see them.. really weird

    so it's kind of working
    normaL allchat is working how it's supposed to be
    __________________
    EuropePublic Hidden: Source Servers

    Last edited by phit; 10-07-2013 at 13:43.
    phit is offline
    Root_
    Veteran Member
    Join Date: Jan 2012
    Location: ryssland
    Old 10-10-2013 , 09:58   Re: [DoD:S] All Chat
    Reply With Quote #6

    No idea why this is happening. I'd say its caused by another say_team command (say2 or something).
    You can test this version and report issues.
    Attached Files
    File Type: sp Get Plugin or Get Source (dod_allchat.sp - 964 views - 5.5 KB)
    __________________


    dodsplugins.com - Plugins and Resources for Day of Defeat
    http://twitch.tv/zadroot
    Root_ 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 01:47.


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