Level configurator

Level Configurations are a way for you to add configuration data globally to your main level. The defined configuration UI will show up in your actor menu after being placed.

Create a configurator dataset

  1. In your project's content browser, right click and go to Odyssey -> Odyssey Configurator Dataset

  2. Find the OdysseyConfiguratorRegistryActor instance in your main level (added in Quickstart). In the Details panel, under Odyssey -> Configurator Dataset, add your Configurator Dataset asset.

  3. You can now start adding level configurations to your dataset

Create a configuration property

  1. Open your Configurator Dataset asset.

  2. Add a Configurator key to the Dataset using the Add button:

  3. Fill your configuration data in your newly created row. Each configuration needs a Display Name, Type, and a Default Value.

Add configuration logic

The following blueprint setup is done within a level blueprint for clarity, but you can use any blueprint class.

  1. Inside your level blueprint, on BeginPlay, grab reference to the OdysseyConfiguratorWorldSubsystem:

  1. Off of the new Configurator node, create a Register State Changes Listener and connect it to your Event BeginPlay:

  1. Create an event delegate binding by dragging out from the On Event Delegate pin. Select 'Add Custom Event' when prompted.

  2. rom this point you can follow the guide Configurator blueprint API to learn how to set up events and hooks from your configurator properties.

Last updated