Skip to content

Levels Data Tables and Actors

Michele edited this page May 9, 2023 · 3 revisions

Gameplay data

List of possible levels

In the MainMenu you can see a dropdown which let you pick a map between a few choices. This list is loaded from PlayableLevelsDataTableBP, which contains the name of the Map to display and the reference to the Level to load.

Image of the level list data table

Gameplay Structure

Level configuration

The main settings for a Level are inside GameplayLevelsDataTableBP. This Data Table search a Row by LevelName when a Level is loaded.

It contains the reference to the level Data Table to use, some tags such as the vehicles idle spawn point, the UI to use for the rounds and other things.

Level configuration data table

Level Gameplay Data Table

The Level Gameplay Data Table is the one that contains all the rounds of a map.

Every round contains:

  • The row name is just an unused ID;
  • The VehicleID of the vehicle to use in that round;
  • The vehicle display name in case we want to write something different in the UI, such as "Luxury Suv" instead of displaying the key "SuvLuxury";
  • The tag of the spawn point actor of the round;
  • The tag of the finish trigger of the round;

Level gameplay data table

List of possible vehicles

The list of possible vehicles to use in the Gameplay Data Table is the VehiclesDataTable, which contains just the Vehicle Key and the reference to the VehicleBP to spawn and use.

Image of the vehicle list data table

Adding/Editing a map

As you have read, adding a map it is easy:

  1. Create a Level;
  2. Add it to PlayableLevelsDataTableBP and GameplayLevelsDataTableBP;
  3. Create its configuration.

If you want to edit a map already present, you just need to change its level configuration data table, for example you can have a Sedan for every round.

The Test Replay Level is the best example about how to create a simple level as it is a small map.

Adding a Vehicle

As you have read, adding a map it is easy:

  1. You need to already have imported and configured a correctly working vehicle;
  2. Add it to VehiclesDataTable;
  3. Done! Set it as Vehicle for a round.