================================================== =========================================
Portals guide for MaNGOS based servers!!
1. Find a teleport spell
First of all you must find a spells that can teleport you to any location.
Some example spells you can use:
29216
20618
20682
34673
There are alot more you can use, just look around.
2. Make the spell teleport you where you want
Go to the table: spell_target_position
Create a new row with ID the same as the spell ID
Do .gps(.tele add when look to Game_tele table) ingame where you want it to teleport and copy the positions and put in the table. Otherwise use ".tele add" command and simply copy the created gps from the game_tele table. Its easier for broken keyboards.
3. Create the gameobject
Go to gameobject_template
Create a new gameobject
The only thing you need to edit in the gameobject_template is:
entry, type, displayID, name, data0
entry Use an ID like 333333, 666666 to make sure it doesn't exist already.
type: must be 22 otherwise it wont work.
displayID: It is how the portal should look like. 7146 is a good ID for that.
Name: Name for the portal (will display when you mouseover the object) Example: Portal to GM Island
data0: The SPELL ID that you put in the spell_target_position table
NOTE: If you wish to lock the portal just type in data1,3,4,5 " 1 " and it will lock the portal. Same for unlocking existing portal.
Start the server, login and test your new portal.
================================================== ======================================
Enjoy![]()



LinkBack URL
About LinkBacks



Reply With Quote



Bookmarks