Jump to content

Ped Damage Overhaul 2.0 BETA 7

Script mod which adds and alters "NPC behaviors"
   (5 reviews)

1 Screenshot

This mod is a teamwork of @fitfondue and @HughJanus.

 

The beta version of Ped Damage Overhaul 2.0 has been released! It contains new features and major adjustments (described in the changelog), so we'd appreciate your feedback on any bugs and performance issues you encounter. When reporting performance issues, please post your system specs if you can!

Part of this beta are the "optional features" (which require LML to work). Those are separated in two files. One is responsible for longer reactions after dismemberment (not compatible with euphoria mods), the other increases the chances of arterial bleeding (e.g. for neck shots).

 

OVERVIEW

This mod tries to make gun fights more diverse, dynamic and interesting and keep them that way throughout the game.

You will find NPCs stumbling when trying to run with hurt legs, getting the wind knocked out of them when getting shot, squirming on the ground when fatally injured, moaning in pools of their own blood until they meet their end, clutching their wounds and stumbling around when hit, etc.

 

IMPORTANT KEYS (for toggling effects)

These are the standard keys, they can be modified via the ini file (as can everything else this mod adds to the game):

  • F9 - Toggling the mod on/off (the mod is enabled by default).
  • F8 - Toggling "Kill Wounded Mode" on/off (is disabled by default). This mod adds a feature called "Dying States" which makes NPCs go down when injured and still stay alive for some time (until they bleed out). If "Kill Wounded Mode" is activated, NPCs will die instead of entering the "Dying States".
  • F7 - Toggling "Longer Bleedouts Mode" on/off (is disabled by default). Per default this mod makes NPCs in "Dying States" bleed out within a maximum of 25 seconds (to not interfere with spawning waves of enemies during missions, which are only triggered when the first wave is dealt with). If "Longer Bleedouts Mode" is activated, NPCs will take longer to bleed out (more realistic, but also hindering during some missions).
  • F2 - Toggling "Friendly Fire" on/off (is disabled by default). "Friendly Fire" currently only works for the Dutch Van Der Linde gang.

 

FEATURES

Here is a quick overview of the most important features:

First off, almost all of the features and their characteristics are based on chance, so the behaviors won't be the same every time you encounter them - which should ensure more diverse fights and keep things interesting for longer than vanilla does... that was the idea, at least 🙂

Almost every feature can be enabled, disabled or tweaked in the ini (more information further down the page), so this is not only a mod, but also enables you to create your own experience.

This mod only alters behaviors and attributes of human NPCs - animals or anything else remain untouched.

 

Light version:

  • NPCs will react to where they are being shot (leg shots will make them stumble when trying to run, hand shots will disarm them, torso shots will stagger them, etc.).
  • When NPC's health decreases below a certain threshold, they fall over and don't get back up. Then they go through different stages of dying, each with its own randomized behavior. Eventually NPCs will die of blood loss.
  • NPCs will sometimes (based on chance) audibly react when in hopeless situation (panicking, begging, cursing, etc.).
  • There is a bleeding feature, which makes NPCs lose health after they have been fatally injured. It operates bassed on chance, so NPCs don't all bleed out in the same amount of time.
  • NPCs burn alive for longer when set on fire.
  • There is a chance of NPCs surviving a fire (although they won't be able to do much afterwards).
  • NPCs have a chance of staying on the ground for a random amount of time when shot (based on their health) - so you can now knock the breath out of your opponents.
  • For all included behaviors the movement and pain sounds have been adjusted (and also randomized) to hopefully make your experience more interesting.

 

Standard version:

  • The same features as in the light version apply as well as the following additions:
  • NPC health and player damage tweaked to offer a more satisfying experience (no more bullet sponges).
  • NPC damage tweaked to offer more challenge to the player (since NPCs don't eat bullets for breakfast anymore).
  • You can now feel the difference between weapons, their condition and ammo types in combat (shooting with a properly maintained, powerful weapon with special ammo now feels like it should).
  • NPCs are less accurate shots and their accuracy declines along with their health.
  • Arm and leg shots do less damage to NPCs.
  • All NPCs can be disarmed (yes, even lawmen).
  • Hogtying disarms NPCs, so if they manage to get loose, they can't shoot you - they might draw a hidden knife, though.

 

Overhaul version:

  • The same features as in the standard version apply as well as the following additions:
  • Core Drain (health, stamina, dead eye) has been moderately increased - now hunting and buying food become necessary options.
  • Cores will be fully drained after death.
  • Additional 25% of money lost after death.

 

We hope that you have as much fun with this mod as we have creating and improving it!

 

 

INSTALLATION

  1. Download Alexander Blade's ScriptHook: http://dev-c.com/rdr2/scripthookrdr2/
  2. Extract Dinput8.dll and ScriptHookRDR2.dll into the main directory of RDR 2 (where the .exe file is).
  3. If you want PDO's additional features, download Lenny's Mod Loader. If not, ignore steps 4, 5 and 8. https://www.rdr2mods.com/downloads/rdr2/tools/76-lennys-mod-loader-rdr/
  4. Extract the folder Mod Manager into the main directory of RDR 2 (the actual Mod Manager folder, not just its contents). Then go into the Mod Loader folder and extract only its contents into the main directory as well (not the actual folder, just its contents).
  5. In the Mod Manager folder, run the ModManager.UI.exe file to make sure Lenny's Mod Loader is properly installed in the RDR 2 directory.
  6. Download your preferred version of Ped Damage Overhaul, then open the zip and choose whether you prefer Light, Standard or Overhaul configurations (see mod description to understand the differences).
  7. Extract the contents of the chosen folder into the main directory. If you're using Lenny's Mod Loader, any files pertaining to it will be automatically placed in the correct folder.
  8. If you're using Lenny's Mod Loader, run ModManager.UI.exe to see if the optional files are showing as installed. If they are, you're good to go.
  9. Start the game and have fun!
  10. While in game, you can press F9 to check if the mod was loaded correctly (F9 once to disable, then F9 again to re-enable the mod).

 

 

TWEAKING

In general, every parameter in the ini has a description (including information on how to disable the feature). Feel free to play around.

There are already a lot of features enabled and tweaked for out-of-the-box use, yet there are some features left untouched which can be enabled in the ini. That said, if you just want to disable one or more features, set their respective values to 0 (or whatever value the description suggests).

Examples:

  • To turn off the bleeding feature: set BleedWhenDying to 0
  • To turn off the disarming when hogtying NPCs: set HogtyingDisarms to 0
  • To turn off the dying state features: set DyingStateChance to 0

 

If you want to disable a feature which is based on chance, just set the chance value to 0.

Examples:

  • To turn off the knocking the wind out of your opponents: set KnockbackChance to 0
  • To turn off the possibility of NPCs surviving fire: set FireSurvivalChance to 0
  • To turn off the chance of stumbling when shot in the leg: set StumbleChanceOneLeg and StumbleChanceBothLegs to 0

 

There are also many other features that can be activated in the ini - here are some examples:

  • LassoDisarms -> makes catching someone with your lasso disarm them (no hogtying necessary)
  • NPCWeaponModifier (and many other damage modifiers) -> makes NPCs do more or less damage, depending on what you set it to
  • BleedWhenShot -> enables a bleeding feature which triggers when an NPC gets shot (so not the usual "bleed out when under x health" but consistent bleeding which is applied after the first hit of a bullet - the bleeding chance and deducted health points can be set separately)

 

The ini is full of values for those wanting to experiment a little.

One word of warning to tweakers: If the NPCHealth is set too high, headshots might not be lethal anymore, unless they hit the actual brain of the NPC (so a shot in the jaw would do more damage than other body parts, but would not be an instant kill). Actual "brain-shots" are always one-shot-kills, no matter the health.

 

 

 

KNOWN "ISSUES" (they are not real issues)

  • The disarming feature can be exploited to slow down new waves of lawmen. The same is true for the dying state feature. If there are too many lawmen dying or fleeing around the player, new waves won't spawn in until the lawmen die or get enough distance (this feature can be turned of in the ini file, if that is a deal breaker to you).
  • When disarming is enabled, the dropped weapons may appear partly invisible. This is only optical, though, they can be picked up and used as usual.

 

 

The source code of Ped Damage Overhaul can be found here:

https://github.com/HJHughJanus/PedDamageOverhaulRDR2

 

 

If you are looking to enhance your experience by using an Euphoria Mod, please take a look at the work of @AnymYo.

C.E.R.R. is tweaked for cineastic reactions and designed to work with PDO:

 

Edited by HughJanus

What's New in Version 1.55   See changelog

Released

Changelog v1.55

  • Fixed a bug where NPCs would occasionally loop dying sounds
  • Fixed a bug where NPCs would not drop their weapons when downed

 

Changelog v1.54

  • Fixed a bug where NPCs were able to talk while on fire
  • Added a toggle key for "Friendly Fire"
  • With the Overhaul version you now lose additional 25% of your money on death
  • Added ini option for configuring money loss on death
  • Added new audio to Dying State and Shock reactions
  • If both legs of NPCs are damaged, they now get forced to the ground after some time
  • Added ini values for configuring the forcing to the ground when hit in the legs
  • Added ini values for spine shot paralysis (disabled by default)
  • Decreased damage taken by NPCs from leg and arm shots
  • Decreased the amount of time an NPC can stay in shock state (to make it feel more natural)
  • Tweaked ini values for more satisfying euphoria behavior

 

Changelog v1.53

  • Added ini option for player health (experimental)
  • Fixed a bug where NPCs got up after entering Dying States
  • Fixed a bug where NPCs stood still when hit in an artery
  • Tweaked a few values for better gameplay

 

Changelog v1.52

  • Fixed a bug where NPCs popped up instead of getting up normally

 

Changelog v1.51

  • Fixed a bug where NPCs went completely limp within a split second when one-shotted
  • Added ini option for disabling item glow
  • Added ini option for friendly fire (currently only for the Van Der Linde gang)
  • Added ini values for configuring the transition into dying states (like maximum time for stumbling and such)
  • Added ini option for activating force pushes even when using writhing animations (don't know why someone would want that, but now it's possible)
  • Added ini option to overwrite the hard cap on time spent in Dying States on certain conditions
  • Tweaked the bleeding settings and bleeding blockers to function more intuitively (now only hogtying NPCs can stop them from bleeding out --> bounty missions)
  • Adjusted audio in Dying States, so only fitting dialogue will be played
  • Tweaked audio chance in Dying States
  • Injured NPCs (not in Dying State) will move slightly different when their legs have been hit
  • Tweaked ragdolling triggers behind the curtains, so more varied euphoria movement can happen (examples: standing in shock, dramatic kneefalls, etc.)
  • Small performance optimizations (RTX users who had problems with prior versions, please report if it helped)

 

Changelog v1.50

  • Fixed a bug where falling from horses made NPCs die almost instantly
  • Fixed a bug where lasso-ing injured NPCs would instantly break the lasso
  • Fixed the bug where NPCs movement physics would go crazy in slow motion (dead eye or weapon wheel)
  • More story NPCs were excluded from the mod's effects
  • Added an ini parameter for horse health (applies to the horse the player is sitting on)
  • Added an ini parameter for horse invincibility (applies to the horse the player is sitting on)
  • Re-tweaked health and damage modifiers
  • Re-tweaked bleeding values for compatiblity with story missions (NPCs bleed out faster, so enemy spawning is not hindered)
  • Introduced a "longer bleedouts mode" making NPCs in dying states take longer to bleed out -> if you don't like the above mentioned tweak (can be enabled via the ini)
  • Added an ini parameter for permanently toggling or untoggling "longer bleedouts mode"
  • Introduced a "kill wounded mode" killing all NPCs in dying states (can be enabled via the ini)
  • Added an ini parameter for permanently toggling or untoggling "kill wounded mode"
  • Reduced the available config versions to "standard" and "overhaul" (both tweaked for maximum enjoyment, hopefully^^)
  • Disabled the ini setting which made NPCs only bleed if hit in the torso (can be re-enabled in the ini)
  • Hogtied NPCs don't bleed anymore (except from artery shots) -> handy for bounty hunting (can be disabled in the ini)
  • Tweaked the fear mechanism so it is harder to make enemies fear you
  • NPCs will now react audibly if they are in hopeless situations

 

Changelog v1.49

  • Fixed a bug where NPCs would just sack down when hit in the head with a throwing weapon or bow
  • Fixed a bug where it could occur that NPCs just die from being knocked down (can still happen from certain knockouts, but that's vanilla behavior)
  • More story NPCs added to the "story NPC exlusion" option in the ini
  • Added an ini parameter for the sneaking noise multiplier
  • Re-implemented the accuracy mechanic and made it more complex and random
  • Added a new fear-mechanic which lets NPCs flee, surrender or panic if the player is a god-like combatant (details configurable in the ini)

 

Changelog v1.48

  • Fixed the "floating NPCs"-bug
  • Fixed a bug which could occur with melee dying states enabled (NPC not transitioning into dying stage properly)
  • Fixed a bug causing weird behavior when falling from certain spots in the world
  • Re-implemented disarming - now you can set disarming chances, not only switch it on or off
  • Disarming reactions can now also be configured (chances of each behavior can be set)
  • Re-implemented stumbling on bullet impact - now you can set stumbling chances, not only switch it on or off
  • Re-implemented falling calculation mechanics (now based on falling time, not on health value)
  • Core depletion amount can now be set separately for each core
  • DyingState animations re-tweaked to avoid weird movement
  • Bleeding is now only applied if NPCs are shot in the torso (so you can take NPCs out with leg shots without having them bleed out) - can be configured in the ini
  • Added an experimental ini value for those with performance problems (amount of affected NPCs can be configured

 

Changelog v1.47

  • Re-tweaked the dying movement values to match the new animations better (spinning NPCs should be gone now)
  • NPCs now drop sooner when entering dying states - extended stumbling is now disabled by default (can be enabled in the ini)
  • NPCs in writhing animations don't die from lasso-ing them anymore
  • Removed an unused ini value, added a missing ini value

 

Changelog v1.46

  • NPCs can now be shot off their horses and into the dying states
  • NPCs can now be shot into the dying states even if in cover
  • Added proper writhing animations to the dying states and tweaked the states for adjusted behavior (occurences can be tweaked in the ini)
  • Added an option for "melee fight victims ragdolling into dying state behavior" to the ini (disabled by default)

 

Changelog v1.45

  • Reworked the code of DyingStates to be more performant
  • Completely re-tweaked DyingStates behavior
  • Re-tweaked stumbling on "bullet impact" behavior
  • Added the option of adjusting story NPC health (to survive higher enemy damage)
  • Added new ini parameters
  • Created a new config called "Overhaul" (next to "Standard" and "Realistic") which makes use of almost all the ini values available

 

Changelog v1.44

  • Fixed a bug where NPCs would enter the dying state immediately after being spawned and not snap out of it
  • Fixed a bug where fall damage wouldn't work properly

 

Changelog v1.43

  • Fixed a bug where NPCs wouldn't play the coughing sound when in a dying state and in water
  • The occurence of dying states can now be configured in the ini (percentage chance of when to use dying states and when to use vanilla behavior)
  • Excluding story NPCs is now optional (a setting was added to the ini, which allows the mod to affect story NPCs as well)
  • Body part specific damage modifiers can now be set in the ini (arms, legs, torso, neck, head)
  • Added rare occasions of NPCs audibly panicking when in hopeless situations
  • Added a modifier for knife damage to the ini

 

Changelog v1.42

  • Tweaked a value for the first dying stage
  • Added more story NPCs to be excluded by the mods effects (please report to us, if we forgot any)
  • Added an option for NPC accuracy to the ini (disabled by default)
  • DyingStates are now disabled for NPCs who only got damaged in fistfights, so they can always get back up again like in vanilla (can be enabled/disabled in the ini)
  • Disabling the disarming feature now also prevents NPCs from dropping their weapons when entering a dying state

 

Changelog v1.41

  • Tweaked a value for the first dying stage
  • Added an option for core depletion (health, stamina, deadeye) to the ini (turned off by default, but it can be turned on and configured in the ini)
  • Added an option for core depletion (health, stamina, deadeye) on death (turned off by default, but can be turned on in the ini)

 

Changelog v1.4

  • Fixed some bugs
  • Fixed some inconsistent behaviors
  • Added more story NPCs to be excluded by the mods effects (please report to us, if we forgot any)
  • Hogtying NPCs now disarms them (can be disabled in the ini)
  • Bleeding damage now only occurs when hit by bullets, knives, etc. (melee wounds dont apply bleeding effects anymore)
  • When disarming NPCs there is now a small chance of surrendering (hands up) or cowering in fear (additional to the fleeing or attacking behaviors)
  • Added multiple stages of dying (with different movements) when health is below a certain threshold - all based on chances, so behaviors wont get old
  • Rebalanced most of the values to fit in with the new features
  • Added more configuration options to the ini

 

Changelog v1.31

  • Fixed NPCs having infinite health when hit with melee attacks.

 

Changelog v1.3

  • Story NPCs are no longer affected by this mod (if you notice some we might have forgot, please report their names).
  • Every NPC can be fully disarmed now, including lawmen. Most times they'll flee, sometimes they'll keep attacking with a knife or bare fists.
  • Enemies now stagger around as they clutch their wounds after being shot. They may trip over scenery or lean onto walls before falling or recovering their balance.
  • Fall damage is now unnaffected by NPC health, so that even high health values will not make NPCs survive huge falls.
  • NPCs now stumble more often if you shoot both legs. Falls can also result in leg damage, so shooting one leg may result in the other also being wounded in the fall.
  • NPCs can be automatically disarmed when lassoed (disabled by default, but can be enabled in .ini).
  • The .ini offers many more customization options now so you can tailor the experience to your liking.
  • There is only one .zip file to download, which includes both the standard and the realistic version.

 

Changelog v1.2

  • rebalanced everything (NPC health, thresholds, chances, etc.)
  • added a bleedout function (NPCs in dying mode now lose health continuously, based on chance)
  • added the option to adjust Arthurs health value (deactivated by default, but configurable in the ini)
  • added a separate version with more "realistic" values
  • added the following ini values (those marked with * are not in the config by default, but you can add them if you want to tinker):
    • BleedWhenDying (enables or disables the bleeding function)
    • BleedingChanceDying (the chance of NPC losing health = bleeding)
    • BleedingValue (the value which is deducted when bleeding kicks in)
    • PlayerHealth (option to set Arthurs health)
    • *BleedWhenShot (adds a bleeding function for NPCs under the knockback threshold)
    • *BleedingChanceShot (chance for NPC losing health when under the knockback threshold)
    • *StumbleForcePushX (pushing force when stumbling, x-direction)
    • *StumbleForcePushY (pushing force when stumbling, y-direction)
    • *StumbleForcePushZ (pushing force when stumbling, z-direction)
    • *IsDirectionRelative (pushing force when stumbling, is the pushing direction relative)
    • *IsForceRelative (pushing force when stumbling, is the pushing force relative)

 

Changelog v1.11

  • fixed a bug where dyingthreshold and knockbackthreshold would not compute properly (thanks to @fitfondue for reporting!)
  • adjusted dyingthreshold default value
  • adjusted knockbackthreshold default value

 

Changelog v1.1

  • lowered chance of NPCs surviving fire from 90% to 20%
  • lowered health of NPCs
  • certain weapons (shotguns, sniper rifles, tomahawks, improved arrows, dynamite arrows, dynamite) now do way more damage
  • added ini for configuration with the following values:
    • ToggleKey (set the F-key with which you want to toggle the mod)
    • EnableScriptByDefault (choose if you want the mod to be enabled by default)
    • PlayerInvincibility (choose if you want to be invincible)
    • FireSurvivalChance (set the chance of NPCs surviving fire yourself)
    • FireHealth (health value which NPCs will get when they are burning and are not supposed to survive)
    • NPCHealth (set the standard NPC health)
    • KnockbackThreshold (set the amount of health under which NPCs can be knocked back)
    • KnockbackChance (set the chance for an NPC being knocked back when under the threshold)
    • DyingThreshold (set the amount of health under which NPCs wont be able to get back up again)
    • StumbleChance (set the chance for an NPC to stumble or fall if it has damaged legs)
    • SpecialWeaponModifier (set the damage modifier for the weapons mentioned above)
  • fixed all the bugs that I noticed in v1.0
  • Like 32
  • Thanks 7
 Share

You may also like

  • Lenny's Mod Loader RDR
    By LMS
       2067757   736   5
  • RDR 2 Asi Loader
    By LMS
       1345913   158   5
  • Lenny's Simple Trainer
    By LMS
       1071199   1348   25
  • Improvements in Blood
    By Cazanu
       58870   6   0
  • Red Dead Offline
    By LMS
       689566   438   12
  • User Feedback

    Recommended Comments



    This sounds godly! 

     

    Edit: Really FUN! A man was pissed at me so I just walked around him until punchy time. A wagon then ran over his leg and he limped at me angrily so I had to put him down 🙂

    One thing I noticed was a person could take 3 tomahawks to the chest and I found that a bit crazy. Love this! Pls keep making more!!!

    Edited by AbjectLlama
    Link to comment
    Share on other sites

    12 hours ago, AbjectLlama said:

    This sounds godly! 

     

    Edit: Really FUN! A man was pissed at me so I just walked around him until punchy time. A wagon then ran over his leg and he limped at me angrily so I had to put him down 🙂

    One thing I noticed was a person could take 3 tomahawks to the chest and I found that a bit crazy. Love this! Pls keep making more!!!

     

    I am already working on an update. A minute after I published the mod here, a guy wrote me and asked for permission to put the file on nexusmods, I agreed. Getting a lot of feedback there (less health for NPCs, lower rate of NPCs surviving fire, etc.).

    The thing with weapons like tomahawks and dynamite arrows, etc. is that I have to address those special weapons separately in the code (which I havent done yet, because it takes some work, but I want to do it).

     

    1 hour ago, Maryouma said:

    Sounds good. How do I install it?

     

    You have to download the Script Hook by Alexander Blade (http://www.dev-c.com/rdr2/scripthookrdr2/) and put the dll into your RDR 2 root folder, then you put this mod into your root folder.

    • Like 1
    Link to comment
    Share on other sites

    9 hours ago, HughJanus said:

     

    I am already working on an update. A minute after I published the mod here, a guy wrote me and asked for permission to put the file on nexusmods, I agreed. Getting a lot of feedback there (less health for NPCs, lower rate of NPCs surviving fire, etc.).

     

    The best way might be to make it configurable via an ini file so that people can balance it the way they want.

    Link to comment
    Share on other sites

    2 hours ago, LMS said:

     

    The best way might be to make it configurable via an ini file so that people can balance it the way they want.

     

    I have looked into one ini sample code before I started with the mod, but it was so complicated to set up (with own classes and such) that I omitted it.

    Do you have any simple sample code by any chance? (like not having to parse the text file but actually get the attributes by command)

    Link to comment
    Share on other sites

    This is very very exciting it sounds like the realism is improved, i just hope fist fights are more epic now hehe, i love seeing brawls and there faces get bloody and bruised etc

    Link to comment
    Share on other sites

    1 hour ago, HughJanus said:

    I have looked into one ini sample code before I started with the mod, but it was so complicated to set up (with own classes and such) that I omitted it.

    Do you have any simple sample code by any chance? (like not having to parse the text file but actually get the attributes by command)

     

    If you would like to keep it as simple as possible, you can use the WinAPI GetPrivateProfileString/GetPrivateProfileInt functions to read from an ini file. You will still have to do the parsing for some types such as float, though.

     

    Something I've used in the past is https://github.com/jtilly/inih which is header only, so easy to work with. It also includes conversions to most common types which should make your life easier.

    • Like 1
    Link to comment
    Share on other sites

    43 minutes ago, LMS said:

     

    If you would like to keep it as simple as possible, you can use the WinAPI GetPrivateProfileString/GetPrivateProfileInt functions to read from an ini file. You will still have to do the parsing for some types such as float, though.

     

    Something I've used in the past is https://github.com/jtilly/inih which is header only, so easy to work with. It also includes conversions to most common types which should make your life easier.

    Thank you, I will try that.

    Link to comment
    Share on other sites

    21 hours ago, HughJanus said:

     

     

    You have to download the Script Hook by Alexander Blade (http://www.dev-c.com/rdr2/scripthookrdr2/) and put the dll into your RDR 2 root folder, then you put this mod into your root folder.

     

    Thanks! I played with it for a few hours. I like it a lot actually, buy it needs some work IMO. I can't dismember NPC's with a shotgun point blank with this mod enabled. That's my only major issue with the mod so far.

     

    I like how NPC's don't instantly die from a tomahawk throw but it should maybe trigger the bleeding state to make it more realistic?

     

    Another bug I noticed is that sometimes burned NPC's keep flailing on the ground even after the fire is gone.

    Edited by Maryouma
    Link to comment
    Share on other sites

    2 hours ago, Maryouma said:

     

    Thanks! I played with it for a few hours. I like it a lot actually, buy it needs some work IMO. I can't dismember NPC's with a shotgun point blank with this mod enabled. That's my only major issue with the mod so far.

     

    I like how NPC's don't instantly die from a tomahawk throw but it should maybe trigger the bleeding state to make it more realistic?

     

    Another bug I noticed is that sometimes burned NPC's keep flailing on the ground even after the fire is gone.

     

    Dismemberment only occurs on the death blow. Since I have upped the health of NPCs, the shotgun is no longer strong enough to take out an NPC with one body or limb shot - the killing blow should still dismember though.

    I have not yet found a command to force dismemberment, but I would like to do that (unfortunately it doesnt seem possible yet).

     

    In the next version I will lower the chance of NPCs surviving fires (which should also lower the chance of the flailing bug occuring).

    I will also use special damage modifiers for certain weapons (like dynamite arrows or tomahawks) to make things more realistic - as it looks now, I will also include shotguns in this special handling.

    Link to comment
    Share on other sites

    1 hour ago, HughJanus said:

     

    Dismemberment only occurs on the death blow. Since I have upped the health of NPCs, the shotgun is no longer strong enough to take out an NPC with one body or limb shot - the killing blow should still dismember though.

    I have not yet found a command to force dismemberment, but I would like to do that (unfortunately it doesnt seem possible yet).

     

    In the next version I will lower the chance of NPCs surviving fires (which should also lower the chance of the flailing bug occuring).

    I will also use special damage modifiers for certain weapons (like dynamite arrows or tomahawks) to make things more realistic - as it looks now, I will also include shotguns in this special handling.

     

    Is it possible to make it so that shotguns do more damage to compensate for the upped health of NPCs?

     

    Thanks again for the incredible mod

    Edited by Maryouma
    Link to comment
    Share on other sites

    1 hour ago, Maryouma said:

     

    Is it possible to make it so that shotguns do more damage to compensate for the upped health of NPCs?

     

    Thanks again for the incredible mod

     

    Yes, I will adjust the weapon damage modifier according to the weapon the player is currently using.

    Link to comment
    Share on other sites

    Nice Work dude. There are some good real actions the peds do now. Thats great.

    But is it possible that when you shoot the leg of a ped with a Shotgun or explosive ammo, that the leg get destroyed like usual but the ped life much longer and try too flee? Or have the ped to be dead that the dismember-animation can kicks in? Would be s***, but good modders should solve this with some stuff.
    How about creating a real bloodpatch together?

    Link to comment
    Share on other sites

    Nice work and please add ini file to change activation key or change it to f8 please 🙂

     

    Link to comment
    Share on other sites

    Thank you for the appreciation.

    I will try some more stuff on the weekend and hopefully get a new version out (with configurable ini - at least with the most important variables).

    Link to comment
    Share on other sites

    How about a feature that allows you to change the reload speed for all weapons for both the player and NPC's. I don’t know why the reload animations have to be so ridicilously fast in this game to the point that it's immersion breaking. If all weapons had a more realistic (maybe about 75% slower) reload time then it would add more of a skillgap to the game cause it would make you think twice before wasting shots. This would also push players to wait for the right moment to shoot or to move up on an enemy and it would make melee weapons more viable options. Just some idea's. please tell me what you think. Other than that, this mod is fucking awesome. 

     

    • Like 1
    Link to comment
    Share on other sites

    Thank you very much for your work!
    Is it possible to add here, the time setting when dead bodies (corpses) begin to disappear,and the ability to control the time of decomposition into bones?

    After  patch v1.03, rockstar did something and the corpses of people no longer decompose and immediately disappear ( As soon as you turn away, 50 meters away from him.)
    At the time of the game’s release  the corpses remained for a long time, even after the game was restarted again. So by the beginning of the second part I already saw the bones of my enemies.This did not work in the missions, and with large numbers of NPCs, and on roads (NPC paths).

    I also agree about the reload speed ) 

     

    Link to comment
    Share on other sites

    Hey there! I love what you're trying to do with this mod. However, it doesn't seem to be working as intended in most cases. Enemies always get back up as soon as they fall over, so you can't knock the breath out of them (just like in vanilla), there seems to be no "wounded state" (they're either dead or not dead, unless there's an artery shot), the stumbling is very prone to glitches and doesn't feel realistic anyway, since an enemy shot in both legs shouldn't even be able to get back up.

    All in all, the mod doesn't really offer a way to "cripple" your opponents unless you get an artery shot, which is already in vanilla. It only seems to make combat more difficult by forcing a headshot; unless you get one, enemies are pretty much made of steel and can take literally forty shots to the chest before even considering the possibility of dying.

     

    So here's my suggestion: vanilla is actually quite generous with health already, depending on the weapon. It takes 4 to 5 shots to the chest with a revolver in order to kill an enemy. Rifles are more powerful than that, but their advantage should be range, not raw stopping power. Truth is, ANY bullet to the chest, from any weapon, should be a considerable hurdle to one's day. If the point is to make enemies react more realistically to damage, then different behaviours are required. You nailed it with the fire behaviour: enemies now remain alive for a realistic amount of time until the fire kills them, and even if they survive, they go into a permanent wounded state in which they're alive, conscious but incapacitated. So here's what I propose, and bear in mind I don't know if natives even allow for this, so I'm just spitballing:

     

    01 - Apply that wounded state more often. It makes no sense for an enemy to take three bullets to the chest and keep fighting. They should either die or remain mortally wounded for minutes, regardless of whether they were shot with a rifle or a revolver.

    02 - A shot in one leg warrants that stumbling mechanic (though it needs polish). A shot in both legs should lead to a permanent wounded state, since the enemy shouldn't be able to get back up with both legs crippled, and nor should they die from it. This may create problems with enemies spawning (since too many living enemies keeps new ones from coming in), but you'd have to non-fatally wound a LOT of enemies until that became a problem.

    03 - A shot in the shooting hand should also lead to a wounded state: the enemy has no chance of firing back with a crippled hand (yeah, they could try their left, but I doubt the natives allows for that level of finesse). Better yet, they could simply run away. For some reason, this isn't possible with lawmen (they can't be fully disarmed), but it is with regular NPCs.

    04 - It would be nice to have some variety for artery shots, since the behaviour always repeats itself: fall over, get up again, run away (for a very long time, with this mod), fall over again, die. In fact, this tends to happen more frequently with this mod. If there's any way to do this with natives, I would suggest sometimes enemies maintain their ragdoll behaviour right after an artery shot until they die. The ragdoll behaviour right after the shot is perhaps the most impressive in the game, but as soon as the enemy falls over, they go into the wounded running animation and there's no longer any ragdoll behaviour until they die. It would be nice if that didn't always happen. Arterial wounds aren't tipically a great incentive for running around.

    05 - It makes perfect sense for shotguns, dynamite and other heavy weaponry to maintain their stopping power, so I suggest no changes there. As I said, fire is also great now. You seem to have nailed those.

     

    All in all, I suggest not increasing enemy health (though the .ini could always keep that option); instead, add a greater variety of behaviours that reward strategic aiming. Being able to non-fatally wound an enemy rather than kill him is great for roleplay, since right now there's no way to do that. You either kill them or tie them up, or they'll never stop trying to murder you.

    Link to comment
    Share on other sites

    Hey all,

     

    concerning all the new suggestions, I will have to check the natives for them (reload speed, decomposing) but they do make sense to me also, so I guess I'll do some research.

     

    @fitfondue: You can set the thresholds for knocking down and disabled state, as well as the knockdown chance and stumble chance in the ini (it all works for me, you can test it by e.g. setting the knockdown threshold to 10 and the dying threshold to 499, so NPCs when under 499 health (which should be done by hitting them once) shouldnt be able to get up when you downed them). The "unpolished" stumbling is more or less a workaround until OpenIV gets updated >> as of now, I dont have the option to change the NPCs movement clipset to "limping" or something similar, because we dont know the clipsets yet. So what I did is apply a force to the NPC randomly (based on the ini chance) when any leg was hit and simultaneously set it to ragdoll for a short time, this creates the stumbling behavior.

    As for more variety in artery shots >> since we dont know the movement clipsets, there is nothing I can do at this moment, unfortunately.

    Concerning the hand shot >> while testing, I removed the weapon from the NPC when he got shot in the hand (which didnt work 100% of the time, because we dont know the name of all hand and finger bones yet), but this let the weapon disappear completely (not drop to the ground). I found no other option in the natives, so I cut that feature out. But yes, I would like such a feature too. For myself, I have a version where the lasso lets all NPC weapons of the NPC who got caught by the lasso, disappear. If you want, I can upload it for you.

     

    Thanks for all the feedback and ideas! I really appreciate you having fun with this mod 🙂

     

    Edit: did a quick search and found nothing concerning the decomposing or bodies being removed. I didnt find a native for reloading speed, but we can check if someone is reloading. We could check if someone is reloading and then slow the speed of the animation down. I have tried slowing the running animation down in the past, but had no luck. Does anyone here know how to use SET_ANIM_RATE?

    Edited by HughJanus
    • Like 1
    Link to comment
    Share on other sites

    @HughJanusThanks for the reply! So I just tried the settings you suggested (I had tinkered with them previously) and they actually just prevented enemies from ever being knocked down, because the Knockback Threshold you suggested is 10 and it takes forever for them to go from 500 health to 10. Knockback only works from the start if it's set to 499, with knockback chance being set high as well. I set it to 99, but knockbacks aren't happening as frequently as that value suggests they should.

    As for DyingThreshold, it doesn't seem to have any effect regardless of what value it's set to. Be it 10 or 499, it never works. Those three values seem to be problematic, in fact. KnockbackThreshold does seem to actually work, but KnockbackChance doesn't really seem congruent with its values, and DyingThreshold does nothing. As I said, enemies always get back up instantly, even when their health is near zero. And yes, I've tried changing NPC's starting health, and tinkering with different combinations of values. Same result.

    I also tried the mod without any other mods active, just Scripthook. I went back to a previous save to make sure a trainer hadn't screwed something up in the current save. Same problem. DyingThreshold really works on your end?

    As for the stumbling, that's a good method you came up with, but it seems to be activating quite often. If you set it high, then NPCs seem to have force applied to them every few frames, resulting in glitchy movement. It seems like the effect can kick in at any time, so at high values it just kicks in all the time. The default value of 30 works fairly well, although perhaps the ragdoll time could last a bit longer.

    As for all the trouble with natives, yeah, I figured there were plenty of unknown values holding back the more ambitious features. Thanks so much for working on this mod and making it available. 🙂

    Link to comment
    Share on other sites

    @fitfondue Thanks for making me aware, mate! You were totally right. I had a status check spelled incorrectly (C++ syntax). The new version is up for download already.

    I hope I reach hinti21 from Nexus soon, so the version there can be updated as well.

    Link to comment
    Share on other sites

    Hi @HughJanus! Thank you so much for this amazing mod, it has made Red Dead a much more enjoyable experience for me 🙂

     

    Something I think would add to the enjoyment of this mod is adding a 'bleed out' timer for npcs with low health. As an example I had a few wounded on the ground twitching, it would be nice to see them pass away after a certain point, also for wounded npcs still standing, seeing them in cover shooting and then slumping over once their 'timer' runs out would be awesome.

    I hope you are enjoying creating this mod as much as I am enjoying playing it, keep up the great work!

    Link to comment
    Share on other sites

    @k1ngj3w this is actually something I am currently working on (bleed out timer) 🙂

    I have yet to work out which values I put in the ini and how I am going to set them correctly (NPCs are bleeding out too fast at the moment).

     

    I am glad that you are enjoying this mod 🙂

    Link to comment
    Share on other sites

    @HughJanusWhoa! I found a new problem, but this is a MASSIVE improvement. You single-handedly fixed one of RDR2's most immersion-breaking features.

    Here's the problem I found: it's quite possible that KnockbackThreshold and DyingThreshold cause functionally identical behaviour. The knockback behaviour is exactly the same as the dying behaviour. If I set KnockbackThreshold to 499 (with KnockbackChance to 100) and DyingThreshold to a very low value, a single shot will result in the enemy falling over into a dying behaviour and -- as far as I've seen -- never getting back up again. I did test it by shooting an NPC and seeing if they ever got back up, but minutes passed and they remained on the dying behaviour.


    Inverting the parameters (DyingThreshold to 499, KnockbackThreshold to a low value) would cause the exact same thing to happen, the exact same behaviour (except this time they were congruent with the parameters).

    If I understand the mod's description correctly, the Knockback is supposed to keep the NPC down for a certain amount of time, correct? It's the out-of-breath feature, so you shoot them, they fall, they get their breath back for a random amount of time, then they get back up in the fight, is that it?

    If that's the idea, then it's not working that way. Knockback and Dying are functionally identical behaviours. I set both down to 0 to see if it could be something else, but when they're both set to 0, then NPCs simply behave like in the vanilla game. Only by setting either parameter to a high value would the Dying behaviour kick in.
     

    Interestingly, KnockbackChance still has an effect over whether or not an enemy enters the Dying behaviour as set by KnockbackThreshold. So those values seem to be correctly interlinked but leading to the wrong behaviour.


    Another problem, which was also present in 1.1 and I think 1.0 but I forgot to mention it, is that headshots seem to have some problematic hitboxes. Hitting near the outline of the NPC's head will not cause them to die. In some cases I've shot the side of their head dead-center and they didn't die, as if the bullet has to hit the actual face in order to kill instantly.

    Finally, I tested the stumbling behaviour and it is unchanged. I'm mentioning this just in case you tweaked it, just so you know whether it changed anything.

    That's about it. Congratulations and thank you, the mod is now a huge improvement over the vanilla game. There's some great interplay between features now: if you hit an artery shot when the enemy is already near the DyingThreshold, they'll go into the artery shot ragdoll behaviour and then straight into the dying behaviour, without getting back up and running away. It adds a lot of variety to gunfights.

     

    Link to comment
    Share on other sites

    @fitfondue In this script, almost all the stuff that happens is checked every millisecond. What the knockback chance does is resetting the ragdoll timer -> when you shoot an NPC for example in the leg, the game sets the NPC to ragdoll for a certain amount of time (vanilla behavior), what the mod does is it checks the NPC if it is under the knockback threshold - if so, if the randomizer (computes a number between 0 an 99) results in a number below the knockback chance (you set in the ini), the ragdoll timer is reset (= the NPC stays on the ground longer than vanilla intended). If you now set this chance to 100, the NPC will be knocked down infinitely. You will have to figure out a number which serves you well during gameplay (the number I came up with (13%) gave pretty good results for my taste).

    The dying threshold doesnt have a randomizer applied. It just checks if the NPC is below the threshold and if so, sets the NPC to ragdoll automatically and then leaves it there indefinitely.

    The "problem" with the head is that if you dont destroy the brain, the game wont kill the NPC instantly. If you shoot the head somewhere where you dont hit the brain, it "only" causes a lot of damage (which kills the NPC in vanilla, but not with this mod, since the health value is higher). I quite like that behavior, because in reality humans can also survive headshots if nothing major is damaged.

    I didnt tweak anything concerning the stumbling (wouldnt know how to make it more polished). But you can grab the source code of this mod from this site and try around yourself (I commented everything, so you should be able to understand what I did quite quickly):

     

    • Like 1
    Link to comment
    Share on other sites


    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    ×
    ×
    • Create New...