Select one of the following categories to start browsing the latest GTA 5 PC mods:
If fImpulseReductionPerShot value>fImpulseRecoveryPerSecond value; The ped will be able to not fall to ground one or two shoots depends of damage applied.
If fImpulseReductionPerShot value<fImpulseRecoveryPerSecond value; The ped will not be able to stand after few shoots.
You can try around with this.Luck
This parameters are in the last part of my file, there are important parameters that affect ped reaction to shots. I am not native english (im spanish) and i will try to express myself correctly xD
<fImpulseReductionPerShot value="0.743166" /> -This is how much ´´power´´ lose every shot every time it affect a npc
<fImpulseRecoveryPerSecond value="0.813166" /> - How much ´´steadiness´´ recover a ped after being shooted
<fMaxImpulseModifier value="1.113166" /> -This is a multiplier on the impulse that you can transfer to a ped
<fMinImpulseModifier value="0.313166" /> - This is the - multiplier
<fCounterImpulseRatio value="0.500000" /> -how much a ped will counteract a shoot´s impulse
<fTempInitialStiffnessWhenShot value="0.100000" /> - this is the stifness or numbness that it will apply to a ped when shooted
@littlefilms i know a little bit about scripting and i believe that it is codified in C# coding language. I can try to mess a little bit with this script, but i don´t know if it will be stable, we´ll have to try.
@littlefilms you really have a good combination of mods! i am modding my game in this sense too(more gore, reactions and realistic)
@Mateus I have very parameters already tested, but...you it ir a little more complicated. You need a certain structure in the parameters so it is better to modify a non-vanilla physicstasks.ymt . I can show you some parameters if you want to test it on my file, you can upload then or whatever you want, if you can improve my mod it is good for everyone, luck and enjoy!
@Modz4Me Yes! the parameters that you have to modify is here:
<DisableReachForWoundOnHeadShot value="true" />
<DisableReachForWoundOnHeadShotMinDelay value="0" />
<DisableReachForWoundOnHeadShotMaxDelay value="65" />
The two last modifies the min/max time that ped stand after a headshot, if you put 0 in both, the ped will collapse almost instantly, but i have to test it a little more. You can probe that, enjoy!
@littlefilms I also put this line in gunseizures.cs= Function.Call(Hash.DISABLE_PED_PAIN_AUDIO, p, true); in the last part of the code. it removes the (in my opinion) annoying scream sounds of the peds.
@littlefilms it works very well! thanks.
I recommend using my mod with this other mod: https://gta5-mods.com/scripts/gsw2-gunshot-wound-2-realistic-damage-system it improves my mod a lot! Please try it and enjoy.
@Mateus i restard with every change XD it is a very tedious task.