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

Z2 - HUD Replacement (Alpha19)

Hey, first I wanna thank you for this very good mod you gave to us. 

I have 2 problems :)  Very minor you will see.

- 1 Can the black bar, appearing when you over an object with your mouse, be less large ie matching the size of the name of the object?

- 2 It seems that the Food bar does not function as intended the numbers are ok, but the color does not move :)  unlike the water one which is ok, color and numbers moving accordingly.

Sorry for my English, it's not my language.

 
Hey, first I wanna thank you for this very good mod you gave to us. 

I have 2 problems :)  Very minor you will see.

- 1 Can the black bar, appearing when you over an object with your mouse, be less large ie matching the size of the name of the object?

- 2 It seems that the Food bar does not function as intended the numbers are ok, but the color does not move :)  unlike the water one which is ok, color and numbers moving accordingly.

Sorry for my English, it's not my language.
Hey, I am glad to hear you like it, sorry to hear about the issues.

1 - Not really, because that bar is not a reactive item so it cannot change in size depending on the label inside. It is now set to 100% of the window size that the pimps set for that window to account for other languages having longer labels. That said, you can "fix" it yourself though by removing the graphics entirely. You can do this by editing the windows.xml file, find the interactionPrompt window and delete all the sprite entries but leave the label entry intact. That will remove all the custom sprites for that window.

2 - You found a bug! I've made a mess it seems and set that bar to be a Stamina bar rather than a Food bar. Rectified, and will push a new version soon. Thank you.

 
DqeOHfk.jpg


Uploaded Z2 A19.0.Release2 to github.

Release Notes - Z2:

  • Fixed a bug with the food bar where it was set as a stamina bar and not food. (Thanks to Oani for pointing that out.)
  • Separated the color styles for the line diamonds.

 


Uploaded Z2 A19.0.Release2 to github.

Release Notes - Z2:

  • Fixed a bug with the food bar where it was set as a stamina bar and not food. (Thanks to Oani for pointing that out.)
  • Separated the color styles for the line diamonds.
Nice, what a fast answer and you did the fix! I am downloading the update and will try to adjust the interactionPrompt window.

Thank you very much.

 
Hey, I made a forum account just to post on this thread. I really like the style of this hud you created SirillionI just installed it onto my server and I think it looks nice. Would it be possible to remove the long orange lines on the right and left side of the screen? I find them a bit distracting. Is this something I can just do myself?

 


Uploaded Z2 A19.0.Release2 to github.

Release Notes - Z2:

  • Fixed a bug with the food bar where it was set as a stamina bar and not food. (Thanks to Oani for pointing that out.)
  • Separated the color styles for the line diamonds.
Nice, what a fast answer and you did the fix! I am downloading the update and will try to adjust the interactionPrompt window.

Thank you very much.

I have just tested the food bar, now the size is accurate with the numbers, but the bar is flashing ^^ :(

 
Hey, I made a forum account just to post on this thread. I really like the style of this hud you created SirillionI just installed it onto my server and I think it looks nice. Would it be possible to remove the long orange lines on the right and left side of the screen? I find them a bit distracting. Is this something I can just do myself?
Please have a look a few posts up, 5 or 6, where I answered this question to another user.

 
Nice, what a fast answer and you did the fix! I am downloading the update and will try to adjust the interactionPrompt window.

Thank you very much.

I have just tested the food bar, now the size is accurate with the numbers, but the bar is flashing ^^ :(
Indeed it does, I didn't notice that. Strange thing. The code is just a rework of the vanilla so I will peg that on a vanilla issue for now but I will continue to look into it and see. It appears to only happen when standing still though.

 
Hello,

what code should i use to put only zombie names and no health on zombies?

tanks
Edit windows.xml, navigate to line 543 or search for windowTargetBar. In that window the lines 564 and 565 are the name and health values respectively. Delete or comment the entire line of choice to remove that entry from the target health bar.

 
DqeOHfk.jpg


Uploaded Z2 A19.0.Release3 to github.

Release Notes - Z2:

  • Fixed an issue with the blinking food bar.
  • Fixed a minor issue with the target health bar.


The modlets can now also be downloaded from Nexusmods for those that prefer that.

 
Sorry for the question. Still trying to figure out mods myself. I love this hud. I am having trouble understanding where the color for the hud is changed. I read where you said it could be changed. I am just not sure what line needs to be changed in the styles.xml. Can you give me a clue where to find the values to change. I want a blue or teal color for it. Thank you

 
Sirillion said:
Indeed it does, I didn't notice that. Strange thing. The code is just a rework of the vanilla so I will peg that on a vanilla issue for now but I will continue to look into it and see. It appears to only happen when standing still though.
Ok, it is a very minor issue and it does not affect the gameplay at all, thank you very much for your work very nice mod.

 
Sorry for the question. Still trying to figure out mods myself. I love this hud. I am having trouble understanding where the color for the hud is changed. I read where you said it could be changed. I am just not sure what line needs to be changed in the styles.xml. Can you give me a clue where to find the values to change. I want a blue or teal color for it. Thank you
Are you wanting to change the orange lines to teal?

<style_entry name="mainLineColor" value="255,128,0,255" />


This is the line in styles.xml that dictates the color for the lines around the screen. Just change the value to a color you prefer.

 
Are you wanting to change the orange lines to teal?

<style_entry name="mainLineColor" value="255,128,0,255" />


This is the line in styles.xml that dictates the color for the lines around the screen. Just change the value to a color you prefer.
This is correct, I use an RGB calculator like www.rapidtables.com to find the color values I want then put those in.

The first three values indicate the colors while the forth indicate the opacity.

So if you want to change the colors you need to set the RGB value with x,x,x then if it is too sharp you can tone it down by reducing the last value.

 
Back
Top