Garry's Mod

Garry's Mod

768 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
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 ⇝
36
1
21 Jul @ 4:07pm
PINNED: Questions & Answers
⇜ Tina ⇝
6
2 Dec, 2024 @ 4:00am
2 полезной идеи для добавления, нетрудные в реализации.
baccabab
267 Comments
SKIBIDI 21 Jul @ 5:24pm 
обнову хочеца
KORZHIK 15 Jul @ 1:53pm 
Будет ли этот аддон ещё обновляться? :steamthis::steamhappy:
sweeteyes7 10 Jul @ 9:28pm 
I like it, I just wish there was a way to toggle painful weakness. Not getting my health drained after getting hit was kinda the whole reason why I turned off bleeding, so just having painful weakness do it instead was annoying.
henry.g.luellen 8 Jul @ 7:05pm 
when is the next UPDATE if there is gonna be one
PR0_GGRAM3D 6 Jul @ 2:11pm 
Hey are the icons used for each body part free use?
I don't think so I just wanna make sure
ГУСЬ БОБЕРУСЬ 3 Jul @ 3:57pm 
Когда химия из сски? Ну уж очень не терпится убивать друзей передозом бикаридина
Finsku 1 Jul @ 10:48am 
when neurotrauma in gmod
Jim the Pilot 1 Jul @ 8:37am 
barotrauma in gmod
NoOneXD 29 Jun @ 4:30am 
how can i cure for slight weakness? cuz everytime i try to use the Vmanip mw stims in the middle of a fight, it always recover my entire body to 89-90% HP, then never came back to 100% despite me draining every consumable in the entities tab
henry.g.luellen 21 Jun @ 8:34am 
i think it supports jmod