Control Point Layout: A=B+C=D. Know how its done?

Discussion in 'Mapping Questions & Discussion' started by about 20 ninjas, Feb 18, 2010.

  1. about 20 ninjas

    about 20 ninjas L1: Registered

    Messages:
    44
    Positive Ratings:
    7
    The title says it all. I'm half decent enough to build a map, but some of the other mechanics are beyond me.

    I wanted to lay out a map with 4 control points. Red defends, while Blu is attacking. But the only thing I don't know how to set up is the order you capture.

    I would like to see it A=B+C=D.

    Anyone know how its done?
     
  2. martijntje

    martijntje L8: Fancy Shmancy Member

    Messages:
    539
    Positive Ratings:
    168
    do you mean
    - at the start of the round only A is unlocked
    - when A is captured, B and C unlock
    - when both B and C are captured D unlocks

    go to the options of the control points, there should be a field called something like previously required control point. For B and C just set this to the name of control point A
    I am not sure you can do this with D as well, if not.
    -add a math_counter with limit 2
    -on both the capture B and C, you add 1 to the counter
    -when the counter reaches 2 unlock control point D
     
  3. about 20 ninjas

    about 20 ninjas L1: Registered

    Messages:
    44
    Positive Ratings:
    7
    That's exactly what I was wanting. Thanks for the prompt response!
     
  4. Cynick

    Cynick L4: Comfortable Member

    Messages:
    153
    Positive Ratings:
    143
    Team_control_point supports up to 3 prevously required points, so you could set D's previously required points to B and C (and B and C's to A).
     
  5. about 20 ninjas

    about 20 ninjas L1: Registered

    Messages:
    44
    Positive Ratings:
    7
    Much more simple than I thought. Thanks for the help. Now its just getting the cp's on the hud to lay out correctly
     
  6. Cynick

    Cynick L4: Comfortable Member

    Messages:
    153
    Positive Ratings:
    143
    In your team_control_point_master/team_control_point_round, there's a keyvalue called "Cap Layout" (or something similar). From the Valve Wiki:
     
  7. Spammish

    Spammish L3: Member

    Messages:
    117
    Positive Ratings:
    34
    I would suggest using '3, 2 1, 0' though this is just me, play around with them but I think this'll fit best. Note that when input you don't need to include anything other than numbers and commas, so no "<>"s.
     
    • Thanks Thanks x 1
  8. Cynick

    Cynick L4: Comfortable Member

    Messages:
    153
    Positive Ratings:
    143
    This. Thanks Spammish I didn't even know how horrible the wording on the wiki was before I copy/pasted :p
     
  9. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,538
    That would be 3,2 1,0 actually. Spaces aren't necessary next to commas and may or may not mess things up. (the hud is a finicky critter)
     
    • Thanks Thanks x 1
  10. about 20 ninjas

    about 20 ninjas L1: Registered

    Messages:
    44
    Positive Ratings:
    7
    Got it all working. Had a minor issue, but it was just with a teeny tiny spelling error, and now its all fixed.