Making text show depending on which team has flag

Discussion in 'Mapping Questions & Discussion' started by owly-oop, Jan 12, 2010.

  1. owly-oop

    aa owly-oop im birb

    Messages:
    817
    Positive Ratings:
    1,154
    I have no clue how to do this

    In the "Invade CTF" mode, there's a neutral flag in the middle and you must plant it at enemy base. Anyways when someone has intel it doesn't show who has the flag, hud is still neutral.

    I don't think changing the hud is possible (or i'm dumb :O ), i was thinking just print text over the flag hud saying "Red" or "Blu"

    is this possible and how? I'm dumb with entities
     
  2. owly-oop

    aa owly-oop im birb

    Messages:
    817
    Positive Ratings:
    1,154
    Shameless bump, does anybody know? :c
     
  3. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,573
    You should be able to trigger team goal string's manually during gameplay, er. I'll (or someone else will) have to test that out though.

    Something like "OnFlagPickupRedTeam/SetBluGoalString/Defend your capture zone!"
     
  4. Pseudo

    Pseudo L6: Sharp Member

    Messages:
    319
    Positive Ratings:
    149
    You want the flag to be the color of the team that's carrying it?
    I think this should work:
    OnPickupTeam1 SetTeam 2
    OnPickupTeam2 SetTeam 3
    OnDrop SetTeam 0
    OnCapture SetTeam 0

    If you want text displays, you would use two game_text, just have them Display when the corresponding OnPickupTeam_ happens.
     
    • Thanks Thanks x 1
  5. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,573
    Isn't that the crappy HL translucent text though?
     
  6. Pseudo

    Pseudo L6: Sharp Member

    Messages:
    319
    Positive Ratings:
    149
    Yes, but he doesn't really have any other choice. The goal strings only show when players first spawn, and game_text_tf won't let you choose its placement or display time.