Teams Configuration - NEW {{ currentPage ? currentPage.title : "" }}

Teams Configuration

The Team Manager component, which contains the configuration of Teams in ACF, is a component of the GameState. Open your ACF GameState BP to configure it.

The first thing to check is whether you want a team-based combat or a Deathmatch-style (free-for-all) battle.

Afterward, you can configure your TeamsConfiguration Data Asset, which contains the relationships between the various teams.

For each team, you can set the collision channel to be used for the physics assets of the Pawns on that team and define the relationship with all other teams as follows:

  • Friendly: They help each other.

  • Neutral: They are out of the battle.

  • Hostile: Enemies and potential targets for hits/attacks.

The number of teams in ACF is fixed by design to ensure maximum optimization. Every hit in the Collision Manager component will perform a trace exclusively for the collision channels of hostile teams, filtering out unnecessary channels or Pawns that don't have a hostile relationship with the attacking Pawn and significantly reduce collisions CPU costs for the battles.

Changing Teams

To change the Team of a Character simply call AssignTeam function inside your ACFCharacter

{{{ content }}}