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

Ported the ACE2 ear ringing logic #1609

Merged
merged 12 commits into from
Jun 13, 2015
Merged

Ported the ACE2 ear ringing logic #1609

merged 12 commits into from
Jun 13, 2015

Conversation

ulteq
Copy link
Contributor

@ulteq ulteq commented Jun 13, 2015

No description provided.

@ulteq ulteq added kind/enhancement Release Notes: **IMPROVED:** ACE2 Port labels Jun 13, 2015
@ulteq ulteq added this to the 3.1.0 milestone Jun 13, 2015
@jonpas
Copy link
Member

jonpas commented Jun 13, 2015

This fixes #619 ?

@nicolasbadano
Copy link
Contributor

This fixes #619

Yes it does


_loudness = _audibleFireCoef * _audibleFire / 64;
_strength = _vehAttenuation * (_loudness - (_loudness/50 * _distance)); // linear drop off
_magazine = (getArray(configFile >> "CfgWeapons" >> _weapon >> "magazines")) select 0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is a bit fishy. The first magazine supported by the weapon may not be the one that fired, which may be even more true when magazineGroups are used.

ulteq added a commit that referenced this pull request Jun 13, 2015
Ported the ACE2 ear ringing logic
@ulteq ulteq merged commit c3340b1 into master Jun 13, 2015
@ulteq ulteq deleted the ace2EarRinging branch June 13, 2015 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Release Notes: **IMPROVED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants