Making a hybrid CTF map..

Discussion in 'Mapping Questions & Discussion' started by ---, Jun 17, 2009.

  1. ---

    --- Banned

    Messages:
    4
    Positive Ratings:
    0
    (Hey guys, I'm new as you can tell. Made my thread in the introduction forum already)

    I'm working on a attack/defense style CTF map. The idea right now is I have a capture point in the middle which defines who is on offense and who is on defense. The defending team can capture the center point to become the offensive team, vice versa. I already set the outputs to make the offense's flags disabled, but the trouble I'm having now is figuring out how to show both the capture point and the flags on the HUD. Can anyone help me out?

    Also on a side note, I'm a bit unclear as to how I should use the team_capturepoint_master entity. I put it in there and so far all it's done is make the map think that the capture point is the game-winning point.
     
  2. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    You can't combine both huds. You'll have to settle for using the CTF hud and having signs in the bases that indicate who owns the point, or similar.

    I believe you don't need to use the Master at all, because as you've found out, that's for controlling win conditions based on CPs. Does it work how you want without it?
     
    • Thanks Thanks x 1
  3. ---

    --- Banned

    Messages:
    4
    Positive Ratings:
    0
    Aye, it did. I just remember looking on the valve developer wiki and reading how it was crucial for CP maps. This isn't *really* a CP map though, so it should be fine. I was thinking there ought to be a notifier in the HUD that their team is on defense or offense though. The best way to do it now I think would be to put signs arouund the center point saying whose on offense as well as doing a trigger notifier when someone captures the point.

    Do you know if it'd be possible to do the HUD notifiers or is that out of the question too?
     
  4. TracerDX

    TracerDX L3: Member

    Messages:
    127
    Positive Ratings:
    25
    game_text can be used to display plain text messages anywhere on the screen.

    game_text_tf can be used to show those fancy popups that say "You are attacking" etc. (The text is customizable).
     
    • Thanks Thanks x 1
  5. ---

    --- Banned

    Messages:
    4
    Positive Ratings:
    0
    Thank you kindly, and Boojum Snark too. :)