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

Tweak overheating #4969

Merged
merged 2 commits into from
Apr 11, 2017
Merged

Tweak overheating #4969

merged 2 commits into from
Apr 11, 2017

Conversation

PabstMirror
Copy link
Contributor

Small changes to overheating system

  • Slightly reduce jam chance; mainly delaying the 150x multiplier
  • Change barrel mass calc; this will effect heat buildup and cooldown rate

@@ -31,7 +31,7 @@ if (_assistant isEqualTo _gunner) then {
[localize LSTRING(SwappedBarrel), QPATHTOF(UI\spare_barrel_ca.paa)] call EFUNC(common,displayTextPicture);

private _temp = _gunner getVariable [format [QGVAR(%1_temp), _weapon], 0];
private _barrelMass = 0.50 * (getNumber (configFile >> "CfgWeapons" >> _weapon >> "WeaponSlotsInfo" >> "mass") / 22.0) max 1.0;
private _barrelMass = 0.55 * (getNumber (configFile >> "CfgWeapons" >> _weapon >> "WeaponSlotsInfo" >> "mass") / 22.0) max 1.0;

Choose a reason for hiding this comment

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

0.55 should probably be moved to a global

@thojkooi thojkooi modified the milestones: 3.9.1, 3.10.0 Mar 13, 2017
@PabstMirror PabstMirror merged commit fb73286 into master Apr 11, 2017
@PabstMirror PabstMirror deleted the tweakOverheating branch April 11, 2017 15:05
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.

4 participants