1. Hey there Guest,

    The game servers have moved to semi-dedicated hardware and IPs have changed. Please see front page server widget for up-to-date game server information.

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

Discussion in 'Mapping Questions & Discussion' started by Neal Kenneth, Mar 9, 2018.

  1. Neal Kenneth

    Neal Kenneth L1: Registered

    Messages:
    16
    Positive Ratings:
    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.
     
  2. Sweepertank

    aa Sweepertank

    Messages:
    41
    Positive Ratings:
    147
    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.
     
  3. Neal Kenneth

    Neal Kenneth L1: Registered

    Messages:
    16
    Positive Ratings:
    2
    I think this is going to work! Thank you so much, I will let you know how it goes :)