• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Telrics Health Bars

Telric

Active member
This little modlet adds health bars over zombies. The health bars appear once the zombie takes any source of damage. It will display the % of health remaining. This works on damage and healing.

This modlet adds buffs to the zombie male template. If other mods adds buffs directly to that, it could possibly cause issues. I've not tested it.

A special thanks to the great and mighty Mumpfy for creating the texture. :) Great work!

Video:

Download: (This is the original. This adds <buffs> directly to the zombie entity, so it may cause issues with other mods that do the same.)

https://www.dropbox.com/s/xrgtxx22vkrnsxr/Telrics%20Health%20Bars.zip?dl=0

Download 2.0: (This is the revised version. It adds a buff to the player's status update and then attaches a buff on hit to the target. This version also has been rewritten to be smaller and to work on animals as well.)

https://www.dropbox.com/s/gvpeifdfcuqb4d8/Telrics%20Health%20Bars%202.0.zip?dl=0

 
Last edited by a moderator:
Yes its a modlet. No code needed. Idk how to put things on the mod launcher anyway. xD But ill find out...

 
Three steps. First, place it somewhere public. Dropbox will do, though it doesn't work that well. Better on github or gitlab. Second, create a text file with links to either the mod or a directory full of mods (the distinction is relevant if the mod is on github/gitlab). I'm placing my own below just so you can see it. Finally, put that file somewhere public, and send the link to Sphereii.

Code:
https://github.com/dcsobral/7d2d/tree/master/Mods
https://gitlab.com/dcsobral/BigCities
PS: I believe it works with both the Mods/<Mod Name> layout and the <Mod Name> layout, but I had trouble in the past with one or the other.

 
Dropbox won't work; no direct links I don't think.

Could be wrong, it happened once before...

 
Alright, the modlet is available on the launcher now through the steam version option. Just sort by author name (telric) and there it is.

 
Are you using the launcher or the files from my drop box?

For the launcher, when you open it, on the left choose Steam version. Then there will be a small buton to the far right that says manage modlets.. Open that and there will be a drop down box to the right. Choose my name (telric) from the box and it will display my mods. Then just click download on the health bars.

For the drop box files, just drag them into your Mods folder in your 7dtd files. Its a modlet and doesnt require any code or SDX files.

 
People who used this in past and want to use the health bar in A18 is working great,I use in my g-portal server,work in A18 experimental and work in the stable version.

 
I would love to use it but I only see a black rectangle above zombies I hurt. A18 B155.

I unzipped it in the Mods folder "/SteamLibrary/steamapps/common/7 Days To Die/Mods/TelricsHealthBars".

I'm on Linux, maybe it's the issue?

 
Last edited by a moderator:
Hey Telric! Awesome mod. I have been using it and seen YouTubeers use the mod. The one issue it seems is the inaccuracy with the mod. I looked at the code and it is not granular enough. Currently you have it set at 12, 25, 37, 50, 62, 75, 87, 100. Can you make it more granular going up by deducting one hp at a time? If not can you release the unity3d source files so I can do it myself? Thanks!

 
made additions to tyhis mods to inclyude animals which were not showing up

replace the contents of entityclasses.xml with

Code:
<configs>
<append xpath="/entity_classes/entity_class[@name='zombieTemplateMale']">

<property name="Buffs" value="DamageDisplayBuff" />
</append>
<append xpath="/entity_classes/entity_class[@name='animalTemplateTimid']">

<property name="Buffs" value="DamageDisplayBuff" />
</append>
<append xpath="/entity_classes/entity_class[@name='animalTemplateHostile']">

<property name="Buffs" value="DamageDisplayBuff" />
</append>
</configs>
 
Hey all. I took some time to rewrite this modlet to be more compatible with other modlets. The old version would add a <buff> property to the zombie entity class directly, which could cause issues with other mods that do the same. So i redid it to attach to the player's status update buff so it will always be active on the player, then transfer to the target on hit. This new version also works on *most* animals. The old version is still available just as a backup incase a breaking bug is found...

The original post has been updated with a 2.0 download link. But here it is if you dont want to scroll back up. :)

https://www.dropbox.com/s/gvpeifdfcuqb4d8/Telrics%20Health%20Bars%202.0.zip?dl=0

Enjoy and let me know what else i can do to make this more compatible with other mods.

 
Hi Telric

Thanks for your mod very much

My friends and I are very enjoy

some question:

how to correctly install this mod in linux server ?

I put Telrics Health Bars 2.0 into 7_days_to_die_server/Mods

but everyone joined the server can't see the health bars

we put the mod into both server & client site to solve this.

can everyone use this mod by only put it at server site ?

 
I do not have a linux to test on, but i just re exported with a fresh script. Redownload and see if it shows now.

 
I'm not sure why, but for some reason when using the modlet there are two healthbars are shown? I remember using the old version and there didnt seem to be the same issue, so I'll just fall back to using that for now

20200317000956_1.jpg

 
Back
Top