Dir kann geholfen werden
************************************************** ***************************
How to make your own portal
to create your own portal is very easy just follow these steps:
1 decide where you want you're portal to take you
2 when you have decided this go to that place and type .where
3 write down all the information you get
4 make with notepad a new file called gameobjects_custom.scp (make sure you save it like this gameobjects_custom.scp by selecting save as, then save as type: all files) something like that. And place it in the SCRIPTS/EXTRA folder.
5 make with notepad a new file called portals.tcl (make sure you save it like this portals.tcl by selecting save as, then save as type: all files) something like that. And place it in the SCRIPTS/LX folder.
6 in the gameobjects.scp script add the line #include scripts/extra/gameobjects_custom.scp
OK EXAMPLE
i will make a portal that will lead me to Gurubashi Arena PVP Battle Ring
on Gurubashi Arena PVP Battle Ring type .where for the coordinates
i get these:
Quote:
map=0 zone=33 [33] location=2177
x,y,z,h= -13215.157227,275.559784,21.857084,5.944946
now in the gameobjects_custom.scp i will add these lines
Quote:
[gameobj 888025] <----- take a number thats available
flags=040
model=4396
name=Portal to Gurubashi Arena PVP <------ you can use everyname you want
sound1=75
sound2=1
type=2
questscript=GurubashiPVPdestination <----- you will need this in the next step
save the gameobjects_custom.scp
in the portals.tcl we will have to add the following
Quote:
namespace eval GurubashiPVPdestination {
proc QueryQuest { npc player questid } {
Teleport $player map x y z#Gurubashi Arena PVP
}
}
to complete the teleport you need :
map
x
y
z
lets have a look at coordinates again
Quote:
map=0 zone=33 [33] location=2177
x,y,z,h= -13215.157227,275.559784,21.857084,5.944946
map=0
x=-13215.157227
y=275.559784
z=21.857084
i only use 6 digits from every x,y,z coordinate
x=-13215.1|57227 seventh digit its a 5 so the sixth will be 2 so x=-13215.2
y=275.559|784 seventh digit its a 7 so the sixth will be 0 and fifth a 6 so y=275.560
z=21.8570|84 seventh digit its a 8 so the sixth will be 1 so z=21.8571
so the portals.tcl should like this
Quote:
namespace eval GurubashiPVPdestination {
proc QueryQuest { npc player questid } {
Teleport $player 0 -13215.2 275.560 21.8571#Gurubashi Arena PVP
}
}
save the file
ingame press .retcl and .rescp after its done reloading the scripts place the portal by .addgo 888025 and the portal is done thats it
************************************************** ***************************
Credits für den guide gehen an blomski @ gp
Hoffe das hilft dir!
LG seth