View Single Post
Author Message
Root_
Veteran Member
Join Date: Jan 2012
Location: ryssland
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