Skip to main content

TeamSpace

A TeamSpace is an area designated to a player that manages the scoring and game data of a “Team” within the game. In VR, it gives each player a position at the table, assigns them a team identity, defines their personal area, including the position of player-specific elements such as cards and tokens, and lets the game know which player is sitting where.

When you use the Game Creation Wizard, your game already has a Team Space, which is shared by all players. However, sometimes you may need to have a different Team Space for each player. For example, if your game has different elements in the Player Area for a specific player, you will need to create a new Team Space and assign it to a seat.

This guide explains how to have a different TeamSpace and assign it to a seat.

Step 1 - Prepare the TeamSpace Blueprint​

Prepare the TeamSpace with all the anchors and game elements you want to spawn in each player's Player Area. You can find it in the TeamSpaces folder of your game.

If you don't know what anchors are or how to place elements in a TeamSpace, go to this page: Deploying elements.

For example, if you don't want one of the players to have a Player Plate, you should still include it in the TeamSpace. Similarly, if you want only one player to have a special object, include the anchor for that object in their TeamSpace as well.

This is an example of a TeamSpace where a player does not have a Player Plate but has a Token Bag instead.

Example TeamSpace with a Token Bag

Step 2 - Create the Team Space Game Element Row​

The Team Space Game Element Row is the Data Table where you assign Game Elements to the anchors they will spawn from. It also allows you to choose which elements from the TeamSpace should actually be spawned in the game. If an anchor in the TeamSpace is not referenced in this table, no Game Element will be spawned from it.

You can duplicate the existing Team Space Game Element Row and rename it.

Duplicating the Team Space Game Element Row

If you want to create one from scratch, open the Add window and select Miscellaneous → Data Table. Then, search for TeamSpaceGameElementRow.

Add menu Miscellaneous Data Table option

Searching for the Team Space Game Element Row

Once you have the second data table, open it and fill it.

Filling in the data table

This is an example of how the TeamSpace Data Tables look when a player does not have a Player Plate but has a Token Bag instead.

  • DT_GameID_TeamSetup:

    Team setup data table

  • DT_GameID_TeamSetup_SpecialPlayer:

    Special player team setup data table

Step 3 - Assign to a seat​

The last step is to open your game's GameConfigGeneral Data Asset.

Opening the GameConfigGeneral Data Asset

Search for the TeamSpace section and expand it.

Expanding the TeamSpace section

TeamSpace Game Elements is the TeamSpace that players will use by default. By default, the TeamSpaceGameElementRow created by the Game Creation Wizard is selected.

Each team has an Override TeamSpace Game Elements field where you can assign a TeamSpaceGameElementRow to replace the default one. For example, if you want the player sitting in Seat A to use a different TeamSpace, assign your new TeamSpaceGameElementRow to that field.

Override TeamSpace Game Elements field

Now, when a player selects Seat A, their TeamSpace will have different game elements in the Player Area compared to the other players.

tip

If you want to know more about TeamSpaces go here: TeamSpaces