Ir para conteúdo

Adicionando Npcs E Monstros No Map Editor.


MUTAN0

Posts Recomendados

Olá a todos :)

Bem, eu fiz um novo Monstro/NPC no meu OT, mas como vou bota-lo no mapa se meu map editor desconhece ele??

A resposta esta aqui, veja e aprenda;

Obs: Tag = Linha

 

Abra a pasta de seu map editor e ele, e procure por um item mais ou menos assim:

imagemzo7.png

 

Abra-o em um bloco de notas (note pad) e ele estara parecido com isso:

<?xml version="1.0"?>

 

<creatures>

<creature looktype="252" name="Trainer" type="monster"/>

<creature looktype="146" name="Nomad" head="114" body="20" legs="22" feet="2" type="monster"/>

<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="101" name="Bonebeast" type="monster" />

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

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

<creature looktype="242" name="Fury" type="monster" />

<creature looktype="283" name="Frost Dragon Hatchling" type="monster" />

<creature looktype="72" name="Quara Mantassim" 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="280" name="Cyclops Drone" type="monster"/>

<creature looktype="277" name="Cyclops Smith" 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="271" name="Dragon Hatchling" type="monster"/>

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

<creature looktype="34" name="Native Dragon" 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="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" addon1="1" addon2="1"/>

<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="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="79" name="Ghafir" 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="200" name="Blood Crab" type="monster"/>

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

<creature looktype="226" name="Frog" type="monster"/>

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

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

<creature looktype="193" name="Enlightened Of the Cult" type="monster"/>

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

<creature looktype="199" name="Mammoth" 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="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="20" name="Quara Predator" 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="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="224" name="Green frog" type="monster"/>

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

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

<creature looktype="10" name="Yellow Butterfly" type="monster"/>

<creature itemid="1560" name="Magicthrower" type="monster"/>

 

<creature looktype="239" name="Wyvern" type="monster"/>

<creature looktype="256" name="Braindeath" type="monster"/>

<creature looktype="235" name="Spectre" type="monster"/>

<creature looktype="237" name="Diabolic Imp" type="monster"/>

<creature looktype="236" name="Destroyer" type="monster"/>

<creature looktype="245" name="Nightmare" type="monster"/>

<creature looktype="243" name="Hellfire Fighter" type="monster"/>

<creature looktype="238" name="Defiler" type="monster"/>

<creature looktype="232" name="Lost Soul" type="monster"/>

<creature looktype="247" name="Plaguesmith" type="monster"/>

<creature looktype="233" name="Betrayed Wraith" type="monster"/>

<creature looktype="240" name="Fluffy" type="monster"/>

<creature looktype="240" name="Hellhound" type="monster"/>

<creature looktype="241" name="Phantasm" type="monster"/>

<creature looktype="246" name="Blightwalker" type="monster"/>

<creature looktype="234" name="Dark Torturer" type="monster"/>

<creature looktype="231" name="Bones" type="monster"/>

<creature looktype="230" name="Hand Of Cursed Fate" type="monster"/>

<creature looktype="231" name="Undead Dragon" type="monster"/>

<creature looktype="244" name="Juggernaut" type="monster"/>

 

 

<---Snow---/>

<creature looktype="248" name="Frost Dragon" type="monster"/>

<creature looktype="261" name="Ice Golem" type="monster"/>

<creature looktype="257" name="Frost Giant" type="monster"/>

<creature looktype="265" name="Frost Giantess" type="monster"/>

<creature looktype="250" name="Penguin" type="monster"/>

<creature looktype="262" name="Silver Rabbit" type="monster"/>

<creature looktype="258" name="Husky" type="monster"/>

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

<creature looktype="259" name="Chakoya Toolshaper" type="monster"/>

<creature looktype="249" name="Chakoya Tribewarden" type="monster"/>

<creature looktype="260" name="Chakoya Windcaller" type="monster"/>

<creature looktype="255" name="Barbarian Bloodwalker" type="monster"/>

<creature looktype="264" name="Barbarian Brutetamer" type="monster"/>

<creature looktype="253" name="Barbarian Headsplitter" type="monster"/>

<creature looktype="254" name="Barbarian Skullhunter" type="monster"/>

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

<creature looktype="149" head="0" body="47" legs="105" feet="105" addons="0" name="Ice Witch" type="monster"/>

<creature looktype="263" name="Crystal Spider" 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="159" name="Elf template" type="template"/>

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

 

<creature looktype="57" name="Guild master" type="npc"/>

<creature looktype="134" name="Amher" type="npc"/>

 

</creatures>

 

Para add seu NPC:

Veja no fim do creatures.xml

<creature looktype="57" name="Guild master" type="npc"/>

<creature looktype="134" name="Amher" type="npc"/>

No fim essas tags tem isso: type="npc"

Isso diferencia os monstros dos Npcs no seu map editor.

Copie essa tag (como exemplo), e cole no creatures.xml do seu map editor:

<creature looktype="134" name="Amher" type="npc"/>

Editando a tag:

Nesta cor:Abra o script de seu Npc (data\npc);

E procure por algo assim: <look type="154"...

O look type que mostra no SEU Npc, copie e troque pelo look type da tag que voce acrescentou (como exemplo) no creatures.xml.

Nesta cor:procure por isso no seu Npc; <npc name="Amher"...

Este é o nome do seu Npc, copie e troque pelo name da tag que voce acrescentou (como exemplo) no creatures.xml.

Nesta cor:type="npc", lembra que isso diferencia os Npcs dos monsters no map editor?

Pois é, isso voce deixa como esta, nao mude.

 

Para add seu Monster:

Veja esta tag como exemplo:

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

Copie essa tag (como exemplo), e cole no creatures.xml do seu map editor;

 

Editando a tag:

Nesta cor:Abra seu Monster (data\monster);

procure por isso: <look type="137"...

Esse é o numero do look type de seu monster, entao copie e troque pelo creature looktype, da tag que voce acrescentou (como exemplo).

Nesta cor:Este é o nome do seu monstro; no script do monstro tera algo assim: <monster name="Amazon"...

Copie e troque troque pelo name da tag que voce acrescentou (como exemplo).

Nesta cor:

type="monster"; isso diferencia Npcs de monstros, nao mude nada...

 

 

Bem, acho que é só.

Para quem utilizar meu topico, pelo menos deixe um comentario dizendo se gostou,odiou,etc :party:

 

CREDITOS:100% for me, topico totalmente feito por mim...

Obrigado Xtibia por dar um "Help" aos tibianos :blush:

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

@MUTANO,

 

Primeiramente Boa Noite, andei pesquisando e vi que já existem tutoriais do mesmo gênero e com uma explicação melhor e com o tópico mais organizado!

 

Eu Reprovo!

Link para o comentário
Compartilhar em outros sites

@MUTANO,

 

Primeiramente Boa Noite, andei pesquisando e vi que já existem tutoriais do mesmo gênero e com uma explicação melhor e com o tópico mais organizado!

 

Eu Reprovo!

 

Bem, olhe...

eu nao estou tentando ser melhor que ninguem, apenas quero passar o que sei para quem quer saber.

E se eu pelo menos fasso um topico meu, e nao uso CTRL+c e CTRL+v.

~Mutano

Link para o comentário
Compartilhar em outros sites

@Mutano

coloca aquele grande QUOTE ali em spoiler, porque o post fico muito grande com ele ;p

 

@Topic

Parabéns gostei do seu tuto, usou cores, imagens... parabéns mesmo! ;D

 

Spookyman~

Link para o comentário
Compartilhar em outros sites

Olá Xtibiano,

 

Parabéns, seu tutorial foi aprovado.

 

10741820dd6.png

 

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 *Sub-Administrador do Fórum Xtibia.com*

:great:

Link para o comentário
Compartilhar em outros sites

  • 1 month later...
  • 4 weeks later...

MUITOOO BOMMM...

 

Na boa.. Achei vc um cara legal..

 

Falo a verdade. Ate agora eu vi umonte de topiko chei de fru fru, ss, e tals. AQUI NAO TEM NADA, mais funciono...

 

VALEW MESMO CARA!!!!

Link para o comentário
Compartilhar em outros sites

  • 5 weeks later...
  • 2 weeks later...
×
×
  • Criar Novo...