💾Data Assets (5.5)

Data assets are files containing information like which mesh to use, the scales, transform, etc...

In the demo, they are all placed under MassiveVillage/Data/DataAsset. For example inside the folder Building you can open DA_BuildingPOI_Red and it will look like this.

In this example, you can see in the top right that the data asset is of type PDA_Building. So like the name says, it is for the buildings. You will create (or duplicate) this to create your new list of houses to use and then add it to your new village.

Since 5.5, Massive Village now spawn what I call "Place of Interest" (POI). Those are mostly level instances that PCG can edit on each spawning using a tag system.

Here the multiple types of data assets

  • PDA_BuildingPOI

  • PDA_VillageObject

  • PDA_VillageActor

  • PDA_Vegetation

Note that the data asset can be placed anywhere in your project.

Creating a building data asset

Let's create our first building asset.

  1. Right-click in the content browser

  2. Type data asset

  3. Click on PDA_Building to create a new one

  4. Then name it to fit the building type

You can also duplicate the demo building data asset.

Last updated