Page MenuHomeFeedback Tracker

handleDamage EH triggers for every hitpoint, instead of just hitpoints damaged from an event
New, NormalPublic

Description

Contrary to the description on the biki, the EH triggers for every single hitpoint for every bulletimpact or damage reception.
This causes many unnecessary triggers.

A single bullet can cause on the order of 5 or more triggers per hitpoint, as every new impact on the Objects FireGeo LOD can cause a new trigger.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
Scripting

Event Timeline

Fennek created this task.May 16 2017, 10:45 PM
Fennek updated the task description. (Show Details)May 16 2017, 10:49 PM
Fennek changed Severity from None to Feature.
Fennek changed Reproducibility from N/A to Always.
Fennek edited Steps To Reproduce. (Show Details)
Fennek edited Additional Information. (Show Details)
Fennek changed Category from General to Scripting.
Fennek renamed this task from Additions to handleDamage EH, or creation of handleDamageV2 EH to Additions to handleDamage EH: "caused damage".
Fennek renamed this task from Additions to handleDamage EH: "caused damage" to handleDamage EH triggers for every hitpoint, instead of just hitpoints damaged from an event.May 16 2017, 11:15 PM
Fennek updated the task description. (Show Details)
Fennek changed Severity from Feature to Minor.
Fennek edited Steps To Reproduce. (Show Details)
Fennek edited Additional Information. (Show Details)

If there is a mismatch between the wiki and the game, it means the wiki is wrong, not the other way around.

Fennek added a comment.EditedMay 20 2017, 11:39 PM

Not necessarily true. The wiki could have been right, but some change in development resulted in the handledamage beeing changed (possibly unintentionally) to the state it is now.

Why not change the wiki instead? Because it makes no sense that the handledamage EH triggers for hitpoints that wherent even affected by a damaging event

Usually, almost every hitpoint is affected by damage, even if just a little bit. For example, if you get hit in the chest, residual damage will also be applied to the head and limbs. It's weird but that's how it is.

Fennek added a comment.EditedMay 21 2017, 11:31 PM

There is some spilling because of the effect described in this ticket https://feedback.bistudio.com/T120542 under b) that gets magnified when bullet damage is too large. When bullet damage is reduced however it can be mitigated. Both issues should be fixed imo.