Skip to content

Conditionally Load Compats#743

Merged
mharis001 merged 2 commits intozen-mod:masterfrom
Mike-MF:conditional-compats
Nov 17, 2023
Merged

Conditionally Load Compats#743
mharis001 merged 2 commits intozen-mod:masterfrom
Mike-MF:conditional-compats

Conversation

@Mike-MF
Copy link
Copy Markdown

@Mike-MF Mike-MF commented Sep 8, 2023

When merged this pull request will:

  • Uses skipWhenMissingDependencies to conditionally load compats from requiredAddons
  • Merges ACE/Advanced Rappelling compats into main addons
  • Adds Advanced Rappelling requiredAddon

@mharis001 mharis001 added the enhancement Improves an existing feature label Sep 9, 2023
@mharis001 mharis001 added this to the 1.15.0 milestone Sep 9, 2023
@Kexanone
Copy link
Copy Markdown
Member

Kexanone commented Sep 9, 2023

One disadvantage is that this approach won't work when Advanced Rappelling is only present as a server side mod, but I would say that is a small price to pay for getting rid of compats.

@mharis001 mharis001 added the 2.14 Arma 3 2.14 label Oct 2, 2023
@mharis001
Copy link
Copy Markdown
Member

Because the Advanced Rappelling compat only adds the waypoint and the waypoint's condition will prevent it from being shown when the mod is not loaded, we do not need to use skipWhenMissingDependencies for it. This should allow us to support the situation where the Advanced Rappelling mod is loaded only as a server side mod.

@mharis001 mharis001 requested a review from Kexanone October 2, 2023 19:41
@Kexanone
Copy link
Copy Markdown
Member

Kexanone commented Oct 3, 2023

lgtm, just needs to be tested. I can have a look on my test server when I got time.

@mharis001 mharis001 merged commit 88c193d into zen-mod:master Nov 17, 2023
@Mike-MF Mike-MF deleted the conditional-compats branch November 17, 2023 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.14 Arma 3 2.14 enhancement Improves an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants