1️⃣

“Every match in Chaos Goal follows a carefully controlled sequence. From the moment the gameplay map loads until the final Victory Sequence begins, each stage is managed to keep every connected player synchronized.”

The Match Flow system controls the complete lifecycle of a Chaos Goal match.

It determines when players are allowed to move, when the ball can spawn, how goals are processed, when replays begin, and what happens once the match timer reaches zero.

Understanding this sequence is important because nearly every gameplay system connects to one of the stages described in this chapter.

Match Lifecycle

Gameplay Map Loads ↓ Match Initialization ↓ Players Are Positioned ↓ Ready / Go Countdown ↓ Ball Spawns ↓ Active Gameplay ↓ Goal Scored ↓ Gameplay Is Paused ↓ Goal Replay ↓ Players Reset ↓ Ready / Go Countdown ↓ Ball Spawns Again ↓ Match Continues ↓ Match Timer Reaches Zero ↓ Winner Is Determined ↓ Victory Sequence

1. Gameplay Map Initialization

When the gameplay map loads, the server begins preparing the match.

During this stage, Chaos Goal initializes the gameplay framework, retrieves the configured match values, identifies the connected players, and prepares the systems required for the match.

Players should not be able to begin normal gameplay during this initialization period.

Main responsibilities

Initialize the Match Framework.

Load the configured Match Duration.

Prepare the team spawn locations.

Reset the team scores.

Prepare the match timer.

Prevent players from acting before the match begins.

Prepare the first ball spawn.

2. Player Positioning