tModLoader

tModLoader

54 ratings
Cursor Health Display
   
Award
Favorite
Favorited
Unfavorite
Mod Features: Utilities, Visual Tweaks
Mod Side: Client
tModLoader Version: 1.4.4
Language: English
File Size
Posted
Updated
25.098 MB
9 Sep, 2023 @ 10:55am
5 Jul, 2024 @ 10:54pm
5 Change Notes ( view )

Subscribe to download
Cursor Health Display

Description
The Cursor Health Display mod draws your health in a ring around your mouse.
It does more than just that though, it also shows Mana, Wing Time, and Heal Potion Sickness, among other things.
I will probably add more, feel free to suggest things to add.

This mod does not change the mouse cursor itself. The cursor in the icon is the KDE Breeze cursor.

It's now on GitHub: https://github.com/FuzzyExpress/CursorHP

Credits:
Starting template: https://github.com/Lanboost/TModLoader_LansSimpleHealthbar?tab=MIT-1-ov-file
Image converting script: https://github.com/maxme/PNG-Alpha-Premultiplier/blob/master/NPMApng2PMApng.py

Update V2.0:

Replaced Enabled with Slider for Off, Legacy, and Images


Images Mode:

The Cursor display ring now uses sets of images, one set for each ring, and draws it in a UI.
This produces a much cleaner and preformant result than drawing lines.
It can now also show Mana Sickness


For Config:

Added drop downs for Common, Images, and Legacy settings.

Dropped default for Legacy: Line Multiplyer to 0.05 instead of 0.5
Flipped default for Common: Force Visiblity at full health to False
Flipped default for Common: show heal sickness at full heath to True
Added config for Mana Sickenss, which defailts to True
Added config for Force Mana Sickness, which defaults to False

Originally posted by tModLoader:
Developed By FuzzyExpress
Popular Discussions View All (1)
8
25 Jan, 2024 @ 8:57pm
Suggestions - Instead of all in the comments where pages and responses are annoying
Icarusara
19 Comments
FuzzyExpress  [author] 6 Apr, 2024 @ 8:57pm 
Yeah... that's a thing, it lags as the XNA platform does not like how I use the draw line function 3000 times per frame (not normal lol). Try the no fancy rings setting, I don't remember what it's called exactly. I think there might also be a quality setting too.
Does your friend have the mod installed as well? If they do then that makes sense, otherwise I have no idea.
Dare___ 1 Apr, 2024 @ 10:41pm 
Hey! On multiplayer, this mod was causing insane lag to both me and my friend for some reason.
My specs: 6700XT, 7600x, Gskill 6000 MHZ DDR5
Friends specs: 3090TI, i9 9900kf, RAM unspecified
Bit weird that it did. Wondering if anyone else has this issue.
Mickmane 21 Dec, 2023 @ 11:27am 
If nothing broke the mod within the last week, it works. :)
SuperFastJohn07 21 Dec, 2023 @ 7:29am 
does the mod still work?
FuzzyExpress  [author] 15 Nov, 2023 @ 7:15am 
@Lv152
I believe Lan has a mod that does that, it looks the same what all the other creatures in the game have, it also has a mana bar. But I'll see about just drawing lines too.

@Mx. Cade
They are stacked? I would have thought I would have tested that but I guess not. I'll have a look at that and fix it.

;
I haven't updated in a while because I stopped playing Terraria, I have not yet found a great IDE for Tmod on Linux and school stuff. I do have a bunch of other things I had planed, like fixing the line drawing, a better config and scaling.
Mx. Cade 13 Nov, 2023 @ 10:57pm 
Could you move the Chaos State ring so it isn't under the flight wheel? It makes it difficult to use them both.
Lv152 13 Nov, 2023 @ 10:13am 
Can you make an alternate of the ring to be a bar below the player instead?
And show the mp always too?
Keter 3 Oct, 2023 @ 10:45pm 
Yes the unfancy rings fixed the issue!
Mickmane 27 Sep, 2023 @ 5:16pm 
thesandersfamily, thanks! Looking forward to always finding my cursor. :)
FuzzyExpress  [author] 27 Sep, 2023 @ 5:09pm 
Didn't expect so many people to be using my mod!

@bart
Honestly that's like half the reason I made the mod too, but mainly just wanted to get into modding.
And also I'll have to disagree with your disagreement, using the DrawLine() function 3000+ times is very laggy, among other bugs.
@PennyGod
Yeah, I'll implement that, I thought about it then forgor.
@Mickmane
No it does not, but I will add that to the config since it is desired.

@Ukidon
I am aware of that bug, I have no clue why that happens either, I've seen it on both sides of the screen when using a gravity potion and sometimes, just another one half way between the center of the screen and the mouse.
@Keter
I can see that, no clue why though, I guess it has something to do with the pulsing effect. The "getting hit" part is just because it starts drawing lines.

I uploaded an update I made last week that I forgot to upload that adds a ring multiplier and a fancy rings toggle to reduce lag if needed. :terraria: