Garry's Mod

Garry's Mod

834 ratings
Realistic and Painful Damage
3
2
4
3
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay, Realism
Content Descriptors: General Mature Content, Frequent Violence or Gore
File Size
Posted
Updated
1.829 MB
18 Jul, 2024 @ 12:52pm
27 Sep, 2024 @ 5:56am
23 Change Notes ( view )

Subscribe to download
Realistic and Painful Damage

Description


Have you ever wanted a more advanced damage system in Garry's Mod? I wanted to, so I made this complex damage system, similar to Space Station 13, or Arma 3. This project was made with focus on quality and flexability for different needs. I tried my best to make sure that damage wasn't too difficult to heal, so that the system could work in dynamic combat situations, while still remaining roleplay-friendly and atmospheric.

In this addon, you will find many mechanics that will simulate the real human body for player, such as:
  • Separated damage to any of body parts.
  • Bones and Fractures.
  • Blood and Bleeding.
  • Internal organs and damage to them with consequences.
  • System of functional liquids inside the circulatory system and stomach.
  • A simple system of inventory and items that can be used for treatment.
  • Functional damage types (using vanilla HL2 types), all of them will require different methods of treatment, and will create additional difficulties for the player.
  • Roleplay-oriented description of visual information about any types of damage, and detailed descriptions of player's current sources of pain.
  • Realistic first person stuns based on vanilla animations.
  • Simple screen and sound effects for low health state.
  • High compatibility with other addons.
  • Module system for developers to make "addons" for this addon easier. Configurable priority and type of these addons.

Also, this addon have 2 languages, configurable via Settings tab: English and Russian. Sorry, i don't know any else. You can make your own localization modules for this addon if you are good in Lua.

How to use:

Status Panel and Settings of this addon can be accessed via Context Menu or by writing "rapd_show_info" and "rapd_settings" in console. Binding these commands is also a good way for making better access to the menu.

If you want to open another player's menu to heal them - just target someone with your crosshair and then open the Status Menu. Status window's title will have target player's nickname.

Some features are WiP and there can be bugs. Feel free to write about any problems you have in Technical Thread!

See how it looks in-game:








Body Parts and Damage Types
The player's body separated to the parts that can be damaged with different result. For example, damaged legs will make you move slower. If your Chest or Head will have 0% health - you will instantly die. All damage caused to already destroyed limbs with 0% health will be redirected to Chest.

Internal Organs
The player's body always has the following organs: heart, lungs, brain, stomach. Each damaged organ will create significant problems for the player. Such as blindness, suffocation, hallucinations etc. Complete destruction of the heart or brain leads to instant death.

Blood and Bleeding
The player's body contains blood. When player receives a bleeding wound, they will begin to lose blood until the wound heals naturally. Bleeding from different sources may take different times to heal, or may not heal at all. Bandages can be used to stop bleeding immediately. Slashing damage type have more chances to cause bleeding. Burn damage will cause bleeding to stop. Armor (Half-Life batteries) can protect you from bleeding.

When player lost some blood - he will be damaged by suffocation, causing weakness throughout the whole body. Suffocation is curing naturally when blood in organism will be normalized and lungs are not damaged.

Bones and Fractures
All body parts except of Stomach have bones. If you will break bone on the body part - organs in this part will more likely receive damage when attacked. Fractures can be cured with Surgery or Medical Splint.


  • Fixing bugs. Of course.
  • Optimizations? If i will find something laggy.
  • Add much more Items. Such as more medicals, big static entities, dispensers of reagents etc.
  • Add better player-client and admin-server settings tab.
  • Add Armor System.
  • Add JMod compatibility. Many people ask me about this.
  • Backpacks and maybe something else to expand inventory size.
  • Add much more reagents.
  • Make reagents transfer from one item to another.
  • Viruses system.
  • Make chemistry system (like in Space Station 13). Very long-term idea, but it's possible.
  • Clean code for better look...
  • Documentation... This probably gonna take a lot of time.
  • Maybe more interesting features.


Me - All Lua code, working in Photoshop to make icons good.
Random free resources from Google Pictures - Icons for items.


[boosty.to]



For Developers:
Please avoid straight overriding parts of my code or any other improvised and chaotic coding. This addon have their own modules system with priorities to make code launching more structured. See file "kira_burger_example.lua" for good item module example.

Unofficial addons:
Chinese localization by 新月蝙蝠

Important:
Do not reupload this addon without my permission. You can still make content packs, and use this addon freely on your own servers. This addon is under development, and maybe i will make my own extensions in future. Anything in my code may change and become better in future, maybe with your help. Some of your potential ideas can be released too. So stay tuned!
Popular Discussions View All (9)
49
25 Jun @ 11:05am
PINNED: Technical Issues
⇜ Tina ⇝
39
1
20 Sep @ 6:18pm
PINNED: Questions & Answers
⇜ Tina ⇝
6
2 Dec, 2024 @ 4:00am
2 полезной идеи для добавления, нетрудные в реализации.
baccabab
292 Comments
Scraplord7 (Spookie) 5 hours ago 
is there any way you can make this compatible with the HSR downed system? https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3594690499
maxim.kirichko 18 Oct @ 1:31pm 
Can you make an option so that the damage from NPCs to the player remains the same and does not decrease?
The One Who Beefs 14 Oct @ 11:15am 
why are bullets so weak
Frog 9 Oct @ 6:56pm 
Im still waiting for this to be updated :steamsad:
Darklok 5 Oct @ 7:51am 
bros think ARMA 3 ACE mod its perfect
wall inspector 4 Oct @ 9:06pm 
makes me immortal. that or when im low enough i get ignored by NPC's
Remelia Scarlet. 4 Oct @ 7:59am 
doesent work with deafult half life meds
Codius 2 Oct @ 9:10am 
ACE Medical in gmod
Yākātē 30 Sep @ 11:09pm 
You should add the option to spawn with supplies, very nice though!
Remelia Scarlet. 29 Sep @ 10:07am 
does this change amount of damage npcs take?