Modme Forums

How to access Weapon Damage Values?

Game Modding | Call of Duty: Black Ops 3 | Scripting


BetiroVal:

I am currently scripting a custom perk, and I need to access the damage of the weapon's bullet for balancing purposes. (The perk is functional, as it only needs an int to work).
This is because the perk functions when the player is firing.
Providing a static value ruins the slow-firing weapon archetypes.
Basing it on inverse mag size means that PaP'd weapons are worse off then their base counterparts.
Using actor damage callbacks makes it tons more effective on headshots (not intended), causes a recursive effect where it ends up spreading amongst a horde instead of inflicting groups, and becomes catastrophically more potent with collaterals.
Hence it is important that the damage value is directly from the weapon

Is there any way to directly do this?