• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Client 10.77 [TFS 1.1] Magic and Distance effect animations.

whitevo

Feeling good, thats what I do.
Joined
Jan 2, 2015
Messages
3,452
Solutions
1
Reaction score
625
Location
Estonia
These Gifs were made by Martin (no clue who is he in OTLand will figure out soon xD)
First number shows the Number value for ENUM, second caps text is the variable value (both work)
This table will just help to choose effect or convert the effects without need to test "what did that ENUM do again"

MAGIC EFFECTS:
1.
3o85xrHtDiEQnPalnq.gif
CONST_ME_DRAWBLOOD
2.
xTiTnCDbuTHR4Jxze8.gif
CONST_ME_LOSEENERGY
3.
xTiTnIcjaZ9eXR7Mas.gif
CONST_ME_POFF
4.
3o85xJzEa0zMmEKNCU.gif
CONST_ME_BLOCKHIT
5.
xTiTnzxGvPj1dmKxyM.gif
CONST_ME_EXPLOSIONAREA
6.
3o85xxdoRfcSnplJYY.gif
CONST_ME_EXPLOSIONHIT
7.
l0O9xxOLuD9cvQvRu.gif
CONST_ME_FIREAREA
8.
xTiTnArBQT5PNQvPMI.gif
CONST_ME_YELLOW_RINGS
9.
3o85xLkkD39jA7aF68.gif
CONST_ME_GREEN_RINGS
10.
xTiTndvqLCYr0XqLja.gif
CONST_ME_HITAREA
11.
3o85xs9naUAEiR5mEg.gif
CONST_ME_TELEPORT
12.
3o85xkDRXZWsb3VPlm.gif
CONST_ME_ENERGYHIT
13.
3o85xrXE281bm9b9h6.gif
CONST_ME_MAGIC_BLUE
14.
3o85xHCeeHuu6FrMUU.gif
CONST_ME_MAGIC_RED
15.
3o85xIvJXVZi1unKGk.gif
CONST_ME_MAGIC_GREEN
16.
xTiTnyfKJEu7YrgfOU.gif
CONST_ME_HITBYFIRE
17.
xTiTnpZhpRIRRfvUHu.gif
CONST_ME_HITBYPOISON
18.
3o85xz6V1XTBwZhJKw.gif
CONST_ME_MORTAREA
19.
3o85xkjm6qrXUHf4is.gif
CONST_ME_SOUND_GREEN
20.
3o85xJIHOFGgrrUmBy.gif
CONST_ME_SOUND_RED
21.
xTiTnipBeGYqD93WFi.gif
CONST_ME_POISONAREA
22.
3o85xzwiPRChMZLY64.gif
CONST_ME_SOUND_YELLOW
23.
3o85xCiCDdQHOdvYju.gif
CONST_ME_SOUND_PURPLE
24.
xTiTnHNXOoDe6p1cgE.gif
CONST_ME_SOUND_BLUE
25.
3o85xnbCMRRCOjQJck.gif
CONST_ME_SOUND_WHITE
26.
xTiTnpZelzlsMRdLk4.gif
CONST_ME_BUBBLES
27.
xTiTnJ9eGVa54bSA6Y.gif
CONST_ME_CRAPS
28.
xTiTniSG7cU68mixtC.gif
CONST_ME_GIFT_WRAPS
29.
xTiTniKicALseVq0TK.gif
CONST_ME_FIREWORK_YELLOW
30.
3o85xwEuuvf5wFuK3K.gif
CONST_ME_FIREWORK_RED
31.
3o85xEHeMmRdbVw7Je.gif
CONST_ME_FIREWORK_BLUE
32.
xTiTnBuYYClTzJ1OHC.gif
CONST_ME_STUN
33.
3o85xkypMntwBunsmQ.gif
CONST_ME_SLEEP
34. BROKEN :-( CONST_ME_WATERCREATURE
35.
3o85xCWTuLQbeT8QVO.gif
CONST_ME_GROUNDSHAKER
36.
xTiTnxT6dKrC2FbY0o.gif
CONST_ME_HEARTS
37.
3o85xJC2RZbw5m21Ak.gif
CONST_ME_FIREATTACK
38.
xTiTns0IwmDMPLlhdK.gif
CONST_ME_ENERGYAREA
39.
3o85xALiR30okmUe6Q.gif
CONST_ME_SMALLCLOUDS
40.
xTiTnhA8YcTQltTuDu.gif
CONST_ME_HOLYDAMAGE
41.
3o85xpmjBuyhLVrEWY.gif
CONST_ME_BIGCLOUDS
42.
xTiTnH5AeZtF4gpiGk.gif
CONST_ME_ICEAREA
43.
3o85xGYlTrBsLijSgw.gif
CONST_ME_ICETORNADO
44.
xTiTnnDimnAIc4SaZ2.gif
CONST_ME_ICEATTACK
45.
3o85xq89LlqKjsRUkg.gif
CONST_ME_STONES
46.
xTiTnwXXn84nc2kX9C.gif
CONST_ME_SMALLPLANTS
47.
3o85xFjSJfW4SepgGY.gif
CONST_ME_CARNIPHILA
48.
xTiTnlHZQDtW09OnHW.gif
CONST_ME_PURPLEENERGY
49.
3o85xoDo1WcXc3zUw8.gif
CONST_ME_YELLOWENERGY
50.
xTiTnkCYvU0aBZJyhi.gif
CONST_ME_HOLYAREA
51.
xTiTnlVcKw6fsagbD2.gif
CONST_ME_BIGPLANTS
52.
l0O9xkf1rmW9FlDWg.gif
CONST_ME_CAKE

Not sure why he didn't continue with effects. I'm going to investigate that.

Going to upload distance effects now (will take alot more time, not that well made gifs)
 
Last edited by a moderator:
DISTANCE EFFECTS:
Title is ENUM variable and the spoiler number is ENUM number

CONST_ANI_SPEAR
3oEduIzN6LqQkCOdmE.gif
CONST_ANI_BOLT
l41lV4X55mSrHLkuk.gif
CONST_ANI_ARROW
3o85xp6BukOfmD2Mso.gif
CONST_ANI_FIRE
xTiTnGNWRyo9rUskpy.gif
CONST_ANI_ENERGY
xTiTnndfVNxowqPtcs.gif
CONST_ANI_POISONARROW
xTiTnvVCnF965DcY6I.gif
CONST_ANI_BURSTARROW
xTiTnL9U5aWg7G5S6s.gif
CONST_ANI_THROWINGSTAR
xTiTnhw75GsDVb16ne.gif
CONST_ANI_THROWINGKNIFE
3o85xBLltR2z2i4xB6.gif
CONST_ANI_SMALLSTONE
3o85xjUT5L7FmjIsYU.gif
CONST_ANI_DEATH
xTiTnBVOmCU1guk8Xm.gif
CONST_ANI_LARGEROCK
3o85xltyIubI0dlJDO.gif
CONST_ANI_SNOWBALL
3o85xDXo2CTbwabNE4.gif
CONST_ANI_POWERBOLT
xTiTniZYbl98EpX7ry.gif
CONST_ANI_POISON
3o85xxo2JyHIV2RUu4.gif
CONST_ANI_INFERNALBOLT
3o85xtVMlFgnHNG4Ao.gif
CONST_ANI_HUNTINGSPEAR
3o85xDWJ0zMBPOGOv6.gif
CONST_ANI_ENCHANTEDSPEAR
3o85xwSZvo0VQomKA0.gif
CONST_ANI_REDSTAR
3o85xl4wRBCnMf8nWE.gif
CONST_ANI_GREENSTAR
xTiTnrs6bhw9CXIU1i.gif

CONST_ANI_ROYALSPEAR
3o85xodfWHMT6L6HDy.gif
CONST_ANI_SNIPERARROW
xTiTnltl7AGr9FZees.gif
CONST_ANI_ONYXARROW
xTiTnH1wpmYQ8YYOCA.gif
CONST_ANI_PIERCINGBOLT
xTiTnLWMIUSr8wdxSg.gif
CONST_ANI_WHIRLWINDSWORD
xTiTnJsvDrhSFjY5A4.gif
CONST_ANI_WHIRLWINDAXE
3o85xn3SlzFlb7Uk2A.gif
CONST_ANI_WHIRLWINDCLUB
3o85xmed5phBvXNKy4.gif
CONST_ANI_ETHEREALSPEAR
3o85xEyOl8Meq7Lavu.gif
CONST_ANI_ICE
xTiTnCWAN4IEn1LJDy.gif
CONST_ANI_EARTH
xTiTnIKXzORoBSqiGs.gif
CONST_ANI_HOLY
xTiTnMkrvjdDABUuC4.gif
CONST_ANI_SUDDENDEATH
xTiTnyRKVq6q9JXSQU.gif
CONST_ANI_FLASHARROW
3o85xsZX5F4NlIGACI.gif
CONST_ANI_FLAMMINGARROW
3o85xkl7Zq5jvqAvM4.gif
CONST_ANI_SHIVERARROW
l0O9xarBlMj4AbOta.gif
CONST_ANI_ENERGYBALL
3o85xygToPuARZWj1m.gif
CONST_ANI_SMALLICE
3o85xFemi466NlzM6Q.gif
CONST_ANI_SMALLHOLY
xTiTnEcrnv6BZDnGsU.gif
CONST_ANI_SMALLEARTH
xTiTnlaTkeGfxAO7LO.gif

CONST_ANI_EARTHARROW
xTiTnHNTeWPbSusltC.gif
CONST_ANI_EXPLOSION
3o85xEjVe55hbbkOw8.gif
CONST_ANI_CAKE
3o85xpTUANEOawIUGk.gif
CONST_ANI_TARSALARROW
3o85xzefyIyQa440BG.gif
CONST_ANI_VORTEXBOLT
xTiTnH5oJIbJWUhYQ0.gif
CONST_ANI_PRISMATICBOLT
xTiTnK7zol6jfAWGFq.gif
CONST_ANI_CRYSTALLINEARROW
3o85xAqUoKrA5EXVDy.gif
CONST_ANI_DRILLBOLT
xTiTneLizUd59f0YHm.gif
CONST_ANI_ENVENOMEDARROW
3o85xmb1NXhUmfNxXa.gif
CONST_ANI_WEAPONTYPE
xTiTnKnr1GjzTB2GQw.gif
CONST_ANI_NONE
xTiTnorbwzU8MCqfOo.gif
 
Last edited by a moderator:
Awesome work ! Was searchig for something like that long time :D
 
This thread here has the still images of the final effects for whomever needs. I have both bookmarked now, thanks!

Sorry for those of you with epilepsy
023729931_porygon.gif
 
use CONST_, not numbers
numbers tend to move, for example try print(MESSAGE_INFO_DESCR).
In 0.4 for 8.6 and 1.x for 10.x are different so avoid using numbers and use those names instead
 
use CONST_, not numbers
numbers tend to move, for example try print(MESSAGE_INFO_DESCR).
In 0.4 for 8.6 and 1.x for 10.x are different so avoid using numbers and use those names instead
i don't think numbers will change from now on. I keep using numbers, because this makes code look better and this thread is kind of extension for this now.
Although using CONST will make the script more readable.

Even still I prefer using numbers :D
 
Me too. They changed something in enums and I had to check my scripts again so be careful.
 
Me too. They changed something in enums and I had to check my scripts again so be careful.
hue

Btw, haven't seen you a while, what good are you up to now :D?
 
Last edited:
Can anyone send me the gifs/links for magic effects beyond 52?
this been unfinished thread for far too long xD
 
Just you know.
Beyond distance effect 43 my client crashes (using TFS 1.2, client 10.77)
 
Thank you very much this help me very much!
I need it is a old theard but this is good :D

How can i make this spell use distance effect?

Code:
local combat = Combat()
combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
combat:setParameter(COMBAT_PARAM_EFFECT, 18)
combat:setParameter(COMBAT_PARAM_BLOCKARMOR, true)
combat:setParameter(COMBAT_PARAM_USECHARGES, true)
combat:setArea(createCombatArea(AREA_WAVE3))

function onGetFormulaValues(player, skill, attack, factor)
    local min = (player:getLevel() / 0.1) + (skill * attack * 0.03) + 7
    local max = (player:getLevel() / 0.1) + (skill * attack * 0.05) + 3
    return -min, -max
end

combat:setCallback(CALLBACK_PARAM_SKILLVALUE, "onGetFormulaValues")

function onCastSpell(creature, variant)
    return combat:execute(creature, variant)
end
 
Tibias physics laws. If you throw item diagonally it moves faster than if you threw it straight 🤔
 
Back
Top