Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/archive/global.php(40) : eval()'d code on line 2
PL cart after cp captures [Archive] - TF2Maps.net Forums

PDA

View Full Version : PL cart after cp captures


/\rch /\ngel
07-03-2008, 12:53 PM
Hello, I was wondering (maybe someone else already asked this question), would it be possible to make a PL cart that is only moveable after (x) number of cp's were locked?

I have an interesting choice/plan for a map and this is pretty much the general game type I would like to have

:thumbup:

Tigger
07-03-2008, 01:42 PM
Sure. Start with the player detect trigger on the payload disabled. Have the cps send an Add to a Math Counter entity. When the Math Counter reaches a Max value you set you have it send a trigger to the trigger entity on the payload to enable it. At that point you can move it.

But I think you can only have either the CP hud or the Payload hud up per game. I don't know how you'd get around that.

/\rch /\ngel
07-03-2008, 01:50 PM
Thanks. Well I figured about the HUD which wouldn't really be a problem for me. I was just going to keep the CP up that way everyone would know if they were locked that the PL cart is unlocked (it wouldnt be a very long path). Which leads to my next question:


If I can get all the CPs locked, and start the PL timer, would it be possible to have a countdown timer? Say 5 minutes to get the PL cart to its destination, or everything resets? This wasn't part of the plan, but if its doable, it would be a big boost to gameplay IMO