acemod / ACE-Anvil

Open-source realism mod for Arma Reforger
https://anvil.acemod.org
GNU General Public License v2.0
20 stars 7 forks source link

User-facing settings framework #30

Open LinkIsGrim opened 1 month ago

LinkIsGrim commented 1 month ago

Something similar to cba_settings for A3, but more modern and readable (I've grown to hate that menu with lots of mods).

UI should include searching and conditional display of settings (i.e. don't show component settings if component's overall "enable" setting is false).

Framework should handle modifying values of settings that don't have their conditions met to default values/null/whatever's more appropriate.

Should also have hooks for third party. Are event handlers even applicable in this architecture, should every setting just be a moddable class, what do?

Kexanone commented 1 month ago

The ScriptInvoker class is used for event handlers in Reforger: https://community.bistudio.com/wiki/Arma_Reforger:Event_Handlers

Kexanone commented 2 weeks ago

Would also be great if players could look up the current server settings