11.4 Play Modes
The soccer simulation is always in a single state, known as a play mode, and various events trigger transitions between different play modes.
Play mode | Description | Conditions |
---|---|---|
BeforeKickOff | Before the match | The ball is at (0,0), the midfield and may not be moved. Players may use their beam effectors. Game time does not progress. This state is only left when a user instructs the simulator to start. |
KickOff_Left | Kick off for the left team | The left team have a period in which to make their first kick. During this time the right team are lot allowed to cross the centre line, or inside the centre circle. The left team may not cross the centre line, unless they are within the goal circle. |
KickOff_Right | Kick off for the right team | The right team have a period in which to make their first kick. During this time the left team are lot allowed to cross the centre line, or inside the centre circle. The right team may not cross the centre line, unless they are within the goal circle. |
PlayOn | Regular gameplay | |
KickIn_Left | Kick in left team | The right team have kicked the ball off the side of the field. The ball is positioned on the sideline at the position it left the field. The right team are not allowed within a fixed radius of the ball, and the left team have a period of time in which to kick the ball back into play. |
KickIn_Right | Kick in right team | The left team have kicked the ball off the side of the field. The ball is positioned on the sideline at the position it left the field. The left team are not allowed within a fixed radius of the ball, and the right team have a period of time in which to kick the ball back into play. |
CORNER_KICK_LEFT | Corner kick left team | |
CORNER_KICK_RIGHT | Corner kick right team | |
GOAL_KICK_LEFT | Goal kick for left team | |
GOAL_KICK_RIGHT | Goal kick for right team | |
OFFSIDE_LEFT | Offside for left team | Currently unused. |
OFFSIDE_RIGHT | Offside for right team | Currently unused. |
GameOver | After the match | Play has finished. Agents may still move about, but no actions will have an effect upon the result of the match. |
Goal_Left | Goal scored by the left team | This state exists for a few moments, before transitioning to KickOff_Right. |
Goal_Right | Goal scored by the right team | This state exists for a few moments, before transitioning to KickOff_Left. |
FREE_KICK_LEFT | Free kick for left team | The right team are not allowed within a fixed radius of the ball, and the left team have free access. PlayOn commences when the left team touches the ball, or if they fail to do so after a fixed period. |
FREE_KICK_RIGHT | Free kick for right team | The left team are not allowed within a fixed radius of the ball, and the right team have free access. PlayOn commences when the right team touches the ball, or if they fail to do so after a fixed period. |
NONE | No or unknown play mode | Agents should never receive this play mode. |