Animes-X-Cheats
Para aproveitar mais o forum Registre-se ou faça o loguin.

Para participar de eventos exclusivos Tibia Azerus se cadastre
Animes-X-Cheats
Para aproveitar mais o forum Registre-se ou faça o loguin.

Para participar de eventos exclusivos Tibia Azerus se cadastre
Animes-X-Cheats
Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.

Animes-X-Cheats


 
InícioÚltimas imagensProcurarRegistarEntrar
Entrar
Nome de usuário:
Senha:
Entrar automaticamente: 
:: Esqueci-me da senha
Votação
O que acharam das regra?
otimas
Portrait Pokemon Vote_lcap29%Portrait Pokemon Vote_rcap
 29% [ 2 ]
Boas
Portrait Pokemon Vote_lcap43%Portrait Pokemon Vote_rcap
 43% [ 3 ]
Precisam melhorar (responder falando o que e nescessario)
Portrait Pokemon Vote_lcap14%Portrait Pokemon Vote_rcap
 14% [ 1 ]
ruims(responder falando o que e nescessario)
Portrait Pokemon Vote_lcap0%Portrait Pokemon Vote_rcap
 0% [ 0 ]
Pessimas(responder falando o que e nescessario)
Portrait Pokemon Vote_lcap14%Portrait Pokemon Vote_rcap
 14% [ 1 ]
Total de votos : 7

Compartilhe | 
 

 Portrait Pokemon

Ver o tópico anterior Ver o tópico seguinte Ir para baixo 
AutorMensagem
Sider
SiderRespeito às regras. : Portrait Pokemon 11101010
Mensagens : 6
Data de inscrição : 14/01/2011
MensagemAssunto: Portrait Pokemon   Portrait Pokemon Icon_minitimeTer Jan 18, 2011 2:26 pm

Nome: Portrait System
Autor: YahooABC & editado por SiderFox
Versão Testada: 8.54 [Servidor do Thalia]
----------------------------------------------------

Lembrando não está com os 151 pokemons, mas isso vocês podem ir editando...

Primeiramente vá em movements/scripts e copie qualquer script substituia o nome dele por "portrait" apague todo o conteudo do mesmo, e adicione isso ao arquivo:

Código:

----------- By YahooABC edited by SiderFox (Skull) -----------

local fotos = {
["bulbasaur"] = {fotopoke = 8423},
["ivysaur"] = {fotopoke = 8424},
["venusaur"] = {fotopoke = 8425},
["charmander"] = {fotopoke = 8426},
["charmeleon"] = {fotopoke = 8427},
["charizard"] = {fotopoke = 8428},
["squirtle"] = {fotopoke = 8429},
["wartortle"] = {fotopoke = 8430},
["blastoise"] = {fotopoke = 8431},
["caterpie"] = {fotopoke = 8432},
["metapod"] = {fotopoke = 8433},
["butterfree"] = {fotopoke = 8434},
["weedle"] = {fotopoke = 8435},
["kakuna"] = {fotopoke = 8436},
["beedrill"] = {fotopoke = 8437},
["pidgey"] = {fotopoke = 8438},
["pidgeotto"] = {fotopoke = 8439},
["pidgeot"] = {fotopoke = 8440},
["rattata"] = {fotopoke = 8441},
["raticate"] = {fotopoke = 8442},
["dpearow"] = {fotopoke = 8443},
["fearow"] = {fotopoke = 8444},
["ekans"] = {fotopoke = 8445},
["arbok"] = {fotopoke = 8446},
["pikachu"] = {fotopoke = 8447},
["raichu"] = {fotopoke = 8448},
["sandshrew"] = {fotopoke = 8449},
["sandslash"] = {fotopoke = 8450},
["nidoranf"] = {fotopoke = 8451},
["nidorina"] = {fotopoke = 8452},
["nidoqueen"] = {fotopoke = 8453},
["nidoranm"] = {fotopoke = 8454},
["nidorino"] = {fotopoke = 8455},
["nidoking"] = {fotopoke = 8456},
["clefairy"] = {fotopoke = 8457},
["clefable"] = {fotopoke = 8458},
["vulpix"] = {fotopoke = 8459},
["ninetales"] = {fotopoke = 8460},
["jigglypuff"] = {fotopoke = 8461},
["wigglytuff"] = {fotopoke = 8462},
["zubat"] = {fotopoke = 8463},
["golbat"] = {fotopoke = 8464},
["oddish"] = {fotopoke = 8465},
["gloom"] = {fotopoke = 8466},
["vileplume"] = {fotopoke = 8467},
["paras"] = {fotopoke = 8468},
["parasect"] = {fotopoke = 8469},
["venonat"] = {fotopoke = 84702},
["venomoth"] = {fotopoke = 8471},
["diglett"] = {fotopoke = 8472},
["dugtrio"] = {fotopoke = 8473},
["meowth"] = {fotopoke = 8474},
["persian"] = {fotopoke = 8475},
["psyduck"] = {fotopoke = 8476},
["golduck"] = {fotopoke = 8477},
["mankey"] = {fotopoke = 8478},
["primeape"] = {fotopoke = 8479},
["growlithe"] = {fotopoke = 8480},
["arcanine"] = {fotopoke = 8481},
["poliwag"] = {fotopoke = 8482},
["poliwhirl"] = {fotopoke = 8483},
["poliwrath"] = {fotopoke = 8484},
["abra"] = {fotopoke = 8485},
["kadabra"] = {fotopoke = 8486},
["alakazam"] = {fotopoke = 8487},
["machop"] = {fotopoke = 8488},
["machoke"] = {fotopoke = 8489},
["machamp"] = {fotopoke = 8490},
["bellsprout"] = {fotopoke = 8491},
["weepinbell"] = {fotopoke = 8492},
["victreebel"] = {fotopoke = 8493},
["tentacool"] = {fotopoke = 8494},
["tentacruel"] = {fotopoke = 8495},
["geodude"] = {fotopoke = 8496},
["graveler"] = {fotopoke = 8497},
["golem"] = {fotopoke = 8498},
["ponyta"] = {fotopoke = 8499},
["rapidash"] = {fotopoke = 8500},
["slowpoke"] = {fotopoke = 8501},
["slowbro"] = {fotopoke = 8502},
["magnemite"] = {fotopoke = 8503},
["magneton"] = {fotopoke = 8504},
["farfetch'd"] = {fotopoke = 8505},
["doduo"] = {fotopoke = 8506},
["dodrio"] = {fotopoke = 8507},
["seel"] = {fotopoke = 8508},
["dewgong"] = {fotopoke = 8509},
["grimer"] = {fotopoke = 8510},
["muk"] = {fotopoke = 8511},
["shellder"] = {fotopoke = 8512},
["cloyster"] = {fotopoke = 8513},
["gastly"] = {fotopoke = 8514},
["haunter"] = {fotopoke = 8515},
["gengar"] = {fotopoke = 8516},
["onix"] = {fotopoke = 8517},
["drowzee"] = {fotopoke = 8518},
["hypno"] = {fotopoke = 8519},
["krabby"] = {fotopoke = 8520},
["kingler"] = {fotopoke = 8521},
["voltorb"] = {fotopoke = 8522},
["electrode"] = {fotopoke = 8523},
["exeggcute"] = {fotopoke = 8524},
["exeggutor"] = {fotopoke = 8525},
["cubone"] = {fotopoke = 8526},
["marowak"] = {fotopoke = 8527},
["hitmonlee"] = {fotopoke = 8528},
["hitmonchan"] = {fotopoke = 8529},
["lickitung"] = {fotopoke = 8530},
["koffing"] = {fotopoke = 8531},
["weezing"] = {fotopoke = 8532},
["rhyhorn"] = {fotopoke = 8533},
["rhydon"] = {fotopoke = 8534},
["chansey"] = {fotopoke = 8535},
["tangela"] = {fotopoke = 8536},
["kangaskhan"] = {fotopoke = 8537},
["horsea"] = {fotopoke = 8538},
["seadra"] = {fotopoke = 8539},
["goldeen"] = {fotopoke = 8540},
["seaking"] = {fotopoke = 8541},
["staryu"] = {fotopoke = 8542},
["starmie"] = {fotopoke = 8543},
["mr. mime"] = {fotopoke = 8544},
["scyther"] = {fotopoke = 8545},
["jynx"] = {fotopoke = 8546},
["electabuzz"] = {fotopoke = 8547},
["magmar"] = {fotopoke = 8548},
["pinsir"] = {fotopoke = 8549},
["tauros"] = {fotopoke = 8550},
["magikarp"] = {fotopoke = 8551},
["gyarados"] = {fotopoke = 8552},
["lapras"] = {fotopoke = 8553},
["ditto"] = {fotopoke = 8554},
["eevee"] = {fotopoke = 8555},
["vaporeon"] = {fotopoke = 8556},
["jolteon"] = {fotopoke = 8557},
["flareon"] = {fotopoke = 8558},
["porygon"] = {fotopoke = 8559},
["omanyte"] = {fotopoke = 8560},
["omastar"] = {fotopoke = 8561},
["kabuto"] = {fotopoke = 8562},
["kabutops"] = {fotopoke = 8563},
["aerodactyl"] = {fotopoke = 8564},
["snorlax"] = {fotopoke = 8565},
["articuno"] = {fotopoke = 8566},
["zapdos"] = {fotopoke = 8567},
["moltres"] = {fotopoke = 8568},
["dratini"] = {fotopoke = 8569},
["dragonair"] = {fotopoke = 8570},
["dragonite"] = {fotopoke = 8571},
["mewtwo"] = {fotopoke = 8572},
["mew"] = {fotopoke = 8573},
['shiny venusaur'] = {fotopoke = 8425},
['shiny rattata'] = {fotopoke = 8441},
['shiny tentacool'] = {fotopoke = 8721},
['shiny tentacruel'] = {fotopoke = 8495},
['shiny blastoise'] = {fotopoke = 8431},
['spearow'] = {fotopoke = 8443}
}

local idballs = {
[2532] = "Pokeball",
[2653] = "Superball",
[2652] = "Greatball",
[2654] = "Ultraball",
[2195] = "Masterball",
[2531] = "Pokeball",
[2557] = "Superball",
[2524] = "Greatball",
[2525] = "Ultraball",
[2523] = "Masterball",
}

function setItemName(uid,name)
 return doItemSetAttribute(uid,'name',name)
end

---------------------------------------------------------
function onEquip (cid, item, slot)
local nome = getItemName(item.uid)
local balls = idballs[item.itemid]
local poke_name = nome:match('(.-) '..balls)
local image = getPlayerSlotItem(cid, 7)
local semimage = 2649

for i,x in pairs(fotos) do
if i == poke_name then
      doTransformItem(image.uid,x.fotopoke)
      setItemName(image.uid, "portfoli's")
   return true
      end
  end
end
----------------------------------------------------------
function onDeEquip(cid, item, slot)
local nome = getItemName(item.uid)
local balls = idballs[item.itemid]
local poke_name = nome:match('(.-) '..balls)
local image = getPlayerSlotItem(cid, 7)
local semimage = 2649

for i,x in pairs(fotos) do
if i == poke_name then
      doTransformItem(image.uid,semimage)
      setItemName(image.uid, "portfoli's")
   return true
      end
  end
end

Logo depois vá em movements.xml e adicione a tag:

Código:

   <!--Portrait -->
   <movevent type="Equip" itemid="2532;2653;2652;2654;2195;2531;2557;2524;2525;2523" slot="feet" event="script" value="portrait.lua"/>
   <movevent type="DeEquip" itemid="2532;2653;2652;2654;2195;2531;2557;2524;2525;2523" slot="feet" event="script" value="portrait.lua"/>

Adicionando mais Portifoli's de pokemons:
Citação :

Para adicionar mais pokemons, basta fazer o seguinte:
Quero Adicionar um Paras...
Copio o Spearow ou qualquer outro pokemon:
['spearow'] = {fotopoke = 8443},
Então, eu mudo o nome do pokemon e também a foto dele, ficando assim:
["paras"] = {fotopoke = 8468},
Repare que após todos eles há uma "," menos no ultimo...
Caso for por o pokemon por ultimo ponha uma "," no de cima e não ponha "," no ultimo.

Adicionando mais Pokeball's ao script:
Citação :

Basta encontrar os 2 ids da pokebola que você deseja colocar:
A ativa e a desativada.
Exemplo:
[2532] = "Pokeball", - Ativa
[2531] = "Pokeball", - Desativada
Então faça o mesmo com a que você irá colocar
Exemplo:
[2653] = "Superball" - Ativa
[2557] = "Superball", - Desativada
E depois de encontrar os 2 ids vá até a tag e coloque os 2 ids lá ficando assim:
<movevent type="Equip" itemid="2532;2653;2652;2654;2195;2531;2557;2524;2525;2523" slot="feet" event="script" value="portrait.lua"/>
<movevent type="DeEquip" itemid="2532;2653;2652;2654;2195;2531;2557;2524;2525;2523" slot="feet" event="script" value="portrait.lua"/>


Lembrando, se você usa o servidor do PokemonFlash, antes de instalar vá no movements.xml e apague:
Código:

   <!-- Skill -->
 
     <movevent type="DeEquip" itemid="2531;2532" slot="feet" event="script" value="skill1.lua"/>
   <movevent type="DeEquip" itemid="2653;2557" slot="feet" event="script" value="skill1.lua"/>
   <movevent type="DeEquip" itemid="2652;2524" slot="feet" event="script" value="skill1.lua"/>

   <movevent type="DeEquip" itemid="2195;2523" slot="feet" event="script" value="skill1.lua"/>

Se não o Script pode não funcionar.


Lembrando que só funciona com o servidor do Thalia.
Gostou? Rep+/Agradeça
Ir para o topo Ir para baixo
 

Portrait Pokemon

Ver o tópico anterior Ver o tópico seguinte Ir para o topo 
Página 1 de 1

Permissões neste sub-fórumNão podes responder a tópicos
Animes-X-Cheats :: Games/Cheats :: Tibia :: Tibia Private :: Scripting :: Movements e GlobalEvents-
Ir para:  
Top dos mais postadores
Hotkill (9)
Portrait Pokemon Vote_lcapPortrait Pokemon Voting_barPortrait Pokemon Vote_rcap 
Sider (6)
Portrait Pokemon Vote_lcapPortrait Pokemon Voting_barPortrait Pokemon Vote_rcap 
amynah (4)
Portrait Pokemon Vote_lcapPortrait Pokemon Voting_barPortrait Pokemon Vote_rcap 
xPKill (1)
Portrait Pokemon Vote_lcapPortrait Pokemon Voting_barPortrait Pokemon Vote_rcap 
weverton1578 (1)
Portrait Pokemon Vote_lcapPortrait Pokemon Voting_barPortrait Pokemon Vote_rcap 
polixter (1)
Portrait Pokemon Vote_lcapPortrait Pokemon Voting_barPortrait Pokemon Vote_rcap 
Últimos assuntos
» [SEM HAMACHI] WYDTwOBR 6.59
Portrait Pokemon Icon_minitimeSeg Fev 18, 2013 2:47 pm por polixter

» [6.56] Criando Servidor de WYD
Portrait Pokemon Icon_minitimeDom Out 02, 2011 10:24 pm por weverton1578

» [TalkAction] Comprar aol
Portrait Pokemon Icon_minitimeTer Jan 18, 2011 2:51 pm por Sider

» Portrait Pokemon
Portrait Pokemon Icon_minitimeTer Jan 18, 2011 2:26 pm por Sider

» Regras Para Postagem de Topicos
Portrait Pokemon Icon_minitimeTer Jan 18, 2011 2:16 pm por Sider

» [Action] Double Exp Potion
Portrait Pokemon Icon_minitimeTer Jan 18, 2011 2:09 pm por Sider

» Clientes Tibia
Portrait Pokemon Icon_minitimeTer Jan 18, 2011 5:49 am por Hotkill

» O que falta no forum?
Portrait Pokemon Icon_minitimeSeg Jan 17, 2011 4:51 am por Hotkill

» Biografia de Eiichiro Oda
Portrait Pokemon Icon_minitimeDom Jan 16, 2011 8:33 am por amynah

» Premio para o membro que mais postar
Portrait Pokemon Icon_minitimeSáb Jan 15, 2011 11:05 am por Hotkill

Painel de controle