Wise
25-02-11, 11:20 PM
1. Find a teleport spell
Go to wowhead.com search for teleport.
Go to the category: Uncategorized spells
Look around for spells there with Effect: Teleport units
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 ingame where you want it to teleport and copy the positions and put in the table.
[See screenshot in attachments.]
The ones circled are the only ones you should put in the table, ignore the rest.
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
Start the server, login and test your new portal.
Go to wowhead.com search for teleport.
Go to the category: Uncategorized spells
Look around for spells there with Effect: Teleport units
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 ingame where you want it to teleport and copy the positions and put in the table.
[See screenshot in attachments.]
The ones circled are the only ones you should put in the table, ignore the rest.
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
Start the server, login and test your new portal.