Log in to reply
 

Deactivate one hit from melee weapons



  • I wanted to know if there is some special value to modify in the meta from the weapons to deactivate that this can kill u instantly.
    With fire arms u can just delete the flag "allowclosequarterkills" but with melee weapons its just deactivates the melee attacks, so I need to find a solution at all for this.
    Im just wantig to avoid one hit melee weapons

    ps: sorry for my bad english



  • @lLukDreams
    Try 'damages.meta':

    ...\mods\update\update.rpf\common\data\action\damages.meta

    It has '<OnHitDamageAmountMin/Max' values & flags for 'DRA_FATAL_HEAD_SHOT' & 'DRA_FATAL_SHOT' (ie try removing those flags etc) for most if not all melee weapons (see knife & bat example below):

    damages.meta:

        <Item type="CDamageAndReaction">
          <Name>DAR_knife</Name>
          <ActionRumble>ARBL_small</ActionRumble>
          <OnHitDamageAmountMin value="75.000000" />
          <OnHitDamageAmountMax value="75.000000" />
          <SelfDamageAmount value="0.000000" />
          <ForcedSelfDamageBoneTag>BONETAG_INVALID</ForcedSelfDamageBoneTag>
          <DamageReactionAttrs>DRA_KNOCK_OFF_PROPS DRA_FATAL_SHOT DRA_INVOKE_FACIAL_PAIN_ANIMATION</DamageReactionAttrs>
        </Item>
        <Item type="CDamageAndReaction">
          <Name>DAR_bat</Name>
          <ActionRumble>ARBL_large</ActionRumble>
          <OnHitDamageAmountMin value="75.000000" />
          <OnHitDamageAmountMax value="75.000000" />
          <SelfDamageAmount value="0.000000" />
          <ForcedSelfDamageBoneTag>BONETAG_INVALID</ForcedSelfDamageBoneTag>
          <DamageReactionAttrs>DRA_KNOCK_OFF_PROPS DRA_FATAL_HEAD_SHOT DRA_FATAL_SHOT DRA_INVOKE_FACIAL_PAIN_ANIMATION</DamageReactionAttrs>
        </Item>
    

    If after that you want to edit head vs limb damage ratio, probably these values in 'weapons.meta' ('HeadShotDamageModifierPlayer/AI' & 'HitLimbsDamageModifier' etc). Not 100% sure on that tho, actually just guessing really, but if looking to tweak things further investigate those values etc. Best of luck :thumbsup:


Log in to reply
 

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