Trigger goal

This is a brush-based entity which controls scoring in the game. Whenever the ball enters the goal and either the last player to touch it or the player currently carrying it is the opposite of the Team ID field, a goal will be scored. Players cannot directly score against their own team. There are various fields to change exactly what happens when a goal is scored, outputs which are fired for various events, and inputs to change the behavior of the goal. As it is a trigger volume, make sure every surface of the brush is covered with the toolstrigger texture.

Set the Team ID for the team that is DEFENDING that goal. If Team ID is set to Home, the Home team is defending it and the Away team is trying to score on it.

Note that runs are scored when the center of the player model enters the brush, but shots are scored whenever the ball's hitbox touches the brush in any way. It is therefore possible for a shot to be scored through a wall if it's thin enough! Make your trigger_goal brush slightly smaller than the actual goal or make the walls thicker to avoid this.

Set Push Direction and Speed of Push to make players get shoved out of the goal if they stand in it.