DayZ
Not enough ratings
ModdedHudFramework
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod Type: Character, Mechanics
File Size
Posted
Updated
973.417 KB
31 Jan, 2022 @ 7:18pm
2 Feb, 2022 @ 2:45am
3 Change Notes ( view )

Subscribe to download
ModdedHudFramework

Description
This should only be loaded as a mod requirement!:

This mod will provide base compatibility between all gui ( modded widget ) mods which would normally conflict ( overlap )


How Server Owners Should Use This:
If you want your players to be able to customize certain gui elements, and you have a mod that is "compatible with" this mod ( or just requires it ), all you need to do is load this mod, load order doesn't matter.


How Modders Should Use This:
  • Modders can register their widget(s)
  • Modders can specify whether they want their widget to be scalable horizontally and/or vertically
  • Modders can update the "widget version" if necessary to reset the widget pos to the ( new ) default position
  • % and pixel positioned widgets are handled separately ( working accurately )
  • This data is saved clientside, so widgets will retain their saved pos/size when you play on another server with the same mod
The define is MODDEDHUDFRAMEWORK Use this to register/restore your widget: The widget must be a child of the IngameHud.m_HudPanelWidget @MRTsStatBars serves as a usage example /*! Will restore widget position/size if previously registered, otherwise will start saving position/size Will also allow the player to 'drag' this widget's position within the ModdedHudFrameworkMenu \param modName Name of the mod calling this, will be used as save data filename so make it filename friendly, make it unique! \param widgetName Name of the widget, must be unique within your mod \param widget Widget instance of the widget \param widgetVersion ( 1 if not specified ) Version of default widget position/scale, increment to reset client data ( use if certain widget changes are made when updating modded widgets ) \param canResizeX ( false if not specified ) If the widget should be allowed to resize horizontally \param canResizeY ( false if not specified ) If the widget should be allowed to resize vertically */ void RegisterOrRestoreWidget( string modName, string widgetName, Widget widget, int widgetVersion = 1, bool canResizeX = false , bool canResizeY = false )


INSTALLATION:

1. Copy @ModdedHudFramework from your !Workshop folder to your server folder
2. Copy the bikey file from the Keys folder to your server's keys folder
3. Add this mod to your "-mod=" parameter in your server's start batch file!
4. Have Fun!


[www.paypal.com]


Take, Use, Learn, Repack, Whatever. Have Fun!
4 Comments
Buddy 30 May, 2023 @ 9:44am 
Hello / Can this mod cause crashes after update 1.21?
<b><#8f0>HYPER | DUCK<#f0f>♡ 18 Nov, 2022 @ 7:57pm 
appreciate it man, i'll check that out asap.
Mrtea101  [author] 27 Oct, 2022 @ 12:41pm 
it's possible, but since you would have to script it anyways, there is an easier solution, you can just hide all the car widgets in IngameHud.OnUpdate or something
<b><#8f0>HYPER | DUCK<#f0f>♡ 27 Oct, 2022 @ 12:17pm 
Could this technically be used to get rid of the vehicle gauges that show up on screen when you enter a vehicle? I pretty much only play with my hud off and for some reason now when i get into a car, the gauges cannot be disabled.. very annoying.