Global Loadscreen
Global Loadscreen is an NUI-based loading screen designed to integrate with the Global suite (multicharacter, loadingmusic, etc.). It provides a WebGL topographic background, music handoff, optional RP intro, and an in-game preview for testing — giving a polished pre-join experience and coordinated shutdown when character selection is ready.
Installation
Place the resource in your `resources` folder and start it with the rest of the Global resources. No database required; behavior is configured via `Config`.
Main features
Topographic WebGL background and vignette with logo/animation support.
Music handoff: asks `global_loadingmusic` to take playback control to avoid restarting tracks.
Configurable RP intro: title, body and duration via `Config.RpIntro`.
Coordinated shutdown: waits for `global_multicharacter` (or timeout) and closes the NUI automatically; supports manual shutdown mode.
In-game preview: open via `global_loading:client:command` (simulates load progress).
NUI/client messaging: callbacks and events for open/close and "finished" notifications.
Typical files: `index.html`, `style.css`, `topo.js`, `script.js`, `musica.mp3`, `client/main.lua`, plus assets.
Integration
Works with `global_loadingmusic` (handoff).
Waits for/coordinates with `global_multicharacter`.
Emits events (`global_loadscreen:client:finished`, etc.) for other resources to listen to.
Why use it
Provides a consistent, polished loading UX across Global resources, continuous music handoff, RP intro support, and easy in-game preview/testing — reducing ad-hoc solutions and centralizing the player’s entry experience.