Skip to main content

Console Commands

The plugin adds several console commands to control some plugin's settings and add some debug functions.

Console Variables

All console variables begins with pd (for procedural dungeon), then continue with categories (e.g. Occlusion or Debug), then sub-categories, etc. and finally the variable.

Here a list of all console variables added by the plugin:

Console VariableArgumentsDescription
pd.OcclusionbooleanEnable/disable the plugin's room culling system.
pd.Occlusion.DistanceintegerChange the number of visible rooms from the player's room (1 means only the player's room).
pd.Occlusion.DynamicActorsbooleanEnable/disable the occlusion of actors with a Room Visibility component attached on them.
pd.Debug.DrawbooleanEnable/disable the debug drawings of the rooms and doors.
pd.Debug.Log.OnScreenbooleanEnable/disable the on-screen logging of the plugin.
pd.Debug.Log.DurationfloatChange the on-screen logging duration (in seconds) of the plugin.

Console Commands

Here a list of all console commands added by the plugin:

Console CommandArgumentsDescription
pd.Generatestring (optional)Call Generate on Dungeon Generator actors with the name or tag provided, or all if nothing provided.
pd.Unloadstring (optional)Call Unload on Dungeon Generator actors with the name or tag provided, or all if nothing provided.