Ir para conteúdo

Lição De Como Adicionar Monsters, Npc's...


Raphael Lion

Posts Recomendados

Olá, Nesse Tutorial irei mostrar como adicionamos monstros, npc's, entre outras coisas no seu editor de mapas.

P.S : Só para avisar, neste tutorial utilizarei o editor de mapas editado por Ventura.



Como Adicionar NPC's e Monstros no Editor de Mapas ?

 

Na pasta do seu editor de mapas, acesse o arquivo "creatures.xml", clique com o botão direito e coloque "Abrir Com", e selecione bloco de notas, Encontrará algo parecido com isso :

<?xml version="1.0"?>

 

<creatures>

<creature looktype="137" head="113" body="120" legs="114" feet="132" name="Amazon" type="monster"/>

<creature looktype="79" name="Ancient Scarab" type="monster"/>

<creature looktype="129" head="114" body="114" legs="114" feet="114" name="Assasin" type="monster"/>

<creature looktype="105" name="Badger" type="monster"/>

<creature looktype="129" head="58" body="59" legs="45" feet="114" name="Bandit" type="monster"/>

<creature looktype="78" name="Banshee" type="monster"/>

<creature looktype="122" name="Bat" type="monster"/>

<creature looktype="16" name="Bear" type="monster"/>

<creature looktype="55" name="Behemoth" type="monster"/>

<creature looktype="17" name="Beholder" type="monster"/>

<creature looktype="131" head="114" body="114" legs="114" feet="114" name="Black Knight" type="monster"/>

<creature looktype="13" name="Black Sheep" type="monster"/>

<creature looktype="80" name="Blue Djinn" type="monster"/>

<creature looktype="101" name="Bone Beast" type="monster"/>

<creature looktype="45" name="Bug" type="monster"/>

<creature looktype="213" name="Pink Butterfly" type="monster"/>

<creature looktype="227" name="Blue Butterfly" type="monster"/>

<creature looktype="228" name="Red Butterfly" type="monster"/>

<creature looktype="120" name="Carniphila" type="monster"/>

<creature looktype="56" name="Cave Rat" type="monster"/>

<creature looktype="124" name="Centipede" type="monster"/>

<creature looktype="111" name="Chicken" type="monster"/>

<creature looktype="81" name="Cobra" type="monster"/>

<creature looktype="112" name="Crab" type="monster"/>

<creature looktype="119" name="Crocodile" type="monster"/>

<creature looktype="100" name="Crypt Shambler" type="monster"/>

<creature looktype="22" name="Cyclops" type="monster"/>

<creature looktype="225" name="Dark Monk" type="monster"/>

<creature looktype="31" name="Deer" type="monster"/>

<creature looktype="35" name="Demon" type="monster"/>

<creature looktype="37" name="Demon Skeleton" type="monster"/>

<creature looktype="32" name="Dog" type="monster"/>

<creature looktype="34" name="Dragon" type="monster"/>

<creature looktype="39" name="Dragon Lord" type="monster"/>

<creature looktype="69" name="Dwarf" type="monster"/>

<creature looktype="66" name="Dwarf Geomancer" type="monster"/>

<creature looktype="70" name="Dwarf Guard" type="monster"/>

<creature looktype="71" name="Dwarf Soldier" type="monster"/>

<creature looktype="215" name="Dworc Fleshhunter" type="monster"/>

<creature looktype="216" name="Dworc Venomsniper" type="monster"/>

<creature looktype="214" name="Dworc Voodoomaster" type="monster"/>

<creature looktype="103" name="Efreet" type="monster"/>

<creature looktype="108" name="Elder Beholder" type="monster"/>

<creature looktype="211" name="Elephant" type="monster"/>

<creature looktype="62" name="Elf" type="monster"/>

<creature looktype="63" name="Elf Arcanist" type="monster"/>

<creature looktype="64" name="Elf Scout" type="monster"/>

<creature looktype="40" name="Fire Devil" type="monster"/>

<creature looktype="49" name="Fire Elemental" type="monster"/>

<creature looktype="212" name="Flamingo" type="monster"/>

<creature looktype="53" name="Frost Troll" type="monster"/>

<creature looktype="95" name="Gargoyle" type="monster"/>

<creature looktype="109" name="Gazer" type="monster"/>

<creature looktype="48" name="Ghost" type="monster"/>

<creature looktype="18" name="Ghoul" type="monster"/>

<creature looktype="38" name="Giant Spider" type="monster"/>

<creature looktype="61" name="Goblin" type="monster"/>

<creature looktype="51" name="Green Djinn" type="monster"/>

<creature looktype="73" name="Hero" type="monster"/>

<creature looktype="129" head="95" body="116" legs="121" feet="115" name="Hunter" type="monster"/>

<creature looktype="94" name="Hyaena" type="monster"/>

<creature looktype="121" name="Hydra" type="monster"/>

<creature looktype="116" name="Kongra" type="monster"/>

<creature looktype="82" name="Larva" type="monster"/>

<creature looktype="99" name="Lich" type="monster"/>

<creature looktype="41" name="Lion" type="monster"/>

<creature looktype="114" name="Lizard Sentinel" type="monster"/>

<creature looktype="115" name="Lizard Snakecharmer" type="monster"/>

<creature looktype="113" name="Lizard Templar" type="monster"/>

<creature looktype="104" name="Marid" type="monster"/>

<creature looktype="117" name="Merlkin" type="monster"/>

<creature looktype="92" name="Mimic" type="monster"/>

<creature looktype="25" name="Minotaur" type="monster"/>

<creature looktype="24" name="Minotaur Archer" type="monster"/>

<creature looktype="29" name="Minotaur Guard" type="monster"/>

<creature looktype="23" name="Minotaur Mage" type="monster"/>

<creature looktype="57" name="Monk" type="monster"/>

<creature looktype="65" name="Mummy" type="monster"/>

<creature looktype="9" name="Necromancer" type="monster"/>

<creature looktype="5" name="Orc" type="monster"/>

<creature looktype="8" name="Orc Berserker" type="monster"/>

<creature looktype="59" name="Orc Leader" type="monster"/>

<creature looktype="4" name="Orc Rider" type="monster"/>

<creature looktype="6" name="Orc Shaman" type="monster"/>

<creature looktype="50" name="Orc Spearman" type="monster"/>

<creature looktype="2" name="Orc Warlord" type="monster"/>

<creature looktype="7" name="Orc Warrior" type="monster"/>

<creature looktype="123" name="Panda" type="monster"/>

<creature looktype="217" name="Parrot" type="monster"/>

<creature looktype="60" name="Pig" type="monster"/>

<creature looktype="36" name="Poison Spider" type="monster"/>

<creature looktype="42" name="Polar Bear" type="monster"/>

<creature looktype="58" name="Priestess" type="monster"/>

<creature looktype="74" name="Rabbit" type="monster"/>

<creature looktype="21" name="Rat" type="monster"/>

<creature looktype="26" name="Rotworm" type="monster"/>

<creature looktype="83" name="Scarab" type="monster"/>

<creature looktype="43" name="Scorpion" type="monster"/>

<creature looktype="14" name="Sheep" type="monster"/>

<creature looktype="118" name="Sibang" type="monster"/>

<creature looktype="33" name="Skeleton" type="monster"/>

<creature looktype="106" name="Skunk" type="monster"/>

<creature looktype="19" name="Slime" type="monster"/>

<creature looktype="20" name="Slime summon" type="monster"/>

<creature looktype="134" head="95" body="57" legs="113" feet="115" name="Smuggler" type="monster"/>

<creature looktype="28" name="Snake" type="monster"/>

<creature looktype="30" name="Spider" type="monster"/>

<creature looktype="221" name="Spit Nettle" type="monster"/>

<creature looktype="128" head="95" body="116" legs="95" feet="114" name="Stalker" type="monster"/>

<creature looktype="67" name="Stone Golem" type="monster"/>

<creature looktype="76" name="Swamp Troll" type="monster"/>

<creature looktype="219" name="Tarantula" type="monster"/>

<creature looktype="218" name="Terror Bird" type="monster"/>

<creature looktype="125" name="Tiger" type="monster"/>

<creature looktype="57" name="Training Monk" type="monster"/>

<creature looktype="15" name="Troll" type="monster"/>

<creature looktype="139" head="113" body="57" legs="95" feet="113" name="Valkyrie" type="monster"/>

<creature looktype="68" name="Vampire" type="monster"/>

<creature looktype="3" name="War Wolf" type="monster"/>

<creature looktype="130" head="19" body="71" legs="128" feet="128" name="Warlock" type="monster"/>

<creature looktype="44" name="Wasp" type="monster"/>

<creature looktype="131" head="57" body="57" legs="57" feet="57" name="Wild Warrior" type="monster"/>

<creature looktype="52" name="Winter Wolf" type="monster"/>

<creature looktype="54" name="Witch" type="monster"/>

<creature looktype="27" name="Wolf" type="monster"/>

<creature looktype="194" name="Acolyte Of The Cult" type="monster"/>

<creature looktype="194" name="Adept Of The Cult" type="monster"/>

<creature looktype="226" name="azure frog" type="monster"/>

<creature looktype="200" name="Blood crab" type="monster"/>

<creature looktype="192" name="Carrion worm" type="monster"/>

<creature looktype="194" name="Cult member" type="monster"/>

<creature looktype="226" name="coral frog" type="monster"/>

<creature looktype="226" name="crimson frog" type="monster"/>

<creature looktype="193" name="Enlightened of the cult" type="monster"/>

<creature looktype="229" name="Ferumbras" type="monster"/>

<creature looktype="224" name="green frog" type="monster"/>

<creature looktype="15" name="Island troll" type="monster"/>

<creature looktype="199" name="Mammoth" type="monster"/>

<creature looktype="11" name="massive elemental" type="monster"/>

<creature looktype="133" name="Novice Of The Cult" type="monster"/>

<creature looktype="226" name="Orchid frog" type="monster"/>

<creature looktype="97" name="Pirate Buccaneer" type="monster"/>

<creature looktype="98" name="Pirate Corsair" type="monster"/>

<creature looktype="96" name="Pirate cutthroat" type="monster"/>

<creature looktype="196" name="Pirate ghost" type="monster"/>

<creature looktype="93" name="Pirate marauder" type="monster"/>

<creature looktype="195" name="Pirate skeleton" type="monster"/>

<creature looktype="46" name="Quara constrictor" type="monster"/>

<creature looktype="47" name="Quara hydromancer" type="monster"/>

<creature looktype="72" name="Quara mantassin" type="monster"/>

<creature looktype="77" name="Quara pincher" type="monster"/>

<creature looktype="77" name="Quara pincher scout" type="monster"/>

<creature looktype="20" name="Quara predator" type="monster"/>

<creature looktype="223" name="Seagull" type="monster"/>

<creature looktype="198" name="Thornback tortoise" type="monster"/>

<creature looktype="222" name="Toad" type="monster"/>

<creature looktype="197" name="Tortoise" type="monster"/>

<creature looktype="11" name="Water elemental" type="monster"/>

 

 

<creature looktype="10" name="Wizard outfit" type="template"/>

<creature looktype="11" name="Paladin outfit" type="template"/>

<creature looktype="12" name="Female outfit" type="template"/>

<creature looktype="46" name="Knight outfit" type="template"/>

<creature looktype="47" name="Knight outfit" type="template"/>

<creature looktype="72" name="Male outfit" type="template"/>

<creature looktype="77" name="Female outfit" type="template"/>

<creature looktype="75" name="Gamemaster" type="gamemaster"/>

 

<creature looktype="84" name="Omruc" type="monster"/>

<creature looktype="85" name="Morguthis" type="monster"/>

<creature looktype="86" name="Thalas" type="monster"/>

<creature looktype="87" name="Dipthrah" type="monster"/>

<creature looktype="88" name="Ashmunrah" type="monster"/>

<creature looktype="89" name="Mahrdis" type="monster"/>

<creature looktype="90" name="Vashresamun" type="monster"/>

<creature looktype="91" name="Rahemos" type="monster"/>

 

<creature looktype="93" name="Poisonthrower" type="monster"/>

<creature looktype="96" name="Magicthrower" type="monster"/>

<creature looktype="97" name="Plaguethrower" type="monster"/>

<creature looktype="98" name="Flamethrower" type="monster"/>

<creature looktype="102" name="Deathslicer" type="monster"/>

<creature looktype="107" name="Demon summon" type="monster"/>

<creature looktype="110" name="Yeti" type="monster"/>

 

<creature looktype="201" name="Orshabaal" type="monster"/>

<creature looktype="202" name="General Murius" type="monster"/>

<creature looktype="203" name="Dharalion" type="monster"/>

<creature looktype="204" name="Demodras" type="monster"/>

<creature looktype="205" name="Grorlam" type="monster"/>

<creature looktype="206" name="Fernfang" type="monster"/>

<creature looktype="207" name="The Horned Fox" type="monster"/>

<creature looktype="208" name="The Old Widow" type="monster"/>

<creature looktype="209" name="Necropharus" type="monster"/>

<creature looktype="210" name="The Evil Eye" type="monster"/>

 

<creature looktype="220" name="Serpent Spawn" type="monster"/>

 

 

<creature looktype="126" name="Female template" type="oldtemplate"/>

<creature looktype="127" name="Male template" type="oldtemplate"/>

<creature looktype="128" name="Male template" type="template"/>

<creature looktype="129" name="Archer template" type="template"/>

<creature looktype="130" name="Mage template" type="template"/>

<creature looktype="131" name="Knight template" type="template"/>

<creature looktype="132" name="Male template" type="template"/>

<creature looktype="133" name="Male template" type="template"/>

<creature looktype="134" name="Male template" type="template"/>

 

<creature looktype="136" name="Female template" type="template"/>

<creature looktype="137" name="Female template" type="template"/>

<creature looktype="138" name="Female template" type="template"/>

<creature looktype="139" name="Female template" type="template"/>

<creature looktype="140" name="Female template" type="template"/>

<creature looktype="141" name="Female template" type="template"/>

<creature looktype="142" name="Female template" type="template"/>

 

<creature looktype="144" name="Elf template" type="template"/>

<creature looktype="160" name="Dwarf template" type="template"/>

 

<creature looktype="134" name="Amher" head="0" body="19" legs="19" feet="19" type="npc"/>

<creature looktype="128" name="Athan" head="20" body="100" legs="50" feet="99" type="npc"/>

<creature looktype="128" name="Azemor" head="19" body="114" legs="94" feet="94" type="npc"/>

<creature looktype="57" name="Azith" head="20" body="30" legs="40" feet="50" type="npc"/>

<creature looktype="134" name="Ben" head="0" body="19" legs="19" feet="19" type="npc"/>

<creature looktype="134" name="Captain Hitch" head="0" body="95" legs="95" feet="95" type="npc"/>

<creature looktype="134" name="Captain Jack" head="0" body="95" legs="95" feet="95" type="npc"/>

<creature looktype="57" name="Cipfried" head="0" body="19" legs="19" feet="19" type="npc"/>

<creature looktype="129" name="Dimral" head="114" body="119" legs="114" feet="114" type="npc"/>

<creature looktype="128" name="Donald" head="20" body="100" legs="50" feet="99" type="npc"/>

<creature looktype="138" name="Eala Glorif" head="78" body="119" legs="119" feet="76" type="npc"/>

<creature looktype="134" name="Eddy" head="19" body="77" legs="96" feet="76" type="npc"/>

<creature looktype="128" name="Ettin" head="66" body="46" legs="2" feet="89" type="npc"/>

<creature looktype="134" name="Eustachian" head="114" body="113" legs="113" feet="113" type="npc"/>

<creature looktype="140" name="Eve" head="132" body="97" legs="114" feet="0" type="npc"/>

<creature looktype="134" name="Frodo" head="114" body="113" legs="113" feet="113" type="npc"/>

<creature looktype="57" name="Guild Master" head="114" body="113" legs="113" feet="113" type="npc"/>

<creature looktype="133" name="Johnny" head="114" body="119" legs="132" feet="114" type="npc"/>

<creature looktype="140" name="Karina" head="115" body="114" legs="19" feet="57" type="npc"/>

<creature looktype="134" name="Kasray" head="1" body="78" legs="97" feet="95" type="npc"/>

<creature looktype="140" name="Kathy" head="132" body="97" legs="114" feet="0" type="npc"/>

<creature looktype="129" name="Kimral" head="114" body="119" legs="114" feet="114" type="npc"/>

<creature looktype="134" name="Kivis" head="19" body="77" legs="96" feet="76" type="npc"/>

<creature looktype="142" name="Lola" head="114" body="0" legs="95" feet="114" type="npc"/>

<creature looktype="130" name="Malak" head="132" body="116" legs="116" feet="76" type="npc"/>

<creature looktype="142" name="Maya" head="79" body="118" legs="115" feet="114" type="npc"/>

<creature looktype="129" name="Nimral" head="114" body="119" legs="114" feet="114" type="npc"/>

<creature looktype="134" name="Perro" head="3" body="96" legs="76" feet="114" type="npc"/>

<creature looktype="131" name="Pivo" head="115" body="114" legs="114" feet="115" type="npc"/>

<creature looktype="128" name="Ronald" head="1" body="79" legs="97" feet="114" type="npc"/>

<creature looktype="134" name="Roy" head="3" body="96" legs="76" feet="114" type="npc"/>

<creature looktype="140" name="Siva" head="38" body="79" legs="107" feet="114" type="npc"/>

<creature looktype="139" name="Soya" head="132" body="79" legs="97" feet="132" type="npc"/>

<creature looktype="132" name="Tom" head="115" body="114" legs="0" feet="114" type="npc"/>

<creature looktype="129" name="Timral" head="114" body="119" legs="114" feet="114" type="npc"/>

<creature looktype="128" name="Tusk" head="66" body="46" legs="2" feet="89" type="npc"/>

<creature looktype="140" name="Umber" head="115" body="114" legs="19" feet="57" type="npc"/>

<creature looktype="134" name="Varkhal" head="0" body="95" legs="95" feet="95" type="npc"/>

<creature looktype="133" name="Waldi" head="114" body="119" legs="132" feet="114" type="npc"/>

<creature looktype="129" name="Zambu" head="95" body="116" legs="121" feet="115" type="npc"/>

<creature looktype="104" name="Game Master" head="4" body="114" legs="132" feet="115" type="npc"/>

<creature looktype="129" name="buyer" head="76" body="114" legs="124" feet="86" type="npc"/>

<creature looktype="128" name="Seller" head="20" body="30" legs="40" feet="50" type="npc"/>

<creature looktype="128" name="food" head="20" body="100" legs="50" feet="99" type="npc"/>

<creature looktype="66" name="promote" head="79" body="79" legs="79" feet="79" type="npc"/>

<creature looktype="128" name="furniture" head="78" body="71" legs="82" feet="114" type="npc"/>

<creature looktype="139" name="Addons" head="79" body="114" legs="0" feet="114" type="npc"/>

<creature looktype="128" name="bows" head="66" body="46" legs="2" feet="89" type="npc"/>

<creature looktype="128" name="runes" head="78" body="71" legs="82" feet="114" type="npc"/>

<creature looktype="128" name="aol" head="24" body="77" legs="10" feet="20" type="npc"/>

<creature looktype="129" name="canoa1" head="114" body="119" legs="114" feet="114" type="npc"/>

<creature looktype="128" name="wands" head="78" body="71" legs="82" feet="114" type="npc"/>

<creature looktype="129" name="Carpetman" head="114" body="119" legs="114" feet="114" type="npc"/>

</creatures>

 

Na parte que está em Negrito, são os monstros que o editor contém, a parte sublinhada, são os npc's que o editor contém, nesse script que você adiciona seus npc's e monstros, vamos agora ensinar á por seus próprios

npc's e mosntros.

Utilizarei o "Blind Man Quest By Colex", que é um npc, agora faça o que é pedido no tópico do Blind Man, e nesta parte :

 

3º e último passo na parte do NPC, na pasta data/npc cria um arquivo nomeado por Blind Man.xml e dentro dele adicione:

 

<?xml version="1.0"?>

<npc name="Blind Man" script="data/npc/scripts/blind.lua" access="3">

<look type="129" head="114" body="119" legs="114" feet="114"/>

</npc>

 

Você copia o look type, head, body, legs e feet, e no script "creatures.xml" do editor copie um npc que já contém, dê um espaço entre um e outro utilizando a tecla "enter" e subistitua o que for pedido, Exemplo :

 

Npc á ser copiado :

 

<creature looktype="129" name="Carpetman" head="114" body="119" legs="114" feet="114" type="npc"/>

 

Npc copiado que foi substituido pelo "Blind Man" :

 

<creature looktype="129" name="Blind Man" head="114" body="119" legs="114" feet="114" type="npc"/>

 

No Caso não foi trocado o look type, head, body, legs e feet, mais outros npc's isso terá de ser trocado, esse processo é o mesmo se você for adicionar monstros em seu editor, salve o script, feche e edite seu mapa com seus novos monstros e npc's.

 

Créditos : Raphael Lion

 

Dedicado á Ventura.

 

Atenciosamente;

Raphael Lion.

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

Ótimo...

Muitas pessoas estavam me pedindo isso, ai você falou que queria fazer um tutorial e me perguntou que tutorial, te indiquei este...

Esta ótimo..

Parabéns ^.-

 

"Dedicado á Ventura."

lol?

 

Atenciosamente;

Ventura

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

Nossa, topico muito bom...Tomare que ajude muitas pessoas que estão em duvida sobre isso, eu particularmente já sei quase "tudo" de OT, somente a parte básica também hehe...

Link para o comentário
Compartilhar em outros sites

  • 2 months later...

Olá Xtibiano,

 

Parabéns, seu tutorial foi aprovado.

 

Estarei movendo ele para a área de tutoriais.

 

Obrigado por trazer conteúdo para o Xtibia.com e espero que continue com o ótimo trabalho.

 

 

Atenciosamente,

JV Chequer *Diretor Xtibia.com*

Link para o comentário
Compartilhar em outros sites

poxa kra,muito bom um tutorial assim...ta bem explicado e tudo...

tpw,ate em codes/quotes vc botou pra organizar mais...

só que bem q vc poderia colocar umas cores para ajudar mais na leitura...

mas ta ótimo assim...

parabens,e continue assim...

Link para o comentário
Compartilhar em outros sites

  • 3 weeks later...
×
×
  • Criar Novo...