Skip to main content

Deploying Elements

Deploying Elements is how you place assets, also known as Game Elements, in the All On Board! Table. Here you’ll find information on how to add these to your Deploy Blueprint and how to make them playable in your own mods.

Requisites​

The main tool you will need is Game Setup. Before getting started, make sure you have:

  • Created your mod using the Game Creation Wizard.
  • Created the assets you want to use as Game Elements for your mod.

When you create a mod using the Game Creation Wizard, your Game Set Up will open automatically.

However, if you want to open it later, you can find it in your game's Deploy folder or access it through the toolbar by clicking Game Setup to locate the Blueprint.

Game Setup button in the toolbar

Although the Game Creation Wizard automatically creates one by default, you can always create a new Game Setup if you accidentally deleted the original one.

To create another one, click Create Game Setup.

Create Game Setup option

In the Game Setup window, select the mod you want to create your Game Setup for. The corresponding Deploy Setup Data Table and the Startup Deploy Key will be detected automatically.

The only thing you may need to change is the Blueprint name, if desired.

Game Setup creation window

After this, select Create Game Setup. The new Game Setup Blueprint will open automatically.

Add a Game Element to the table​

First, you have to open the Game Setup Blueprint and select Add Game Element. A list of your created assets will appear, allowing you to choose which one you want to deploy on the table.

Once added, you can position the Game Element and customize its preview settings.

Add Game Element list

After adding your Game Elements and placing them in your desired positions, click Compile to apply the changes to your setup.

Compile button in the Game Setup Blueprint

Fine adjustment​

When you add a Game Element to the Board Game Setup, it is automatically placed at the centre of the table. You then need to move it to your desired position.

To move, rotate, or resize objects in Unreal Engine, you can use the Transform Tools in the viewport.

Transform Tools in the viewport

First, choose the transform tool you want to use. You can use the following keyboard shortcuts or toolbar buttons:

  • Translate (W): Move the object along the X, Y, and Z axes.
  • Rotate (E): Rotate the object around each axis.
  • Scale (R): Change the object's size along each axis.

Next, use the Transform Gizmo that appears on the selected object. Drag the colored arrows to move it, the rotation rings to rotate it, or the handles to change its scale.

When the Grid Snapping toggle is enabled, objects move in fixed increments according to the selected Snap Size. For example, if you select 5, the object will move in increments of 5 Unreal Units.

Grid Snapping and Snap Size settings

Finally, you can click the Grid Snapping toggle to turn it on or off whenever you need. When disabled, you can move objects freely without being restricted to the selected increments.

Grid Snapping toggle

Preview Settings​

Preview section of a game element

In the Preview section of your game element, you will find the following fields:

  • Change Preview Model: If enabled, the viewport displays the selected Preview Model instead of the element's own mesh.
  • Change Preview Material: If enabled, the viewport applies the selected Preview Material to the model instead of using the element's default material.

If you want the element to use the selected preview mesh in-game, click Apply Mesh to Blueprint.

tip

Remember: You can open your game element's Blueprint by clicking Open Blueprint. You can also open its Data Asset to edit the game element's information by clicking Open Data Asset.

Partial Deploy​

Example​

Deploying Game Elements per player​

[Deprecated]​

Deploying elements​

When you create a game using the Game Creation Wizard, a DeployTool Blueprint is automatically created. This is where you can place all the Game Elements used in your game.

You can find it in your game’s Deploy folder.

DeployTool Blueprint in the Deploy folder

Deploy Game Elements on the Table​

Add the Deploy Element Proxy component. It allows a parent actor to automatically spawn one or more child Game Elements during the game's factory creation pipeline.

Adding the Deploy Element Proxy component

Select the Deploy Element Proxy component to view its settings in the Details panel. Rename the component as needed and configure its settings.

In this example, a die is added to the center of the table.

Deploy Element Proxy settings in the Details panel

  • Game Element Name: This field lets you select the Game Element you want to spawn. The dropdown menu displays all Game Elements registered in the GameElementsIndexGeneral Data Table.

    In this example, we select the die Game Element.

Game Element Name dropdown

In the Preview section you have the follows fields:

  • Change Preview Model: If true, the viewport shows the Preview Model you select instead of the element’s own mesh.
  • Change Preview Material: If true, the viewport shows the Preview Material to the model you select instead of the element’s default material.

If you want to the element use in game the preview mesh you choose click on Apply Mesh to Blueprint.

  • Preview Material Override:
  • Preview Team:

Preview options of the Deploy Element Proxy

Deploy Game Elements for Each Player​

-Explain how to have different team space


[deprecated]

There are three main ways to deploy Game Elements. Before using any of them, make sure the element is registered in the Game Element Index Data Table.

Using the Game Setup Data Table​

Use this method for elements that must appear when the game starts.

  1. Open your game’s GameSetupGeneral Data Table.
  2. Add a new row.
  3. In Game Element, enter the name registered in the Game Element Index Data Table.
  4. In Deploy Key, enter StartUp to automatically deploy the element when the game loads.
  5. Configure its position, rotation and scale in Placement Config.

When the game is deployed, the element will spawn automatically. Its transform is relative to the game’s deployment position.

GameSetupGeneral Data Table row with a StartUp Deploy Key

Using Blueprint functions​

Use this method to create elements during gameplay from the player hosting the session.

Get a reference to the Factory Subsystem and call Create Game Element Blueprint. Enter the registered Game Element name and the transform where you want the element to spawn.

Partial Deploys and Deploy Keys​

Partial Deploys allow you to create elements during the game, rather than only when the game loads. To use them:

  1. In the GameSetupGeneral Data Table, assign a custom Deploy Key to each element you want to spawn during a Partial Deploy.

  2. Get the AOB Game Master Subsystem and call Deploy Section with the same Deploy Key.

    Deploy Section call with a Deploy Key

To remove the elements associated with a Deploy Key, call Undeploy Section with that key.

Undeploy Section call

Using Proxy Components​

Use Proxy Components to spawn a Game Element from another Game Element. This is useful when you want to place elements relative to their parent.

For more information about the available types and how to configure them, see Game Element Proxy.

Using TeamSetup​

Use this method for elements that must appear in the player area when the game starts.

  1. Open the TeamSpace Blueprint.
  2. Add a Scene Component and rename it. This name will be used as the Anchor ID, which determines where the game element will spawn.
  3. Configure its position, rotation, and scale in the Transform section.
  4. Open your game’s TeamSetup Data Table.
  5. Add a new row.
  6. In Game Element, enter the name registered in the Game Element Index Data Table.
  7. In Anchor ID, enter the name you assigned to the Scene Component.

When the game is deployed, the element will spawn automatically in each player area. Its transform will be relative to the TeamSpace’s deployment position.