Inaccessible parts in dungeon with doors to blackness..

Post here if you need help getting started with Daggerfall Unity or just want to clarify a potential bug. Questions about playing or modding classic Daggerfall should be posted to Community.
Post Reply
ruthan
Posts: 52
Joined: Mon Aug 05, 2019 5:28 pm

Inaccessible parts in dungeon with doors to blackness..

Post by ruthan »

I was experimenting with tcl cheat and find out that one of my generated dungeon Perywyr Laboratory include some strange, throw away parts with enemies spawned inside, there are not connected with the rest of dungeon not even with some teleporter and they include some strange door connected to nothing so will start to fall.

Its probably bug is level generation, they should be deleted.I looked for some command to dumpt, but i dont know what is blockname, so i cant. But im adding some screenshots..
Attachments
Screenshot 2024-04-06 15.20.01-BlackNess.jpg
Screenshot 2024-04-06 15.20.01-BlackNess.jpg (441.84 KiB) Viewed 345 times
Screenshot 2024-04-06 15.26.14-OrphanedDungeonParts.jpg
Screenshot 2024-04-06 15.26.14-OrphanedDungeonParts.jpg (478.28 KiB) Viewed 345 times
It still need a bit qualityOfLife not yet done mods,more 3D models props(in HandmadeMod), 3D enemies not colliding with walls + some alternative Hexen 2 like hack&slash dance mod and it would be a dream. I played Ultima0+, but i know what i want :D

User avatar
Jay_H
Posts: 4072
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Re: Inaccessible parts in dungeon with doors to blackness..

Post by Jay_H »

Those are called "border blocks." You can read more about them here: https://en.uesp.net/wiki/Daggerfall:Dun ... n_Features

ruthan
Posts: 52
Joined: Mon Aug 05, 2019 5:28 pm

Re: Inaccessible parts in dungeon with doors to blackness..

Post by ruthan »

Ok its very strange design instead just some big cube with skybox.

But why spawn enemies in them? Even texture them with anything else than some simple texture?
It still need a bit qualityOfLife not yet done mods,more 3D models props(in HandmadeMod), 3D enemies not colliding with walls + some alternative Hexen 2 like hack&slash dance mod and it would be a dream. I played Ultima0+, but i know what i want :D

mcarss
Posts: 22
Joined: Sun Aug 07, 2016 12:31 pm

Re: Inaccessible parts in dungeon with doors to blackness..

Post by mcarss »

ruthan wrote: Sat Apr 06, 2024 1:29 pm Its probably bug is level generation, they should be deleted.
It's not a bug, it's how the game generates dungeons. It uses large building blocks, which sometimes results in orphan sections that are inaccessible.
ruthan wrote: Sat Apr 06, 2024 9:21 pm But why spawn enemies in them? Even texture them with anything else than some simple texture?
Because in cases where those building blocks are connected, you want enemies to spawn and the correct textures to appear. Sure, it's not an ideal solution, but for a game this large that was released in 1996, it's a minor quibble.

ruthan
Posts: 52
Joined: Mon Aug 05, 2019 5:28 pm

Re: Inaccessible parts in dungeon with doors to blackness..

Post by ruthan »

Make sense to replicate these bugs? Its really strange solution. Other bugs where solved, so why not these..
It still need a bit qualityOfLife not yet done mods,more 3D models props(in HandmadeMod), 3D enemies not colliding with walls + some alternative Hexen 2 like hack&slash dance mod and it would be a dream. I played Ultima0+, but i know what i want :D

User avatar
pango
Posts: 3359
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Inaccessible parts in dungeon with doors to blackness..

Post by pango »

It's not a bug, it's not visible during normal gameplay and has negligible performance impact, if any.
Changing that would require to attach each wall inside border blocks to the side they're reachable from, to be able to filter them at load time; which is not, as far as I know, something stored in the blocks themselves.
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
Interkarma
Posts: 7247
Joined: Sun Mar 22, 2015 1:51 am

Re: Inaccessible parts in dungeon with doors to blackness..

Post by Interkarma »

It's not a bug, this is how Daggerfall's dungeons are constructed. These border blocks are a topological loopback which seal the exterior edges of dungeon from any direction. The connected sides are perfectly accessible play areas from the interior dungeon, which is why they have monster spawn markers. The disconnected sides are not visible during normal play and have no impact on the game.

Ruthan, when you get to peek behind the scenes like this in a video game, what you should experience is curiosity and wonder at how something was created. If you want to take a journey and improve your understanding of all this, here are a few resources to help you get started.

Daggerfall Modelling - view any dungeon layout and double click on block layout to load individual blocks. This should help see how the individual pieces all fit together. You will need XNA 3.1, so note the orange text at bottom of the linked page.
https://www.dfworkshop.net/downloads/da ... modelling/

MAPS.BSA file format - this is the gamedata DFU is building dungeons from. Blocks are laid out as a series of individual tiles in a grid. Here you will find these tiling elements do not have any orientation or regard to connecting side. They are simply laid out on a single plane with offset values.
https://en.uesp.net/wiki/Daggerfall_Mod:MAPS.BSA

BLOCKS.BSA file format - this is how the various 3D models are assembled into each individual block. Unpack this to see how dungeon blocks are laid out as an homogenous set of models. Once assembled, these models form a container with fixed opening positions. The border blocks close off these opening positions from any direction, forming a sealed container.
https://en.uesp.net/wiki/Daggerfall_Mod:BLOCKS.BSA

For extra credit, search around for Dungeon Geomorphs. This is the concept Daggerfalls dungeons are based on, except they operate in 3D space and have connection points at different elevations too. It's incredibly cool to see how this concept was adapted to create a 2D grid of 3D volumes and reusable dungeon parts.

Ham
Posts: 4
Joined: Tue Apr 09, 2024 12:56 am

Re: Inaccessible parts in dungeon with doors to blackness..

Post by Ham »

Interkarma wrote: Thu Apr 11, 2024 9:56 pmThe disconnected sides are not visible during normal play and have no impact on the game.
That's not entirely accurate, I believe the enemies in these spaces can still be heard, especially with acute hearing and in some cases can be close enough to cause resting to give you the enemies nearby popup. Generally not a big deal, and arguably part of the unsettling nature of daggerfalls dungeon delving and not knowing if you've killed everything or are safe at any turn.

User avatar
pango
Posts: 3359
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Inaccessible parts in dungeon with doors to blackness..

Post by pango »

Right, that means you can't rest in most border modules, and if you try you take the risk of increasing "dungeon alert level" and get interrupted in your next sleep.
So it's not totally without consequence, it prevents most of border modules from being "safe places" by default.
A good reason for not fixing that non-bug.
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

Post Reply