AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [DoD:S] All Chat (https://forums.alliedmods.net/showthread.php?t=199290)

Root_ 10-26-2012 17:24

[DoD:S] All Chat
 
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! :mrgreen:
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

Root_ 07-09-2013 08:03

Re: [DoD:S] All Chat (2.0)
 
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!

phit 10-06-2013 12:00

Re: [DoD:S] All Chat
 
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? :roll:

sm 1.5.0

Root_ 10-06-2013 15:40

Re: [DoD:S] All Chat
 
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.

phit 10-07-2013 13:28

Re: [DoD:S] All Chat
 
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

Root_ 10-10-2013 09:58

Re: [DoD:S] All Chat
 
1 Attachment(s)
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.


All times are GMT -4. The time now is 23:32.

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