Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

[B42] Advanced SandboxUI Framework

Advanced SandboxUI Framework (ASUIF) [b]Version 0.4.0[/b] | Build 42 [hr] What is ASUIF? ASUIF is a [b]client-side UI framework[/b] that enhances the Sandbox Options screen with modern, interactive widgets. Originally created for [b]Living Hordes[/b] (my zombie migration mod), I'm sharing it so other modders can give their sandbox settings a polished look without reinventing the wheel. Features [list] [*] [b]Rich layouts[/b] — Headers, separators, text blocks, collapsible sections [*] [b]Enhanced sliders[/b] — Color gradients, reset buttons, float/int support [*] [b]Range sliders[/b] — Dual-thumb for min/max values [*] [b]Proportion bars[/b] — Linked values that sum to a total [*] [b]Live curves[/b] — Real-time formula visualization [*] [b]Profile presets[/b] — Dropdowns that lock/unlock related options [*] [b]Conditional visibility[/b] — Show warnings or options based on other values [*] [b]Live text[/b] — Dynamic labels that update as you change settings [/list] For Players [b]This mod does nothing on its own.[/b] It's a framework used by other mods. If a mod supports ASUIF, subscribing to this will enhance its sandbox options screen with a better UI. [b]Not required![/b] Mods using ASUIF work perfectly fine without it — they simply fall back to the vanilla sandbox UI. For Modders ASUIF is an [b]optional dependency[/b]. Your mod works with or without it. Integration is simple: if not ASUIF or not ASUIF.setup then return end ASUIF.setup({ page = { id = "MyMod", sandboxPage = "Sandbox_MyMod", title = "My Mod" }, groups = { { id = "Settings", title = "Settings" } }, elements = { { type = ASUIF.ElementType.Header, text = "My Mod", level = "h1" }, { groupId = "Settings", type = ASUIF.ElementType.OptionIntSlider, sandboxModule = "MyMod", sandboxKey = "Difficulty", label = "Difficulty", min = 1, max = 10, step = 1 }, }, }) Full documentation: [url=https%3A%2F%2Fgithub.com%2FYOUR_REPO]https://github.com/YOUR_REPO[/url] (included in the mod files) Compatibility [list] [*] Build 42 [*] Client-side only (no server impact) [*] Works with any mod — no conflicts [*] Vanilla persistence untouched — presets and saves work normally [/list] Mods using ASUIF [list] [*] [b]Living Hordes[/b] — Persistent zombie migration system [/list] [i]Using ASUIF in your mod? Let me know and I'll add it to the list![/i] [hr] Credits Created by [b]Belerion[/b] [i]Questions, bugs, suggestions? Leave a comment![/i] Workshop ID: 3702670956 Mod ID: AdvancedSandboxUIFramework