Garry's Mod

Garry's Mod

711 ratings
Realistic and Painful Damage
2
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
Jul 18, 2024 @ 12:52pm
Sep 27, 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)
45
Apr 2 @ 10:01am
PINNED: Technical Issues
⇜ Tina ⇝
31
Mar 14 @ 12:23pm
PINNED: Questions & Answers
⇜ Tina ⇝
6
Dec 2, 2024 @ 4:00am
2 полезной идеи для добавления, нетрудные в реализации.
baccabab
245 Comments
Peppino Spaghetti Apr 20 @ 9:14am 
разраба отправили на сво обнов нет
_hamurapi_ Apr 6 @ 4:58am 
Update Please.
pls fix
the mod broke now you cant die
$$$$$MR.Krabs$$$$$ Apr 2 @ 6:07pm 
add a infinite supplys
tittyX Mar 31 @ 3:45pm 
sometimes the gray color effect is stuck constantly on my screen even after dying
SKIBIDI Mar 30 @ 3:07pm 
прив когда обнова РАПД
slimysoxs Mar 29 @ 3:16pm 
for some reason i cant pick up the items, no matter what button i press
Caldryk Mar 22 @ 4:34pm 
It would be very appreciated to have 2 weapons to enhance the experience. The first one would be a noteboard that will open the player's status who is in front of you (left clic for player, right clic for self) instead of C menu. The other one would be an admin tool to completely heal up everything on a player (blood, wounds, organs)
I would be very pleased to give you some help to get your addons better and better. You already did an amazing work there. Let's discuss about it if you want :)
⇜ Tina ⇝  [author] Mar 22 @ 10:21am 
@็̶̠̌͋̕☠︎a̴s̷h̷ Yes! All bindable console commands are listed in "How to use" section of the addon description.