Special Cap Doors

SparkyShock

L3: Member
Feb 6, 2016
125
14
I am working on a map where i want it so when red caps, a door opens for blu so they have a new entrance to the point and vice versa. Can anyone teach me how?
 

sooshey

:3c
aa
Jan 7, 2015
514
410
First, put down a logic_relay near your point so that you can find it. The logic_relay is optional but really helps keep your logic under control.
0EdK3HY.png

Next, name it something you can remember easily, for example i'll call mine "relay_capA"
Go to the logic_relay's "Outputs" tab and add a new output to open your door:
0KNsysK.png

Lastly, go to the control point's "Outputs" tab and add an output to trigger the relay:
(Your cap point name, and the team who captures it, will obviously be different)
DmIp6K4.png

Alternately, you can bypass the logic_relay entirely and add an output to open the door directly from the capture point, but if you want your capture point to do multiple things then the logic_relay will help you keep them organized. Just think of it like a baton passing race.
 

Inventorkid

L1: Registered
Oct 12, 2014
23
3
Would this work on koth?

Yes, you'd just have to add another output on the logic_relay that targets another door, and another output on the team_control_point with "my output named" OnCapTeam2, along with OnCapTeam1. That's to make it so it's symmetrical, which a KOTH map should be.