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

Explosives - Add CBA settings for max/min/default timer values #7916

Merged
merged 4 commits into from
Oct 3, 2020

Conversation

Freddo3000
Copy link
Contributor

When merged this pull request will:

  • Transfer settings from ACE Settings to CBA Settings
  • Add settings for max/min/default explosive timer

image

@mharis001 mharis001 added the kind/enhancement Release Notes: **IMPROVED:** label Sep 27, 2020
@mharis001 mharis001 added this to the 3.13.5 milestone Sep 27, 2020
Copy link
Member

@mharis001 mharis001 left a comment

Choose a reason for hiding this comment

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

Should maybe remove the custom timer limits from the docs to prevent CBA settings from being set/changed directly.

Also, what happens if users set the min value higher than the max? Or the default value not within the range?

addons/explosives/ACE_Settings.hpp Show resolved Hide resolved
addons/explosives/initSettings.sqf Show resolved Hide resolved
addons/explosives/initSettings.sqf Show resolved Hide resolved
addons/explosives/initSettings.sqf Outdated Show resolved Hide resolved
addons/explosives/stringtable.xml Outdated Show resolved Hide resolved
addons/explosives/stringtable.xml Outdated Show resolved Hide resolved
Copy link
Member

@mharis001 mharis001 left a comment

Choose a reason for hiding this comment

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

Min value being greater than max handled by sliderRange[] config entry being set to the default min/max. Also, I think it is reasonable to expect the user to configure the settings properly.

@PabstMirror
Copy link
Contributor

The only downside is this could break old missions using the old ace_explosives_customTimerMax = 5000
(should get overwritten by cba_settings)

But it also will be easy enough to update to the new way

@PabstMirror PabstMirror merged commit e27110a into acemod:master Oct 3, 2020
@Freddo3000 Freddo3000 deleted the explosivesTimerSetting branch October 3, 2020 19:00
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