Author
|
|
SourceMod Donor
Join Date: Dec 2006
Location: Nampa, Idaho
|
Plugin ID:
|
1583
|
Plugin Version:
|
1.3.4
|
Plugin Category:
|
General Purpose
|
Plugin Game:
|
Any
|
Plugin Dependencies:
|
|
Servers with this Plugin:
|
|
| |
Plugin Description:
|
Dead players can hear all voice chat of everyone (configurable), all can hear all at round end, and (in CS:S) all can hear all when Terrorists are dead.
|
Unapprover:
|
|
Reason for Unapproving:
|
Requested by author.
|
|
|
04-02-2010
, 01:37
Dead and Round-End Alltalk
|
#1
|
This plugin will currently stop working after about 3 rounds (of CS:S). Dead Alltalk by strontiumdog is doing the same thing. I believe there may be a problem with sdktools_voice, some other element of SourceMod, or the Source Engine itself.
I've made a new plugin, Round-End Alltalk, which simply changes sv_alltalk at round end and when all terrorists are dead. You can use it with "sm_deadtalk 1" to have dead alltalk (where dead players can hear ALL other players).
-------------------------------------------------------------------
This plugin is based on Dead Alltalk by strontiumdog. I've created this version to add new features and because his plugin is no longer maintained. All the code has been re-written.
Features:
- Dead players can hear all other voice chat, including living players on their own team or on both teams. Can be configured or disabled
- All players can hear all voice chat when the round has ended. Can be disabled
- For Counter-Strike: Source: All players can hear all voice chat when all terrorists are dead (like when the bomb is planted but all Ts are dead). Disabled by default
- Compatible with sm_mute
- Doesn't modify the actual sv_alltalk value, so sv_flags should be unaffected, and you don't get spam about sv_alltalk all the time
Cvars:
- sm_dead_round_end_alltalk_dead_mode - Sets who dead players can hear:
- 0 = Game's default setting (dead alltalk disabled)
- 1 = Dead players on both teams. In games where dead players could already hear their living teammates by default (like CS:S), they will lose the ability under this mode, leaving them hearing only other dead players, as stated.
- 2 = Dead players and living teammates
- 3 = Everyone (default setting)
The order changed in version 1.3.0.
- sm_dead_round_end_alltalk_round - Toggles whether everyone hears everyone at round end. 1 (on) by default.
- sm_dead_round_end_alltalk_bomb - Toggles whether everyone hears everyone when all Terrorists are dead. 0 (off) by default. This cvar should be turned on only in Counter-Strike: Source to avoid nonsensical behavior. Basically, if everyone on team 2 (Terrorists in CS:S) is dead at the same time, everyone will hear everyone.
Requirements:
Nice Details to Know:
- A player's voice flags (their relationship to each other player with respect to voice chat) are reset to normal as they spawn, not when the round starts.
- This plugin will never touch a muted player's voice flags at all, except to make them not hear living teammates when they die in dead_mode 1.
Known or Potential Issues:
- I haven't actually tested this plugin in any mod but Counter-Strike: Source, but there's no reason why it shouldn't work that I can think of, other than if the sm_dead_round_end_alltalk_bomb cvar is set to 1 as explained above.
- Scenario: Foo can hear Bar (as part of the dead alltalk function of the plugin). Map changes. If Foo spawns before Bar is in the game (before IsClientInGame is true), Foo can still hear Bar. Foo will stop being able to hear Bar once Bar spawns or once Foo spawns again (assuming Bar is in the game at that point).
Please inform me of any problems with the plugin. As it is a difficult plugin to test (requiring either 2 computers or 2 humans), there may be some bugs.
Version History: - 1.0 - 2010-04-01 - Initial release
- 1.1 - 2010-04-02 - Fixed mute incompatibility
- 1.2 - 2010-04-02 - Feature. Changed toggle cvar to mode cvar for dead alltalk to choose whether to hear living enemies when dead or not.
- 1.2.1 - 2010-04-03 - Bugfix. In dead_mode 1, players weren't able to hear dead enemies (only living teammates).
- 1.2.2 - 2010-04-06 - Bugfix. In dead_mode 1, players could only hear dead players that were already dead at the time they died.
- 1.2.3 - 2010-04-13 - Optimization. The plugin now hooks events via OnPluginStart rather than via OnMapStart and no longer unhooks its events (unnecessary).
- 1.3.0 - 2010-04-14 - Feature. Changed dead_mode to now have 3 modes (other than disabled). New mode allows dead to only hear other dead. Note: modes renumbered.
- 1.3.1 - 2010-04-17 - Bugfix. After my last update, in dead_mode 3, dead players were hearing muted players. I also made it so even muted players lose their ability to hear living teammates in dead_mode 1.
- 1.3.2 - 2010-04-18 - Optimization. Changed code so each variable is only declared once per function.
- 1.3.3 - 2010-06-30 - Bugfix. Plugin now more properly detects when a player is muted, and therefore works again after the CS:S update.
- 1.3.4 - 2010-07-06 - Feature. The plugin now generates its own config file with the default settings.
Special Thanks:
- bakabakablah - Helping me test it and never complaining.
- Shep - Testing.
Last edited by Mister_Magotchi; 12-20-2010 at 05:27.
|
|
|
|