View Full Version : Editar GateKeeper
Hola gente .. tengo este problema:
En un GK me aparecen los lugares para hacer teleport uno seguido del otro.. quiero que aparezcan uno abajo del otro
http://ovm.no-ip.org/L2/Shot00005.JPG
edite el ai.obj y parece todo normal. por ej este npc lo tengo asi:
class gatekeeper_esmeralda : teleporter
property_define_begin
telposlist_begin Position
{"The Town of Giran"; 83458; 148012; -3400; 9400; 3 }
{"Oren Castle Town"; 82956; 53162; -1470; 4900; 4 }
{"Ivory Tower"; 85343; 16267; -3640; 8200; 4 }
{"Hardin’s Private Academy"; 105846; 109762; -3170; 4100; 0 }
{"Aden Castle Town"; 146705; 25840; -2000; 11000; 5 }
telposlist_end
property_define_end
class_end
Donde tengo que editar para que no me aparezca como en el screen?
Gracias!!!
en el html del gate keeper specifico
Tengo estos archivos del NPC
gatekeeper_esmeralda001.htm
<html><head><body>
Gatekeeper Esmeralda:
Many feared monsters lurk around Hunters Village. Teleporting is a great choice for travelers who are tired or in a hurry.
Are you homesick? In a hurry to help a friend in need? Or did you suddenly feel like going to the beach? We can send you anywhere on this vast continent in an instant.
<a action="bypass -h teleport_request">Go to another village.</a>
<a action="bypass -h talk_select">Quest</a></body></html>
gatekeeper_esmeralda003.htm
<html><head><body>
Gatekeeper Esmeralda:
Have you helped others in the past? We follow the will of the gods, therefore we cannot permit your passage through the Gates of Space Time. Spend some time reflecting on your past actions.</body></html>
ya los he mirado enteriormente, igualmente busque en el foro si alguien posteo sobre esto. al menos en la seccion español nadie lo hizo
Probe al editar el ai.obj ponerle entre texto y texto un enter, un codigo de espacio en java (parece java :S) y hasta le di muchos espacios en blanco entre las comillas y nada.... y aveces no me levantaba el server de NPC cuando tocaba mucho el ai.obj.
Facil, solo reemplaza tu ai:
class gatekeeper_esmeralda : teleporter
property_define_begin
telposlist_begin Position
{"The Town of Giran"; 83458; 148012; -3400; 9400; 3 }
{"Oren Castle Town"; 82956; 53162; -1470; 4900; 4 }
{"Ivory Tower"; 85343; 16267; -3640; 8200; 4 }
{"Hardin’s Private Academy"; 105846; 109762; -3170; 4100; 0 }
{"Aden Castle Town"; 146705; 25840; -2000; 11000; 5 }
telposlist_end
property_define_end
class_end
por este metodo:
class gatekeeper_esmeralda : teleporter
property_define_begin
telposlist_begin Position
{"The Town of Giran"; 83458; 148012; -3400; 9400; 3 }
{"
"; 83458; 148012; -3400; 0; 3 }
{"Oren Castle Town"; 82956; 53162; -1470; 4900; 4 }
{"
"; 82956; 53162; -1470; 0; 4 }
{"Ivory Tower"; 85343; 16267; -3640; 8200; 4 }
{"
"; 85343; 16267; -3640; 0; 4 }
{"Hardin’s Private Academy"; 105846; 109762; -3170; 4100; 0 }
{"
"; 105846; 109762; -3170; 0; 0 }
{"Aden Castle Town"; 146705; 25840; -2000; 11000; 5 }
{"
"; 146705; 25840; -2000; 0; 5 }
telposlist_end
property_define_end
class_end
Espero que te sirva
Suerte
Exelente! gracias! asi lo pude arreglar.
hay un par que no andan , pero creo que aparecen como teleport y no como gatekeeper en el ai.obj.
No lo he probado aun, pero supongo que andara.
Gracias por todo
kepler001
04.08.2005, 07:16
una duda
y por ejemplo si deseo poner mas ubicaciones al teleport por ejemplo a mas zonas como lair de antaras=? =?
o una lista completa de ubicaciones? ?
Solo agregas la linea en el AI del npc que correspone, por ejemplo:
{"Hardin’s Private Academy"; 105846; 109762; -3170; 4100; 0 }
donde
{"Nombre de la cuidad"; X; Y; Z; Precio; 0 }