Vanilla ET - Intermission Chat - Problem


(NewName) #1

Hi, I have been trying to work out why this is happening to the chat function at the end intermission screen. The whole game plays fine, there’s no problem with text/chat. When the game ends and it comes to the final screen (Axis Won)… the chat window there always bugs and doesn’t display the correct text in time.

Here is an example…

How can I fix this?

It’s surely not server spam settings? I’ve tried all of that, still no joy.

Cheers:)


(Indloon) #2

I think that Zinx fixed it at Etpro.

Ask them at #etpro


(NewName) #3

[QUOTE=Indloon;394453]I think that Zinx fixed it at Etpro.

Ask them at #etpro[/QUOTE]

Okay thanks Indloon :), please check your PM’s at Crossfire :).

Thanks a lot


(NewName) #4

Still unable to find him, anyone got another form of contact?

Cheers


(NewName) #5

Right, this is annoying. After looking through the code for so long looking for a fix, N!trox comes out with the answer within 30seconds.

The problem is cg_teamChatHeight, set it to 8 and the problem will disappear! We’re looking for a fix in the SDK atm, and I’m sure N!TROX the damn glorymonster will find it!

Cheers!


(acQu) #6

Ah, a good find!

I wondered why i couldn’t reproduce it ^^ Now i see what is happening there. If you watch closely the vid, one can see you have teamchatheight 6, right ? :slight_smile:


(Nitrox_) #7

Intermission chat should always use the highest possible “cg_teamChatHeight” value (8 in most cases), but it’s using the current cvar value, which causes problems when it’s set lower than 8…

Inside CG_AddToTeamChat (cg_servercmds.c)
Change:


	if ( cg_teamChatHeight.integer < TEAMCHAT_HEIGHT ) {
		chatHeight = cg_teamChatHeight.integer;
	} else {
		chatHeight = TEAMCHAT_HEIGHT;
	}

To:


	if ( cg_teamChatHeight.integer < TEAMCHAT_HEIGHT ) {
		chatHeight = (cgs.gamestate == GS_INTERMISSION) ? TEAMCHAT_HEIGHT : cg_teamChatHeight.integer;
	} else {
		chatHeight = TEAMCHAT_HEIGHT;
	}

Enjoy!


(sparky) #8

I have been wondering this for the longest time. I have been playing jaymod lately and anytime I’m in intermission, the text doesn’t show up for along time. I have my teamchat set to 2. I won’t change it to 8 because of gameplay preference but I just use console to see the text during intermission, and it’s worth the pain.


(Shownie) #9

[QUOTE=N!trox*;396615]Intermission chat should always use the highest possible “cg_teamChatHeight” value (8 in most cases), but it’s using the current cvar value, which causes problems when it’s set lower than 8…

Inside CG_AddToTeamChat (cg_servercmds.c)
Change:


	if ( cg_teamChatHeight.integer < TEAMCHAT_HEIGHT ) {
		chatHeight = cg_teamChatHeight.integer;
	} else {
		chatHeight = TEAMCHAT_HEIGHT;
	}

To:


	if ( cg_teamChatHeight.integer < TEAMCHAT_HEIGHT ) {
		chatHeight = (cgs.gamestate == GS_INTERMISSION) ? TEAMCHAT_HEIGHT : cg_teamChatHeight.integer;
	} else {
		chatHeight = TEAMCHAT_HEIGHT;
	}

Enjoy![/QUOTE]

Thanks for sharing, I can now fix this for ETFrag, since I always use lower value than 8 :slight_smile:


(Nitrox_) #10

Kein problem! :slight_smile: