Log in to reply
 

[SCRIPT] Simple Don t Writhe mod



  • Hello guys!(english sry)

    I m so desparate to find a don t "writhe" mod.

    Writhe is the animation(I guess) when you shoot a police or any ped in the legs and he/she falls to the ground and die in about 15s later.
    No matter how much health you give to peds, for example i ve edited to 500hp - still if you shoot the ped in the legs with a pistol with a dmg of 26, the ped just falls gets the HP amount of <InjuredHealthThreshold or <HurtHealthThreshold? and dies.

    It is absolutely annoying as I want to make some custom weapon dmg mods. I ve searched the whole internet and all I could find is this mod: https://www.gta5-mods.com/scripts/don-t-writhe
    -------->
    Found out it only disables Writhe to PEDS that I shoot. If a PED shoots another PED and they fall, they go into Writhe.

    Another mod: https://www.gta5-mods.com/scripts/pickups#comments_tab
    -------->
    this mod has a so called damage engine. Which does include the don t writhe option in the .ini but unfortunetely it edits all PEDs HP to a fix amount of 100 which is not editable and also edits dmg amount if you shoot limbs/body/head. It messess up the game.

    The code is given(credits to InfamousSabre): https://www.dev-c.com/nativedb/func/info/1913FE4CBF41C463
    PED::SET_PED_CONFIG_FLAG(ped, 281, 1);

    I tryed to implement it, but dang i have no idea what am I doing. I need to learn C++ or C# :(
    Any help would be greatly appreciated!



  • There are two mods for disabling writhe in this thread:
    https://forums.gta5-mods.com/post/154090



  • @Jitnaught
    wow! thank you Sir! works like a charm!


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.