Jump to content
Sign in to follow this  
Bozonildo

[Nivel:Iniciante] Colocando level door pelo map editor

Está Bom esse Tutorial?  

131 members have voted

  1. 1. Está Bom esse Tutorial?



Recommended Posts

Bozonildo    0
Bozonildo

Bem, vejo q bastantes usuários tem problema para fazer level door, então resolvi fazer esse tuto para ver se ajuda.

 

1- Abra seu mapa e vá até onde vai ficar a lvdoor.

Imagem Postada

 

2- Selecione as portas de ids: 1227 e 1229 e coloque onde vai ficar sua lvdoor.

Imagem Postada

 

3- Selcione a porta e vá em properties.

Imagem Postada

 

 

4- Coloque em Action ID o resultado da seguinte conta: 1000+o lv da porta. Por exemplo, essa porta vai ser de lv 50, 1000+50=1050.

Imagem Postada

 

5- Agora dê ok, salve o mapa e vá ver se funcionou.

 

6- Se esse tutorial não funcionou, é que seu script deve estar errado. Para consertar, vá em data/actions/scripts vá no arquivo leveldoor.lua e coloque isso:

 

-- level doors based on actionId

-- to make door for level x create door on map and set its actionid to x+1000

 

function onUse(cid, item, frompos, item2, topos)

reqlevel = item.actionid - 1000 -- actionids below 100 are reserved

 

if reqlevel > 0 then

if getPlayerLevel(cid) >= reqlevel then

pos = getPlayerPosition(cid)

if pos.x == topos.x then

if pos.y < topos.y then

pos.y = topos.y + 1

else

pos.y = topos.y - 1

end

elseif pos.y == topos.y then

if pos.x < topos.x then

pos.x = topos.x + 1

else

pos.x = topos.x - 1

end

else

doPlayerSendTextMessage(cid,22,'Stand in front of the door.')

return 1

end

doTeleportThing(cid,pos)

doSendMagicEffect(topos,12)

else

doPlayerSendTextMessage(cid,22,'You need level ' .. reqlevel .. ' to pass this door.')

end

return 1

else

return 0

end

end

P.S.: Esse script é o msm para Evolutions 0.6.3 e Darkonia.

Share this post


Link to post
Share on other sites
YaNzInHo    0
YaNzInHo

Muinto bom xD vai me ajudar muinto

Share this post


Link to post
Share on other sites
Bozonildo    0
Bozonildo

vlw ae YaNzInHo, espero q mais gente aprecie, postem aí o q vcs acharam pessoal!

Share this post


Link to post
Share on other sites
Dragonheart    0
Dragonheart

ficou otimo!

eu demorei um tempaum ateh descobri que dava pra por lvldoor por esse meio

parabens.

Share this post


Link to post
Share on other sites
Bozonildo    0
Bozonildo

Originally posted by Dragonheart

ficou otimo!

eu demorei um tempaum ateh descobri que dava pra por lvldoor por esse meio

parabens.

sim, muita gente ñ sabe desse meio, q é bem mais fácil, uso e nunca deu problema serve até para level 1000+, é só fazer a conta lá 1000+lv xD

Share this post


Link to post
Share on other sites
Guest getforums   
Guest getforums

Valeu! Deve ter dado trabalho fazer, obrigado!

Share this post


Link to post
Share on other sites
Bozonildo    0
Bozonildo

vlw ae getforums, é q mta gente acha díficil colocar lvdoor até agora, e é bem simples até, espero q algum modera apareça aki logo, pois tá chato do jeito q tá :S

Share this post


Link to post
Share on other sites
_Panda    0
_Panda

tuto mto bom, mais eu to tentando koloka uma leveldoor pra level 150 mais n da..... so funciona cm até level de 2 digitos?

Share this post


Link to post
Share on other sites
Bozonildo    0
Bozonildo

Originally posted by _Panda

tuto mto bom, mais eu to tentando koloka uma leveldoor pra level 150 mais n da..... so funciona cm até level de 2 digitos?

bem, eu fiz uma level door de lv 150 aki e foi normal, já consegui aki até de lv 1000+ O.o, umas fotos aki:

 

Imagem Postada

 

Imagem Postada

Share this post


Link to post
Share on other sites
Pedroddcunha    3
Pedroddcunha

Bah

Finalmente um tutorial de como usar isto

Eu aprendi baixando um otserver com este sistema de level door

Ai eu vi as propriedades da porta

Ai eu descobri como era

xP~

 

Fui

Share this post


Link to post
Share on other sites
Edu    0
Edu

Muito bom!

parabens ai! ;D

Share this post


Link to post
Share on other sites
Bozonildo    0
Bozonildo

vlw aí, tinha mta gente q ñ sabia disso, e é mto simples, aí fiz esse tuto.

Share this post


Link to post
Share on other sites
Guest MarioToledo   
Guest MarioToledo

Muito bom mano... nao sabia dessa função do map editor. Caramba, nao falta mais nada pra ele fazer, só falta assubiar e chupar manga ao mesmo tempo

Share this post


Link to post
Share on other sites
Bozonildo    0
Bozonildo

pior q eh, daki a poko o 7.9 vai estar bom, aí vai fikar lgl

Share this post


Link to post
Share on other sites
Fairbanks    0
Fairbanks

Vlw Cara,Eu num sabia disso xD

Ajudou bastante,ta otimo o tutorial gratz

Share this post


Link to post
Share on other sites
Con    0
Con

ixplico bem... vai ajuda mta gente..

Share this post


Link to post
Share on other sites
Guest Tetenho   
Guest Tetenho

esse metodo é o melhor e o mais simples de ser feito na minha opniao

garanto que vai ajudar muita gente mesmo

parabens

Share this post


Link to post
Share on other sites
Rogui    0
Rogui

Muito bom, não sabia que dava pra fazer assim :)

Share this post


Link to post
Share on other sites
Shaka    0
Shaka

Very Good..

Afinal, me ajudou..

Parabens ae...

Share this post


Link to post
Share on other sites
Bozonildo    0
Bozonildo

Vlw aí gente, brigado por gostarem do meu tuto, vlw msm, só espero a volta dos moderas agora.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×