Dare to be original with Gmod Health Management + HUD Editor!
On GMod, as soon as a HUD is released, there is a trend effect and everyone ends up offering the same one. The majority of the servers do not offer a unique content nor an identity of their own when everyone ends up with the same thing, this is what I tried to break with this script. We agree, the goal is not to imitate the others but rather to create and bring its personal touch to its server, this difference is often what makes the little extra thing on a server.
How about adopting your own style?
Here, I wanted to make sure that you have the opportunity to be creative and do what you want, when you want and how you want and then change your mind and start over! Then it will always be possible to modify your HUD without having to buy another one that can't be modified the way you want or having an unknown coder rip you off (I've already heard too much about this kind of abuse on the Help Discord).
Modify freely! There you have 19 HUD styles that serve as a base that you can adjust as you like, this is a good base for a script that was originally not intended as a HUD customization system. In the HUD screenshot I only show a small glimpse of all that is possible. There is a whole range of choices, styles, sizes, colors, fonts, not to mention the multitude of icons you can create, all without uploading them via the workshop but just with an image link.
Originally, it is a system for managing and configuring everything that interferes with health and armor points.
You will find:
1. A backup system for the players.
2. A database management system of stored health points and armor points of users.
3. A Module of management of the options by rank: superadmin, admin, moderator, vip, user, etc
4. A Module to manage options by DarkRP job.
5. A HUD customization system, which affects the health bar, and the armor bar.
6. 19 predefined and customizable HUD styles.
7. Spawnable healing entities and a max health upgrade entity.
8. Full documentation.
You will have the possibility to choose if the max limits evolve with the level of the player, provided you have a leveling system installed on your server garry's mod, if you are looking for one, you will find one from the house here : Gmod Leveling System
The maximums increase either by finding an item or by your level. Of course the progress of your users is saved (health and armor points and their maximum) and the user gets his stats back when he logs in again, a simple method to keep your users loyal and encourage them to come back to continue.
You will be able to customize the health and armor bar in all directions in a responsive way.
What is customizable in the HUD of Gmod Health Management + HUD Editor?
1. X Y position
2. Length and width
3. The background color of the bar
4. The color of the progress bars
5. The color of the text
6. The color of the icon
7. The font of the text
8. Replace default icons with your own by simple image link.
9. 19 HUD styles, circle, horizontal bar, hearts, Zelda style, Minecraft style, textual, etc.
10. Changes applicable without rebooting your server.
To access the interface the chat command : !life
The console command : norda_hud_health_management
Save stats related to health and armor included. Give your users a sequel to their next session by progressing with the stats they had when they logged out.
Most of the configuration is done from an interface, which makes the configuration file very minimal.
cfg.FX_to_Open = "F1" -- 0 = Disabled, defines whether the menu can be opened with the F1 F2 F3 F4 key.
cfg.Delay_HP_Regen = 20 -- If the HP Regen module is enabled, every 20 seconds the user receives HPs.
cfg.Hide_Empty_Armor_Bar = 0 -- 1= Hide the armor bar when it is empty. 0 = OFF
cfg.Custom_Fonts = "Trebuchet24" -- Custom HUD Fonts
cfg.MaxHealth_define_per_lvl = 0 -- 0 = User must buy or find the item that increases his max health, 1 = Max health goes up with user's level.
cfg.MaxArmor_define_per_lvl = 0 -- 0 = User must buy or find the item that increases his max armor, 1 = Max armor increases with user's level, 2 = Max armor is equal to max health.
cfg.Health_start = 100 -- This is the starting health of the user who starts on your server.
cfg.Armor_start = 100 -- This is the starting armor of the user.
cfg.MaxHealth_gain_per_levelup = 10 -- The additional max health per level up.
cfg.MaxHealth_max = 1000 -- Set the max health limit on your server. A player will not be able to have more.
cfg.MaxArmor_gain_per_level = 10 -- The extra max armor per level up.
cfg.MaxArmor_max = 1000 -- Set the max armor limit on your server.
The addon includes spawnable entities that can be used as examples or tools to enrich the content of your server, e.g. by placing them as loot or merchantable items at a merchant. Spawnable entities can be disabled in the configuration file with the variable, cfg.Enable_Items_Spawnable.
The different spawnable entities are :
Health points which have the effect of recharging the health points of the user who picks them up by pressing USE on him.
The armor points which have the effect of reloading the armor points of the user who picks them up by pressing USE on this one.
Max health points upgrades which have the effect of upgrading the user's max health points limit when he picks them up. This max limit is saved and the user keeps his progress even when he disconnects.
The spawnable entities are automatically deleted after 30 seconds by default, this time can be defined in the configuration file.
1. The Glua functions on the Client and Server side:
player:GetMaxHealth() = Allows to know the user's max health points.
player:GetMaxArmor() = Allows to know the user's max armor points.
2. Glua functions on the server side :
2.1. Health point management if you want to create entities that give back health points:
player:addHealth(number) = Allows to give or remove health points.
player:setHealth(number) = Allows to set the player's health points.
2.2. Manage max health point upgrade via items if you want to create entities that upgrade or downgrade max health points:
player:addMaxHealth(number) = Allows to give or remove max health points.
player:setMaxHealth(number) = Allows to set the maximum health points of the player.
2.3. Armor point management if you want to create entities that give back armor points:
player:addArmor(number) = Allows to give or remove armor points, it can't go below zero nor be higher than the max armor.
player:setArmor(number) = Allows to set the player's armor points.
2.4. Management of the upgrade or downgrade of the maximum armor points via items:
player:addMaxArmor(number) = Allows to give or remove max armor points.
player:setMaxArmor(number) = Allows to set the player's max armor points.
How to enable anti Prop Kill on Gmod? In the Settings / Mod / anti_prop_kill menu: OFF | ON.
How to disable damage between members of the same team? In the Settings / Mod / team_damage : OFF | ON.
How to disable damage between members of the same job on a DarkRP? In the Settings / Mod / job_damage : OFF | ON.
How to disable the possibility for players to kill themselves with kill or explode? In the Settings / Mod / can_suicide : OFF | ON.
How to disable fall damage when falling from a height? In the Settings / Mod / fall_damage: OFF | ON.
How to have more realistic fall damage when falling from a height? In the Settings / Mod / realistic_fall_damage: OFF | ON.
How to activate the HP regeneration? In the Settings / Mod / regen_hp : OFF | ON.
How to customize the HUD on GMod? Gmod Health Modules + HUD Editor answers this question perfectly with its simple and intuitive customization module. You don't need a programmer or skills in Lua or GLua programming to create the HUD you want to have on your Gmod server.
How to make a Starswars HUD for Gmod? A new style lazer Starward was added in version 1.9 (May 2022) it will be enough to select it among the 21 styles now available in this addon gmod.
Compatible with DarkRP, StarwarsRP, HogwartsRP, HogwartsRP, CloneRP, MilitaryRP, AnimRP, MangaRP, ect...
For those who want to optimize their Gmod Server and don't want to run on DarkRP the system will continue to work without DarkRP or any other gamemode. Backup totally independent from any system.
Place spawnable entities in a store Gmod Store Builder where the dealer will be able to offer his care or upgrade services.
If you want health or armor points to spawn when a NPC dies then NPC Death Loot Manager is made for you, insert the spawnable entities in the inventory of a npc class, set the chance rate and it's done.
If you want a system that is easy to administer and that holds up over the long term and is not too heavy in weight, Garry's Mod Admin Mod will allow to access the menu of "Gmod Health Modules + HUD Editor" via a shortcut button.
Installation: Download and Unzip the folder norda_hud_health_modules.zip Install the addon in the addons file of your Gmod server,
- Path : garrysmod/addons/ norda_hud_health_modules
Tip to avoid the leak of Gmod Health Modules + HUD Editor installed on your Garry's Mod server: How avoid the Leak of your Gmod scripts
How Install an addon on Gmod? : How install an addon on Gmod
How Publish an addon on the Gmod workshop? : Documentation how create a content pack to publish on the workshop?
Not yet reviewed
Last update :
Garry's Mod Server
🇬🇧 🇫🇷 🇩🇪 🇷🇺 🇪🇸