CTF+CP hud?

Discussion in 'Mapping Questions & Discussion' started by curtmack, Dec 17, 2009.

  1. curtmack

    curtmack L1: Registered

    Messages:
    4
    Positive Ratings:
    0
    I had an interesting idea: a CTF map that had certain underground routes protected by a security system. The security system is controlled by capturing a control point, which would be located in the middle of the map (possibly in an watchtower-like building)

    It's only in the concept stages right now, but the problem I'm having is that the HUD won't display any control point information, because it's a CTF map. (For the record, I did actually test this - it shows the normal CTF information, but no CP info.) This poses a problem, because without the capture point information, players can't even tell their capture progress, or see when the point is being captured by an enemy.

    The design of the CTF HUD element suggests that it may have been meant to split, with other elements in the middle; so, my question is, is there a way to display both CTF and CP HUD elements at the same time?
     
  2. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,767
    Positive Ratings:
    5,508
    tf_logic_hybrid_ctf_cp, put one in your map.

    Valve made it for us, for the contest we just finished.
     
  3. TMP

    aa TMP Abuser of Site Rules

    Messages:
    948
    Positive Ratings:
    551
    There's actually something we campaigned for for this. I believe it is the entity tf_hyprid_ctf_cp.

    You can see it by downloading A Boojum Snark's FGD. Its a really good tool anyways.
     
  4. curtmack

    curtmack L1: Registered

    Messages:
    4
    Positive Ratings:
    0
    Glee! Thanks a bunch.
     
  5. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    I used this in ctf_spring. While it allows you to show flag locations and capture points, it doesn't quite work right because you can't see how many caps a team has. I had to implement my own system for displaying the caps, which prints some of that fugly text semitransparent red/blue text into the GUI.