Skip to content

Console Commands

BenPyton edited this page Apr 7, 2024 · 1 revision

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 Variable Arguments Description
pd.Occlusion boolean Enable/disable the plugin's Occlusion Culling system.
pd.Occlusion.Distance integer Change the number of visible rooms from the player's room (1 means only the player's room).
pd.Occlusion.DynamicActors boolean Enable/disable the occlusion of actors with a Room Visibility component attached on them.
pd.Debug.Draw boolean Enable/disable the debug drawings of the rooms and doors.
pd.Debug.Log.OnScreen boolean Enable/disable the on-screen logging of the plugin.
pd.Debug.Log.Duration float Change the on-screen logging duration (in seconds) of the plugin.

Console Commands

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

Console Command Arguments Description
pd.Generate string (optional) Call Generate on Dungeon Generator actors with the name or tag provided, or all if nothing provided.
pd.Unload string (optional) Call Unload on Dungeon Generator actors with the name or tag provided, or all if nothing provided.