• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Object builder magic effect offset 64x64

Thorn

Spriting since 2013
Joined
Sep 24, 2012
Messages
2,203
Solutions
1
Reaction score
923
Location
Chile
Hello guys, im having a poblem with some 64x64 spell effects, here is what i have and what i need
e29c67db3a885e925732e4bcce9e93db.png


64x64 round spells like like first image with no offset, and i want picture 2, also i have seen in other games that they made this possible, so i know it's possible, and they told me to check the offset in OB, but all numbers i try, only move the effect to left and up, not right and down, cos doesn't accept negative numbers so i have no idea how to achieve this D:

does someone know plz???
 
I think the effect: CONST_ME_SMOKE has similar "issue". Maybe do it through lua? Here is a example:
Code:
    local position = player:getPosition()
    position.x = position.x + 1
    position:sendMagicEffect(CONST_ME_SMOKE)
 
I think the effect: CONST_ME_SMOKE has similar "issue". Maybe do it through lua? Here is a example:
Code:
    local position = player:getPosition()
    position.x = position.x + 1
    position:sendMagicEffect(CONST_ME_SMOKE)
honestly, even with those lines you provided, i couldn't make a full script, also, i know for a fact that it can be done in the offset :(
the guys from the project i asked told me to edit the offset, they havent answered since then, and i have tried many numbers yet i cant achieve this result :c
 
Could you give us any pics or a gif? To show how it looks currently
D0EuYoV.png


left picture is how it looks, i need to move it to the center of the character, just like the right image (they are different spells but same rule applies
 
ok so, you should check out in otclient options of effect number 41 (I guess) "storm" cloud, rain and lightnings. That effect is similar to yours. (the same size) or combine with positions like Printer wrote.
 
ok so, you should check out in otclient options of effect number 41 (I guess) "storm" cloud, rain and lightnings. That effect is similar to yours. (the same size) or combine with positions like Printer wrote.
the thing is all those cipsoft 64x64 spells look good, because they all center to the outfit, for example, in effect 41, the thunders and rain go directo to the player, instead this spell im trying to move is just circular, it's actually top down perspective, that why it doesnt look good :S
 
Did you try the effect with the code i provided. If it works, i can help you make it work with your full code.

Else look on someone else 64x64 spell and see how they offset it
 
Did you try the effect with the code i provided. If it works, i can help you make it work with your full code.

Else look on someone else 64x64 spell and see how they offset it
hey buddy, im trying to apply your code, but im not sure how, i paste that into a spell i just created to test but i get error with
attempt to index global 'player' (a nil value), also tried with creature but got the same error.
Also tried as a talkaction but got the same error :S
 
Last edited:
Back
Top