2 flags, one CP?

Discussion in 'Mapping Questions & Discussion' started by Snoodleking, Oct 21, 2010.

  1. Snoodleking

    Snoodleking L1: Registered

    Messages:
    6
    Positive Ratings:
    1
    I'm currently working on a new map and have very little scripting skills. I came up with an idea to have 2 flags (briefcases) and a CP point that is located on the opposite side of the map.

    Essentially it would work like this: The only team allowed to cap is the one that controls the capture point.

    Would this be possible?

    The setup would require doors that always allow one team through, but only the other team through if they controlled the point.

    I imagine this would be relatively simple to set up, but wanted to check to make sure it was possible before I wasted hours setting up the map.

    Thanks!
     
  2. re1wind

    aa re1wind

    Messages:
    644
    Positive Ratings:
    592
    another way is to have two trigger_mult around the door area, one for blu team, one for red team. they're initially disabled, but the appropriate trigger gets enabled when the appropriate team captures the point.

    i.e. red captures the point. -> trigger_red is enabled -> door works for red team only. blu team trigger still disabled, blu team can't use the door that red team can.
     
  3. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    I have something like this working in ctf_spring. Certain doors in a base are forced open when the point is held by the opposing team, while other doors only open for team members.

    The main problem (partly solved) is that in order to have the CTF arrows-to-briefcase HUD as well as the control-point HUD... you don't have the "number of captures" anymore. (The kind where it takes three captures to end the round.)

    Had to work around that with drawing text on the screen, but it's much uglier than a "real" way.
     
    Last edited: Oct 21, 2010
  4. Snoodleking

    Snoodleking L1: Registered

    Messages:
    6
    Positive Ratings:
    1
    Cool, thanks for the suggestions!

    I'll download Spring and see what I can glean from that. Bummer to hear about the HUD issue, that didn't even occur to me, but it's a good point!

    Thanks again!
     
  5. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    IIRC that last-uploaded version doesn't have the number-of-caps display logic, though, but I have a VMF that does it somewhere here.
     
  6. Snoodleking

    Snoodleking L1: Registered

    Messages:
    6
    Positive Ratings:
    1
    Terr, maybe I'm being a noob here, but I searched this site (and others) and can't find your spring map anywhere. How can I get my hands on it!?

    Thanks again!
     
  7. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    Should be here. Maybe I should make some sort of prefab-ish thing with just the entities...