Referencing a specific dungeon interior of new permanent location

Discuss modding questions and implementation details.
Post Reply
User avatar
haloterm
Posts: 391
Joined: Sat Feb 16, 2019 5:21 am

Referencing a specific dungeon interior of new permanent location

Post by haloterm »

I have a sort of little black out, so I'll ask.

In my BHC mod, I define a few permanent places and add them to the places table. Works very well. I can refer to them in quests just fine.

I now stumbled upon the problem that these are just exteriors - but I also need to check if the player has entered the interior of these exteriors.

For example,

Code: Select all

protected static string[] placesTable =
        {
            "StrongholdWoodsly,     0x28c1, 1, -1",
        };
here I define a specific stronghold a bit south of Arkpath (Phrygias) and add it later,

Code: Select all

questMachine.PlacesTable.AddIntoTable(placesTable);

I use it then in quests like this:

Code: Select all

Place _StrongholdExt_ permanent StrongholdWoodsly
pc at _StrongholdExt_ set _AtStrongholdExt_
So far, so good.

But how do I reference the dungeon interior which is loaded when entering the dungeon of that location?

Can I define interiors in the same way as permanent and then just refer to them? (Like, I dump the interior data to get that ID, convert it to Hex and add it to the places Table)?

User avatar
BadLuckBurt
Posts: 948
Joined: Sun Nov 05, 2017 8:30 pm

Re: Referencing a specific dungeon interior of new permanent location

Post by BadLuckBurt »

haloterm wrote: Fri Sep 09, 2022 9:12 pm But how do I reference the dungeon interior which is loaded when entering the dungeon of that location?

Can I define interiors in the same way as permanent and then just refer to them? (Like, I dump the interior data to get that ID, convert it to Hex and add it to the places Table)?
I'm not sure if it can be done so you'd have to test it but the dungeon's location ID is always the exterior ID + 1 so if you register that, it might work.
DFU on UESP: https://en.uesp.net/w/index.php?title=T ... fall_Unity
DFU Nexus Mods: https://www.nexusmods.com/daggerfallunity
My github repositories with mostly DFU related stuff: https://github.com/BadLuckBurt

.

Post Reply