Update Quick Main Paths Setup

Raphtalia 2024-07-27 06:32:19 +00:00
parent 3f109c2991
commit e90de76386
1 changed files with 14 additions and 4 deletions

@ -3,17 +3,27 @@ This guide is to quickly setup multiple main paths for your interior. What these
## Setting up DunGenExtender
In the `DunGenExtender` asset, set `MainPathCount` to some value above 1. Set the `MainRoomTilePrefab` to the tile that you want the alternate main paths to start from. Be sure that that tile has multiple doorways.
Activate the ArchetypesOnNormalNodes feature by toggling `AddArchetypesToNormalNodes`. Then add a single element to the list. That element will have an empty `Label` and the `Archetype` list will contain the archetype that you would normally use for the main room.
Activate the Archetypes On Normal Nodes feature by toggling `AddArchetypesToNormalNodes`. Then add a single element to the list. That element will have an empty `Label` and the `Archetype` list will contain the archetype that you would normally use for the main room.
> **Notes:** Usually tiles that spawn from Dungenflow's nodes cannot create branching paths. This is because those tiles cannot have archetypes, which describes how branching paths are created. However with the this Archetypes On Normal Nodes feature, we can allow these nodes to finally branch out.
![](https://i.imgur.com/nIIeUNE.png)
## Setting up DungeonFlow
The `MainRoomTilePrefab` must also exist in some tileset in the `DungeonFlow` node section. That node must needs to also be a normal node. Perhaps a little known fact, nodes can have the same position. They go in order like how you expect, the element first in the list goes first.
> **Notes:** Keep in mind that the alternate main paths will copy all nodes after the normal node that contains the `MainRoomTilePrefab`. And that it will not copy the injection tiles.
![](https://i.imgur.com/W5hNhDG.png)
After all that, multiple main paths should spawn from the main room selected, with branching paths and all, including the main room itself.
After all that, multiple main paths should spawn from the main room selected, with branching paths and all, including the main room itself.
> **Notes:** Usually tiles that spawn from Dungenflow's nodes cannot create branching paths. This is because those tiles cannot have archetypes, which describes how branching paths are created. However with the previously enabled Archetypes On Normal Nodes feature, we can allow these nodes (for the time being only normal nodes) to finally branch out.
## Examples of multiple main pathed interiors
> **Notes:** Keep in mind that the alternate main paths will copy all nodes after the normal node that contains the `MainRoomTilePrefab`. And that it will not copy the injection tiles.
![](https://i.imgur.com/nN5Zz5e.png)
![](https://i.imgur.com/ogrUKAI.png)
![](https://i.imgur.com/IRjMb9V.png)
![](https://i.imgur.com/URTcLNF.png)