Skip to content

4_2_Generate level as a room

Shun Moriya edited this page Sep 27, 2024 · 1 revision

Editing.

Sub-level loading is a beta feature. The basic algorithm is ready, but we would like to reflect the opinions of designers on how to have the parameters.

This system is a beta version to incorporate the opinions of designers and artists. Specifications are subject to change without notice. We are looking for advice from designers and artists. Please fill out the discussion.


Overview

The dungeon generator generates the levels created by the designer in advance as rooms.

Procedure

  • Create a new level
  • Set up a Level Blueprint
    • Open Level Blueprint
    • Switch to Class Settings
    • Switch parent class from LevelScriptActor to `DungeonSubLevelScriptActor
    • Switch to class defaults
    • Set the Grid Size,Width,Depth,Height to the level you created.
  • Register the level in the Sublevel Database
  • Draw lots when generating dungeons
Clone this wiki locally