Ir para conteúdo

Onde Eu Coloco Npc Dps De Criar?


Akatsukyi

Posts Recomendados

por exemplo esse npc

 

o visual

 

 

<npc name="Bonifacius" script="data/npc/scripts/default.lua" walkinterval="25" floorchange="0" access="5" level="1" maglevel="1">

<health now="150" max="150"/>

<look type="128" head="97" body="100" legs="115" feet="114" corpse="2212"/>

</npc>

 

 

e o npc

 

<?xml version="1.0" encoding="UTF-8"?>

<npc name="Bonifacius" script="data/npc/scripts/default.lua" walkinterval="25" floorchange="0" access="5" level="1" maglevel="1">

<health now="150" max="150"/>

<look type="128" head="97" body="100" legs="115" feet="114" corpse="2212"/>

 

<parameters>

<parameter key="module_shop" value="1"/>

<parameter key="shop_buyable" value="banana,2676,2;grapes,2681,3;melon,2682,8;orange,2675,5;pumpkin,2683,10;chees

e,2696,5;egg,2695,2;cookie,2678,2;meat,2266,5"/>

<parameter key="message_greet" value="What you doing soldier ? Take your weapon and go war!"/>

<parameter key="message_walkaway" value="Hey Hey, where you go ?"/>

<parameter key="message_farewell" value="Bye bye brave soldier. Remember, peoples without head, don't transform in undeads."/>

<parameter key="message_alreadyfocused" value="You are drunked ? You talk really talk to me ?"/>

</parameters>

</npc>

 

 

e agr ? eu faço isso e coloco onde?

eu tenho que criar um arquivo com o nome do npc e colocar em data/npc?

Link para o comentário
Compartilhar em outros sites

manow e facil olha esse \/ ae vc vai em data/npcs e cria um bloco de nota e coloca isso dentro

 

<npc name="Bonifacius" script="data/npc/scripts/default.lua" walkinterval="25" floorchange="0" access="5" level="1" maglevel="1">

<health now="150" max="150"/>

<look type="128" head="97" body="100" legs="115" feet="114" corpse="2212"/>

</npc>

 

AGORA ESSE vc vai data/npc/scripter e cria um bloco de notas e cola isso dentro

 

<?xml version="1.0" encoding="UTF-8"?>

<npc name="Bonifacius" script="data/npc/scripts/default.lua" walkinterval="25" floorchange="0" access="5" level="1" maglevel="1">

<health now="150" max="150"/>

<look type="128" head="97" body="100" legs="115" feet="114" corpse="2212"/>

 

<parameters>

<parameter key="module_shop" value="1"/>

<parameter key="shop_buyable" value="banana,2676,2;grapes,2681,3;melon,2682,8;orange,2675,5;pumpkin,2683,10;chees

e,2696,5;egg,2695,2;cookie,2678,2;meat,2266,5"/>

<parameter key="message_greet" value="What you doing soldier ? Take your weapon and go war!"/>

<parameter key="message_walkaway" value="Hey Hey, where you go ?"/>

<parameter key="message_farewell" value="Bye bye brave soldier. Remember, peoples without head, don't transform in undeads."/>

<parameter key="message_alreadyfocused" value="You are drunked ? You talk really talk to me ?"/>

</parameters>

</npc>

 

FACIL MANIN SO APRESTA + ATENÇAO ^^

Editado por Elfen
Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...