Home / Gmod Addons Marketplace / Gmod Health Modules + HUD Editor


Media
Description πŸ‡¬πŸ‡§ Description πŸ‡«πŸ‡·

Gmod Health Modules + HUD Editor - Script


Demonstration Youtube video of Gmod Health Modules + HUD Editor

Dare to be original with Gmod Health Modules + HUD Editor, it has the particularity to gather several functionalities to offer a unique server with options and modules that can be quickly activated. It not only allows you to define gameplay rules related to everything related to health and armor, but also to customize the HUD, colors, icons, size, length, font, 19 fully editable styles to achieve something unique! Upload your icons without having to go through Garry's Mod workshop with real time results. You will also be able to define whether to save the health and armor of users or only VIP members, and their progress.


A HUD customisable Gmod starwars hud for StarwarsRP CloneRP Database Management of users options-per-rank options-per-darkrp-job customisation-of-hud upload-new-icons modules mod-full-screen spawnable-entities healthkits-spawnmenu

Maximum image size
Description

Description of Gmod Health Modules + HUD Editor

Summary:
  1. πŸ“˜ Presentation of Gmod Health Modules + HUD Editor
  2. πŸ“¦ Contents
  3. ❀️ Upgrade system of max health points and armor points
  4. πŸ“ Health and armor bar customization options in the HUD
  5. πŸ•ΉοΈ The Commands
  6. πŸ’Ύ Saving and persistence
  7. βš™οΈ A simple configuration file
  8. πŸͺ„ Spawnable entities in Gmod Health Modules + HUD Editor
  9. πŸ“š The functions associated with the Player Class for developers
  10. ❓ Regular questions
  11. βœ”οΈ Compatibility
  12. πŸ’° Ability to have health or armor points purchased in game
  13. ⬇️ Dropping health or armor points in-game through spawnable entities when an Npc dies
  14. πŸ› οΈ Gmod Admin system compatible


πŸ“˜ Presentation

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.



πŸ“¦ Contents

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.



❀️ Upgrade system of max health and armor points

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.



πŸ“ Customization options for the health and armor bar in the HUD.

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.



πŸ•ΉοΈ Commands

To access the interface the chat command : !life
The console command : norda_hud_health_management



πŸ’Ύ Backup and persistence

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.



βš™οΈ A simple configuration file

Most of the configuration is done from an interface, which makes the configuration file very minimal.



You will be able to configure it:
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_Mod = 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.


πŸͺ„ Spawnable entities in Gmod Health Modules + HUD Editor

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.



πŸ“š The functions associated with the Player Class for developers

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.



❓ Regular Questions

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.



βœ”οΈ Compatibility

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.



πŸ’° Possibility to buy health or armor points in game

Place spawnable entities in a store Gmod Store Builder where the dealer will be able to offer his care or upgrade services.



⬇️ Dropping health or armor points in game thanks to spawnable entities when an NPC dies

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.



πŸ› οΈ Compatible administration system

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.


πŸ”Ή WIKI & F.A.Q πŸ‡¬πŸ‡§
Wiki πŸ‡¬πŸ‡§ Wiki πŸ‡«πŸ‡·

Wiki of Gmod Health Modules + HUD Editor

Gmod Health Modules + HUD Editor


☰ 1. Installation of Gmod Health Modules + HUD Editor
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
☰ 2. Where can I find resources and materials? What is the Gmod Health Modules + HUD Editor Workshop id?
Vous trouverez les ressources dans le workshop de Garry's Mod sur Steam. - Gmod Workshop ID of Gmod Health Modules + HUD Editor: 2714545696
- The AddWorkshop function is automatically added to the script server file and can be deactivated from the configuration file. : resource.AddWorkshop( 2714545696 )
- To add gmod workshop resources to your collection : Gmod Health Modules + HUD Editor [Content Only] | Gmod Workshop
☰ 3. How to open the menu?
To access the interface the command chat : !life
The console command : norda_hud_health_management
Or via the shortcuts of my administration system if you don't want to have fun remembering all the commands in my scripts.
☰ 4. How do I enable Anti Prop Kill on my Gmod server?
From the interface go to Setting / Mod :
Go to the line: anti_prop_kill
You can then activate and deactivate the Anti Prop Kill.
☰ 5. How to completely disable damage on my server temporarily?
From the interface go to Setting / Mod :
Go to the line : no_damage
You can then activate and deactivate the mod: No Damage.
☰ 6. How to disable suicide on my Gmod server?
From the interface go to Setting / Mod :
Go to the line : can_suicide
You can then activate and deactivate the suicide of players to prevent them from choosing their spawn.
☰ 7. How to disable the damage between players on Gmod?
From the interface go to Setting / Mod :
Go to the line: pvp_damage
You can then activate and deactivate the damage between players.
☰ 8. How to disable damage between players of the same team on Gmod?
From the interface go to Setting / Mod :
Go to the line: team_damage
You can then choose whether or not players from the same team can damage each other.
☰ 9. How to disable damage between players in the same DarkRP job?
From the interface go to Setting / Mod :
Go to the line : job_damage
You will be able to choose whether or not players in the same DarkRP job will be able to damage each other.
☰ 10. How do I disable drop damage on the server?
From the interface go to Setting / Mod :
Go to the line : falldamage
You will be able to activate and deactivate the mod : Fall damage.
☰ 11. How do I get realistic drop damage on the server?
From the interface go to Setting / Mod :
Go to the line : realisticfalldamage
You can then activate and deactivate the mod : Deadly Falling Damage.
☰ 12. How to disable backups?
From the interface go to Setting / Mod :
Go to the line : save_life and or save_armor
You can then activate and deactivate the saving of players.
☰ 13. How to activate the regeneration of health points?
From the interface go to Setting / Mod :
Go to the line : regen_hp
You can then activate and deactivate the regeneration of health points.
☰ 14. How to activate the notification of damage received on Gmod?
From the interface go to Setting / Mod :
Go to the line : damage_notification
You can then activate and deactivate the notification of damage received.
☰ 15. How do you get players to spawn with the armor?
From the interface go to Setting / Mod :
Go to the line: spawn_with_armor
You will then be able to activate and deactivate if the players spawn with the armor reloaded.
☰ 16. How to edit the HUD in Gmod?
From the interface go to Setting / HUD :

You can change the X position, the Y position, the length and width of the health and armor bar.

The background color of the HUD, the color of the health and armor bar.
The color of the texts and icons.
Upload new icons.
☰ 17. How to edit the HUD style in Gmod?
Several predefined style allows to give shape to your HUD

You will find in Gmod Health Modules + HUD Editor :

A Half Life 2 HUD (the default one on Gmod if you just want to have the modules and not touch the HUD)
A Circular HUD
A Triangular HUD
A Minecraft style HUD
A Zelda Style HUD without armor
Zelda Style HUD with armor
A HUD with just text
A completely empty HUD. (If you don't want to display a HUD)
A HUD with horizontal bars and customizable icons on the left
A HUD with horizontal bars and customizable icons on the right
A HUD with vertical bars and customizable icons on the right
HUD with bars as above but without icons and text.
A Textual HUD with rounded background and icons.

Some examples in pictures: HUD editor Gmod
☰ 18. How to manually edit users' max life points and max armor?
From the interface click on the line of the player you are interested in.
Edite Health Max our Armor Max on GMod
Be careful if you have indicated in the configuration file a maximum that can not be exceeded at 1000 for example. So if you put 9999 the number will be 1000.
☰ 19. How to change the life point regeneration time?
In the file config.lua.

cfg.Delay_HP_Regen=20 -- If the HP Regen module is enabled, every 20 seconds the user receives HP.
☰ 20. How to hide the armor when it is empty?
In the file config.lua.

cfg.Hide_Empty_Armor_Bar=0 -- 1 = Hide armor bar when empty. 0 = OFF
☰ 21. How to customize the Gmod HUD font?
In the file config.lua.

cfg.Custom_Fonts="Trebuchet24" -- Custom Fonts, Trebuchet24 is the default.
☰ 22. How to define the starting life points and the armor points?
cfg.Health_start = 100 // This is the user's starting health.
cfg.Armor_start = 100 // This is the user's starting armor.
☰ 23. How to set a max limit to the server for max health and max armor?
In the configuration file :

cfg.MaxHealth_max = 1000 // Sets the maximum health limit on your server. A player will not be able to have more.
cfg.MaxArmor_max = 1000 // Set the maximum armor limit on your server.
☰ 24. How to set the max HP and armor gain per level?
In the configuration file the variable MaxHealth_gain_per_levelup allows you to choose how much Max HP is increased per level.

cfg.MaxHealth_gain_per_levelup = 10 // The maximum amount of extra max health points increased per levelup.
cfg.MaxArmor_gain_per_level = 10 // The maximum additional armor points increased per levelup.
☰ 25. What are the upgrade modes for max health and max armor?
cfg.MaxHealth_Mod = 0 // 0 = User must buy or find the item that increases his max life, 1 = Max life increases 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.
☰ 26. How to disable Gmod or DarkRP HUD?
In the config file:

----- DÉSACTIVER LE HUD DE GMOD / HL2 / DARKRP -----


cfg.HideElement = {
["CHudHealth"] = false,
["CHudBattery"] = false,
-- ["CHudAmmo"] = false, -- RESERVÉ POUR UN AUTRE SCRIPT
-- ["CHudSecondaryAmmo"] = false, -- RÉSERVÉ POUR UN AUTRE SCRIPT
-- ["DarkRP_HUD"] = false, -- IL VAUT MIEUX L'INACTIVER DEPUIS LE FICHIER DE CONFIGURATION DE VOTRE DARKRP
-- ["DarkRP_EntityDisplay"] = false,
-- ["DarkRP_LocalPlayerHUD"] = false,
-- ["DarkRP_Hungermod"] = false,
-- ["DarkRP_Agenda"] = false,
-- ["DarkRP_LockdownHUD"] = false,
-- ["DarkRP_ArrestedHUD"] = false,
-- ["DarkRP_ChatReceivers"] = false,
}
☰ 27. How does adding Armor Max PV stats work?
In the configuration file :
cfg.MaxHealth_Mod = 0 -- 0 = User must buy or find the item that increases his maximum life, 1 = Maximum HP increases with user's level.
cfg.MaxArmor_define_per_lvl = 0 -- 0 = User must buy or find the item that increases his maximum armor, 1 = Maximum armor increase with user's level.

So to activate them:
The variable cfg.MaxHealth_Mod must be set to 1 for Max HP.
And the variable cfg.MaxArmor_define_per_lvl must be set to 1 for Max Armor.

It is possible to choose how much the maximum increases per level to do this, by default the armor increases by 10.

cfg.MaxHealth_gain_per_levelup = 10 -- The maximum additional HP per level up.
cfg.MaxArmor_gain_per_level = 10 -- The maximum additional armor per level up.

The calculation for the MAX HP increase works like this: User will have at level 50. +500 Max HP (Level * cfg.MaxHealth_gain_per_levelup)

The calculation for the MAX armor increase works like this: User will have at level 50. +500 ARMOR Max (Level * cfg.MaxArmor_gain_per_level)
☰ 28. On DarkRP the maximum life points are set according to the Job. How not to be limited to 100?
You want to avoid this:
Gmod Custom Life Bar

You can work around my system by setting the MaxHealth_Mod variable to -1 instead of 1.
cfg.MaxHealth_Mod = -1
☰ 29. The max armor is set according to the job on your DarkRP and you do not want to change anything.
In the configuration file find the variable : MaxArmor_define_per_lvl and set it to -1 to avoid bypassing : GetMaxArmor()

cfg.MaxArmor_define_per_lvl = -1
☰ 30. Why can spawn points be higher than the maximum?
The script works fine without any gamemode. It may be that an external source is overriding my system, or that you have defined it in the gamemode settings, for example from the DarkRP jobrelated.lua.

I managed to reproduce something similar by setting a starting life point with an undefined maximum or lower from the jobrelated.lua.

Life bar bug higher than maximum
Tips

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?

Gmod Addon



πŸ“₯ Download 3.5


🎫 Open Ticket
⛔️ Sorry, you are not connected
Script Information
Creator : Norda Scripts
Sales :102
Published :2 years
Last update :
Version :version 3.5
DRM :Yes
Categories : Gmod addons
Requierements : Garry's Mod Server
Languages : πŸ‡¬πŸ‡§ πŸ‡«πŸ‡· πŸ‡©πŸ‡ͺ πŸ‡·πŸ‡Ί πŸ‡ͺπŸ‡Έ
Tags :
Admin DarkRP Jobs HUD Optimisation Gameplay Management Allgamemode