Raised This Month: $12 Target: $400
 3% 

Forlix DeadChat


Post New Thread Reply   
 
Thread Tools Display Modes
Forlix
Senior Member
Join Date: Dec 2008
Location: Hamburg, Germany
Old 09-14-2009 , 06:18   Re: Forlix DeadChat
Reply With Quote #21

Quote:
Originally Posted by Atreus View Post
Did you ever test this? I'm mentioning it this time because I made a solution in my plugin and figured I'd offer it up if it doesn't work for you.
I just tested it with ma_mute and sm_gag and it worked fine.
But I'd still like to hear how you did it
Forlix is offline
Send a message via ICQ to Forlix Send a message via MSN to Forlix
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 12-14-2009 , 05:55   Re: Forlix DeadChat
Reply With Quote #22

In TF2, during round end/bonus round, chat is displayed twice. One as dead and one as alive.
__________________

DontWannaName is offline
Forlix
Senior Member
Join Date: Dec 2008
Location: Hamburg, Germany
Old 12-23-2009 , 05:53   Re: Forlix DeadChat
Reply With Quote #23

I'm not sure but this could be another plugin that also provides this feature, but only at those times. Or the sv_alltalk convar...
Forlix is offline
Send a message via ICQ to Forlix Send a message via MSN to Forlix
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 12-23-2009 , 15:26   Re: Forlix DeadChat
Reply With Quote #24

oh, you are right, I use all talk at round end and when there are less then some amount of players. How would I do if alltalk = 1 then dont copy text?
__________________

DontWannaName is offline
Forlix
Senior Member
Join Date: Dec 2008
Location: Hamburg, Germany
Old 12-24-2009 , 06:10   Re: Forlix DeadChat
Reply With Quote #25

I'm not really sure sv_alltalk makes dead players talk to alive ones, at least it doesnt in CS:S and I have no way to test it in TF2.

But if it does, then replacing the big if-statement at around line 140 with this one should fix it:

Code:
  if(!relay_mode
  || !client
  || !p_bctype[client]
  || dontBroadcast
  || IsPlayerAlive(client)
  || GetConVarInt(FindConVar("sv_alltalk")))
    return;
Forlix is offline
Send a message via ICQ to Forlix Send a message via MSN to Forlix
MisterNine
Member
Join Date: Jan 2010
Old 01-18-2010 , 01:54   Re: Forlix DeadChat
Reply With Quote #26

Alltalk allows the dead to talk to the living in TF2.
MisterNine is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 01-18-2010 , 02:31   Re: Forlix DeadChat
Reply With Quote #27

That code seems to have worked. Strange that it didnt happen when all talk was turned on except at end of round though.
__________________

DontWannaName is offline
hellanator3
Member
Join Date: Feb 2010
Old 02-14-2010 , 07:54   Re: Forlix DeadChat
Reply With Quote #28

Is there a way to make it so only dead players can talk to dead players
hellanator3 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 02-15-2010 , 02:12   Re: Forlix DeadChat
Reply With Quote #29

Quote:
Originally Posted by hellanator3 View Post
Is there a way to make it so only dead players can talk to dead players
I don't know what the other games do by default, but in TF2, this is what you get with no deadchat plugins enabled unless you explicitly change tf_teamtalk to 1, in which case they can communicate to their team members when dead.

(I opened a feature request to get tf_teamtalk to respect sv_alltalk's setting, but I don't think Valve's even looked at it)

Last edited by Powerlord; 02-15-2010 at 02:15.
Powerlord is offline
Forlix
Senior Member
Join Date: Dec 2008
Location: Hamburg, Germany
Old 02-16-2010 , 20:05   Re: Forlix DeadChat
Reply With Quote #30

Or maybe he means the dead should not be able to read what the alive players say, thats possible yes, but not really worth it in my opinion.
Forlix is offline
Send a message via ICQ to Forlix Send a message via MSN to Forlix
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 14:18.


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