Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AB - Handle subsonic ammo when configs not defined #3130

Merged
merged 1 commit into from
Feb 20, 2016
Merged

Conversation

PabstMirror
Copy link
Contributor

Fix #3062

  • Add basic AB configs for subsonic Russian bullets.
  • When building ab ammo cache, if round is subsonic and does not have AB
    configured attempt to use the parent's config, scaled down to the subsonic's round
    speed.

Without this, AB would use the parents muzzle velocity which broke the sights
and more importantly it causes the silent bullet to still have normal speed/damage.

Linear scaling probably isn't going to be perfect, but it should be much closer than using the unmodified parent config; this will also put a warning in rpt (only once per game because this is all cached).

Fix #3062
- Add basic AB configs for subsonic russian bullets.
- When building ab ammo cache, if round is subsonic and does not have AB
configured
attempt to use the parent's config, scaled down to the subsonic's round
speed.
@PabstMirror PabstMirror added the kind/bug-fix Release Notes: **FIXED:** label Jan 7, 2016
@PabstMirror PabstMirror added this to the 3.5.0 milestone Jan 7, 2016
thojkooi added a commit that referenced this pull request Feb 20, 2016
AB - Handle subsonic ammo when configs not defined
@thojkooi thojkooi merged commit 8d12f1c into master Feb 20, 2016
@thojkooi thojkooi deleted the ab-subsonicAmmo branch February 20, 2016 16:01
nicolasbadano added a commit that referenced this pull request Feb 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug-fix Release Notes: **FIXED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Subsonic bulets of RHS have wrong the trajectory.
3 participants