vehicleDamage - Change fnc_processHit AP Damage Reduction#10993
Merged
PabstMirror merged 9 commits intoacemod:masterfrom Jul 11, 2025
Merged
vehicleDamage - Change fnc_processHit AP Damage Reduction#10993PabstMirror merged 9 commits intoacemod:masterfrom
PabstMirror merged 9 commits intoacemod:masterfrom
Conversation
Contributor
Author
|
Pulling this to a draft until I experiment with a few things to better estimate speed & time of flight. |
Contributor
Author
|
Still not super happy using typical speed instead of the actual initial speed to calculate approximate speed at impact, but without guessing which magazine to use (and the lookup overhead) there's not a great approach. |
further clarified comment
Contributor
Author
|
If only we received the projectile instead of the classname from the |
clarified comments further
PabstMirror
reviewed
Jul 6, 2025
PabstMirror
approved these changes
Jul 6, 2025
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
TheCandianVendingMachine
approved these changes
Jul 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When merged this pull request will:
_addedDamagemodification to work as a function of a very rough estimation of time of flight._airFriction * _distanceresulting in large reductions in damage for projectiles with non-infinitesimal"airFriction"values. i.e., RHS uses penetrators for their AP ammo with airFriction of-0.08resulting in shots at 200m applying ~1e-7 damageIMPORTANT
Component - Add|Fix|Improve|Change|Make|Remove {changes}.