View Single Post
Author Message
Frenzzy
SourceMod Donor
Join Date: Jan 2007
Location: Russia
Old 11-09-2011 , 22:20   [ANY] AllChat (aka DeadChat)
Reply With Quote #1

AllChat

This plugin allows dead players using chat to communicate with alive players. Plugin just duplicates the messages to players who can not see it because of the death or other game restrictions, so no hidden admin messages, messages of muted users, or similar things that would not normally be visible in chat will ever be exposed. By default it will read sv_alltalk as it's enable cvar. You can use the override cvar to enable or disable the plugin regardless of sv_alltalk (see below). Alive players will see exactly what the dead players see as far as chat msgs go. The relayed messages are exactly identical to the standard and the clients language is taken into account (unlike some already availalable plugins offering deadchat). Actually, they are the standard messages, as the plugin triggers the localized phrases on the client, rather than trying to format the messages itself.

Features:
  • Dead players and spectators can chat with the living players.
  • Team-only messages remain team-only (if from a dead player, visible to his dead/alive team).
  • Message formatting and prefixes (Terrorist, Spectator, etc.) completely identical to standard, supporting all client languages.

Screenshots:
Supported Games:
  • OrangeBox engine based (CS:S, DOD:S, TF2 and ect).
  • Any (if SayText2 user messages is supported).

Requirements:
  • SourceMod v1.4 or above.
  • (optional) Updater if you want to receive plugin updates automatically.

Installation:
  • Add allchat.smx to your plugins directory: ../addons/sourcemod/plugins/allchat.smx

Convars:
  • sm_allchat_mode <0|1|2> - Players can see all chat messages without dead or other restrictions.
    • 0 = No. Standard behavior.
    • 1 = Yes. Players will see all chat messages.
    • 2 = Yes. Players will see all messages if sv_alltalk is enabled. *Default
  • sm_allchat_team <0|1|2> - Who can see say_team messages?
    • 0 = Teammates only. Standard behavior.
    • 1 = All teammates without dead or other restrictions. *Default
    • 2 = All players without dead or other restrictions.

Changelog:
  • 1.0.0 (November 10th 2011) - Initial release.
  • 1.1.0 (November 28th 2011) - Added command to customize say_team messages: sm_allchat_team.
  • 1.1.1 (November 30th 2011) - Code optimization.

Similar plugins:
Tags: allchat, deadchat, alltalk, talk, speak, tell, chat, print, say, say_team, player_say, dead, alive, spec, team, relay
Attached Files
File Type: sp Get Plugin or Get Source (allchat.sp - 5406 views - 5.9 KB)
File Type: smx allchat.smx (4.7 KB, 9313 views)
__________________
My Plugins: AllChat, GeoLocation

Last edited by Frenzzy; 03-29-2012 at 14:46.
Frenzzy is offline
Send a message via ICQ to Frenzzy Send a message via MSN to Frenzzy Send a message via Skype™ to Frenzzy