Silnik TFS

Status
Zamknięty.

NeoSky

User
Zarejestrowany
Dołączył
Wrzesień 29, 2009
Posty
12
Liczba reakcji
2
Witam szukam Silnika TSF Version 0.3
Mam Version 0.2.2 i mialem 0.2.1
Oraz widzialem 0.2.3
I tu moja prosba sie do was kieduje Szukam silnika TFS 0.3
Bo na tych co mam to jest katastrofa same bledy;/
Mam dedyka wlasnie zakupionego i elegancka mapke ale brak mi silnika
wszedzie szukalem na google.pl
otland.net
otsoft.pl
itd.
Wiec za pomoc osoba dostanie + oraz moze zostac Gm lub GoD:thx:





oraz 2 prosba

Zeby byl elekf np Level up -- Skill up -- Magic up --- z efektem wiem ze to chyba sie robilo w creaturestrips ale nie znamskryptu wiec tez prosze o pomoc
 
Odp: Silnik TFS

Co do efekt?w. Par? temat?w wcze?niej kto? pisa? to samo.
Prosz? :)
data/creaturescripts/scripts/Advance.lua :
Kod:
--Script made by Pitufo/Haifurer!
local config = {
[0] = { "Fist skill UP", 30}, -- 30 = variable[2] -- Animation effect
[1] = { "Club skill UP", 30}, -- 30 = variable[2] -- Animation effect
[2] = { "Sword skill UP", 30}, -- 30 = variable[2] -- Animation effect
[3] = { "Axe skill UP", 30}, -- 30 = variable[2] -- Animation effect
[4] = { "Distance skill UP", 30}, -- 30 = variable[2] -- Animation effect
[5] = { "Shield skill UP", 30}, -- 30 = variable[2] -- Animation effect
[6] = { "Fishing skill UP", 30}, -- 30 = variable[2] -- Animation effect
[7] = { "Magic level UP", 30}, -- 30 = variable[2] -- Animation effect
[8] = { "Level UP", 30} -- 30 = variable[2] -- Animation effect
}
function onAdvance(cid, skill, oldlevel, newlevel)
local pos = getPlayerPosition(cid)
local positions = {
{x=pos.x+1,y=pos.y-1,z=pos.z},
{x=pos.x-1,y=pos.y-1,z=pos.z},
{x=pos.x+1,y=pos.y+1,z=pos.z},
{x=pos.x-1,y=pos.y+1,z=pos.z},
{x=pos.x+1,y=pos.y,z=pos.z},
{x=pos.x-1,y=pos.y,z=pos.z},
{x=pos.x,y=pos.y+1,z=pos.z},
{x=pos.x,y=pos.y-1,z=pos.z}}
for type, variable in pairs(config) do
if skill == type then
doCreatureSay(cid, ""..variable[1].." ["..newlevel.."]", TALKTYPE_ORANGE_1)
for i = 1, table.maxn(positions) do
doSendMagicEffect(positions[i],variable[2])
end
end
end
return TRUE
end
data/creaturescripts/creaturescripts.xml :
Kod:
<event type="advance" name="Advance" script="advance.lua"/>
data/creaturescripts/scripts/login.lua - dodaj t? linijk? :
Kod:
registerCreatureEvent(cid, "Advance")
I taki efekt:
2cxyyv9.png
 
Status
Zamknięty.
Back
Do góry