• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

How to create a dungeon / instance

rup33rt

Enthusiast
How to turn your map into a dungeon/raid

Hey there, in this tutorial I'll be explaining how dungeons/raids work and how you can create your own. (Bosses and scripting is not included, this is only to make your map act like an instance.)

Things Needed:

An actual map. (WDT & ADT files...)
Basic knowledge about editing DBCs and packing MPQs.
DBC Editor (Preferably Taaliis)
MPQEditor

I'm going to assume that you already have a map and that you've made a row for it in Map.dbc. The first thing you'll need to do is to change the AreaType of the map. Simply head into your map.dbc, find the row corresponding to your map and then take a look at column 3.

Change column 3 to any of these depending on what you're after.

0: none
1: party
2: raid
3: pvp
4: arena

Example: I'll be making a basic 5-man dungeon, so I'll set AreaType to 1.
jAwAQl3.png


That's it for Map.dbc. Once you've saved and closed it, locate and open up MapDifficulty.dbc. Make a new row or copy an existing one and edit these values to your liking:

#0 - ID (Unique Identifier)
#1 - MapID (The MapID of your map, in my case 725.)
#2 - Difficulty Flag (0: Normal, 1: Heroic)
#20 - Reset Timer in seconds(This is the duration until the instance is reset, AKA lock-out duration. 86400 = 24 hours etc...)
#21 - Max Players (Basically how many players that are allowed in the instance. 5, 10, 25, 40 etc...)
#22 - StringDifficulty (This should match the amount of players and normal/heroic flag. See table below for more information.)

1 = RAID_DIFFICULTY_40PLAYER
77 = RAID_DIFFICULTY_10PLAYER
102 = RAID_DIFFICULTY_25PLAYER
127 = DUNGEON_DIFFICULTY_5PLAYER
198 = DUNGEON_DIFFICULTY_5PLAYER_HEROIC
232 = RAID_DIFFICULTY_20PLAYER
1327 = RAID_DIFFICULTY_10PLAYER_HEROIC
1359 = RAID_DIFFICULTY_25PLAYER_HEROIC




This is my example of a 5-man dungeon with both normal and heroic difficulty:
RbN03oz.png


That's it for the DBC part. The last thing you need to do is to open up your database and add a row to world.instance_template. (I'm using TrinityCore. I'm not sure how it works with other emulators, but I doubt it's difficult.)

Example query:

INSERT INTO instance_template
VALUES ('725','0','','0');


That's it! Your map should now be a proper dungeon/raid.

If anyone is interested, I'll make an additional tutorial on how to implement your dungeon into the 'Dungeon Finder UI'.

// Björn
 
Last edited:

Vitrex

Moderator
Thanks.
How i understand in almost the same way it's possible to make arena if you skip last steps and add edit the database right to in that way ? :)
Good job !
 

Naizian

Emulation Addict
nice...so in theory, I should be able to make, say, Molten Core a 5 man heroic dungeon? I'm going to try =).
 
Top