Locking a cp

Discussion in 'Mapping Questions & Discussion' started by Hawked, May 11, 2008.

  1. Hawked

    Hawked L1: Registered

    Messages:
    5
    Positive Ratings:
    0
    Ok, here's the story:
    I'm working on a map, where you should cap the first point, and then defend it for 1 minute before the next point unlocks. No problem there.
    The problem: when the minute is over, I want that point to lock (and again unlocked when the next point is capped by the opposite team)
    Both teams should be able to cap too :laugh:
    It's possible I overlooked something easy, but I'm puzzled with it for a while, so I hoped to get some help here :laugh:
     
  2. TheDarkerSideofYourShadow

    TheDarkerSideofYourShadow L10: Glamorous Member

    Messages:
    792
    Positive Ratings:
    144
    If you just need to lock it, try changing the team can cap setting to block whichever team lost the point. You would then change that back later, once they can cap it again. I'll mess around with this later.
     
    • Thanks Thanks x 1
  3. Hawked

    Hawked L1: Registered

    Messages:
    5
    Positive Ratings:
    0
    Oh great, it seems to work! :laugh:
    Messed around with setteamcancap before, but I believe I overlooked this and used ot for a different approach.
    Thanks for the help
     
  4. TheDarkerSideofYourShadow

    TheDarkerSideofYourShadow L10: Glamorous Member

    Messages:
    792
    Positive Ratings:
    144
    Your welcome :) Just curious though, what are you using as your 1 min timer? Originally I thought thats what the issue was, and I kept coming up with ideas what would work, but then run into issues in the event that the point was recapped. I'm wondering how you got around that.
     
  5. Hawked

    Hawked L1: Registered

    Messages:
    5
    Positive Ratings:
    0
    I'm copied and adjusted the timers used in koth maps. It involves disabling and enabling a red and blue timer when a point is capped.
    But instead of winning the round when the timer's finished, it just opens up a new cp :)
     
  6. TheDarkerSideofYourShadow

    TheDarkerSideofYourShadow L10: Glamorous Member

    Messages:
    792
    Positive Ratings:
    144
    Ah, good stuff. I see how that works now. Thanks :)