Page 1 of 1

Disallow Team to Capture CP

Posted: Wed Jan 28, 2009 2:27 pm
by Blade
I'm toying around with a map, and I added a local team. They spawn very near to the center CP of the map, and continually capture it for themselves, which I do not want to happen. Is there a way to keep the local team from capturing CP's, but allow the other two to capture them?

Re: Disallow Team to Capture CP

Posted: Wed Jan 28, 2009 3:07 pm
by Fiodis
Yes, I believe there's a LUA code something along the lines of AllowCpCapture, although I don't know if it will stop a single team from capturing it or if it will make all cp's uncapturable. The example finder would answer that one, I think.

Re: Disallow Team to Capture CP

Posted: Sun Feb 01, 2009 7:24 pm
by phazon_elite
The way I do it is to simply put:

Code: Select all

CapturePosts	= 0
in the unit's odf. You'll have to do it for every unit you don't want to capture cp's, though.

Hope that helped!

Re: Disallow Team to Capture CP

Posted: Sun Feb 01, 2009 10:12 pm
by Blade
Ah, thanks. That'll work fine, as my local team only has one unit class. Thanks again.