Nie tylko o Tibii i OTS...
Witam, chciałem się podzielić tą mapą jest to skleja różnych map evo + edit by me [Mapa pod tibię 8.10]
Są nowe potwory które ja zrobiłem i nie tylko ja. (Potwory dodacie sobie sami w swoim silniku).
Nowy npc. [Potem dam na niego skrypt].
No nowe expowiska i takie tam ...
Dobra zacznijmy już od screenów
Temple:
Depo:
Exp room 1:
Exp room 2:
Exp room 3:
Ten nowy npc "Straznik wierzy demonow":
Teraz dam skrypt na tego npc.
Data -> NPC -> tworzymy Straznik wierzy demonow.xml -> Wklejamy to:
Spoiler:
<?xml version="1.0"?>
<npc name="Straznik wierzy demonow" script="data/npc/scripts/teleport.lua" autowalk="25">
<health now="40" max="40"/>
<look type="268" head="95" body="57" legs="113" feet="115" addons="3"/>
</npc>
Następnie
Data -> NPC -> scripts -> tworzymy plik o nazwie teleport.lua
Spoiler:
local focus = 0
local talk_start = 0
local target = 0
local following = false
local attacking = false
function onThingMove(creature, thing, oldpos, oldstackpos)
end
function onCreatureAppear(creature)
end
function onCreatureDisappear(cid, pos)
if focus == cid then
selfSay('Good bye then.')
focus = 0
talk_start = 0
end
end
function onCreatureTurn(creature)
end
function msgcontains(txt, str)
return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)'))
end
function onCreatureSay(cid, type, msg)
msg = string.lower(msg)
if (msgcontains(msg, 'hi') and (focus == 0)) and getDistanceToCreature(cid) < 4 then
if isPremium(cid) then
selfSay('Elo ' .. getCreatureName(cid) .. '! Mogę cię przenieść do wierzy demonow za mala oplata [70gp]jesli chcesz pofrunac napisz wierza demonow.(70gp everywhere)')
focus = cid
talk_start = os.clock()
else
selfSay('Sorry, only premium players can travel by boat.')
focus = 0
talk_start = 0
end
elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then
selfSay('Sorry, ' .. getCreatureName(cid) .. '! I talk to you in a minute.')
elseif focus == cid then
talk_start = os.clock()
if msgcontains(msg, 'wierza demonow') then
if pay(cid,50) then
travel(cid, 397, 999, 13)
selfSay('Let\'s go!')
focus = 0
talk_start = 0
else
selfSay('jestes splukany ziomus.')
end
elseif msgcontains(msg, '') then
if pay(cid,50) then
travel(cid, 453, 480, 6)
selfSay('Let\'s go!')
focus = 0
talk_start = 0
else
selfSay('jestes splukany ziomus.')
end
elseif msgcontains(msg, '') then
if pay(cid,50) then
travel(cid, 517, 439, 6)
selfSay('Let\'s go!')
focus = 0
talk_start = 0
else
selfSay('jestes splukany ziomus.')
end
elseif msgcontains(msg, '') then
if pay(cid,50) then
travel(cid, 431, 421, 6)
selfSay('Let\'s go!')
focus = 0
talk_start = 0
else
selfSay('jestes splukany ziomus.')
end
elseif msgcontains(msg, '') then
if pay(cid,50) then
travel(cid, 267, 317, 6)
selfSay('Let\'s go!')
focus = 0
talk_start = 0
else
selfSay('jestes splukany ziomus.')
end
elseif msgcontains(msg, '') then
if pay(cid,50) then
travel(cid, 430, 624, 7)
selfSay('Let\'s go!')
focus = 0
talk_start = 0
else
selfSay('jestes splukany ziomus.')
end
elseif msgcontains(msg, 'bye') and getDistanceToCreature(cid) < 4 then
selfSay('NO to pa, ' .. getCreatureName(cid) .. '!')
focus = 0
talk_start = 0
end
end
end
function onCreatureChangeOutfit(creature)
end
function onThink()
if focus > 0 then
x, y, z = creatureGetPosition(focus)
myx, myy, myz = selfGetPosition()
if ((myy-y==0) and (myx-x<=0 and myx-x>=-4)) then
selfTurn(1)
end
if ((myy-y==0) and (myx-x>=0 and myx-x<=4)) then
selfTurn(3)
end
if ((myx-x==0) and (myy-y<=0 and myy-y>=-4)) then
selfTurn(2)
end
if ((myx-x==0) and (myy-y>=0 and myy-y<=4)) then
selfTurn(0)
end
if ((myy-y==-2) and (myx-x>=-1 and myx-x<=1)) then
selfTurn(2)
end
if ((myy-y==2) and (myx-x>=-1 and myx-x<=1)) then
selfTurn(0)
end
if ((myx-x==2) and (myy-y>=-1 and myy-y<=1)) then
selfTurn(3)
end
if ((myx-x==-2) and (myy-y>=-1 and myy-y<=1)) then
selfTurn(1)
end
if ((myy-y==-3) and (myx-x>=-2 and myx-x<=2)) then
selfTurn(2)
end
if ((myy-y==3) and (myx-x>=-2 and myx-x<=2)) then
selfTurn(0)
end
if ((myx-x==3) and (myy-y>=-2 and myy-y<=2)) then
selfTurn(3)
end
if ((myx-x==-3) and (myy-y>=-2 and myy-y<=2)) then
selfTurn(1)
end
if ((myy-y==-4) and (myx-x>=-3 and myx-x<=3)) then
selfTurn(2)
end
if ((myy-y==4) and (myx-x>=-3 and myx-x<=3)) then
selfTurn(0)
end
if ((myx-x==4) and (myy-y>=-3 and myy-y<=3)) then
selfTurn(3)
end
if ((myx-x==-4) and (myy-y>=-3 and myy-y<=3)) then
selfTurn(1)
end
end
if (os.clock() - talk_start) > 30 then
if focus > 0 then
selfSay('Next Please...')
end
focus = 0
end
if focus ~= 0 then
if getDistanceToCreature(focus) > 5 then
selfSay('Good bye then.')
focus = 0
end
end
end
Download Mapy: http://www.speedyshare.com/files/20159252/world.rar
Download Map Editoru dodane monstery specjalnie do tej mapy: http://www.speedyshare.com/files/201594 … _Guzur.rar
Skan Mapy: http://www.virustotal.com/pl/analisis/c … 1262276463
Ostatnio edytowany przez GoD Zengetsu (2010-01-05 18:12:17)
Offline
Usuń linka, wbij 100 postów i wklej go ^^, Co do mapy, to troche słaba, i jeszcze jedno pod jaką tibie? Bo nie wiem jak oceniać d;
Offline
OK tak zrobię. mapa pod 8.10.
Ostatnio edytowany przez GoD Zengetsu (2010-01-02 12:08:26)
Offline
Robert napisał:
Usuń linka, wbij 100 postów i wklej go ^^, Co do mapy, to troche słaba, i jeszcze jedno pod jaką tibie? Bo nie wiem jak oceniać d;
Jak nie wiesz pod jaką tibie ciekawe może nie czytasz z zrozumieniem??
Co do mapki troszkę nie taka ale mogę pochwalić tp room i npc
Offline
Ah nie podobaja mi sie te piłki mogłeś to zastąpić czym innym naprzykład jakiś głazem wiesz jest wiele opcjii a mapa mimo tego nie jest zła
Moja ocena to 7/10 nie poproszę o linka bo nie zajmuję się już otsami
Offline
Dimek dzięki za poradę ale i tak na razie nie gram w tibię. Teraz pogram trochę w metka na priv serverze 61mt2 mimo to będę odwiedzał to forum
Offline