Decorate the corridors
Last updated
Last updated
The corridors and rooms are different. To give you the big picture, the corridors take their style and decorations globally from the main dungeon. But the room can all have their style and overrides.
Everything is done in the same database object we used so far (PDA_Dungeon)
The Type is important, you can choose between a Static Mesh, a Blueprint, or a Level Instance. In this case, I chose to spawn a level instance for the statues, which is an assembly or statue and a few props. You can see inside the scene L_LevelInstanceBuilder what it looks like. Level instances are interesting because you can assemble multiple static meshes together and add some randomization in it, for example, every statue has a 50% chance to have a head.
Rotation Type gives you some fixed rotation choices. One example is if you want to clamp a table to always be 90-degree or 45-degree rotation.
The rest of the settings are transform randomization, those are mostly self-explanatory. One important note is that the rotation min/max is calculated after the rotation type.
You can visualize the sockets in the room by setting the debug mode on the dungeon to true.