condition:setParameter(CONDITION_PARAM_SHOWICON, true)
How original tibia haste symbol looks like since i never played simple tibia i always played on naruto servers so i dont know how originally it should look like
Who knows maybe
you misunderstood.
once you open the picture and save it again, it can be saved in different formats and with different quality, if the resolution is lower compared to original it might not read your icons properly
and with regards to positioning, you can read this
What are x and y coordinates?
X and y coordinates are the horizontal and vertical addresses of a point in any 2D space and help identify the exact location of a point. Learn more here.whatis.techtarget.com
Okay soyou misunderstood.
once you open the picture and save it again, it can be saved in different formats and with different quality, if the resolution is lower compared to original it might not read your icons properly
and with regards to positioning, you can read this
What are x and y coordinates?
X and y coordinates are the horizontal and vertical addresses of a point in any 2D space and help identify the exact location of a point. Learn more here.whatis.techtarget.com
bumpOkay so
- Im using pic file that a lot of projects are using it to, completely same file and for them it works
- I just looked into it and speed icon is same on 8.60 default pic file
- If i saved with different format like you say it shouldn't show another icons but pk, pz and etc appears in game.
local combat = Combat()
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)
combat:setParameter(COMBAT_PARAM_AGGRESSIVE, false)
local condition = Condition(CONDITION_HASTE)
condition:setParameter(CONDITION_PARAM_TICKS, 33000)
condition:setFormula(0.3, -24, 0.3, -24)
function onCastSpell(creature, variant)
creature:addCondition(condition)
return combat:execute(creature, variant)
end
Nop nothing. I found small progressTry This
Lua:local combat = Combat() combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN) combat:setParameter(COMBAT_PARAM_AGGRESSIVE, false) local condition = Condition(CONDITION_HASTE) condition:setParameter(CONDITION_PARAM_TICKS, 33000) condition:setFormula(0.3, -24, 0.3, -24) function onCastSpell(creature, variant) creature:addCondition(condition) return combat:execute(creature, variant) end
bumpbump
Well default tibia .pic file doesnt show haste symbol either. So its not .pic fileSince you added the buff icon and it shows a black square, that means the way your icons are formatted in the .pic file is incorrect. You might have to start over with a new pic and add your changes 1 by 1 until you figure out what change is causing it to break. My best guess is that one of your icons is bigger than it used to be which pushes the image over causing the client to pull a blank square where there used to be an icon.
I would be great to get the answerThat's odd, I wonder if the dat or spr contains any info on those symbols then... I would have to dig a bit to find out for sure.
bumpWell default tibia .pic file doesnt show haste symbol either. So its not .pic file
View attachment 34879