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

Substantially increase overheating when using silencers or flash suppresors #3337

Merged
merged 4 commits into from
Feb 21, 2016

Conversation

nicolasbadano
Copy link
Contributor

When merged this pull request will:

  1. Substantially increase overheating when using silencers or flash suppresors. The calculations are based on how much they supress sounds and flash. For reference typical Arma silencers get x2.1 overheating and ACE flash suppresors get x1.5.
  2. Optimize overheating calculations for the player by caching bullet mass and silencer parameters.
  3. Replace createLocation by CBA_fnc_createNamespace

…resors. Optimize overheating calculations for the player through caching.
@nicolasbadano nicolasbadano added this to the 3.5.0 milestone Feb 18, 2016
@nicolasbadano nicolasbadano changed the title Substantially increase overheating when using silencers or flash supp… Substantially increase overheating when using silencers or flash suppresors Feb 18, 2016
@@ -13,8 +13,9 @@ if (isServer) then {

if !(hasInterface) exitWith {};

GVAR(cacheWeaponData) = createLocation ["ACE_HashLocation", [-10000,-10000,-10000], 0, 0];
GVAR(cacheWeaponData) setText QGVAR(cacheWeaponData);
GVAR(cacheWeaponData) = call CBA_fnc_createNamespace();
Copy link
Member

Choose a reason for hiding this comment

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

syntax issue?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup, it was.

@nicolasbadano nicolasbadano self-assigned this Feb 20, 2016
nicolasbadano added a commit that referenced this pull request Feb 21, 2016
Substantially increase overheating when using silencers or flash suppresors
@nicolasbadano nicolasbadano merged commit d740397 into master Feb 21, 2016
@nicolasbadano nicolasbadano deleted the overheatingSilencers branch February 21, 2016 01:06
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.

2 participants