Closed DiFFoZ closed 4 years ago
Interesting custom UI! I'll plan to make those adjustable similar to the rest of the HUD in the next main update (probably January), as well as controllable from the server.
@SDGNelson do you have plans to implement this?
+1 This would be amazing for roleplay servers!
Sorry - I must have missed the issue when preparing that update. Since I said I would do it, I will mark this Next Update so that it gets addressed.
Thanks!
Also, can you implement #1411 ?
Will the possiblity to disable health UI and gun UI that we can already do through map config.json be available to do through plugins when this is implemented?
Some parts of the UI got minor reworks for this in the next update. The following widget flags were added:
/// <summary>
/// Enable health meter in the HUD.
/// </summary>
ShowHealth = 1 << 5,
/// <summary>
/// Enable food meter in the HUD.
/// </summary>
ShowFood = 1 << 6,
/// <summary>
/// Enable water meter in the HUD.
/// </summary>
ShowWater = 1 << 7,
/// <summary>
/// Enable virus/radiation/infection meter in the HUD.
/// </summary>
ShowVirus = 1 << 8,
/// <summary>
/// Enable stamina meter in the HUD.
/// </summary>
ShowStamina = 1 << 9,
/// <summary>
/// Enable oxygen meter in the HUD.
/// </summary>
ShowOxygen = 1 << 10,
/// <summary>
/// Enable icons for bleeding, broken bones, temperature, starving, dehydrating, infected, drowning, full moon,
/// safezone, and arrested status.
/// </summary>
ShowStatusIcons = 1 << 11,
ShowLifeMeters = ShowHealth | ShowFood | ShowWater | ShowVirus | ShowStamina | ShowOxygen,
Vehicle related HUDs should be done too please 👍
I believe that the game chat is the only thing we can't hide with widget flags for custom UI's... that would also be really nice!
Can you add an option to remove the icon of starving, dehydrated or freezing? ...