From aa789c45109af5d36dd742812298f52f5255177f Mon Sep 17 00:00:00 2001 From: Raphtalia Date: Tue, 20 Aug 2024 16:49:44 +0000 Subject: [PATCH] Update Quick Main Paths Setup --- Quick-Main-Paths-Setup.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Quick-Main-Paths-Setup.md b/Quick-Main-Paths-Setup.md index 238cf35..fc6daa5 100644 --- a/Quick-Main-Paths-Setup.md +++ b/Quick-Main-Paths-Setup.md @@ -45,11 +45,13 @@ The starting index is the first node whose position is greater than the `MainRoo > **:warning: WARNING: :warning:** This behaviour is perfectly safe to use **IF** the node's positions are no where near the `MainRoomTilePrefab's` predicated depth or you don't use nodes besides the start and end node. This behaviour is not safe to use and can lead to funky and broken dungeon generations **IF** the node's position are near the `MainRoomTilePrefab's` depth. In these situations, I recommend using `Copy From Node List` instead. -![](https://i.imgur.com/sRnNw7I.png) +| Main Path Length 10 (Good) | Main Path Length 5 (Scary) | +|---|---| +| ![](https://i.imgur.com/uG7RgWs.png) | ![](https://i.imgur.com/hxzikww.png) | -As you can see from the picture above, the `0.15` node tile is replicated onto the alternate main path as it's the first node whose position is greater than the `MainRoomTilePrefab's` depth of `0.1`. +In the picture to the left, the `0.15` node tile is the first node replicated onto the alternate main path as it's the first node whose position is greater than the `MainRoomTilePrefab's` depth of `0.1`. -If the main path's length was instead 5, then the first tile after the start tile would have a depth of `0.2`. This would lead to the node tile generating first before the `MainRoomTilePrefab`. As such, the node will not be replicated for the alternate main path. More scary, since the start tile doesn't follow with the `MainRoomTilePrefab`, the dungeon generation may completely break both code-wise and/or visual-wise. See the Copy From Node List section below for how you could address this. +In the picture to the right, you can see the dangers if the node's positions are near the `MainRoomTilePrefab's` depth. Since the main path's length is 5, the first tile after the start tile would have a depth of `0.2`. This would lead to the node tile generating first before the `MainRoomTilePrefab`. As such, the `0.15` node will not be replicated for the alternate main path. More scary, since the start tile doesn't follow with the `MainRoomTilePrefab`, the dungeon generation may completely break both code-wise and/or visual-wise. See the Copy From Node List section below for how you could address this. ### Copy From Node List