PDA

View Full Version : How To Create Custom Portals! (For Newbs)



Easymode
23-12-08, 02:29 AM
Hello, Here to show how to create Custom portals for noobs!

Step 1 :
- This step, we will be updating the teleport_coords in the DB.

Open Navicat, Go onto you're server, in world db, click on Teleport_coords
Column.
You will see tables like this :

ID
These are they ID's of the teleports, Hit alt + f
and serch Duskwood.

Name
This is the name of the port, rename what you want it to be.

Mapid
Here is were you enter the id of there the portal tele you too
Do .gps ingame, where you want your Coord's to be, i will use "547"

X
This is the X coordinate "North and South"

Y
This is the Y coordinate "East and West".

Z
This is the Z coordinate "Or height"
If you are not sure, round it off upa number or too

TOTRIGGER
You can leave this one at 0


Steph 2:
- In this step, we will make the gameobject

Open gameobject_names coloum
And it should look something like this

ENTRY
this can be any number you want, make sure it's not already used, like 666123 should work

TYPE
This is what kind of type the gameobject is, beacause you're making a portal, use "22" Witch is Portal

DisplayID
This is the display/look of the port, pick one:
4393 = Darnassus
4396 = Stormwind
4394 = Ironforge
4398 = Undercity
4395 = Orgrimmar
4397 = Thunder Bluff
6956 = Silvermoon

SPELLFOCUS
Don't forget this field! this is what directs you're port to the teleport_coords
You need to put the spellfocus id as the Entry/id that you made you're port in teleport_coords


Leave the resk Defaulf
Then, once done, go in-game .reload teleport_coords
.reload gameobject_names

then restart the server

once it's restarted, .go spawn (id you made for gobject of port)


There you all go!

Hope you enjoy!

Banidictor
30-12-08, 10:08 PM
nice but could u release a guide on scripting a teleporter in lua?