-
-
Notifications
You must be signed in to change notification settings - Fork 23
ADungeonSubLevelScriptActor en
Shun Moriya edited this page Jan 11, 2023
·
1 revision
ADungeonSubLevelScriptActor is the parent class that lets Dungeon Generator read a hand-authored special-room sublevel.
Every level registered in UDungeonSubLevelDatabase should use this parent class so the plugin can read its size and grid information.
- You want a boss room with a fixed design
- You want a hand-authored start room or goal room
- You want to insert occasional special rooms such as hidden rooms
- Create a level for the special room.
- Change the parent class of that level's Level Blueprint to
ADungeonSubLevelScriptActor. - Set
Horizontal SizeandVertical Sizeto match the mainUDungeonGenerateParameter. - Enter
Width,Depth, andHeightas room size in grid counts, not centimeters. - Enable
ShowGridif needed and place meshes so they align with the grid. - Register the level in UDungeonSubLevelDatabase.en.md, then run
Build.
-
Width,Depth, andHeightare grid counts, not centimeters. -
Horizontal SizeandVertical Sizemust matchGridSizeandVerticalGridSizein the main settings. -
BuildinUDungeonSubLevelDatabasereads the size and grid information from this class and copies it into the database.
- Place the sublevel entrance and passage openings assuming the room will later connect to auto-generated rooms.
-
Buildtemporarily loads the level for analysis, so it is safer not to build the level you are actively editing at that moment. - If the grid size does not match,
UDungeonSubLevelDatabasewill report an error duringBuild.
-
UDungeonSubLevelDatabase.en.md
Register this actor as a start room, goal room, or special room. -
LobbyConnection.en.md
See how start-room sublevels differ from preloaded lobby connections.
- Quick Start
- Prepare Mesh Parts
- ADungeonGenerateActor
- ADungeonSubLevelScriptActor
- ADungeonRoomSensorBase
- UDungeonGenerateParameter
- UDungeonMeshSetDatabase
- UDungeonInteriorDatabase
- UDungeonSubLevelDatabase
- UDungeonRoomSensorDatabase
- Generate Minimap Textures
- Apply MissionGraph
- Custom Selector Guide
- Lobby Connection Guide