Is it possible to modify game rules and, if so, how?

Neal Kenneth

L1: Registered
Sep 20, 2015
16
2
I might as well lay out exactly what I want to do since it is so specific.

On a 5CP map, capping mid opens the next point, but it is still possible for the other team to capture mid back from your team. Would it be possible to modify this, so that capping mid locks it temporarily? So that the only open objective is the next point?

I've been looking at maps in Hammer as well as the capture point pages on the DeveloperWiki and I can't figure out where to start.
 

Sweepertank

L2: Junior Member
Oct 4, 2014
51
155
I haven't tested this, but you should be able to target your team_control_point at mid with the following output from the capture trigger:

OnEndCap mid_control_point_name SetLocked, with a parameter override of 1.

To unlock the control point after a certain amount of time:

OnEndCap mid_control_point_name SetLocked, with a parameter override of 0, with a delay of however long you want the point to be locked before unlocking again.