User Tag List

Results 1 to 3 of 3

Thread: How to create a dungeon / instance

  1. #1
    Enthusiast
    Join Date
    Apr 2014
    Posts
    11
    XP
    2,259
    Level
    13
    Thanks
    0
    Thanked 38 Times in 6 Posts

    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.


    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:


    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 by rup33rt; 06-07-2014 at 03:02 AM.
    Achievements:
    1 year registered Level X

  2. The Following 10 Users Say Thank You to rup33rt For This Useful Post:


  3. #2
    Moderator <span style='color: #FF1493'><span class='glow_000000'>Vitrex</span></span>'s Avatar

    Join Date
    Sep 2013
    Location
    Vilnius , Lithuania
    Posts
    1,049
    XP
    1,000,659
    Level
    174
    Thanks
    283
    Thanked 137 Times in 97 Posts
    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 !
    Achievements:
    Shopper Got a Sticky! 1 year registered Member Level XL Level C Referrer
    Awards:
    Raffle Winner Donator Member of Staff Pot Head
    I won't create anything for you, i can only guide you to right direction.
    Don't forget to read rules before posting.
    Forum Rules
    Need and assistance with your issue? use this section to ask for assistance !
    -----
    My Portfolio
    Wanna learn PHP ? check out my One-Page project


  4. #3
    Emulation Addict
    Join Date
    Nov 2014
    Posts
    2
    XP
    1,256
    Level
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts
    nice...so in theory, I should be able to make, say, Molten Core a 5 man heroic dungeon? I'm going to try =).

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •