World Management Plugin

Cornfed Games - Code Plugins - Mar 17, 2023

Random level generator for use in a variety of game types

  • Supported Platforms
  • Supported Engine Versions
    4.27, 5.0 - 5.1
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

Procedural level generation system that can create and manage large procedural levels that can be saved and reused later.

The project uses combinations of streaming levels to efficiently create larger, more varied game levels from a small set of template streaming levels.

You can easily control which levels are shown or hidden using a tag system that works similarly to actors in unreal engine.

The project contains serveral actors to show how this plugin can be used to create a wide variety of games.

WorldManagementActor - Base actor that contains the functionality to create and manage randomly generated levels. If you're creating a type of game, where one of the actors below wouldn't useful then you can inherit straight from this actor to avoid the cruft you don't need.

SingleMapTestActor - Useful for creating functional tests, so individual streaming levels can be tested in isolation.

FloorManagementActor - Used to create procedural dungeons, underground bunkers, or skyscrapers.

CityManagementActor - Used to generate entire cities, with parks, and tall buildings etc.

SpaceManagementActor - Shows how we can generate large open worlds, or 3D areas of space with asteroid fields and planets because this system is not limited to creating flat levels.

Technical Details


  • Save and delete functions to manage/reuse previously generated levels.
  • Draw debug shapes to show where streaming levels will be loaded
  • Preview level function to show the generated level in the unreal editor
  • Hide Level function to unload the streaming levels
  • Efficiently manages where streaming levels can be placed by checking the area isn't already occupied before loading the streaming level.

Number of Blueprints: 0

Number of C++ Classes: 19

Network Replicated: (Yes)

Supported Development Platforms: (Windows)

Supported Target Build Platforms: (Windows)


Plugin description

Overview video of how the plugin works

Setup guide for a blank project

Video walkthrough of the blank project setup guide

Example Projects:

Example project

Blank project example project