Ir para conteúdo
  • Cadastre-se

Como editar e criar seus próprios teleports.


Kelvin

Posts recomendados

  • L2JBr ADM

Caminho: Gameserver/data/npc

Na Lucera todos os dados pertencentes a um NPC (teleports, drops, skills, status, aparência etc) estão atrelados ao seu código XML.

Então vamos usar o npc da xml 30000-30099.xml de ID 30006 a GK Roxxy

O conteúdo está oculto, favor efetuar login ou se cadastrar!

<teleportlist> Início do tag do teleporter
<sublist id = "1"> ID da sub lista que é usada na caixa de diálogo para mostrar os teleports em 1 pagina.
<target loc="-80684 149770 -3040" item_id="57" price="9400" name="Gatekeeper.TheVillageofGludin"/>
<target loc="9744 15645 -4568" item_id="57" price="24000" name="Gatekeeper.DarkElvenVillage"/>
<target loc="115120 -178224 -880" item_id="57" price="46000" name="Gatekeeper.DwarvenVillage"/>
<target loc="46951 51550 -2976" item_id="57" price="23000" name="Gatekeeper.ElvenVillage"/>
<target loc="-45158 -112583 -240" item_id="57" price="35000" name="Gatekeeper.OrcVillage"/>
<target loc="-112367 234703 -3668" item_id="57" price="830" name="Gatekeeper.ElvenRuins"/>
<target loc="-111728 244330 -3448" item_id="57" price="770" name="Gatekeeper.SingingWaterfall"/>
<target loc="-106696 214691 -3424" item_id="57" price="1000" name="Gatekeeper.WesternTerritoryofTalkingIsland"/>
<target loc="-99586 237637 -3568" item_id="57" price="470" name="Gatekeeper.ObeliskofVictory"/>
</sublist>
<sublist id = "2"> ID da sub lista que é usada na caixa de diálogo para mostrar os teleports em 1 pagina.
<target loc = "- 87328 142266 -3640" item_id = "57" price = "1000" name = "Gatekeeper.GludinArena" />
<target loc = "73579 142709 -3768" item_id = "57" price = "1000" name = "Gatekeeper.GiranArena" />
<target loc = "49315 248452 -5960" item_id = "57" price = "1000" name = "Gatekeeper.ElvenRuins" />
<target loc = "146440 46723 -3432" item_id = "57" preço = "1000" name = "Gatekeeper.Coliseum" />
</ sublist>
<sublist id = "3"> ID da sub lista que é usada na caixa de diálogo para mostrar os teleports em 1 pagina.
<target loc = "- 87328 142266 -3640" price = "1" item_id = "6651" name = "Gatekeeper.GludinArena" />
<target loc = "73579 142709 -3768" price = "1" item_id = "6651" name = "Gatekeeper.GiranArena" />
<target loc = "49315 248452 -5960" price = "1" item_id = "6651" nome = "Gatekeeper.ElvenRuins" />
<target loc = "146440 46723 -3432" price = "1" item_id = "6651" name = "Gatekeeper.Coliseum" />
</sublist>
</teleportlist> Fim da tag do teleporter

Parâmetros:

<sublist id = "1"> - list id
<target
loc = "São as coordenadas X Y Z você consegue usando /loc"
price = "Quantidade de itens"
item_id = "ID do Item que sera cobrtado"

name = "Gatekeeper.GludinArena - a string que tem alguns dados especiais, você pode ver mais na pasta /strings "/>

 

Agora vamos procurar o Dialogo da Roxy, o caminho é: 

gameserver\data\html-en\teleporter

O conteúdo está oculto, favor efetuar login ou se cadastrar!

Para usar teleportes personalizados sem editar os NPCs, você pode adicioná-los diretamente ao HTML:

1. Exemplo de teleport grátis
[scripts_Util:Gatekeeper X Y Z Heading|Teleport Name]
[scripts_Util:Gatekeeper -61288 -57736 -1600 0|Move to Top of the Clock Tower.]

2. Exemplo de teleport que remove item, é colocada a quantidade e o ID (1 1658)
[scripts_Util:QuestGatekeeper X Y Z ItemCount ItemID|Teleport Name]
[scripts_Util:QuestGatekeeper -80684 149770 -3040 1 1658|Teleport using Gatekeeper's Amulet.]

 

Meu na chupeta.

Link para o comentário
Compartilhar em outros sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Processando...




×
×
  • Criar Novo...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.