-
Notifications
You must be signed in to change notification settings - Fork 4
Levels Data Tables and Actors
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.
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.
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;
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.
As you have read, adding a map it is easy:
- Create a Level;
- Add it to PlayableLevelsDataTableBP and GameplayLevelsDataTableBP;
- 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.
As you have read, adding a map it is easy:
- You need to already have imported and configured a correctly working vehicle;
- Add it to VehiclesDataTable;
- Done! Set it as Vehicle for a round.
//Footer
This documentation describes only a small part of the project, in which you can find the basis about how to navigate and edit it. 🚚
If you would like to know more about a part of the project, how to do something, or if a part of the documentation is not correct/incomplete/out of date, please feel free to open an Issue or a Discussion.
Thank you for reading the Wiki!