This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [Question] Adding an instance portal?  (Read 3621 times)

NewGotham

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 14
    • View Profile
[Question] Adding an instance portal?
« on: September 11, 2013, 05:18:31 pm »
For starters, I'm using TrinityCore version 2011-08-20 06:47:35 (080c420).

I've made a custom continent easily enough, I've edited it with Noggit and I've added some buildings (and allow me to say the progress Noggit has made since I started using it back during 2.3 is absolutely amazing). I actually copied Scarlet Monastery and it's sitting on some land. Great, huh?

I've also edited the database to "reactivate" the original, one-instance version of Scarlet Monastery (on map 44 if that helps anyone figure out what I'm talking about). I can .tele to the continent and to the instance but I don't know what DBCs to edit or what database edits to make. Are there any guides out there to tell me how, or can someone fill me in on what I'm supposed to do?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

fearless_wind

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 349
    • View Profile
    • http://modcraft-rus.ucoz.ru
Re: [Question] Adding an instance portal?
« Reply #1 on: September 11, 2013, 06:09:59 pm »
Search for a tut - Dungeon Entry
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

NewGotham

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 14
    • View Profile
Re: [Question] Adding an instance portal?
« Reply #2 on: September 11, 2013, 06:32:25 pm »
Quote from: "fearless_wind"
Search for a tut - Dungeon Entry

I did. That was for ArcEmu and the detail it gave on Trinity (actually, MaNGOS, but same difference) was pretty sketchy. I've edited the Area_Trigger DBC and added two entries for the entry and exit and added the entries into the areatrigger_teleport but... nothing.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

fearless_wind

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 349
    • View Profile
    • http://modcraft-rus.ucoz.ru
Re: [Question] Adding an instance portal?
« Reply #3 on: September 11, 2013, 07:42:17 pm »
I did it on Trinity, try .tele trigger (or smth like that) if it works, it's a problem with cords of portal or with its size.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

NewGotham

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 14
    • View Profile
Re: [Question] Adding an instance portal?
« Reply #4 on: September 11, 2013, 07:51:14 pm »
I know how to get to the location with .tele. That isn't the problem. I've already created and imported the content (both dungeon and continent). They work fine in-game. The problem is adding a portal to get from one to the other so other people don't have to use GM spells. That's why I asked if there was a tutorial to add portals. The tutorial you linked to doesn't explain what any of the DBC contents actually are, what numbering to use or what exactly to edit (aside from areatrigger_teleport in the DB and the area_trigger.dbc).
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

fearless_wind

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 349
    • View Profile
    • http://modcraft-rus.ucoz.ru
Re: [Question] Adding an instance portal?
« Reply #5 on: September 11, 2013, 07:59:09 pm »
Please, give me your skype I'll help you with portals.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

NewGotham

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 14
    • View Profile
Re: [Question] Adding an instance portal?
« Reply #6 on: September 11, 2013, 09:33:10 pm »
Done. If it's any consolation, I've managed to get ONE of the two working and am completely confused by why only one is working.

Edit: The portal going from map 750 to map 44 (custom continent to old Scarlet Monastery) works fine. The portal going from map 44 to map 750 doesn't work at all. I've added the areatrigger.dbc to the client and the server, and I've added the areatrigger_teleport to the database but... nothing.

Anyone got any ideas?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

sakuranobushi

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 16
    • View Profile
Re: [Question] Adding an instance portal?
« Reply #7 on: September 12, 2013, 03:41:35 pm »
I'm having the same problem on two instances. One does not have entrance and the other's exit doesn't work. Those areatriggers are definitely a pain in the ass.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Dracbane

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 105
    • View Profile
Re: [Question] Adding an instance portal?
« Reply #8 on: September 12, 2013, 05:15:45 pm »
Quote from: "NewGotham"
Done. If it's any consolation, I've managed to get ONE of the two working and am completely confused by why only one is working.

Edit: The portal going from map 750 to map 44 (custom continent to old Scarlet Monastery) works fine. The portal going from map 44 to map 750 doesn't work at all. I've added the areatrigger.dbc to the client and the server, and I've added the areatrigger_teleport to the database but... nothing.

Anyone got any ideas?
I have been having the same problem for weeks on my custom Karazhan raid.  I made a custom entrance higher on the tower and I can get the portal from inside the new instance to outside of Kara working fine. But I cannot get the opposite trigger to work.  I even tried moving it to a different location so the coords didnt have to be so perfect and still nothing.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

NewGotham

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 14
    • View Profile
Re: [Question] Adding an instance portal?
« Reply #9 on: September 12, 2013, 05:45:38 pm »
Quote from: "Dracbane"
Quote from: "NewGotham"
Done. If it's any consolation, I've managed to get ONE of the two working and am completely confused by why only one is working.

Edit: The portal going from map 750 to map 44 (custom continent to old Scarlet Monastery) works fine. The portal going from map 44 to map 750 doesn't work at all. I've added the areatrigger.dbc to the client and the server, and I've added the areatrigger_teleport to the database but... nothing.

Anyone got any ideas?
I have been having the same problem for weeks on my custom Karazhan raid.

It isn't a fix for the portals but it's a functioning work-around for them... Teleport NPCs! I've got one at the entry and end of the instance that'll teleport you to just outside the entrance. Best part is, it's not too difficult to add. Project Code

I spoke with fearless_wind yesterday on Skype (thank you, fearless!) and he doesn't know why we're having the problems. I think it's because we're adding portals to custom instances, though. Since they aren't official instances, the server doesn't recognize the Map ID so the portal may be there, it just isn't recognized... I think I phrased that correctly.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

sakuranobushi

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 16
    • View Profile
Re: [Question] Adding an instance portal?
« Reply #10 on: September 12, 2013, 05:59:21 pm »
That's not it because I have an exit portal on a custom map and it works ok. But the entrance portal (located in ironforge) does not work, it's not even detected with debug areatrigger.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

fearless_wind

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 349
    • View Profile
    • http://modcraft-rus.ucoz.ru
Re: [Question] Adding an instance portal?
« Reply #11 on: September 13, 2013, 01:21:17 pm »
So, I've not tried to create instance-to-map portals (only made map-map). But I guess the problem is in the WMO models. Noggit can't export working vmaps for WMOs. So, when you're deep in the WMO (not near the entrance, when the ADT is not rendered at all) the portal doesn't work. I'm too busy now, so, guys, do a simple experiment - Create a map with an instance map (it's in map.dbc) and make a portal there outside the WMO.
Summing up, if there are no problem with something else it will work.
NewGotham, please tell me in skype about your results with that.  :D
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

sakuranobushi

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 16
    • View Profile
Re: [Question] Adding an instance portal?
« Reply #12 on: September 13, 2013, 02:16:23 pm »
Well, my entry portal is in original ironforge and it does not work, so I don't think it's a problem with noggit wmos.
In addition, one of the working ones is on a custom wmo on a custom map and works with and without vmaps, the other one is also custom wmo and custom map, with vmaps and it doesn't work.
Already tried to make a test areatrigger in the ground of the second one, outside the wmo, but it doesn't work.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »