4 items

File information

Last updated

Original upload

Created by

RyselZ

Uploaded by

RyselZ

Virus scan

Safe to use

Tags for this mod

9 comments

  1. canaga07
    canaga07
    • premium
    • 29 kudos
    Can you add a version that only makes the health bar smaller, instead of transparent?
  2. YZMatt
    YZMatt
    • premium
    • 0 kudos
    Any idea how to make the stamina bar transparent? All I have been able to do is to get a transparent stamina bar to appear when the stamina bar is "inactive" i.e. full and hasn't just been used.

    Also, how do you format the .gui files? The ones in my data0.pak are all formatted as a single line which is horrible to read, whereas yours is formatted in a readable way. I am hoping that you have some way of automatically doing that because doing it manually sounds awful.

    Edit: not sure if I should feel dumb or smart for figuring this out 2 minutes after making my post, but it turns out if you just set the "InactiveOpacity" to whatever (I did 0.05 like your health bar setting) and then disable the stamina bar in the HUD options ingame. That leaves you with the inactive bar which works just like the normal one. Not sure exactly what the reason is for it being coded this way but it works great.

    Edit2: I guess I will settle on dumb because it didn't occur to me when making the first edit that my "solution" leaves the stamina bar on the screen at all times
    1. RyselZ
      RyselZ
      • premium
      • 66 kudos
      You need to define (if it doesn't already exist in the .gui file) and add the "Opacity" parameter to the right component. Try to mimic my file for healthbar.
      To format .gui files, I used JSFormat plugin for Notepad++, but you can use any online Json formatter.
      When you add parameters, be careful to commas, parenthesis, etc... Use also a Json validator to be sure.
  3. FILlPPO
    FILlPPO
    • member
    • 3 kudos
    Hi, thanks for your work.

    I was looking inside your file to see if there is any chance to adapt the posion of the healthbar (and in general all HUD elements) for a 21:9 monitor?
    There are to many string and I'm unskilled for understand wicht value matches the position of the elements.

    During your work did you seen some values about this?

    Thanks.


    EDIT: I tried your mod, but won't work. 

    I'm using the simple HUD but even with the vanilla game not worked.

    If I put the ?dataN.pak (renamed data8) in Dying Light 2\ph\source it remane red (vanilla game), and if I follow the method 2 the healthbar disappiar.
    1. RyselZ
      RyselZ
      • premium
      • 66 kudos
      Unfortunately, I've already experimented but with poor results. You have to try playing with the "Margin" parameters but I think the overall position of the widget is hardcoded, or maybe the global values are somewhere else. I don't know...
    2. RyselZ
      RyselZ
      • premium
      • 66 kudos
      EDIT: I tried your mod, but won't work. 

      I'm using the simple HUD but even with the vanilla game not worked.

      If I put the ?dataN.pak (renamed data8) in Dying Light 2\ph\source it remane red (vanilla game), and if I follow the method 2 the healthbar disappiar.

      You're making something wrong, I don't know. I just tried to download the files I uploaded here and tested with vanilla game and it's all working fine.
      Are you sure you're overwriting the other mods in the correct way? Example: data8.pak -overwrites-> data7.pak -overwrites-> data6.pak ...
      Of course file not conflicting are not overwrited but added, but that's the logic. Maybe you have some other dataN that overwrites your file, like Simple HUD.

      I'm using that same mod, Simple HUD, and since my mod is very simple I merged the two in one, by putting my file in that mod. Try that.
    3. FILlPPO
      FILlPPO
      • member
      • 3 kudos
      ok, I fixed. 
      I renamed dataN to data3 and now it works...

      thanks.
    4. FILlPPO
      FILlPPO
      • member
      • 3 kudos
      ok, I fixed. 
      I renamed dataN to data3 and now it works...

      thanks.
  4. swatsqad
    swatsqad
    • member
    • 0 kudos
    Can you please add the same for the weapon selector? transparent and half size