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

Discussion in 'Mapping Questions & Discussion' started by absurdistof, Sep 10, 2009.

  1. absurdistof

    aa absurdistof

    Messages:
    1,242
    Positive Ratings:
    393
    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.
     
  2. Artesia

    Artesia L6: Sharp Member

    Messages:
    278
    Positive Ratings:
    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.
     
  3. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    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?
     
  4. Artesia

    Artesia L6: Sharp Member

    Messages:
    278
    Positive Ratings:
    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
     
  5. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    game_text_tf on a recurring timer, perhaps? If it's a short enough message, it won't get in the way...
     
  6. absurdistof

    aa absurdistof

    Messages:
    1,242
    Positive Ratings:
    393
    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..
     
  7. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,767
    Positive Ratings:
    5,508
    game_text_tf, however, is not. Give it a try. (it sounds like you haven't)