PDA

View Full Version : CUSTOM TELEPORT QUESTS (TRINITY / HeidiSQL)



Cathedral
10-10-12, 04:18 AM
This guide is based on creature/NPC quests, player port only


HeidiSQL

quest_template
quest_start_scripts
creature_questrelation
creature_involvedrelation
game_tele (optional)



quest_template

entry = "your custom quest #" (choose # not in use)
method = 2
title= (choose title for your quest)
startscript = "your custom quest #"

I have only added the basics, you may add quest details, rewards and restrictions as you want.



quest_start_scripts

id = "your custom quest #"
command = 6
datalong =Target Map ID.
x: Teleport target x coordinate.
y: Teleport target y coordinate.
z: Teleport target z coordinate.
o: Teleport target orientation.

you can find major port info HeidiSQL "game_tele" or
in game by using ".gps"




creature_questrelation
This is your quest NPC starter

id = npc/creature "entry" # (creature_template)
quest = "your custom quest #"

You may create a custom quest giver or add quest to existing quest giver




creature_involvedrelation
This is your quest NPC finisher

id = npc/creature "entry" # (creature_template)
quest = "your custom quest #"

You may create a custom quest finisher or add quest to existing quest finisher