• 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!

Centered outfit

Caio Cesar

Member
Joined
Nov 23, 2014
Messages
60
Reaction score
6
Location
Brazil - Goiânia
I edited the otclient source, to center outfits bigger than 32pixel.

Thats a example:
tamanho.png
b.gif c.gif
Its not 100% yet, and they crop in editor are wrong, thats just a example. Instead all sprites bigger than 32 be rendered to left, it could be centered in the main sqm :)


The problem is the sources edits are not correct yet and the outfit displaying cropped while over things that have those flags: borders/walls/creatures.
As i see its something with the draw order.

https://imgur.com/7rQ5dPg

Could be solved drawing the outfits 2x above those flags, i could share the source edits if someone would like helps achieve that!
 
Looks cool, I thought doing this but I need to learn more about the OTClient before I can start changing graphical things, sorry I can't be of much help!
 
I already tried and it's impossible because if you change the draw order this will override the sprites ( some things will be croped on the screen ... )
Baxnie already said that one time in the otc repo.
 
Back
Top