ποΈPlace of Interest (POI) π₯
Last updated
Last updated
Starting 5.5 you can now spawn Place of Interest (POI). Those are level assemblies you can build yourself and spawn through the biomes, rivers, and lakes. This new system also comes with a tag generator to facilitate your workflow.
First, go to MassiveShared, right-click on BP_MassiveTags, and Run Editor Utility Widget, this will open the small UI to generate tags
The POI can be created in any scene but I have left an example in Massive/MassiveWorld/Demo/MassiveWorld_Assembly
In this level, the POI is already packed, so we need to break it first.
Once "broken" you can see all the static meshes added inside that level and can modify them again.
The logic is simple, you add some tags on every static mesh, and depending on the tag added PCG will spawn them with a certain logic.
For example, you probably want the trees to be at the landscape level and want a random Z rotation. To do this you just need to select the trees, and click on the two buttons "Project To Landscape" and "Rotate Z only". This will add the required tags for PCG.
When you are ready to pack again, you can create a level instance like this. I tend to use the center min Z for the pivot type but feel free to experiment.
And finally, you need to create a PCG data level by right-clicking on the newly created scene.
And this makes it ready to be added inside the biome!
You can still update the level instance after but don't forget to repack the PCG asset to update its content.
This example is simple and made with trees, but it could also be used for anything. For example, you can spawn a small log cabin as a Place of Interest (POI), have the wood logs snap to the ground, some progs to spawn 50% of the time, etc. This feature will be shared among Massive World and Village.