BLU pushkin' the cart, then RED.

TheDesigner

L1: Registered
Sep 22, 2009
31
0
Is there a way for the cart to get pushed by a team and be pushable by the other team alternatively during the same round.

I kinda wanna do a PL Race but with only 1 cart. Thug of war. Something like that.

I've tried to set the trigger_capture_area to allow for both teams, and set both requiring only 1 player to cap, but still, the other team can't cap on the next round.

I've also tried to use "filter_tf_player_can_cap" without success.
I've previously also tried to send an output to the trigger_capture_area to tell it who can cap, didn't do it.

It's like some invisible force has control over my map!

:O
 
Last edited:

TheDesigner

L1: Registered
Sep 22, 2009
31
0
Thanks TPG.

I'm not looking for a traditional way of setting up a map.
The map doesn't reset for round 2 so teams aren't switched.

I'm looking for a way to allow let's say, the RED team to push the cart that BLU was able to push the round before.

It's like a Payload race, but using only 1 cart.
 

Altaco

L420: High Member
Jul 3, 2008
484
120
No, there's a map called pl_waste that's exactly what you want: a tug-of-war payload. Talk to Icarus.
 

TheDesigner

L1: Registered
Sep 22, 2009
31
0
I'd like the cart to be pushable by BLU, then after an event happen, the RED only can push it, all during the same round.
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
Should be as simple as sending two SetTeamCanCap inputs to the trigger_capture_area. One with a parameter of 3 0 (blu, no) and one with 2 1 (red, yes). Then set the obvious "can cap" settings in the entity itself for the starting setup.
 

TheDesigner

L1: Registered
Sep 22, 2009
31
0
Like I said in the OP, I tried all that.
It sure looks simple, that's why I don't understand and am wondering if another entity controls the ownership of the cap trigger. Something I don't have control over.
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
You didn't specifically state those, they should work. The possibility might be that the control point the cap area is targeting is not currently capturable by red.
 

TheDesigner

L1: Registered
Sep 22, 2009
31
0
How can you know which CP the cap area is "aiming at"?
When I try to move the cart as RED, the BLU team already capped all the CPs. They're all theirs.
So if I SetCurrentCP to the cap area it'll be a blu owned CP so it won't work. I tried adding an extra CP, owned by RED by default, SetCurrentCP on it, but it crashes the game.
 
Last edited:

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
It's whatever control point the cap area is linked to in the settings...
The "red previous required point" settings need to be such that the point is currently allowed to be taken by red.