PDA

View Full Version : Locking a cp


Hawked
05-11-2008, 11:13 AM
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:

TheDarkerSideofYourShadow
05-11-2008, 12:19 PM
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.

Hawked
05-11-2008, 12:40 PM
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

TheDarkerSideofYourShadow
05-11-2008, 12:53 PM
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.

Hawked
05-11-2008, 01:16 PM
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 :)

TheDarkerSideofYourShadow
05-11-2008, 01:24 PM
Ah, good stuff. I see how that works now. Thanks :-)