[PAID] [STANDALONE] - MFPD-RealisticDamages - Custom Ragdoll, Injured System and Healing!

MFPD - RealisticDamages introduces a more authentic damage and built-in healin system. When players are shot or hit, a brief ragdoll is triggered to simulate the impact and the sensation of pain.

:mending_heart:Injuries accumulate over repeated hits, eventually causing severe damage that slows the player down and alters their walk style to reflect their wounded state.

WATCH THE VIDEO PREVIEW

Get yours now on my store! :heart:

:arrow_down_small: Injury System :arrow_down_small:

  • Bone-Based Damage: Specific bones (such as the head and neck) trigger heavier ragdoll effects and can lead to a more rapid onset of severe injuries.
  • Accumulating Injuries: Multiple hits build up damage, which may eventually force a player into a severe injured state characterized by slower movement and a limping walk style.
  • Healing Mechanics: A medbag system enables players to heal themselves or assist others, restoring normal movement and clearing visible injuries.

The resource contains a brief cooldown to prevent softlock if multiples shots or hits are being done to said player, as of right now, it’s in an usable configuration, only change if you really feel the need to.

If you are thinking of changing, just need to go to your config.lua and change this configuration:

increase or decrease the cooldown:

Config.DefaultRagdollTime = 2000


Features:

  • Bone-Based Damage:
    Certain bones trigger heavier ragdoll effects, meaning that a shot to a critical area (like the head or neck) will have a more severe impact.
  • Short Ragdolls:
    Brief knockdowns create a tactile sense of shock during gunfights without overly disrupting gameplay.
  • Severe Injuries:
    With enough damage, players become severely injured—slowing them down and forcing a change in their walk style.
  • Medbag System:
    • Pickup & Carry: Acquire a medbag from a allowed vehicle classe’s trunk.
    • Self-Heal: Use the medbag to restore your normal walk style and clear injuries if you’re severely wounded.
  • Heal Others: Apply the medbag to other injured players to help them recover fully.
  • Optional No-Death Mode:
    Set Config.NoDeath to true to keep players at maximum health to enjoy fully the ragdoll and realistic feel of the shots/hits without the worry of dying!
    It also contain automatic revives (If for some reason you still die in this config), or disable it to allow for normal mortality
    IN ANY CONFIG YOU WILL FEEL THE SAME EFFECT, THE ONLY DIFFERENCE IS THAT YOU DIE NORMALLY IF SET TO FALSE.
  • Vehicle Classes Config:
    MFPD-RealisticDamages includes a Config.AllowedClasses option. In addition to the existing allowed vehicle class (emergency vehicles, class 18), you can now add additional classes to control where interactions (like medbag pickup and storage) are permitted.

Failsafe Mechanisms:

Built-in failsafes ensure the system cleans up properly when a player dies, disconnects, or is otherwise removed. This guarantees that temporary objects (such as medbags) and animations are safely cleared to prevent any unintended behavior.

WATCH THE VIDEO PREVIEW

Get yours now on my store! :heart:


Requirements

ox_lib

ox_target


Configuration

  • All fine-tuning is done through config.lua, including settings such as ragdoll duration, bone-specific force, and allowed vehicle classes.
  • Config.NoDeath controls whether players auto-revive at maximum health or experience full injury and mortality.
  • Config.AllowedClasses allows you to specify which vehicle classes can be used for medbag interactions—extending the default emergency vehicle (class 18) to any additional vehicle classes you choose.

Full config.lua for better understading:

--=================================
-- CONFIG
--=================================
Config = {}

Config.CameraShakeRate = 0.1
Config.CameraShakeDuration = 1200
Config.DefaultRagdollTime = 2000

Config.AllowedClasses = { 18, 16, 15 }
------------------------
-- Vehicles Classes List:
------------------------
--0: Compacts  
--1: Sedans  
--2: SUVs  
--3: Coupes  
--4: Muscle  
--5: Sports Classics  
--6: Sports  
--7: Super  
--8: Motorcycles  
--9: Off-road  
--10: Industrial  
--11: Utility  
--12: Vans  
--13: Cycles  
--14: Boats  
--15: Helicopters  
--16: Planes  
--17: Service  
--18: Emergency  
--19: Military  
--20: Commercial  
--21: Trains  
--22: Open Wheel
---------------------------

-- Set this to true or false depending on whether you want “no-death” behavior.
Config.NoDeath = true -- Unlimited health regeneration + boost in health if set "true"

-- Bone IDs for special ragdoll logic
Config.BoneSettings = {
    [31086] = { -- Head
        ragdollTime = 2500,
        force = { x = 0.0, y = 0.0, z = 2.0 },
    },
    [39317] = { -- Neck
        ragdollTime = 2200,
        force = { x = 0.0, y = 0.0, z = 1.5 },
    },
    -- Example: add more bones if you like 
    [24816] = { -- SKEL_Spine0
        ragdollTime = 200,
        force = { x = 0.0, y = 0.0, z = 1.2 },
    },
    [24817] = { -- SKEL_Spine1
        ragdollTime = 200,
        force = { x = 0.0, y = 0.0, z = 1.2 },
    },
    [24818] = { -- SKEL_Spine2
        ragdollTime = 200,
        force = { x = 0.0, y = 0.0, z = 1.3 },
    },
    [24819] = { -- SKEL_Spine3
        ragdollTime = 200,
        force = { x = 0.0, y = 0.0, z = 1.4 },
    },
}

Support

  • Assistance is available via direct messages (DM) or through comments on the post.
  • Regular updates and patches are provided as needed to maintain compatibility and address any issues.

Code is accessible No (Only Config.lua)
Subscription-based No
-------------------------- ----------------------
Lines (approximately) 630+
-------------------------- ----------------------
Requirements ox_lib, ox_target
-------------------------- ----------------------
Support Yes (Via DM or Comments on post)
-------------------------- ----------------------

1 Like

support for qb-target?

1 Like

I’ll add support for qb-target in the future update

1 Like

Awesome job! Was looking for something like this! Is this compatible with wasabi_ambulance deaths?

1 Like

Thank you so much! So about this, do you mean the “injury” as well or just the death?

If you set the “NoDeath” config to false, you will die normally, without any additional scripting, so any medical/ambulance script in place will stay working as it should!

My resource does not messes with player death, just when shot;

When you set the “NoDeath” to true, then your character never dies, I’ve just made that as a config if someone wants to mess with the ragdoll or record something specifc

1 Like

Wonderful sounds great, I just meant can it send the player to the death state, was just a bit confused.

1 Like

Hope that cleared it out for you! Sorry if I my writing confused you a lot, but yeah it can send player to death normally

1 Like

Oki wonderful can’t wait to get it!

1 Like