Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Serverside Modding => Topic started by: Soldan on April 14, 2012, 01:09:12 am
-
Hey guys.
I had the idea of making a zone that you can only enter via a Portal if you have a certain item in your inventory.
I know it's possible, I'm just not sure if it's a column in the map.dbc file..
I have my custom map (5010) called the Abyssal Isle, and it's part of a Quest Chain... I know ithere are easier ways of doing it, like, only being able to be teleported after competing a quest (Having the teleport in a quest chain, ofc).
But what I really want is to make it quite profesional, and have it so that you can only enter that map with said item...
If anyone has any knowledge on the subject, and decides to share it...
I will love you forever <3
Soldan
-
There is not an entry in the client files for this function. However, (this depends on your database) find 'worldmap_info' and find the column 'required_item' and stick the itemID there. You can also make it possible that a certain quest is required as well. I haven't tested it, but it should work.
-
Aha! I love you so much.
That must be ArcEmu though. I found it in trinity db -> Access_Requirement
"Mapid....difficulty... level_min..level_max...item...item2...quest_done"
etc etc
Ty man!
-
You can also modify the portal to cast the spell only if you have the item. This way players can get ther other ways but to use the portal you need the item.