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

Fog Effect

mackerel

Well-Known Member
Joined
Apr 26, 2017
Messages
398
Solutions
18
Reaction score
74
I was thinking of implementing fog effect in-game based on spell effect and it can be easily done, as far as I know, the spell effects are on top of players if we are talking about layers (as in photoshop). Although there might be an easier option.

So I want to know if it's possible to hide players' username/healthbar once they're in that area. If you're in-game, press CTRL+N, your username as well as health bar is hidden from you

I want to add something similar and I want to know if there is any function that can help me achieve this

Even if it's in C++, as in source, please let me know

I am just worried that is part of the Tibia client only and it would be rather difficult to add such function

Edit/
TFS 1.0
 
Last edited:
Solution
You didn't specify a TFS version you're working on.
On newer one, there's a creature:setHiddenHealth(true) function.
You didn't specify a TFS version you're working on.
On newer one, there's a creature:setHiddenHealth(true) function.
 
Solution
Back
Top