Displaying a team-specific message that looks similar to a goal string in-game

Aug 10, 2009
1,240
399
So basically I have my ctf map set up so that on the second capture I have a math counter tell the game rules to set the goal string for the team that had its intelligence captured, giving them a warning, and the team that captured the intelligence, telling them they are in the final stretch.

The problem is, it does not work.

Please tell me how I could make this work, or any other solutions, if you have them. What I would really like to avoid is gametext, in which I would just remove the feature alltogether.
 

Artesia

L6: Sharp Member
Nov 11, 2008
278
72
maybe use game_text_tf but that would only display it once... I see you want to avoid game_test but am not sure if you also mean game_text_tf as they operate differently.

aside from that, how are you changing the gamerules? are you just targeting the input or are you using addoutput? if you haven't tried addoutput I would try that next.
 

Terr

Cranky Coder
aa
Jul 31, 2009
1,590
410
I'm doing something similar with a capture point that opens/closes paths to intelligence, and game_text_tf works fine for my needs.

So setting a new goal string in tf_gamerules doesn't do what you want? Could you be more specific about how it doesn't work?
 

Artesia

L6: Sharp Member
Nov 11, 2008
278
72
I might just be tired, but doesn't the goal string only display at the beginning of the map? maybe that's why its not working? I never pay attention to those things and don't remember them at every spawn... but I could just be tired :S
 

Terr

Cranky Coder
aa
Jul 31, 2009
1,590
410
game_text_tf on a recurring timer, perhaps? If it's a short enough message, it won't get in the way...
 
Aug 10, 2009
1,240
399
If game_text is that nasty white text then I'd like to avoid it..

Basically, there are two math counters, with a max at one and two, respectively. On a capture, it adds one to both, so on the second capture, the second fires. When the second counter fires, it tells the tf_gamerules to send out the goal string, which doesnt work. It also changes respawn, which does work..