A Realm within a Dungeon?

Discovered by misterkalu, tested by Onibushi

You can use a "town" as a dungeon level. It's still a "beta" feature though, as it has some bugs. Don't say we didn't warn you!

0

Ok, after testing a bit I found out the following:

0

  • Shadows are messed. They move along your character (just like in dungeons through your character's light radius)

0

  • There won't be monsters there. However, if you take quests to kill any, they will be randomly located in the town. If the town area is too small, quests may be bugged. In this case, I got a quest to kill 7 Death Caps. In the dungeon (town?), there were 6 only. I spawned an extra Death Cap through the cheat console and, surprisingly, the quest was finished after killing it. I also took an escort quest (escort into level 3) and it worked. Once I entered level 3 the quest was finished. I guess it's the same with the escort-out quest type.

0

  • Merchants still drop their inventories if killed.

0

0

  • NPCs were duplicated when I exit and entered again. This only affected merchants though; questgivers are never duplicated. Each time I re-enter an extra copy was added.

0

  • Town portals work as intended. They get you out of the dungeon and can be set anywhere in the level, just like in regular dungeons.

Some additional info:

-Completed quests can be delivered to either the original NPC or dungeon doppelganger.
-Items can be sold and purchased without problems.
-Just like in any dungeon level, and unlike regular towns, dropped items will remain in the ground.
-Town music is muted. Dungeon music is played instead.
-Town collision works.
-There is no dungeon fog.
-There are no stairs. This can be changed if we use a custom town, but down-stairs only. There is no way to go up.

How to do it

The most important part. All you have to do is add an extra <ID>, <NAME>, <LEVEL> and <ROOTDIR> codes:

<ID>:10
<NAME>:Ekbatan
<LEVEL>:0:REALMS\Ekbatan\TOWN\ekbatan.SCN:REALMS\Ekbatan\TOWN\ekbatan.COL
<ROOTDIR>:REALMS\Ekbatan<MONSTERRATIO>:200
<TOWNREALM>:10
<TOWN_AMBIENCE>:SOUNDS\AMBIENT\bazaar_hubbub.ogg
<TOWN_MUSIC>:MUSIC\town1.ogg
<DIFFICULTY_BUMP>:100

<ID>:10
<NAME>:Ekbatan
<LEVEL>:3:REALMS\Ekbatan\TOWN\ekbatan.SCN:REALMS\Ekbatan\TOWN\ekbatan.COL
<ROOTDIR>:REALMS\Ekbatan
This way the 3rd dungeon level (as specified in the <LEVEL> line) was replaced by a copy of Ekbatan. I guess this can be done with any level (1, 2, 3, 120, etc).

Using the townrealm code is necesary for travel into identicals towns but with different ID, especially useful if you want to make a dynamic story.

Shrine quests, herdling quests and find item quests do work, but sometimes they spawn out of range. Re-entering the game didn't fix it.

0

0

0

You can have more than 3 custom levels (I tested 6) however, the more custom levels the more laggy the game turns. Also having too many NPCs in town will contribute to it.

Changing the <NAME> or <ID> didn't change anything. It's still the same "realm" and dungeon level.

Taking quests for the same level you are in will work if you exit and re-enter. I'm pretty sure this doesn't happen on regular dungeons.

Seems that <RARITY> has an important role if the town area is small. A rarity of 400 or higher will not spawn the boss, even if you exit and re-enter. A rarity of 1 will likely spawn it. However, location is random, so if you create a sort of throne or boss chamber the boss will appear anywhere in the room and not specifically where you want.

I added a helper point to see if the game merged both the town monster and the quest monster, but it didn't. Both "bosses" spawned:

0

When I killed the coded one (as merchant in the max file) the quest was completed! That's because I put a <FORCE_BASENAME>:1 line in the quest with the same refid as the merchant.

Just like other merchants, the boss was duplicated after re-entering the game. Some additional attempts ended my game with an insane amount of drop!

0

Dungeonentrance didn't work. This message popped up:

0

This may work for a boss chamber, since most of quests are bugged. The best use I see for this is a waypoint to enter other realms/dungeons, and have some unique questgivers/realmquestgivers to take quests from, but just that.

Edit

Pub: 13 Jun 2023 22:52 UTC

Views: 110