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

Help: Custom life bar

joaotmed

New Member
Joined
Jan 20, 2018
Messages
10
Reaction score
0
Hello everyone! I have a project for a open source custom server, I've been having a lot of progress.
I don't know really well how to edit OTClient tho..

How can I put custom life bar in an OTClient? Ex. The bar would be an image that I made for a life bar.
I tried to edit by the life documents inside the OTC source, but I really don't know how to do it!

Thank you for your time, waiting for answers.
 
Hello joaotmed,

you could also have taken a look in the OTClient-Github-Wiki: Module Tutorial · edubart/otclient Wiki · GitHub

Kindest Regards,
Okke

Helo Okke,

First of all, thanks for your response.
I took a slow and good read at the article you suggested. But I really couldn't do it after reading! I don't have enough knowledge. I think I'm just supposed to know how to make the client access an image and make it a life bar.

PS: It's really common! I've seen on a lot of clients, but there is no tutorial :(
 
If you want custom health bar as image, you can make function that will set width and clip the image according to % of health.
 
Back
Top